vpsfreecz / vpsadminos

Host for Linux system containers based on NixOS, ZFS and LXC
https://vpsadminos.org
MIT License
155 stars 26 forks source link

Snap issue on Ubuntu 18.04 #17

Closed petrparolek closed 6 years ago

petrparolek commented 6 years ago

error: cannot perform the following tasks:
- Mount snap "core" (4830) ([start snap-core-4830.mount] failed with exit status 1: Job for snap-core-4830.mount failed.
See "systemctl status snap-core-4830.mount" and "journalctl -xe" for details.
)

systemctl status snap-core-4830.mount
● snap-core-4830.mount
   Loaded: not-found (Reason: No such file or directory)
   Active: failed (Result: exit-code) since Sat 2018-06-30 14:56:11 CEST; 46s ago

Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Mounting Mount unit for core...
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: snap-core-4830.mount: Mount process exited, code=exited status=32
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: snap-core-4830.mount: Failed with result 'exit-code'.
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to mount Mount unit for core.

journalctl -xe
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Reloading.
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: system.slice: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: console-getty.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: lvm2-lvmpolld.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: system-container\x2dgetty.slice: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: console-setup.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: user.slice: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-resolved.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to set devices.allow on /system.slice/systemd-resolved.service: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to set devices.allow on /system.slice/systemd-resolved.service: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to set devices.allow on /system.slice/systemd-resolved.service: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to set devices.allow on /system.slice/systemd-resolved.service: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to set devices.allow on /system.slice/systemd-resolved.service: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to set devices.allow on /system.slice/systemd-resolved.service: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to set devices.allow on /system.slice/systemd-resolved.service: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: Failed to set devices.allow on /system.slice/systemd-resolved.service: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-tmpfiles-setup.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: ssh.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: system-getty.slice: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-journal-flush.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: sendmail.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: sys-fs-fuse-connections.mount: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: dbus.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: cron.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: snapd.socket: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-journald.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-udev-trigger.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-user-sessions.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: snap.mount: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: docker.socket: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-logind.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: networkd-dispatcher.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: docker.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: keyboard-setup.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-modules-load.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: rsyslog.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: lvm2-lvmetad.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-tmpfiles-setup-dev.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: netfilter-persistent.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-udevd.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-update-utmp.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: snapd.seeded.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: apparmor.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: snapd.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: networking.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: systemd-sysctl.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:11 srv3.webnazakazku.cz systemd[1]: gitlab-runner.service: Failed to reset devices.list: Operation not permitted
Jun 30 14:56:12 srv3.webnazakazku.cz snapd[158]: 2018/06/30 14:56:12.907440 handlers.go:372: Reported install problem for "core" as f75d74ac-7c64-11e8-b9dc-fa163e192766 OOPSID
Jun 30 14:56:12 srv3.webnazakazku.cz sudo[1160]: pam_unix(sudo:session): session closed for user root```
aither64 commented 6 years ago

As of today, snap works on vpsAdminOS and our staging node, see https://kb.vpsfree.cz/navody/vps/vpsadminos/snap for installation instructions.