Comment 9 for bug 1686852

Revision history for this message
David Banks (amoe) wrote :

Here's a log generated with the centos snap tool.

[amoe@localhost ~]$ SNAPD_DEBUG=1 /var/lib/snapd/snap/bin/lxc --help
2018/07/19 12:16:23.482666 cmd.go:70: DEBUG: re-exec not supported on distro "centos" yet
DEBUG: security tag: snap.lxd.lxc
DEBUG: executable: /usr/lib/snapd/snap-exec
DEBUG: confinement: non-classic
DEBUG: base snap: core
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 0, sgid: 0
DEBUG: checking if the current process shares mount namespace with the init process
DEBUG: re-associating is not required
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope (global))
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: creating namespace group directory /run/snapd/ns
DEBUG: namespace group directory does not require intialization
DEBUG: releasing lock (scope: (global))
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: opening lock file: /run/snapd/lock/lxd.lock
DEBUG: sanity timeout initialized and set for three seconds
DEBUG: acquiring exclusive lock (scope lxd)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: lxd
DEBUG: opening namespace group directory /run/snapd/ns
DEBUG: found base snap filesystem device 7:0
DEBUG: attempting to re-associate the mount namespace with the namespace group lxd
DEBUG: successfully re-associated the mount namespace with the namespace group lxd
DEBUG: found root filesystem inside the mount namespace 7:0
DEBUG: cannot remain in /local/amoe, moving to the void directory
DEBUG: successfully moved to /var/lib/snapd/void
DEBUG: releasing resources associated with namespace group lxd
DEBUG: moved process 7891 to freezer cgroup hierarchy for snap lxd
DEBUG: releasing lock (scope: lxd)
DEBUG: resetting PATH to values in sync with core snap
DEBUG: snappy_udev_init
DEBUG: creating user data directory: /local/amoe/snap/lxd/7412
cannot create user data directory: /local/amoe/snap/lxd/7412: Read-only file system