Apparmor.service failed to load

Lubuntu 20.04
Kernel: 5.4.0-39-generic
DE: LXQt Version 0.14.1
Qt 5.12.8

apparmor.service failed to load
“systelctl |grep failed” gives me
apparmor.service loaded failed failed Load AppArmor profiles

“systemctl status apparmor.service” gives me
Loaded: loaded (/lib/systemd/system/apparmor.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2020-06-28 12:27:43 CEST; 32s ago
Docs: man:apparmor(7)

Process: 100293 ExecStart=/lib/apparmor/apparmor.systemd reload (code=exited, status=1/FAILURE)
Main PID: 100293 (code=exited, status=1/FAILURE)

jun 28 12:27:43 michael-toren apparmor.systemd[100316]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
jun 28 12:27:43 michael-toren apparmor.systemd[100310]: AppArmor parser error for /etc/apparmor.d in /etc/apparmor.d/usr.lib.snapd.snap-confine.real at line 11: Could not open '/var/lib/snapd/apparmor/snap-confin>
jun 28 12:27:43 michael-toren apparmor.systemd[100317]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
jun 28 12:27:43 michael-toren apparmor.systemd[100355]: Skipping profile in /etc/apparmor.d/disable: usr.bin.firefox
jun 28 12:27:43 michael-toren apparmor.systemd[100379]: 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 '/va>
jun 28 12:27:43 michael-toren apparmor.systemd[100400]: Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
jun 28 12:27:43 michael-toren apparmor.systemd[100293]: Error: At least one profile failed to load
jun 28 12:27:43 michael-toren systemd[1]: apparmor.service: Main process exited, code=exited, status=1/FAILURE
jun 28 12:27:43 michael-toren systemd[1]: apparmor.service: Failed with result ‘exit-code’.
jun 28 12:27:43 michael-toren systemd[1]: Failed to start Load AppArmor profiles.

“journalctl -xe” gives me
Defined-By: systemd

– An ExecStart= process belonging to unit apparmor.service has exited.

– The process’ exit code is ‘exited’ and its exit status is 1.
jun 28 12:27:43 michael-toren systemd[1]: apparmor.service: Failed with result ‘exit-code’.
– Subject: Unit failed
– Defined-By: systemd
– Support: http://www.ubuntu.com/support

– The unit apparmor.service has entered the ‘failed’ state with result ‘exit-code’.
jun 28 12:27:43 michael-toren systemd[1]: Failed to start Load AppArmor profiles.
– Subject: A start job for unit apparmor.service has failed
– Defined-By: systemd
– Support: http://www.ubuntu.com/support

– A start job for unit apparmor.service has finished with a failure.

– The job identifier is 1458 and the job result is failed.
jun 28 12:27:43 michael-toren sudo[100279]: pam_unix(sudo:session): session closed for user root

I’m in search why my system crashes many times

It’s solved! :smiley:

I’m part of the Lubuntu Telegram channel. They told me that I had use sudo apt purge snapd instead of sudo apt remove snapd. Than I restarted the apparmor service and the computer and in both cases apparmor service was doing just fine!