All releases are technically affected but, in practice, this only shows
up on 14.04. I'm going to upload a fix to Zesty and then prepare a SRU
for 14.04. I don't plan on fixing any other stable releases as the
risk/reward trade-off from rebuilding the apparmor package just doesn't
make sense.
** Summary changed:
- apparmor failing to be purged on trusty
+ apparmor failing to be purged when /var/lib/apparmor/profiles or
/var/lib/apparmor doesn't exist
** Changed in: apparmor (Ubuntu)
Status: Invalid => In Progress
** Changed in: apparmor (Ubuntu)
Assignee: (unassigned) => Tyler Hicks (tyhicks)
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apparmor in Ubuntu.
https://bugs.launchpad.net/bugs/1661406
Title:
apparmor failing to be purged when /var/lib/apparmor/profiles or
/var/lib/apparmor doesn't exist
Status in apparmor package in Ubuntu:
In Progress
Status in apparmor source package in Trusty:
In Progress
Bug description:
[Impact]
The apparmor package cannot be successfully purged when
/var/lib/apparmor/profiles or /var/lib/apparmor do not exist. This is
the case in default installs of the apparmor
2.10.95-0ubuntu2.5~14.04.1 package in Ubuntu 14.04 LTS.
[Test Case]
Ensure that /var/lib/apparmor/profiles does not exist and then `apt-
get purge apparmor`.
[Regression Potential]
Very low. The only real regression potential comes from rebuilding the
package itself. To counter this risk, I'll be going through the
AppArmor Test Plan with the package once it is built in trusty-
proposed:
https://wiki.ubuntu.com/Process/Merges/TestPlans/AppArmor
[Original Report]
Version: 2.10.95-0ubuntu2.5~14.04.1
When executing apt -y purge apparmor.
The purge run but has errors as files do not exist and the rmdir fails
to execute.
rmdir: failed to remove '/var/lib/apparmor/profiles': No such file or
directory
Steps to reproduce:
apt-get update
apt-get -y install apparmor
apt -y purge apparmor
I will put workarounds in place for now in puppet but this is making
puppet not like it..
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1661406/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp