Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2013 17:34:53 +0200 (CEST)
From:      Helge Oldach <ports-mail-spamassassin-jul13@oldach.net>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        beech@FreeBSD.org
Subject:   ports/180498: ports/mail/p5-Mail-SpamAssassin throws away precious auto-whitelist
Message-ID:  <201307121534.r6CFYrl8020609@sep.oldach.net>
Resent-Message-ID: <201307121540.r6CFe0hk032164@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         180498
>Category:       ports
>Synopsis:       ports/mail/p5-Mail-SpamAssassin throws away precious auto-whitelist
>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:   Fri Jul 12 15:40:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 9.1-679 i386
>Organization:
>Environment:

System: FreeBSD localhost 9.1-679 FreeBSD 9.1-679 #0: Thu Apr 25 11:40:01 CEST 2013 toor@localhost:/usr/obj/usr/src/sys/HMO i386

>Description:

With r319458 it was introduced to unconditionally remove
/var/spool/spamd. This has at lest three undesireable side effects:

1) /var/spool/spamd often contains precious databases, for instance
auto-whitelists collected over extended periods. These should certainly
not go away after uninstall.

2) /var/spool/spamd is the home directory of the "spamd" user; it is
created upon "mkuser spamd" and will be removed safely by a "rmuser
spamd". Actually the port deinstall advises to do so manually, so there
is absolutely no need to fiddle with it during automatic port deinstall.

3) Once /var/spool/spamd is removed after a (current) port deinstall, it
is gone and will not be recreated during a fresh port re-install. This
will lead to lots of error messages when running SpamAssassin under the
"spamd" user, because its home directory is gone. And the databases
mentioned above won't be re-created anyway...

>How-To-Repeat:

Deinstall, see if /var/spool/spamd is still there. It's not. :-(

>Fix:

Back out r319458.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307121534.r6CFYrl8020609>