Public bug reported:
When executing snapd's spread test suite, tests/main/try fails with:
+ echo 'Given a buildable snap which access confinement-protected resources in
a known directory'
Given a buildable snap which access confinement-protected resources in a known
directory
+ echo 'When try is executed on that directory with devmode enabled'
When try is executed on that directory with devmode enabled
+ snap try
/home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps/test-snapd-tools
--devmode
test-snapd-tools 1.0 mounted from
/home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps/test-snapd-tools
+ echo 'Then the snap command is able to access the protected resource'
Then the snap command is able to access the protected resource
+ test-snapd-tools.head -1 /dev/kmsg
cannot snap-exec: cannot read info for "test-snapd-tools": cannot find
installed snap "test-snapd-tools" at revision x3
mount reports:
qemu:ubuntu-14.04-64 .../tests/main/try# mount
/dev/sda1 on / type ext4 (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/cgroup type tmpfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
tracefs on /var/lib/ureadahead/debugfs/tracing type tracefs (rw,relatime)
systemd on /sys/fs/cgroup/systemd type cgroup
(rw,noexec,nosuid,nodev,none,name=systemd)
/var/lib/snapd/snaps/core_6.snap on /snap/core/6 type squashfs (ro)
/home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps/test-snapd-tools on
/snap/test-snapd-tools/x1 type none (rw,bind)
/home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps/test-snapd-tools on
/snap/test-snapd-tools/x2 type none (rw,bind)
/home/gopath/src/github.com/snapcore/snapd/tests/lib/snaps/test-snapd-tools on
/snap/test-snapd-tools/x3 type none (rw,bind)
snap list reports:
qemu:ubuntu-14.04-64 .../tests/main/try# snap list
Name Version Rev Developer Notes
core 16.04.1 6 canonical -
test-snapd-tools 1.0 x3 devmode,try
** Affects: snap-confine (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1631270
Title:
running a command for a snap in try mode fails on trusty
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/1631270/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs