tags 316241 - unreproducible
retitle 316241 maintainer scripts mishandle /var/cache/bind permissions
thanks

Downstream bug: https://launchpad.net/bugs/1086775

The problem is that the postinst only sets permissions on
/var/cache/bind on a fresh install. When the bind9 package is removed
but not purged, /var/cache/bind is removed, but /etc/bind is left alone
(as expected). When the bind9 package is reinstalled from this state,
the postinst fails to correct the default 755 permissions on
/var/cache/bind.

This is particularly a problem for users upgrading to wheezy, since this
situation causes 100% CPU usage due to bug 695264.

Steps to reproduce:

1. Start with a squeeze system
2. apt-get install bind9
3. apt-get remove bind9
4. apt-get install bind9

Note broken permissions in /var/cache/bind.

This isn't directly reproducible in wheezy or sid because files are now
left behind in /var/cache/bind causing /var/cache/bind to not be removed
when the package is removed (is this a separate bug?)

However, if from squeeze you then do:

5. sed -i s/squeeze/wheezy/g /etc/apt/sources.list
6. apt-get dist-upgrade

Then the problem propogates to wheezy, and you'll see bug 695264.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to