Tuesday, March 15, 2011

remove apparmor in karmic

I updated to karmic some times ago and I noticed suddenly AppArmor which took a long time to boot so I decided to remove it, but I discovered If you remove it, you need to update your initramfs. I did this:

1. created custom kernel and got rid of apparmor (optional)

2. to remove it:
Code:
  apt-get purge apparmor
3. to get rid of config folder:
Code:
  rm -rf /etc/apparmor*
4. to not try to load removed apparmor script:
Code:
  update-initramfs -u
And it was all gone. In your case, you may simply need to do the update-initramfs and that's it. I'd recommend making backups before doing any of these steps!

No comments:

Post a Comment