#734693 Please rename /etc/apparmor.d/tunables/home.d/ubuntu

Package:
apparmor
Source:
apparmor
Description:
user-space parser utility for AppArmor
Submitter:
Guido Günther
Date:
2017-09-20 14:45:10 UTC
Severity:
wishlist
#734693#5
Date:
2014-01-09 07:36:57 UTC
From:
To:
Hi,
the postinst creates /etc/apparmor.d/tunables/home.d/ubuntu - this is a
bad match for a Debian system since one has to guess whether it's used
or not. Please rename it to /etc/apparmor.d/tunables/home.d/debian.
Cheers,
 -- Guido

#734693#10
Date:
2014-01-09 10:32:07 UTC
From:
To:
Hi Kees,

Guido Günther wrote (09 Jan 2014 07:36:57 GMT) :

How about we rename this to /etc/apparmor.d/tunables/home.d/vendor or
something distro-independant, so that Debian and every derivative can
share the same apparmor.post* maintainer scripts?

This is not a conffile, and it looks like that this file is
auto-generated after initial installation and every upgrade, so
there's no need to migrate the old content.

Cheers,

#734693#17
Date:
2017-09-14 18:20:27 UTC
From:
To:
Yea that would be nicer.

I could work on that, if it is agreed on the details:

* Since `ubuntu` is autogenerated, it can be removed upon installation
before/after creating new `vendor` one, without consideration?

* Also, not to forget remove `ubuntu` *and* `vendor` upon package removal.

#734693#22
Date:
2017-09-20 14:43:13 UTC
From:
To:
Hi!

Vincas Dargis:

Woohoo, great :)

I think so. The header of this file clearly discourages editing it by
hand and documents how to change its content.

Right. `ubuntu' is already correctly removed on purge. It's left there
on removal, which seems OK to me.

Cheers,