Date: Tue, 15 Mar 2016 16:23:28 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208030] net-im/prosody: Wrong ownership of pid file Message-ID: <bug-208030-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208030 Bug ID: 208030 Summary: net-im/prosody: Wrong ownership of pid file Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: lx@FreeBSD.org Reporter: code@daniel.priv.no Assignee: lx@FreeBSD.org Flags: maintainer-feedback?(lx@FreeBSD.org) Prosody fails to start with the default `/usr/local/etc/rc.d/prosody`. The = pid file is owned by root, but the program/user `prosody` expects to the be its owner. Work-around: Append the second and third line below the first line in the f= ile `/usr/local/etc/rc.d/prosody`: pidfile=3D${prosody_pidfile:-"/usr/local/var/lib/prosody/prosody.pid"} touch "$pidfile" chown prosody:prosody "$pidfile" There is probably a nicer way to do this, but at least Prosody starts now. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208030-13>