Snapd doesn't start on openSUSE Leap 15.1

I’ve just installed the snapd package according to the instructions here: https://snapcraft.io/docs/installing-snap-on-opensuse (using https://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_15.1 as the repo, obviously). I cannot get snapd.service to start, even after a reboot. journalctl output follows. Thanks for any suggestions.

Oct 15 16:23:23 lonsdale systemd[1]: Starting Snappy daemon...
-- Subject: Unit snapd.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has begun starting up.
Oct 15 16:23:23 lonsdale snapd[8875]: AppArmor status: apparmor is enabled but some kernel features are missing: dbus
Oct 15 16:23:23 lonsdale snapd[8875]: daemon.go:346: started snapd/2.41-lp151.2.1 (series 16; classic; devmode) opensuse-leap/15.1 (amd64) linux/4.12.14-lp151.28.20-defau.
Oct 15 16:23:24 lonsdale snapd[8875]: backend.go:115: snapd enabled NFS support, additional implicit network permissions granted
Oct 15 16:23:24 lonsdale snapd[8875]: cannot run daemon: state startup errors: [cannot reload snap-confine apparmor profile: cannot load apparmor profiles: exit status 2
Oct 15 16:23:24 lonsdale snapd[8875]: apparmor_parser output:
Oct 15 16:23:24 lonsdale snapd[8875]: File /etc/apparmor.d/usr.lib.snapd.snap-confine not found, skipping...
Oct 15 16:23:24 lonsdale snapd[8875]: ]
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Oct 15 16:23:24 lonsdale systemd[1]: Failed to start Snappy daemon.
-- Subject: Unit snapd.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has failed.
-- 
-- The result is failed.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Unit entered failed state.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Failed with result 'exit-code'.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Service RestartSec=100ms expired, scheduling restart.
Oct 15 16:23:24 lonsdale systemd[1]: Stopped Snappy daemon.
-- Subject: Unit snapd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has finished shutting down.
Oct 15 16:23:24 lonsdale systemd[1]: Starting Snappy daemon...
-- Subject: Unit snapd.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has begun starting up.
Oct 15 16:23:24 lonsdale snapd[8903]: AppArmor status: apparmor is enabled but some kernel features are missing: dbus
Oct 15 16:23:24 lonsdale snapd[8903]: daemon.go:346: started snapd/2.41-lp151.2.1 (series 16; classic; devmode) opensuse-leap/15.1 (amd64) linux/4.12.14-lp151.28.20-defau.
Oct 15 16:23:24 lonsdale snapd[8903]: backend.go:115: snapd enabled NFS support, additional implicit network permissions granted
Oct 15 16:23:24 lonsdale snapd[8903]: cannot run daemon: state startup errors: [cannot reload snap-confine apparmor profile: cannot load apparmor profiles: exit status 2
Oct 15 16:23:24 lonsdale snapd[8903]: apparmor_parser output:
Oct 15 16:23:24 lonsdale snapd[8903]: File /etc/apparmor.d/usr.lib.snapd.snap-confine not found, skipping...
Oct 15 16:23:24 lonsdale snapd[8903]: ]
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Oct 15 16:23:24 lonsdale systemd[1]: Failed to start Snappy daemon.
-- Subject: Unit snapd.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has failed.
-- 
-- The result is failed.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Unit entered failed state.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Failed with result 'exit-code'.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Service RestartSec=100ms expired, scheduling restart.
Oct 15 16:23:24 lonsdale systemd[1]: Stopped Snappy daemon.
-- Subject: Unit snapd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has finished shutting down.
Oct 15 16:23:24 lonsdale systemd[1]: Starting Snappy daemon...
-- Subject: Unit snapd.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has begun starting up.
Oct 15 16:23:24 lonsdale snapd[8931]: AppArmor status: apparmor is enabled but some kernel features are missing: dbus
Oct 15 16:23:24 lonsdale snapd[8931]: daemon.go:346: started snapd/2.41-lp151.2.1 (series 16; classic; devmode) opensuse-leap/15.1 (amd64) linux/4.12.14-lp151.28.20-defau.
Oct 15 16:23:24 lonsdale snapd[8931]: backend.go:115: snapd enabled NFS support, additional implicit network permissions granted
Oct 15 16:23:24 lonsdale snapd[8931]: cannot run daemon: state startup errors: [cannot reload snap-confine apparmor profile: cannot load apparmor profiles: exit status 2
Oct 15 16:23:24 lonsdale snapd[8931]: apparmor_parser output:
Oct 15 16:23:24 lonsdale snapd[8931]: File /etc/apparmor.d/usr.lib.snapd.snap-confine not found, skipping...
Oct 15 16:23:24 lonsdale snapd[8931]: ]
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Oct 15 16:23:24 lonsdale systemd[1]: Failed to start Snappy daemon.
-- Subject: Unit snapd.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has failed.
-- 
-- The result is failed.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Unit entered failed state.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Failed with result 'exit-code'.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Service RestartSec=100ms expired, scheduling restart.
Oct 15 16:23:24 lonsdale systemd[1]: Stopped Snappy daemon.
-- Subject: Unit snapd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has finished shutting down.
Oct 15 16:23:24 lonsdale systemd[1]: Starting Snappy daemon...
-- Subject: Unit snapd.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has begun starting up.
Oct 15 16:23:24 lonsdale snapd[8958]: AppArmor status: apparmor is enabled but some kernel features are missing: dbus
Oct 15 16:23:24 lonsdale snapd[8958]: daemon.go:346: started snapd/2.41-lp151.2.1 (series 16; classic; devmode) opensuse-leap/15.1 (amd64) linux/4.12.14-lp151.28.20-defau.
Oct 15 16:23:24 lonsdale snapd[8958]: backend.go:115: snapd enabled NFS support, additional implicit network permissions granted
Oct 15 16:23:24 lonsdale snapd[8958]: cannot run daemon: state startup errors: [cannot reload snap-confine apparmor profile: cannot load apparmor profiles: exit status 2
Oct 15 16:23:24 lonsdale snapd[8958]: apparmor_parser output:
Oct 15 16:23:24 lonsdale snapd[8958]: File /etc/apparmor.d/usr.lib.snapd.snap-confine not found, skipping...
Oct 15 16:23:24 lonsdale snapd[8958]: ]
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Oct 15 16:23:24 lonsdale systemd[1]: Failed to start Snappy daemon.
-- Subject: Unit snapd.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has failed.
-- 
-- The result is failed.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Unit entered failed state.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Failed with result 'exit-code'.
Oct 15 16:23:24 lonsdale systemd[1]: snapd.service: Service RestartSec=100ms expired, scheduling restart.
Oct 15 16:23:24 lonsdale systemd[1]: Stopped Snappy daemon.
-- Subject: Unit snapd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has finished shutting down.
Oct 15 16:23:24 lonsdale systemd[1]: Starting Snappy daemon...
-- Subject: Unit snapd.service has begun start-up
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has begun starting up.
Oct 15 16:23:24 lonsdale snapd[8986]: AppArmor status: apparmor is enabled but some kernel features are missing: dbus
Oct 15 16:23:24 lonsdale snapd[8986]: daemon.go:346: started snapd/2.41-lp151.2.1 (series 16; classic; devmode) opensuse-leap/15.1 (amd64) linux/4.12.14-lp151.28.20-defau.
Oct 15 16:23:25 lonsdale snapd[8986]: backend.go:115: snapd enabled NFS support, additional implicit network permissions granted
Oct 15 16:23:25 lonsdale snapd[8986]: cannot run daemon: state startup errors: [cannot reload snap-confine apparmor profile: cannot load apparmor profiles: exit status 2
Oct 15 16:23:25 lonsdale snapd[8986]: apparmor_parser output:
Oct 15 16:23:25 lonsdale snapd[8986]: File /etc/apparmor.d/usr.lib.snapd.snap-confine not found, skipping...
Oct 15 16:23:25 lonsdale snapd[8986]: ]
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
Oct 15 16:23:25 lonsdale systemd[1]: Failed to start Snappy daemon.
-- Subject: Unit snapd.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has failed.
-- 
-- The result is failed.
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Unit entered failed state.
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Failed with result 'exit-code'.
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Service RestartSec=100ms expired, scheduling restart.
Oct 15 16:23:25 lonsdale systemd[1]: Stopped Snappy daemon.
-- Subject: Unit snapd.service has finished shutting down
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has finished shutting down.
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Start request repeated too quickly.
Oct 15 16:23:25 lonsdale systemd[1]: Failed to start Snappy daemon.
-- Subject: Unit snapd.service has failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit snapd.service has failed.
-- 
-- The result is failed.
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Unit entered failed state.
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Triggering OnFailure= dependencies.
Oct 15 16:23:25 lonsdale systemd[1]: snapd.service: Failed with result 'exit-code'.
1 Like

@zyga something for your probably

1 Like

I won’t be able to get to it this week but I’ll try early next week.

Hi!
I have exactly the same problem. I’ve just installed the snapd package according to the instructions… on opensuse Leap 15.1. Did you find a solution?
Thanks,
vincent

Hi Vincent,

No, I’m afraid not. What I was trying to do wasn’t important enough for me to spend a lot of time on it (IIRC I found another way to run the application I was interested in), and @zyga’s reply suggested that it would be looked into soon anyway.

Sorry I can’t help more - I’m not a snapcraft expert, and I haven’t used it on any other platforms.
P.