From 6cead337ff6c065a983e9d4e539fb28f3b812498 Mon Sep 17 00:00:00 2001 From: Federico Simoncelli Date: Jun 14 2012 15:45:15 +0000 Subject: init: make explicit to run sanlock as root Adding the explicit user (root) used to run sanlock makes runuser acquire the supplementary groups for the process also at boot time. Signed-off-by: Federico Simoncelli --- diff --git a/init.d/sanlock b/init.d/sanlock index 636d581..7521ae5 100644 --- a/init.d/sanlock +++ b/init.d/sanlock @@ -40,7 +40,7 @@ start() { fi echo -n $"Starting $prog: " - daemon $prog daemon $SANLOCKOPTS + daemon --user root $prog daemon $SANLOCKOPTS retval=$? echo [ $retval -eq 0 ] && touch $lockfile