[Bug 194959] multimedia/mediabrowser few suggestions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 12 06:52:59 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194959

--- Comment #16 from joshruehlig at gmail.com ---
we could either take it out of the "if" so the pidfile is always reinitialized
with the correct user.

or, cleanup the pidfile in a postcmd.

If we don't do anything and a FreeBSD user did change the user mediabrowser ran
as, (and they'd need to change the ownership of the data_dir). They'd encounter
this message, which I think they could figure out.

daemon: pidfile ``/var/run/mediabrowser.pid'': Permission denied
/usr/local/etc/rc.d/mediabrowser: WARNING: failed to start mediabrowser

####

I think it'd be fine to clean the pidfile, or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list