Public bug reported: $ sudo systemctl status apparmor ● apparmor.service - AppArmor initialization Loaded: loaded (/lib/systemd/system/apparmor.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2018-05-26 10:36:35 BST; 38s ago Docs: man:apparmor(7) http://wiki.apparmor.net/ Process: 2850 ExecStart=/etc/init.d/apparmor start (code=exited, status=123) Main PID: 2850 (code=exited, status=123)
May 26 10:36:35 ThisOne apparmor[2850]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox May 26 10:36:35 ThisOne apparmor[2850]: AppArmor parser error for /etc/apparmor.d/usr.lib.snapd.snap-confine.real in /etc/apparmor.d/usr.lib.snapd.snap-confine.real at line 11: Could not open '/var/lib/snapd/apparmor/snap-confine' May 26 10:36:35 ThisOne apparmor[2850]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd May 26 10:36:35 ThisOne apparmor[2850]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox May 26 10:36:35 ThisOne apparmor[2850]: AppArmor parser error for /etc/apparmor.d/usr.lib.snapd.snap-confine.real in /etc/apparmor.d/usr.lib.snapd.snap-confine.real at line 11: Could not open '/var/lib/snapd/apparmor/snap-confine' May 26 10:36:35 ThisOne apparmor[2850]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd May 26 10:36:35 ThisOne apparmor[2850]: ...fail! May 26 10:36:35 ThisOne systemd[1]: apparmor.service: Main process exited, code=exited, status=123/n/a May 26 10:36:35 ThisOne systemd[1]: apparmor.service: Failed with result 'exit-code'. May 26 10:36:35 ThisOne systemd[1]: Failed to start AppArmor initialization. $ sudo apt-get install apparmor-easyprof Reading package lists... Done Building dependency tree Reading state information... Done apparmor-easyprof is already the newest version (2.12-4ubuntu5). 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. $ sudo systemctl start apparmor.service Job for apparmor.service failed because the control process exited with error code. See "systemctl status apparmor.service" and "journalctl -xe" for details. ** Affects: apparmor (Ubuntu) Importance: Undecided Status: New -- 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/1773515 Title: apparmour fails after removal of snapd Status in apparmor package in Ubuntu: New Bug description: $ sudo systemctl status apparmor ● apparmor.service - AppArmor initialization Loaded: loaded (/lib/systemd/system/apparmor.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Sat 2018-05-26 10:36:35 BST; 38s ago Docs: man:apparmor(7) http://wiki.apparmor.net/ Process: 2850 ExecStart=/etc/init.d/apparmor start (code=exited, status=123) Main PID: 2850 (code=exited, status=123) May 26 10:36:35 ThisOne apparmor[2850]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox May 26 10:36:35 ThisOne apparmor[2850]: AppArmor parser error for /etc/apparmor.d/usr.lib.snapd.snap-confine.real in /etc/apparmor.d/usr.lib.snapd.snap-confine.real at line 11: Could not open '/var/lib/snapd/apparmor/snap-confine' May 26 10:36:35 ThisOne apparmor[2850]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd May 26 10:36:35 ThisOne apparmor[2850]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox May 26 10:36:35 ThisOne apparmor[2850]: AppArmor parser error for /etc/apparmor.d/usr.lib.snapd.snap-confine.real in /etc/apparmor.d/usr.lib.snapd.snap-confine.real at line 11: Could not open '/var/lib/snapd/apparmor/snap-confine' May 26 10:36:35 ThisOne apparmor[2850]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd May 26 10:36:35 ThisOne apparmor[2850]: ...fail! May 26 10:36:35 ThisOne systemd[1]: apparmor.service: Main process exited, code=exited, status=123/n/a May 26 10:36:35 ThisOne systemd[1]: apparmor.service: Failed with result 'exit-code'. May 26 10:36:35 ThisOne systemd[1]: Failed to start AppArmor initialization. $ sudo apt-get install apparmor-easyprof Reading package lists... Done Building dependency tree Reading state information... Done apparmor-easyprof is already the newest version (2.12-4ubuntu5). 0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade. $ sudo systemctl start apparmor.service Job for apparmor.service failed because the control process exited with error code. See "systemctl status apparmor.service" and "journalctl -xe" for details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/1773515/+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