Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Jul 2007 11:05:57 GMT
From:      Henrik Olsen <henrik@iaeste.dk>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/114186: make deinstall in mail/p5-Mail-Spamassassin wipes /var/lib regardless of what else is using it
Message-ID:  <200707011105.l61B5vQA012582@www.freebsd.org>
Resent-Message-ID: <200707011110.l61BA3Eg052869@freefall.freebsd.org>

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

>Number:         114186
>Category:       ports
>Synopsis:       make deinstall in mail/p5-Mail-Spamassassin wipes /var/lib regardless of what else is using it
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 01 11:10:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Olsen
>Release:        5.4-RELEASE
>Organization:
IAESTE
>Environment:
FreeBSD mozart.iaeste.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May  8 10:21:06 UTC 2005     root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
/usr/ports/mail/p5-Mail-SpamAssassin/pkg-plist includes the line
@unexec rm -rf /var/lib || true
which on deinstall wipes /var/lib regardless of what else is using it.

This is NotAGoodThing(tm)
>How-To-Repeat:
mkdir /var/lib
cd /usr/ports/mail/p5-Mail-SpamAssassin/
make
make deinstall
ls /var/lib
>Fix:
remove the
@unexec rm -rf /var/lib || true
line

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



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