Public bug reported:

We have seen this issue in all cosmic cloud images built since July 7,
2018. This coincides with the promotion of version 2.34~pre1+18.10.2 to
cosmic.

During boot, snapd.apparmor.service, fails to start with:

● snapd.apparmor.service - Load AppArmor profiles managed internally by snapd
   Loaded: loaded (/lib/systemd/system/snapd.apparmor.service; enabled; vendor 
preset: enabled)
   Active: failed (Result: exit-code) since Mon 2018-07-16 12:11:36 UTC; 1min 
30s ago
  Process: 570 ExecStart=/usr/lib/snapd/snapd-apparmor start (code=exited, 
status=203/EXEC)
 Main PID: 570 (code=exited, status=203/EXEC)

Jul 16 12:11:36 cloudimg systemd[1]: Starting Load AppArmor profiles managed 
internally by snapd...
Jul 16 12:11:36 cloudimg systemd[570]: snapd.apparmor.service: Failed to 
execute command: No such file or directory
Jul 16 12:11:36 cloudimg systemd[570]: snapd.apparmor.service: Failed at step 
EXEC spawning /usr/lib/snapd/snapd-apparmor: No such file or directory
Jul 16 12:11:36 cloudimg systemd[1]: snapd.apparmor.service: Main process 
exited, code=exited, status=203/EXEC
Jul 16 12:11:36 cloudimg systemd[1]: snapd.apparmor.service: Failed with result 
'exit-code'.
Jul 16 12:11:36 cloudimg systemd[1]: Failed to start Load AppArmor profiles 
managed internally by snapd.


Indeed, /usr/lib/snapd/snapd-apparmor, does not exist:

ubuntu@cloudimg:~$ file /usr/lib/snapd/snapd-apparmor
/usr/lib/snapd/snapd-apparmor: cannot open `/usr/lib/snapd/snapd-apparmor' (No 
such file or directory)


Here's the version installed:

ubuntu@cloudimg:~$ apt-cache policy snapd
snapd:
  Installed: 2.34~pre1+18.10.2
  Candidate: 2.34~pre1+18.10.2
  Version table:
 *** 2.34~pre1+18.10.2 500
        500 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages
        100 /var/lib/dpkg/status


A failing cloud image is available at:
https://people.canonical.com/~fginther/images/bionic/20180715/livecd.ubuntu-cpc.img

A script for launching the image with kvm is available at:
https://people.canonical.com/~fginther/images/go

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1781919

Title:
  /usr/lib/snapd/snapd-apparmor: No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1781919/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to