[Bug 207152] mail/rmilter: wrong permissions on /var/run/rmilter if rmilter_user is not default [PATCH]
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Feb 13 12:13:01 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207152
Bug ID: 207152
Summary: mail/rmilter: wrong permissions on /var/run/rmilter if
rmilter_user is not default [PATCH]
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Keywords: patch
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: vsevolod at FreeBSD.org
Reporter: mazhe at alkumuna.eu
Flags: maintainer-feedback?(vsevolod at FreeBSD.org)
Assignee: vsevolod at FreeBSD.org
Keywords: patch
Created attachment 166926
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=166926&action=edit
Update start precmd with a chmod.
Hello,
I've been using rmilter with another user (using rc.conf rmilter_user
variable), but the daemon won't start after an update because /var/run/rmilter
owner is set to _rmilter:mail.
One way to fix it would be to simply add "chown
${rmilter_user}:${rmilter_group} $(dirname $rmilter_socket)" in the
rmilter_cleanup() function in the rc script which is used as pre/post start cmd
(patch attached).
Thank you,
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list