Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2016 12:13:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207152] mail/rmilter: wrong permissions on /var/run/rmilter if rmilter_user is not default [PATCH]
Message-ID:  <bug-207152-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207152

            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@FreeBSD.org
          Reporter: mazhe@alkumuna.eu
             Flags: maintainer-feedback?(vsevolod@FreeBSD.org)
          Assignee: vsevolod@FreeBSD.org
          Keywords: patch

Created attachment 166926
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D166926&action=
=3Dedit
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/rmil=
ter
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,

--=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-207152-13>