#426255 nut-cgi: removes /var/www symlink on purge!

Package:
dpkg
Source:
dpkg
Description:
Debian package management system
Submitter:
Sebastian Kuzminsky
Date:
2015-02-25 11:09:13 UTC
Severity:
wishlist
#426255#5
Date:
2007-05-27 14:23:42 UTC
From:
To:
On my machine /var/www is a symlink to a directory off on a raid somewhere
with lots of stuff in it.  When I purged nut-cgi it removed the symlink!
The target directory of the symlink was untouched, and re-creating the
symlink fixed everything with no data loss.

Not sure if the problem is with nut-cgi or with dpkg's handling of the
/var/www symlink or something else...

#426255#10
Date:
2008-01-28 08:42:12 UTC
From:
To:
tags 426255  = moreinfo unreproducible
thanks

Hi Sebastian,

sorry for the eternity it took me to get back to you.

2007/5/27, Sebastian Kuzminsky <seb@highlab.com>:

I don't see anything in nut scripts that would impact /var, apart from
removing the /var/www/nut content when uninstalling nut-cgi!

Can you still reproduce this when uninstalling the latest nut-cgi (2.2.1-1)?
Can you reproduce this with another package that holds data in /var/www?
Do you have any other message that might help us to understand what's going on?

thanks,
Arnaud

#426255#17
Date:
2008-06-20 19:55:23 UTC
From:
To:
severity 426255 wishlist
reassign 426255 dpkg
merge 426255 182747
thanks

Hi Sebastian,

I finally took the time to dig dpkg bugs, and found the following one,
matching exactly your use case: http://bugs.debian.org/182747

Thanks for your report,
Arnaud

2008/1/28 Arnaud Quette <aquette.dev@gmail.com>: