ports/190005: mail/spamassassin's /usr/local/etc/rc.d/sa-spamd r349854 incorrectly assumes the existence of the directory /var/run/${name}, i.e. /var/run/spamd
Trond Endrestøl
Trond.Endrestol at ximalas.info
Tue May 20 14:00:01 UTC 2014
>Number: 190005
>Category: ports
>Synopsis: mail/spamassassin's /usr/local/etc/rc.d/sa-spamd r349854 incorrectly assumes the existence of the directory /var/run/${name}, i.e. /var/run/spamd
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue May 20 14:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Trond Endrestøl
>Release: 9.3-PRERELEASE
>Organization:
Private
>Environment:
FreeBSD enterprise.ximalas.info 9.3-PRERELEASE FreeBSD 9.3-PRERELEASE #0 r266433: Mon May 19 13:23:21 CEST 2014 root at enterprise.ximalas.info:/usr/obj/usr/src/sys/ENTERPRISEVT amd64
>Description:
mail/spamassassin's /usr/local/etc/rc.d/sa-spamd r349854 incorrectly assumes the existence of the directory /var/run/${name}, i.e. /var/run/spamd.
If /var/run/spamd happens to be removed during deinstall, then it should be the responsibility of the port to create this directory during install.
>How-To-Repeat:
Install mail/spamassassin.
Forcefully upgrade mail/spamassassin, e.g. portupgrade -f mail/spamassassin.
Notice the absence of the directory /var/run/spamd.
>Fix:
Augment head/mail/spamassassin/files/sa-spamd.in to check if /var/run/${name}, i.e. /var/run/spamd exists, creating this directory if necessary as part of the start and restart sequences.
As an alternative, augment head/mail/spamassassin/pkg-plist to create /var/run/spamd during install.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list