Specify required statedir, correct permissions, improve config.

Resynchronize with upstream package maintainer version,

Resynchronize with upstream package maintainer version.

(0) -100 -30 -10 -3 +3 +10 +30 +100 +300 tip

mercurial