[pkg-apparmor] Bug#956175: Bug#956175: while removing apparmor, virgin /etc/apparmor.d/local/usr.bin.man missed

Christian Boltz apparmor-debian at cboltz.de
Sun Apr 12 11:01:53 BST 2020


Hello,

Am Mittwoch, 8. April 2020, 04:16:03 CEST schrieb 積丹尼 Dan Jacobson:
> Purging configuration files for apparmor (2.13.4-1) ...
> dpkg: warning: while removing apparmor, directory
> '/etc/apparmor.d/local' not empty so not removed $ find
> /etc/apparmor.d/local
> /etc/apparmor.d/local
> /etc/apparmor.d/local/usr.bin.man
> $ cat /etc/apparmor.d/local/usr.bin.man
> # Site-specific additions and overrides for usr.bin.man.
> # For more details, please see /etc/apparmor.d/local/README.

I don't use Debian ;-) but I have a wild guess / question:

Is the usr.bin.man profile part of the apparmor package, or is is 
managed in the man package?

If I can trust $searchengine, the command to check [1] is probably
    dpkg -S /etc/apparmor.d/usr.bin.man
    dpkg -S /etc/apparmor.d/local/usr.bin.man

If the file is owned by the man package, the man package might need to 
co-own the directory, or needs a dependency on the apparmor package to 
ensure the directory exists.


Regards,

Christian Boltz

[1] I'm used to   rpm -qf $file   - but that won't work on Debian ;-)
-- 
0830?? on day 2 at FOSDEM? Good lord it will be a small miracle
if I'm out of bed at that time, never mind at the venue ;)
[Richard Brown in opensuse-project]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/pkg-apparmor-team/attachments/20200412/fecf9316/attachment-0001.sig>


More information about the pkg-apparmor-team mailing list