[Bug 212335] mail/spamd: /etc/services entries are deleted on reinstall
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 1 22:04:26 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212335
--- Comment #10 from commit-hook at freebsd.org ---
A commit references this bug:
Author: adamw
Date: Fri Sep 1 22:03:05 UTC 2017
New revision: 449108
URL: https://svnweb.freebsd.org/changeset/ports/449108
Log:
Disable the pkg-deinstall script.
spamd's pkg-install adds spamd stuff to /etc/services, and pkg-deinstall
removed it. The problem is that pkg doesn't run DEINSTALL before INSTALL
when upgrading/reinstalling. As a result, when spamd is restarted,
/etc/services winds up lacking the spamd entries, causing spamd to fail
to start.
The ideal solution is pkg running those targets in the predicted order,
or pkg gaining a @services keyword. In the meantime, this commit just
disables the pkg-deinstall. If you are uninstalling spamd you can remove
those /etc/services entries by hand.
PR: 212335
Approved by: maintainer timeout (~ 1 yr)
MFH: 2017Q3
Changes:
head/mail/spamd/Makefile
head/mail/spamd/pkg-deinstall
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-pkg
mailing list