Public bug reported:

Binary package hint: apparmor

AppArmor recently stopped working. When I tried to restart it manually,
I got the above error.

I tried removing it all and reinstalling, but I got the same error:

$ sudo apt-get remove --purge apparmor apparmor-utils apparmor-profiles
$ sudo apt-get install apparmor apparmor-utils apparmor-profiles
[...]
Fetched 404kB in 1s (351kB/s)          
Selecting previously deselected package apparmor.
(Reading database ... 269382 files and directories currently installed.)
Unpacking apparmor (from .../apparmor_2.0.1+510.dfsg-0ubuntu25_i386.deb) ...
Selecting previously deselected package apparmor-utils.
Unpacking apparmor-utils (from 
.../apparmor-utils_2.0.1+510.dfsg-0ubuntu25_i386.deb) ...
Selecting previously deselected package apparmor-profiles.
Unpacking apparmor-profiles (from 
.../apparmor-profiles_2.0.1+510.dfsg-0ubuntu25_i386.deb) ...
Setting up apparmor (2.0.1+510.dfsg-0ubuntu25) ...
update-initramfs: deferring update (trigger activated)
Loading AppArmor profiles  Skipping profile /etc/apparmor.d/bin.ping.dpkg-new
 Skipping profile /etc/apparmor.d/sbin.klogd.dpkg-new
 Skipping profile /etc/apparmor.d/sbin.syslog-ng.dpkg-new
 Skipping profile /etc/apparmor.d/sbin.syslogd.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.identd.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.mdnsd.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.mysqld.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.named.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.nmbd.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.nscd.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.ntpd.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.smbd.dpkg-new
 Skipping profile /etc/apparmor.d/usr.sbin.traceroute.dpkg-new
: Warning.

Setting up apparmor-utils (2.0.1+510.dfsg-0ubuntu25) ...
Setting up apparmor-profiles (2.0.1+510.dfsg-0ubuntu25) ...
Reloading AppArmor profiles /sbin/apparmor_parser: Unable to replace 
"/bin/ping".  Profile doesn't conform to protocol
 Profile /etc/apparmor.d/bin.ping failed to load
/sbin/apparmor_parser: Unable to replace "/sbin/klogd".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/sbin.klogd failed to load
/sbin/apparmor_parser: Unable to replace "/sbin/syslog-ng".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/sbin.syslog-ng failed to load
/sbin/apparmor_parser: Unable to replace "/sbin/syslogd".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/sbin.syslogd failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/identd".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/usr.sbin.identd failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/mdnsd".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/usr.sbin.mdnsd failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/mysqld".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/usr.sbin.mysqld failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/named".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/usr.sbin.named failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/nmbd".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/usr.sbin.nmbd failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/nscd".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/usr.sbin.nscd failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/ntpd".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/usr.sbin.ntpd failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/smbd".  Profile doesn't 
conform to protocol
 Profile /etc/apparmor.d/usr.sbin.smbd failed to load
/sbin/apparmor_parser: Unable to replace "/usr/sbin/traceroute".  Profile 
doesn't conform to protocol
 Profile /etc/apparmor.d/usr.sbin.traceroute failed to load
: Failed.
invoke-rc.d: initscript apparmor, action "reload" failed.

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.22-11-generic

$ uname -a                                                      
Linux nono 2.6.22-11-generic #1 SMP Fri Sep 7 05:07:05 GMT 2007 i686 GNU/Linux

Thanks,

** Affects: apparmor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Profile doesn't conform to protocol
https://bugs.launchpad.net/bugs/138954
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to