[Touch-packages] [Bug 1661406] Re: apparmor failing to be purged when /var/lib/apparmor/profiles or /var/lib/apparmor doesn't exist
This bug was fixed in the package apparmor - 2.10.95-0ubuntu2.6~14.04.1 --- apparmor (2.10.95-0ubuntu2.6~14.04.1) trusty-security; urgency=medium * SECURITY UPDATE: Merge from xenial-security to get fix for CVE-2017-6507 * debian/apparmor.postrm: Ensure that a purge of the apparmor package does not fail if the /var/lib/apparmor/profiles or /var/lib/apparmor directories do not exist. This purge operation should be considered successful in that situation. (LP: #1661406) -- Tyler HicksThu, 16 Mar 2017 01:20:13 + ** Changed in: apparmor (Ubuntu Trusty) Status: In Progress => Fix Released ** CVE added: http://www.cve.mitre.org/cgi- bin/cvename.cgi?name=2017-6507 -- 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: Fix Released Status in apparmor source package in Trusty: Fix Released 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 : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1661406] Re: apparmor failing to be purged when /var/lib/apparmor/profiles or /var/lib/apparmor doesn't exist
This bug was fixed in the package apparmor - 2.11.0-2ubuntu2 --- apparmor (2.11.0-2ubuntu2) zesty; urgency=medium * debian/apparmor.postrm: Ensure that a purge of the apparmor package does not fail if the /var/lib/apparmor/profiles or /var/lib/apparmor directories do not exist. This purge operation should be considered successful in that situation. (LP: #1661406) -- Tyler HicksThu, 02 Mar 2017 00:21:14 + ** Changed in: apparmor (Ubuntu) Status: In Progress => Fix Released -- 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: Fix Released 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 : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1661406] Re: apparmor failing to be purged when /var/lib/apparmor/profiles or /var/lib/apparmor doesn't exist
** Description changed: + [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.. -- 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 : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1661406] Re: apparmor failing to be purged when /var/lib/apparmor/profiles or /var/lib/apparmor doesn't exist
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 : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp