Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Sep 2017 15:05:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 212335] mail/spamd: /etc/services entries are deleted on reinstall
Message-ID:  <bug-212335-32340-nJA6UK3HLN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212335-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212335-32340@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #11 from commit-hook@freebsd.org ---
A commit references this bug:

Author: adamw
Date: Sat Sep  2 15:03:53 UTC 2017
New revision: 449149
URL: https://svnweb.freebsd.org/changeset/ports/449149

Log:
  MFH: r449108

  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)

  Approved by:  ports-secteam (delphij)

Changes:
_U  branches/2017Q3/
  branches/2017Q3/mail/spamd/Makefile
  branches/2017Q3/mail/spamd/pkg-deinstall

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212335-32340-nJA6UK3HLN>