diff options
author | Andreas Henriksson | 2014-07-11 15:08:40 +0200 |
---|---|---|
committer | Karel Zak | 2014-07-14 15:55:34 +0200 |
commit | 928601e6307479de6929ac8e1f1c90750111f0b4 (patch) | |
tree | 42e6c41f23f49b6f708097d5efc52e6f93fc7865 /misc-utils/uuidd.rc.in | |
parent | kill: use --queue option argument as sigval integer value (diff) | |
download | kernel-qcow2-util-linux-928601e6307479de6929ac8e1f1c90750111f0b4.tar.gz kernel-qcow2-util-linux-928601e6307479de6929ac8e1f1c90750111f0b4.tar.xz kernel-qcow2-util-linux-928601e6307479de6929ac8e1f1c90750111f0b4.zip |
uuidd.rc: drop on-demand mode from script
The on-demand mode was dropped from libuuid in
commit ea4f8845f0241c7 "libuuid: don't exec uuidd"
You now need systemd (socket activation) to use
uuidd on demand.
Signed-off-by: Andreas Henriksson <andreas@fatal.se>
Diffstat (limited to 'misc-utils/uuidd.rc.in')
-rw-r--r-- | misc-utils/uuidd.rc.in | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/misc-utils/uuidd.rc.in b/misc-utils/uuidd.rc.in index 27b75c68d..3c5528a15 100644 --- a/misc-utils/uuidd.rc.in +++ b/misc-utils/uuidd.rc.in @@ -13,11 +13,6 @@ # set -e -# libuuid is able to execute the uuid daemon on-demand -- in such a case -# the daemon binary must be setuid to an unprivileged user (e.g. uuidd:uuidd). -# [-- kzak Jun 2009] -UUIDD_ON_DEMAND_ONLY="no" - PATH=/bin:/usr/bin:/sbin:/usr/sbin DAEMON=/usr/sbin/uuidd UUIDD_USER=uuidd @@ -36,11 +31,7 @@ case "$1" in mkdir -p $UUIDD_DIR chown -R $UUIDD_USER:$UUIDD_GROUP $UUIDD_DIR fi - if test "$UUIDD_ON_DEMAND_ONLY" = yes; then - echo -n "(on demand only)" - else - start_daemon -p $PIDFILE $DAEMON - fi + start_daemon -p $PIDFILE $DAEMON log_end_msg $? ;; stop) |