Looking at the logs it seems to be cause by the following error:
Apr 17 17:44:18 autopkgtest apparmor[358]: AppArmor parser error for /var/lib/snapd/apparmor/profiles/snap-confine.core.6673 in /var/lib/snapd/apparmor/profiles/snap-confine.core.6673 at line 11: Could not open '/var/lib/snapd/apparmor/snap-confine'
On Cosmic (18.10), running:
systemd 239-7ubuntu10.13
snapd 2.37.4+18.10.1
kernel 4.18.0-17.18,
the apparmor systemd service fails to start:
$ systemctl status apparmor.service system/ apparmor. service; enabled; vendor preset: enabled) wiki.apparmor. net/ /etc/init. d/apparmor start (code=exited, status=123)
● apparmor.service - AppArmor initialization
Loaded: loaded (/lib/systemd/
Active: failed (Result: exit-code) since Wed 2019-04-17 18:00:06 CEST; 9s ago
Docs: man:apparmor(7)
http://
Process: 1295 ExecStart=
Main PID: 1295 (code=exited, status=123)
Looking at the logs it seems to be cause by the following error:
Apr 17 17:44:18 autopkgtest apparmor[358]: AppArmor parser error for /var/lib/ snapd/apparmor/ profiles/ snap-confine. core.6673 in /var/lib/ snapd/apparmor/ profiles/ snap-confine. core.6673 at line 11: Could not open '/var/lib/ snapd/apparmor/ snap-confine'
I will attach the full log from the service.