Commit Graph

5 Commits

Author SHA1 Message Date
Andreas Henriksson 8df545592d build: use --runstatedir instead of --localstatedir
The util-linux code was previously aligned to use @localstatedir@ and
the util-linux build system was set to override the default to use /run.

Current GNU Coding Standards introduced the @runstatedir@ variable
for this purpose. Lets use that instead.

The GNU default for @runstatedir@ is ${localstatedir}/run so util-linux
still override the default to be /run to preserve the status quo from
before. The only difference is that you'll now pass --runstatedir to
override the location on the command line instead of --localstatedir.

(FWIW, Debhelper in compat 11 will automatically start passing
--runstatedir=/run to all autotools configured builds. It already
passes --localstatedir=/var (to avoid it ending up with the GNU default
/usr/local/var) which breaks the util-linux build system code that
tries to default it to /run. This change will thus allow util-linux
and debhelper to work better together and avoid the need for a
package-specific override.)

Relevant historic commits:
 * commit 07a16b9d1e
   "build-sys: change --localstatedir to /run"
 * commit 80c51185d5
   "uuidd: use run configured state directory"
 * commit 01c5b78794
   "agetty: use configured run state directory"

[ - add $runstatedir fallback for autoconf < 2.70
                  - check for unmodified $localstatedir]

CC: Sami Kerola <>
Signed-off-by: Andreas Henriksson <>
Signed-off-by: Karel Zak <>
2017-07-31 15:24:46 +02:00
Nikolay Sivov 570a930014 uuidd: Fixed a typo in daemon logging message
Signed-off-by: Nikolay Sivov <>
2014-11-18 14:14:47 +01:00
Andreas Henriksson 89c80bd25a uuidd.rc: Requires remote_fs
The Debian package checking tool lintian thinks that the script is
missing Requires on $remote_fs because it pokes at stuff under /usr
and it's probably right.

Signed-off-by: Andreas Henriksson <>
2014-07-14 15:55:45 +02:00
Andreas Henriksson 928601e630 uuidd.rc: drop on-demand mode from script
The on-demand mode was dropped from libuuid in
commit ea4f8845f0 "libuuid: don't exec uuidd"

You now need systemd (socket activation) to use
uuidd on demand.

Signed-off-by: Andreas Henriksson <>
2014-07-14 15:55:34 +02:00
Karel Zak 815427c72e build-sys: add missing files
Reported-by: Bernhard Voelker <>
Signed-off-by: Karel Zak <>
2012-07-11 18:00:09 +02:00