Bug#50859: xfs Bug #50859: use start-stop-daemon --chuid ?
On 2008-05-12 08:15 +0200, Petter Reinholdtsen wrote:
> 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 "."
> ;;
Just FYI, I've been running xfs with this patch for the last few days
and don't have any problems. Could this be uploaded to unstable to get
xfs back into testing?
Regards,
Sven
Reply to: