[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Ian Johnson
So indeed your system is still using upstart, in order to use snapd you will need to switch your system over to use systemd instead. Likely one of the upgrade scripts from 10.04 to 16.04 did not transition from upstart to systemd the way a fresh install of 16.04 would default to. ** Changed in: sn

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Gene Sun
root@plis231v:~# ps -o cmd fp 1 CMD /sbin/init root@plis231v:~# sudo ls -lah /proc/1/exe lrwxrwxrwx 1 root root 0 Feb 11 22:51 /proc/1/exe -> /sbin/upstart root@plis231v:~# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.15.0-167-generic root=/dev/mapper/plis231v-root ro quiet root@plis231v:~# -- You rec

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Ian Johnson
What is the output of these commands: ps -o cmd fp 1 sudo ls -lah /proc/1/exe cat /proc/cmdline -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961418 Title: snap failed to run with '/usr/bin/snap

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Gene Sun
any suggestion to fix this? I had tried below command. root@plis231v:~# sudo dpkg -l | grep systemd ii libpam-systemd:amd64 229-4ubuntu21.31+esm1 amd64system and service manager - PAM mod ii libsystemd0:amd64 229-4ubuntu2

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Maciej Borzecki
@gsunipipeline it looks like systemd does not operate correctly in your system. This is a prerequisite for even accessing the snapd daemon, since we rely on systemd to provide the socket, then activate snapd daemon, and the snapd daemon directly interacts with systemd to set up snaps. ** Also aff

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Ian Johnson
Is this system using systemd as it's init system? I see that it was originally installed with 10.04.1 which would not have been using systemd. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961418 Tit

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Gene Sun
root@plis231v:~# systemctl status Failed to read server status: Invalid argument root@plis231v:~# -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961418 Title: snap failed to run with '/usr/bin/snap

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Maciej Borzecki
Does running `systemctl status` work at all? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961418 Title: snap failed to run with '/usr/bin/snap wait system seed.loaded' To manage notifications ab

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Gene Sun
root@plis231v:~# apt show snapd Package: snapd Version: 2.54.3+16.04~esm2 Built-Using: apparmor (= 2.10.95-0ubuntu2.11), libcap2 (= 1:2.24-12), libseccomp (= 2.4.3-1ubuntu3.16.04.3) Priority: optional Section: devel Maintainer: Ubuntu Developers Installed-Size: 146 MB Depends: adduser, apparmor (

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Paulo Flabiano Smorigo
What snapd version are you using? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961418 Title: snap failed to run with '/usr/bin/snap wait system seed.loaded' To manage notifications about this bu

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Ian Johnson
Hi, can you share what version of snapd you have installed? apt show snapd snap version Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1961418 Title: snap failed to run with '/usr/bin/snap

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-22 Thread Gene Sun
Hey Alberto Mardegan, This issue is blocking us to enable livepatch. root@plis231v:~# systemctl status snapd Failed to get properties: No such interface '' root@plis231v:~# systemctl status snapd.socket Failed to get properties: No such interface '' root@plis231v:~# journalctl -b -u snapd No

[Bug 1961418] Re: snap failed to run with '/usr/bin/snap wait system seed.loaded'

2022-02-20 Thread Alberto Mardegan
Hi Gene, thanks for reporting this! I have no idea what the problem might be, but please try this: 1) Since you are already root, try not using sudo (though I'm almost sure that this is not causing any issues) 2) Please post the output of these commands (after re-trying to enable livepatch):