Bug#875406: igtf-policy-*: unowned directory after purge: /etc/grid-security/
Thanks for looking into this. In earlier versions, the directory was owned by this package. The change is due to the way bug [#920259] is solved. [#820259] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820259 The idea is that the package creates files (symlinks, actually, but that is beside the point) in a directory that can be configured by the administrator through debconf. This configuration can be done at any time, before or after the package is installed. The default is /etc/grid-security/certificates, a long established convention for grid middleware; typically other files are found in /etc/grid-security as well. The package installation scripts try to be clever about cleaning up. They will remove the last directory if it is empty after deinstallation, but it would be presumptuous to clean out the entire directory hierarchy above; the location set in debconf could be some deep path under control of the sysadmin. There is actually a solution of this, which requires the installation scripts to record when directories are created, and to remove them afterward if they were created and are currently empty.
Bug#875406: igtf-policy-*: unowned directory after purge: /etc/grid-security/
Package: igtf-policy-classic,igtf-policy-iota,igtf-policy-mics,igtf-policy-bundle Version: 1.85-1 Severity: important User: debian...@lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package left unowned directories on the system after purge, which is a violation of policy 6.8: https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails Filing this as important as having a piuparts clean archive is a release goal since lenny. The maintainer scripts create (and later remove) a file in that directory. Manual directory removal may be not appropriate as this directory is shared between several packages. If the package would ship this as an empty directory, dpkg would take care of the creation and removal (if it's empty). >From the attached log (scroll to the bottom...): 0m45.5s ERROR: FAIL: Package purging left files on system: /etc/grid-security/not owned cheers, Andreas igtf-policy-classic_1.85-1.log.gz Description: application/gzip