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>
#
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
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)