After installing snap edge sudo snap install snapcraft --edge --classic
and executing sudo snap refresh multipass --edge
I run the command and got an error:
user@user$ multipass launch snapcraft:core18 -vvv
[2019-09-02T17:36:01.106] [debug] [daemon] Loading AppArmor policy:
#include <tunables/global>
profile multipass.dnsmasq flags=(attach_disconnected) {
#include <abstractions/base>
#include <abstractions/nameservice>
capability chown,
capability net_bind_service,
capability setgid,
capability setuid,
capability dac_override,
capability dac_read_search,
capability net_admin, # for DHCP server
capability net_raw, # for DHCP server ping checks
network inet raw,
network inet6 raw,
# Allow multipassd send dnsmasq signals
signal (receive) peer=snap.multipass.multipassd,
# access to iface mtu needed for Router Advertisement messages in IPv6
# Neighbor Discovery protocol (RFC 2461)
@{PROC}/sys/net/ipv6/conf/*/mtu r,
# binary and its libs
/snap/multipass/1102/usr/sbin/dnsmasq ixr,
/snap/multipass/1102/{usr/,}lib/@{multiarch}/{,**/}*.so* rm,
# CLASSIC ONLY: need to specify required libs from core snap
/snap/core18/*/{,usr/}lib/@{multiarch}/{,**/}*.so* rm,
/var/snap/multipass/common/data/multipassd/network/dnsmasq.leases rw, # Leases file
/var/snap/multipass/common/data/multipassd/network/dnsmasq.hosts r, # Hosts file
/var/snap/multipass/common/data/multipassd/network/dnsmasq.pid w, # pid file
}
launch failed: Failed to load AppArmor policy
#include <tunables/global>
profile multipass.dnsmasq flags=(attach_disconnected) {
#include <abstractions/base>
#include <abstractions/nameservice>
capability chown,
capability net_bind_service,
capability setgid,
capability setuid,
capability dac_override,
capability dac_read_search,
capability net_admin, # for DHCP server
capability net_raw, # for DHCP server ping checks
network inet raw,
network inet6 raw,
# Allow multipassd send dnsmasq signals
signal (receive) peer=snap.multipass.multipassd,
# access to iface mtu needed for Router Advertisement messages in IPv6
# Neighbor Discovery protocol (RFC 2461)
@{PROC}/sys/net/ipv6/conf/*/mtu r,
# binary and its libs
/snap/multipass/1102/usr/sbin/dnsmasq ixr,
/snap/multipass/1102/{usr/,}lib/@{multiarch}/{,**/}*.so* rm,
# CLASSIC ONLY: need to specify required libs from core snap
/snap/core18/*/{,usr/}lib/@{multiarch}/{,**/}*.so* rm,
/var/snap/multipass/common/data/multipassd/network/dnsmasq.leases rw, # Leases file
/var/snap/multipass/common/data/multipassd/network/dnsmasq.hosts r, # Hosts file
/var/snap/multipass/common/data/multipassd/network/dnsmasq.pid w, # pid file
}
: errno=1 ()
If snap edge isn’t good tell me and I will post another comment without the edge channel.
I am running
FriendlyCore (base on UbuntuCore), Kernel: Linux-4.14
One developer told me
You can build FriendlyElec’s Linux-4.14 by yourself according this wiki
If its help you better understand what kernel I am using.