Bugzilla – Bug 1399
slimserver should write the pid file before changing uid
Last modified: 2008-08-18 10:54:16 UTC
It would be useful if the slimserver wrote the pid file before setting it's uid. That way, pid files could be put in /var/run where they belong while still setting the uid for security. As it is I'm going to have to have the FreeBSD startup script create a sub directory to put it it.
I just noticed a couple more relevent things here. First, this was not the behavior in 5.x. Second, there's a similar problem with log file. It used to be possible to set the log file to /var/log/slimserver and have it just work. Now you have to insure the log file exists and is owned by who ever is running the server if they can't write to the directory.
dan has, in his multitude of subversion check-outs, a fix for this
Created attachment 568 [details] Fix for pid issue Brooks - could you try this patch? Thanks
Brooks - I've commited the change as subversion 3641. Please let me know if this works for you.
6.1.1 works as expected. Thanks for fixing this. Sorry about the lack of response previously. -- Brooks
This bug was marked resolved in Slimserver 6.1, which is several versions ago. If you're still seeing this bug, please re-open it. Thanks!