[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#50859: xfs Bug #50859: use start-stop-daemon --chuid ?



[Julien Cristau]
> If you tested that and are confident that it works, sure.  I never
> used xfs myself, so I don't know.

I am quite confident that user nobody will have the required acces to
the font files.  But I just tested modifying /etc/init.d/xfs to
include --chuid nobody, and it fail to start because it did not get
write access to /var/run/xfs.pid.  The /var/run/ directory is only
writable by user root.  There is also the case with /tmp/.font-unix/
needing to be writable by the xfs process.  So I guess the patch to
solve this is a but more than just modifying the call to
start-stop-daemon. :)

Happy hacking,
-- 
Petter Reinholdtsen



Reply to: