Bug#50859: xfs Bug #50859: use start-stop-daemon --chuid ?
tags 50859 + patch
thanks
[Julien Cristau]
> Add "-user nobody -droppriv" to the xfs command line arguments.
Ah, right. This work better. Now the xfs process is running as user
nobody. This is the patch.
diff -ur xfs-1.0.6/debian/xfs.init xfs-1.0.6.pere/debian/xfs.init
--- xfs-1.0.6/debian/xfs.init 2008-05-12 08:13:32.000000000 +0200
+++ xfs-1.0.6.pere/debian/xfs.init 2008-05-12 08:10:45.000000000 +0200
@@ -89,7 +89,7 @@
start)
set_up_socket_dir
echo -n "Starting X font server: xfs"
- start-stop-daemon --start --quiet $SSD_START_ARGS -- -daemon \
+ start-stop-daemon --start --quiet $SSD_START_ARGS -- -daemon -user nobody -droppriv \
|| echo -n " already running"
echo "."
;;
Reply to: