public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] uuidd.rc: drop on-demand mode from script
@ 2014-07-11 13:08 Andreas Henriksson
  2014-07-11 13:08 ` [PATCH 2/2] uuidd.rc: Requires remote_fs Andreas Henriksson
  2014-07-14 13:56 ` [PATCH 1/2] uuidd.rc: drop on-demand mode from script Karel Zak
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Henriksson @ 2014-07-11 13:08 UTC (permalink / raw)
  To: util-linux; +Cc: Andreas Henriksson

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>
---
 misc-utils/uuidd.rc.in | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/misc-utils/uuidd.rc.in b/misc-utils/uuidd.rc.in
index 27b75c6..3c5528a 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)
-- 
2.0.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-14 13:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11 13:08 [PATCH 1/2] uuidd.rc: drop on-demand mode from script Andreas Henriksson
2014-07-11 13:08 ` [PATCH 2/2] uuidd.rc: Requires remote_fs Andreas Henriksson
2014-07-14 13:56   ` Karel Zak
2014-07-14 13:56 ` [PATCH 1/2] uuidd.rc: drop on-demand mode from script Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox