Open baiyuxiong opened 2 years ago
Hi @baiyuxiong, I believe this is where the problem originates:
2022-02-10T08:54:24Z multipassd[3496]: Failed to enable AppArmor: AppArmor cannot be configured, the 'apparmor_parser' utility failed to launch with error: Unknown error
What does snap connections multipass
say? Could you please try snap restart multipass
, noting down the time, and then pasting the contents of journalctl
from that moment on? Thank you.
$ sudo snap connections error: unknown command "connections", see 'snap help' uos@uos:~/code/srv-cron$ snap version snap 2.37.4-1+b1 snapd 2.37.4-1+b1 series 16 uos 20 kernel 4.19.0-amd64-desktop
uos@uos: journalctl -f 2月 21 10:45:47 uos sudo[4954]: PAM unable to dlopen(pam_cgfs.so): /lib/security/pam_cgfs.so: cannot open shared object file: No such file or directory 2月 21 10:45:47 uos sudo[4954]: PAM adding faulty module: pam_cgfs.so
@baiyuxiong hey, 4.19 is quite an old kernel, what distribution are you on? The same goes for snapd
, that's a version from 3 years ago. Any chance you could get those updated?
@baiyuxiong hey, 4.19 is quite an old kernel, what distribution are you on? The same goes for
snapd
, that's a version from 3 years ago. Any chance you could get those updated?
uniontech uos 1043 professional edition which is a commercial branch of deepin
The same issue. and the same error as dnsmasq[3700]: cannot create netlink socket: Operation not permitted.
snap 2.37.4-1+b1
snapd 2.37.4-1+b1
series 16
deepin 20.7
kernel 5.15.45-amd64-desktop
multipass 1.10.1
9月 30 18:56:37 deepin-home systemd[1]: Started Service for snap application multipass.multipassd.
9月 30 18:56:37 deepin-home multipassd[29395]: Unable to determine subnet for the mpqemubr0 subnet
9月 30 18:56:37 deepin-home multipassd[29395]: Using AppArmor support
9月 30 18:56:37 deepin-home multipassd[29395]: Failed to enable AppArmor: AppArmor cannot be configured, the 'apparmor_parser' utility f
9月 30 18:56:37 deepin-home multipassd[29395]: Starting dnsmasq
9月 30 18:56:38 deepin-home multipassd[29395]: [29469] started: dnsmasq --keep-in-foreground --strict-order --bind-interfaces --pid-file
9月 30 18:56:38 deepin-home dnsmasq[29469]: cannot create netlink socket: Operation not permitted
9月 30 18:56:38 deepin-home multipassd[29395]:
dnsmasq: cannot create netlink socket: Operation not permitted
9月 30 18:56:38 deepin-home dnsmasq[29469]: FAILED to start up
9月 30 18:56:38 deepin-home multipassd[29395]: dnsmasq died: Process returned exit code: 5
9月 30 18:56:38 deepin-home multipassd[29395]: Caught an unhandled exception: dnsmasq died: Process returned exit code: 5
9月 30 18:56:38 deepin-home systemd[1]: snap.multipass.multipassd.service: Main process exited, code=exited, status=1/FAILURE
9月 30 18:56:38 deepin-home systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'.
Describe the bug sudo snap install multipass sudo snap start multipass snap logs multipass
2022-02-10T08:54:24Z systemd[1]: Started Service for snap application multipass.multipassd. 2022-02-10T08:54:24Z multipassd[3496]: Unable to determine subnet for the mpqemubr0 subnet 2022-02-10T08:54:24Z multipassd[3496]: Using AppArmor support 2022-02-10T08:54:24Z multipassd[3496]: Failed to enable AppArmor: AppArmor cannot be configured, the 'apparmor_parser' utility failed to launch with error: Unknown error 2022-02-10T08:54:24Z multipassd[3496]: Starting dnsmasq 2022-02-10T08:54:24Z multipassd[3496]: [3551] started: dnsmasq --keep-in-foreground --strict-order --bind-interfaces --pid-file --domain=multipass --local=/multipass/ --except-interface=lo --interface=mpqemubr0 --listen-address=10.61.40.1 --dhcp-no-override --dhcp-authoritative --dhcp-leasefile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.leases --dhcp-hostsfile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.hosts --dhcp-range 10.61.40.2,10.61.40.254,infinite --conf-file=/var/snap/multipass/common/data/multipassd/network/dnsmasq-BFGsyE.conf 2022-02-10T08:54:24Z multipassd[3496]: dnsmasq: 2022-02-10T08:54:24Z multipassd[3496]: dnsmasq: cannot create netlink socket: Operation not permitted 2022-02-10T08:54:24Z multipassd[3496]: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:24Z multipassd[3496]: Caught an unhandled exception: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:24Z systemd[1]: snap.multipass.multipassd.service: Main process exited, code=exited, status=1/FAILURE 2022-02-10T08:54:24Z systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'. 2022-02-10T08:54:24Z systemd[1]: snap.multipass.multipassd.service: Service RestartSec=100ms expired, scheduling restart. 2022-02-10T08:54:24Z systemd[1]: snap.multipass.multipassd.service: Scheduled restart job, restart counter is at 1. 2022-02-10T08:54:24Z systemd[1]: Stopped Service for snap application multipass.multipassd. 2022-02-10T08:54:24Z systemd[1]: Started Service for snap application multipass.multipassd. 2022-02-10T08:54:24Z multipassd[3552]: Unable to determine subnet for the mpqemubr0 subnet 2022-02-10T08:54:24Z multipassd[3552]: Using AppArmor support 2022-02-10T08:54:24Z multipassd[3552]: Failed to enable AppArmor: AppArmor cannot be configured, the 'apparmor_parser' utility failed to launch with error: Unknown error 2022-02-10T08:54:24Z multipassd[3552]: Starting dnsmasq 2022-02-10T08:54:24Z multipassd[3552]: [3594] started: dnsmasq --keep-in-foreground --strict-order --bind-interfaces --pid-file --domain=multipass --local=/multipass/ --except-interface=lo --interface=mpqemubr0 --listen-address=10.61.40.1 --dhcp-no-override --dhcp-authoritative --dhcp-leasefile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.leases --dhcp-hostsfile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.hosts --dhcp-range 10.61.40.2,10.61.40.254,infinite --conf-file=/var/snap/multipass/common/data/multipassd/network/dnsmasq-wqLdxs.conf 2022-02-10T08:54:24Z dnsmasq[3594]: cannot create netlink socket: Operation not permitted 2022-02-10T08:54:24Z dnsmasq[3594]: FAILED to start up 2022-02-10T08:54:24Z multipassd[3552]: dnsmasq: cannot create netlink socket: Operation not permitted 2022-02-10T08:54:24Z multipassd[3552]: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:24Z multipassd[3552]: Caught an unhandled exception: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:24Z systemd[1]: snap.multipass.multipassd.service: Main process exited, code=exited, status=1/FAILURE 2022-02-10T08:54:24Z systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Service RestartSec=100ms expired, scheduling restart. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Scheduled restart job, restart counter is at 2. 2022-02-10T08:54:25Z systemd[1]: Stopped Service for snap application multipass.multipassd. 2022-02-10T08:54:25Z systemd[1]: Started Service for snap application multipass.multipassd. 2022-02-10T08:54:25Z multipassd[3595]: Unable to determine subnet for the mpqemubr0 subnet 2022-02-10T08:54:25Z multipassd[3595]: Using AppArmor support 2022-02-10T08:54:25Z multipassd[3595]: Failed to enable AppArmor: AppArmor cannot be configured, the 'apparmor_parser' utility failed to launch with error: Unknown error 2022-02-10T08:54:25Z multipassd[3595]: Starting dnsmasq 2022-02-10T08:54:25Z multipassd[3595]: [3655] started: dnsmasq --keep-in-foreground --strict-order --bind-interfaces --pid-file --domain=multipass --local=/multipass/ --except-interface=lo --interface=mpqemubr0 --listen-address=10.61.40.1 --dhcp-no-override --dhcp-authoritative --dhcp-leasefile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.leases --dhcp-hostsfile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.hosts --dhcp-range 10.61.40.2,10.61.40.254,infinite --conf-file=/var/snap/multipass/common/data/multipassd/network/dnsmasq-UcsGIb.conf 2022-02-10T08:54:25Z multipassd[3595]: 2022-02-10T08:54:25Z multipassd[3595]: dnsmasq: cannot create netlink socket: Operation not permitted 2022-02-10T08:54:25Z multipassd[3595]: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:25Z multipassd[3595]: Caught an unhandled exception: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Main process exited, code=exited, status=1/FAILURE 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Service RestartSec=100ms expired, scheduling restart. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Scheduled restart job, restart counter is at 3. 2022-02-10T08:54:25Z systemd[1]: Stopped Service for snap application multipass.multipassd. 2022-02-10T08:54:25Z systemd[1]: Started Service for snap application multipass.multipassd. 2022-02-10T08:54:25Z multipassd[3656]: Unable to determine subnet for the mpqemubr0 subnet 2022-02-10T08:54:25Z multipassd[3656]: Using AppArmor support 2022-02-10T08:54:25Z multipassd[3656]: Failed to enable AppArmor: AppArmor cannot be configured, the 'apparmor_parser' utility failed to launch with error: Unknown error 2022-02-10T08:54:25Z multipassd[3656]: Starting dnsmasq 2022-02-10T08:54:25Z multipassd[3656]: [3700] started: dnsmasq --keep-in-foreground --strict-order --bind-interfaces --pid-file --domain=multipass --local=/multipass/ --except-interface=lo --interface=mpqemubr0 --listen-address=10.61.40.1 --dhcp-no-override --dhcp-authoritative --dhcp-leasefile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.leases --dhcp-hostsfile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.hosts --dhcp-range 10.61.40.2,10.61.40.254,infinite --conf-file=/var/snap/multipass/common/data/multipassd/network/dnsmasq-DlwEtF.conf 2022-02-10T08:54:25Z dnsmasq[3700]: cannot create netlink socket: Operation not permitted 2022-02-10T08:54:25Z multipassd[3656]: dnsmasq: cannot create netlink socket: Operation not permitted 2022-02-10T08:54:25Z dnsmasq[3700]: FAILED to start up 2022-02-10T08:54:25Z multipassd[3656]: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:25Z multipassd[3656]: Caught an unhandled exception: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Main process exited, code=exited, status=1/FAILURE 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Service RestartSec=100ms expired, scheduling restart. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Scheduled restart job, restart counter is at 4. 2022-02-10T08:54:25Z systemd[1]: Stopped Service for snap application multipass.multipassd. 2022-02-10T08:54:25Z systemd[1]: Started Service for snap application multipass.multipassd. 2022-02-10T08:54:25Z multipassd[3706]: Unable to determine subnet for the mpqemubr0 subnet 2022-02-10T08:54:25Z multipassd[3706]: Using AppArmor support 2022-02-10T08:54:25Z multipassd[3706]: Failed to enable AppArmor: AppArmor cannot be configured, the 'apparmor_parser' utility failed to launch with error: Unknown error 2022-02-10T08:54:25Z multipassd[3706]: Starting dnsmasq 2022-02-10T08:54:25Z multipassd[3706]: [3755] started: dnsmasq --keep-in-foreground --strict-order --bind-interfaces --pid-file --domain=multipass --local=/multipass/ --except-interface=lo --interface=mpqemubr0 --listen-address=10.61.40.1 --dhcp-no-override --dhcp-authoritative --dhcp-leasefile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.leases --dhcp-hostsfile=/var/snap/multipass/common/data/multipassd/network/dnsmasq.hosts --dhcp-range 10.61.40.2,10.61.40.254,infinite --conf-file=/var/snap/multipass/common/data/multipassd/network/dnsmasq-RHrVOu.conf 2022-02-10T08:54:25Z multipassd[3706]: 2022-02-10T08:54:25Z dnsmasq[3755]: cannot create netlink socket: Operation not permitted 2022-02-10T08:54:25Z multipassd[3706]: dnsmasq: cannot create netlink socket: Operation not permitted 2022-02-10T08:54:25Z dnsmasq[3755]: FAILED to start up 2022-02-10T08:54:25Z multipassd[3706]: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:25Z multipassd[3706]: Caught an unhandled exception: dnsmasq died: Process returned exit code: 5 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Main process exited, code=exited, status=1/FAILURE 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Service RestartSec=100ms expired, scheduling restart. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Scheduled restart job, restart counter is at 5. 2022-02-10T08:54:25Z systemd[1]: Stopped Service for snap application multipass.multipassd. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Start request repeated too quickly. 2022-02-10T08:54:25Z systemd[1]: snap.multipass.multipassd.service: Failed with result 'exit-code'. 2022-02-10T08:54:25Z systemd[1]: Failed to start Service for snap application multipass.multipassd.
To Reproduce How, and what happened?
Expected behavior Started
Logs as above
Additional info
multipass version
multipass 1.8.0multipass info --all
~$ /snap/bin/multipass info --all info failed: cannot connect to the multipass socket Please ensure multipassd is running and '/var/snap/multipass/common/multipass_socket' is accessibleAdditional context none