The audio/murmur port creates the "murmur" user and runs "murmurd" as this user. The pkg-install script creates the log, pid, and database directories and assigns ownership to the person running the installation, who may not be "murmur". murmurd will be unable to access its log, pid, or database in this situation. Fix: One possible solution is to hardcode the user "murmur" into pkg-install instead of using ${USER} from the environment. A better solution would use the USERS variable from the Makefile, but I don't know how to do that. Patch attached with submission follows: How-To-Repeat: Perform a clean installation from ports. i.e. su cd /usr/ports/audio/murmur make install You will find that /var/log/murmur, /var/run/murmur, and /var/db/murmur have been created and are owned by ${USER} from your shell environment - you, not murmur.
Maintainer of audio/murmur, Please note that PR ports/160242 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/160242 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->pawel I'll take it.
i approve this patch. Thanks! 2011/8/28 Edwin Groothuis <edwin@freebsd.org>: > Maintainer of audio/murmur, > > Please note that PR ports/160242 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > =A0 =A0http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/160242 > > -- > Edwin Groothuis via the GNATS Auto Assign Tool > edwin@FreeBSD.org > --=20 Ayumi Mitsui http://ayu.commun.jp/ http://twitter.com/ayunyan PGP: EE97 796C 77F6 CFC9 1FBC=A0 C56A 318B F019 E605 D988
pawel 2011-10-21 15:01:17 UTC FreeBSD ports repository Modified files: audio/murmur pkg-install Log: Install port specific directories with correct ownership PR: ports/160242 Submitted by: Luke Dean <luked@pobox.com> Approved by: maintainer Revision Changes Path 1.4 +2 -2 ports/audio/murmur/pkg-install _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed, with minor changes. Thanks!