[Bug 986892] Re: mysql-server postrm breaks apparmor profile for later versions on purge

Jamie Strandboge jamie at ubuntu.com
Wed Jun 13 15:16:38 UTC 2012


I have verified that Clint's changes work-- eg I adjusted /var/lib/dpkg/info/tcpdump.postrm to have (ie, what dh_apparmor would add when tcpdump is built with new apparmor):
if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.sbin.tcpdump" ]; then

and then I did:
$ sudo apt-get remove tcpdump # /etc/apparmor.d/local/usr.sbin.tcpdump still exists
$ sudo apt-get remove --purge tcpdump # /etc/apparmor.d/local/usr.sbin.tcpdump no longer exists

I will commit this to our bzr branch. Thanks Clint! :)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.1 in Ubuntu.
https://bugs.launchpad.net/bugs/986892

Title:
  mysql-server postrm breaks apparmor profile for later versions on
  purge

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



More information about the Ubuntu-server-bugs mailing list