[Bug 1631270] Re: running a command for a snap in try mode fails on trusty

2017-02-01 Thread Thomas Voß
** Changed in: snappy
   Status: In Progress => Fix Released

-- 
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/snap-confine/+bug/1631270/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs



[Bug 1631270] Re: running a command for a snap in try mode fails on trusty

2017-01-31 Thread Leo Arias
** Tags added: trusty

-- 
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/snap-confine/+bug/1631270/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1631270] Re: running a command for a snap in try mode fails on trusty

2017-01-17 Thread Michael Vogt
This bug is "in-progress" for a long time, is this status still
accurate?

-- 
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/snap-confine/+bug/1631270/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1631270] Re: running a command for a snap in try mode fails on trusty

2016-11-23 Thread Zygmunt Krynicki
This was traced to missing "mount --bind /snap; mount --make-rshared
/snap" that was previously done by systemd (where it is pid 1). This was
fixed (at the moment it hasn't landed yet) through the snapd 14.04
enablement patches.

** Changed in: snap-confine (Ubuntu)
   Status: New => Invalid

** Also affects: snappy
   Importance: Undecided
   Status: New

** Changed in: snappy
   Status: New => In Progress

** Changed in: snap-confine
   Status: Incomplete => Invalid

** Changed in: snappy
 Assignee: (unassigned) => Thomas Voß (thomas-voss)

-- 
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/snap-confine/+bug/1631270/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1631270] Re: running a command for a snap in try mode fails on trusty

2016-10-20 Thread Zygmunt Krynicki
Can you please re-check with snap-confine 1.0.44 that is in the image
PPA?

** Changed in: snap-confine
   Status: New => Incomplete

-- 
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/snap-confine/+bug/1631270/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1631270] Re: running a command for a snap in try mode fails on trusty

2016-10-20 Thread Zygmunt Krynicki
** Also affects: snap-confine
   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/snap-confine/+bug/1631270/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1631270] Re: running a command for a snap in try mode fails on trusty

2016-10-10 Thread Zygmunt Krynicki
This might be bind vs rbind but I need to check. Thanks for attaching
mountinfo.

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1631270] Re: running a command for a snap in try mode fails on trusty

2016-10-07 Thread Thomas Voß
The following setup gives me a working shell

> export SNAP_NAME=test-snapd-tools
> /usr/lib/snapd/snap-confine snap.test-snapd-tools.head /bin/bash

with the following /proc/self/mountinfo:

qemu:ubuntu-14.04-64 .../tests/main/try# cat /proc/self/mountinfo 
79 48 7:0 / / rw,relatime - squashfs /dev/loop0 ro
80 79 0:6 / /dev rw,relatime - devtmpfs udev 
rw,size=736824k,nr_inodes=184206,mode=755
81 80 0:14 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts 
rw,gid=5,mode=620,ptmxmode=000
82 79 8:1 /etc /etc rw,relatime - ext4 /dev/sda1 rw,data=ordered
83 79 8:1 /home /home rw,relatime - ext4 /dev/sda1 rw,data=ordered
84 79 8:1 /root /root rw,relatime - ext4 /dev/sda1 rw,data=ordered
85 79 0:4 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
86 79 0:17 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sysfs rw
87 86 0:19 / /sys/fs/cgroup rw,relatime - tmpfs none rw,size=4k,mode=755
88 87 0:25 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime - cgroup 
systemd rw,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd
89 87 0:26 / /sys/fs/cgroup/cpuset rw,relatime - cgroup cgroup rw,cpuset
90 87 0:27 / /sys/fs/cgroup/cpu rw,relatime - cgroup cgroup rw,cpu
91 87 0:28 / /sys/fs/cgroup/cpuacct rw,relatime - cgroup cgroup rw,cpuacct
92 87 0:29 / /sys/fs/cgroup/blkio rw,relatime - cgroup cgroup rw,blkio
93 87 0:30 / /sys/fs/cgroup/memory rw,relatime - cgroup cgroup rw,memory
94 87 0:31 / /sys/fs/cgroup/devices rw,relatime - cgroup cgroup rw,devices
95 87 0:32 / /sys/fs/cgroup/freezer rw,relatime - cgroup cgroup rw,freezer
96 87 0:33 / /sys/fs/cgroup/net_cls rw,relatime - cgroup cgroup rw,net_cls
97 87 0:34 / /sys/fs/cgroup/perf_event rw,relatime - cgroup cgroup rw,perf_event
98 87 0:35 / /sys/fs/cgroup/net_prio rw,relatime - cgroup cgroup rw,net_prio
99 87 0:36 / /sys/fs/cgroup/hugetlb rw,relatime - cgroup cgroup rw,hugetlb
100 87 0:37 / /sys/fs/cgroup/pids rw,relatime - cgroup cgroup rw,pids
101 86 0:20 / /sys/fs/fuse/connections rw,relatime - fusectl none rw
102 86 0:7 / /sys/kernel/debug rw,relatime - debugfs none rw
103 86 0:12 / /sys/kernel/security rw,relatime - securityfs none rw
104 86 0:24 / /sys/fs/pstore rw,relatime - pstore none rw
105 79 8:1 /tmp /tmp rw,relatime - ext4 /dev/sda1 rw,data=ordered
106 105 7:0 / /tmp/snap.rootfs_aECzku rw,relatime - squashfs /dev/loop0 ro
107 106 0:6 / /tmp/snap.rootfs_aECzku/dev rw,relatime - devtmpfs udev 
rw,size=736824k,nr_inodes=184206,mode=755
108 107 0:14 / /tmp/snap.rootfs_aECzku/dev/pts rw,nosuid,noexec,relatime - 
devpts devpts rw,gid=5,mode=620,ptmxmode=000
109 106 8:1 /etc /tmp/snap.rootfs_aECzku/etc rw,relatime - ext4 /dev/sda1 
rw,data=ordered
110 106 8:1 /home /tmp/snap.rootfs_aECzku/home rw,relatime - ext4 /dev/sda1 
rw,data=ordered
111 106 8:1 /root /tmp/snap.rootfs_aECzku/root rw,relatime - ext4 /dev/sda1 
rw,data=ordered
112 106 0:4 / /tmp/snap.rootfs_aECzku/proc rw,nosuid,nodev,noexec,relatime - 
proc proc rw
113 106 0:17 / /tmp/snap.rootfs_aECzku/sys rw,nosuid,nodev,noexec,relatime - 
sysfs sysfs rw
114 113 0:19 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup rw,relatime - tmpfs none 
rw,size=4k,mode=755
115 114 0:25 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/systemd 
rw,nosuid,nodev,noexec,relatime - cgroup systemd 
rw,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd
116 114 0:26 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/cpuset rw,relatime - 
cgroup cgroup rw,cpuset
117 114 0:27 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/cpu rw,relatime - cgroup 
cgroup rw,cpu
118 114 0:28 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/cpuacct rw,relatime - 
cgroup cgroup rw,cpuacct
119 114 0:29 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/blkio rw,relatime - cgroup 
cgroup rw,blkio
120 114 0:30 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/memory rw,relatime - 
cgroup cgroup rw,memory
121 114 0:31 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/devices rw,relatime - 
cgroup cgroup rw,devices
122 114 0:32 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/freezer rw,relatime - 
cgroup cgroup rw,freezer
123 114 0:33 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/net_cls rw,relatime - 
cgroup cgroup rw,net_cls
124 114 0:34 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/perf_event rw,relatime - 
cgroup cgroup rw,perf_event
125 114 0:35 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/net_prio rw,relatime - 
cgroup cgroup rw,net_prio
126 114 0:36 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/hugetlb rw,relatime - 
cgroup cgroup rw,hugetlb
127 114 0:37 / /tmp/snap.rootfs_aECzku/sys/fs/cgroup/pids rw,relatime - cgroup 
cgroup rw,pids
128 113 0:20 / /tmp/snap.rootfs_aECzku/sys/fs/fuse/connections rw,relatime - 
fusectl none rw
129 113 0:7 / /tmp/snap.rootfs_aECzku/sys/kernel/debug rw,relatime - debugfs 
none rw
130 113 0:12 / /tmp/snap.rootfs_aECzku/sys/kernel/security rw,relatime - 
securityfs none rw
131 113 0:24 / /tmp/snap.rootfs_aECzku/sys/fs/pstore rw,relatime - pstore none 
rw
132 79 8:1 /var/snap /var/snap rw,relatime - ext4 /dev/sda1 rw,data=ordered
133 52 8:1 /var/lib/snapd /var/lib/snapd rw,relatime - ext4