Bug#684126: debian-policy: clarification needed for handling of directories used by maintainer scripts

2012-08-07 Thread Andreas Beckmann
Package: debian-policy Severity: normal Hi, while doing piuparts tests I noticed several cases of packages leaving around (or removing) directories after purge. I tracked a few of them to the roots and found that it seems to be unclear how to correctly handle directories needed for placing config

Bug#684126: debian-policy: clarification needed for handling of directories used by maintainer scripts

2012-08-07 Thread Russ Allbery
Andreas Beckmann writes: > Case 2c: bar ships empty /etc/foo.d/ > dpkg will create/remove the directory with proper refcounting > => all is fine (at least once #316521 gets fixed) > The same problems may also happen in /usr, /var or elsewhere. > IMO 2c is the only proper solution to use whe

Bug#684126: debian-policy: clarification needed for handling of directories used by maintainer scripts

2012-08-07 Thread Andreas Beckmann
On 2012-08-07 18:35, Russ Allbery wrote: > It > would be nice if piuparts would temporarily stop reporting this as an > error until the long-standing dpkg bug is fixed, piuparts already whitelists a list of common false positives due to that dpkg bug, we can andd more until this gets fixed #31652

Bug#684126: debian-policy: clarification needed for handling of directories used by maintainer scripts

2012-08-07 Thread Russ Allbery
Andreas Beckmann writes: > On 2012-08-07 18:35, Russ Allbery wrote: >> It would be nice if piuparts would temporarily stop reporting this as >> an error until the long-standing dpkg bug is fixed, > piuparts already whitelists a list of common false positives due to that > dpkg bug, we can andd m