Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Sep 2021 08:35:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258207] mail/fetchmail does not restart properly with "service -R"
Message-ID:  <bug-258207-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 258207
           Summary: mail/fetchmail does not restart properly with "service
                    -R"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ml@netfence.it
                CC: chalpin@cs.wisc.edu
                CC: chalpin@cs.wisc.edu
             Flags: maintainer-feedback?(chalpin@cs.wisc.edu)

When issuing "service -R" fetchmail stops, but never restart: "fetchmail:
lstat: /root/.fetchids: Permission denied" is printed.
"service fetchmail restart" works.

This is due to a difference in how the service command works:
_ with -R it sets HOME=3D/root
_ without -R it sets HOME=3D/

I'm in doubt if this is a service (base system) bug or feature.
In any case a simple workaround is to add "export HOME=3D/" in the first li=
nes of
fetchmail RC startup script.

--=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-258207-7788>