** 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
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1661406/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to