[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2016-04-12 Thread Scott Moser
Marking as 'fix-released' in maas in wily and xenial, as the fix went into trunk at revision 4028. https://code.launchpad.net/~rvb/maas/lp-1313550/+merge/262314 ** Changed in: maas (Ubuntu Wily) Status: New => Fix Released ** Changed in: maas (Ubuntu) Status: Confirmed => Fix

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2016-01-22 Thread Andres Rodriguez
** Changed in: maas Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2015-11-09 Thread Stéphane Graber
** Changed in: lxc (Ubuntu Precise) Status: Confirmed => Won't Fix ** No longer affects: lxc (Ubuntu Precise) ** No longer affects: lxc (Ubuntu Saucy) ** Changed in: lxc (Ubuntu Trusty) Status: Confirmed => Triaged ** Changed in: lxc (Ubuntu) Status: Confirmed => Triaged

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2015-06-18 Thread MAAS Lander
** Changed in: maas Status: Confirmed = Fix Committed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2015-06-18 Thread Scott Moser
** Changed in: curtin Status: Confirmed = Fix Committed ** Changed in: curtin (Ubuntu) Status: Confirmed = Fix Released ** No longer affects: curtin (Ubuntu Saucy) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2015-06-18 Thread Raphaël Badin
** Branch linked: lp:~rvb/maas/lp-1313550 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud images. To manage

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2015-06-15 Thread Launchpad Bug Tracker
** Branch linked: lp:~smoser/maas/lp-1313550 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud images. To

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2015-02-05 Thread Serge Hallyn
Should this be marked fix-released (or invalid) for lxc? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2015-01-05 Thread Launchpad Bug Tracker
This bug was fixed in the package curtin - 0.1.0~bzr195-0ubuntu1~14.04.1 --- curtin (0.1.0~bzr195-0ubuntu1~14.04.1) trusty-proposed; urgency=medium * New upstream snapshot. - hardware enablement: ppc64 support (LP: #1386394) - hardware enablement: know kernel mapping for

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-12-17 Thread Larry Michel
This was the test case: 1) Update trusty daily root-tgz image with a copy of dcap and cap properties. 2) Sync image to cache 3) Deploy a node with trusty 4) Access deployed node 5) Ensure that cap properties for the new file are preserved on deployed system. This test passed. Here are test

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-12-04 Thread Rolf Leggewie
saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as Won't Fix. ** Changed in: maas (Ubuntu Saucy) Status: Confirmed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-12-04 Thread Rolf Leggewie
saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as Won't Fix. ** Changed in: tar (Ubuntu Saucy) Status: Confirmed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-12-04 Thread Rolf Leggewie
saucy has seen the end of its life and is no longer receiving any updates. Marking the saucy task for this ticket as Won't Fix. ** Changed in: lxc (Ubuntu Saucy) Status: Confirmed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-10-30 Thread Brian Murray
Hello Clint, or anyone else affected, Accepted curtin into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/curtin/0.1.0~bzr195-0ubuntu1~14.04.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package.

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-10-30 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/curtin -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud images.

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-10-27 Thread Scott Moser
** Description changed: With trusty, /bin/ping relies on having extended attributes and kernel capabilities to gain the cap_net_raw+p capability. This allows removing the suid bit. However, the tarball cloud images do not preserve the extended attributes, and thus /bin/ping does not

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-10-27 Thread Scott Moser
** Description changed: With trusty, /bin/ping relies on having extended attributes and kernel capabilities to gain the cap_net_raw+p capability. This allows removing the suid bit. However, the tarball cloud images do not preserve the extended attributes, and thus /bin/ping does not

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-10-24 Thread Newell Jensen
** Description changed: With trusty, /bin/ping relies on having extended attributes and kernel capabilities to gain the cap_net_raw+p capability. This allows removing the suid bit. However, the tarball cloud images do not preserve the extended attributes, and thus /bin/ping does not

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-10-24 Thread Newell Jensen
** Description changed: With trusty, /bin/ping relies on having extended attributes and kernel capabilities to gain the cap_net_raw+p capability. This allows removing the suid bit. However, the tarball cloud images do not preserve the extended attributes, and thus /bin/ping does not

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-10-21 Thread Launchpad Bug Tracker
** Branch linked: lp:~smoser/ubuntu/trusty/curtin/sru-utopic-level -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-10-21 Thread Scott Moser
** Changed in: curtin (Ubuntu Saucy) Status: Confirmed = Won't Fix -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-06-09 Thread Launchpad Bug Tracker
** Branch linked: lp:curtin -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud images. To manage notifications

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-08 Thread Jason Gerard DeRose
This also affects the `gnome-keyring` package. The System76 imaging system (Tribble) uses a tar-based approach similar to the MAAS fast-path installer, and we've had to add a work-around for /usr/bin/gnome- keyring-daemon on our desktop images: $ getcap /usr/bin/gnome-keyring-daemon

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-08 Thread Stéphane Graber
gnome-keyring-daemon isn't really a problem because all official images shipping it have installer hooks to restore the flag. Setting the binary setuid would also be completely wrong as we never want this to run as root, we just want it to have extra ipc locking capabilities. My understanding is

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-08 Thread Jason Gerard DeRose
Stéphane, Gotcha, thanks for the feedback! So am I correct in thinking that the --xattrs option is currently broken in tar on 14.04? If so, is there any chance this could be fixed in an SRU? -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-08 Thread Stéphane Graber
So yeah, my understanding is that --xattr is broken at the moment, we should fix that as an SRU but we also have the problem that: 1) It's not set by default in either create or extract mode 2) Not all tar implementations we use support it 3) Not all version of gnu-tar we support have it So

Re: [Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-08 Thread Clint Byrum
Excerpts from Jason Gerard DeRose's message of 2014-05-08 16:45:23 UTC: Stéphane, Gotcha, thanks for the feedback! So am I correct in thinking that the --xattrs option is currently broken in tar on 14.04? If so, is there any chance this could be fixed in an SRU? No, --xattrs works fine in

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-08 Thread Jason Gerard DeRose
Clint, Ah, thanks for bringing up --xattrs-include=*, I didn't notice this option! I agree this is really a bug/misfeature in tar... if I use --xattrs both when creating and unpacking a tarball, I expect it to just work. -- You received this bug notification because you are a member of Ubuntu

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-07 Thread Adam Conrad
** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud images. To manage

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-07 Thread Stéphane Graber
After some more discussion we decided to simply make it setuid again for now and then spend some time thinking about a proper solution for all this, possibly involving small dpkg/debhelper changes so there's a cleaner nicer way of declaring filesystem capabilities. -- You received this bug

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-07 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/trusty-proposed/iputils -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud images.

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-07 Thread Stéphane Graber
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-05-07 Thread Launchpad Bug Tracker
This bug was fixed in the package iputils - 3:20121221-4ubuntu1.1 --- iputils (3:20121221-4ubuntu1.1) trusty; urgency=medium * Mark ping and ping6 setuid again as there's currently no good ways to have capabilities be kept in all our images. (LP: #1313550) -- Stephane Graber

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-29 Thread Scott Moser
one other hting to think about if we're going the --xattrs route anywhere, we likely have to consider the fact that '--xattrs' might *fail* on a filesystem that doesn't support xattrs. I've not looked at how tar handles that. that makes that a bit tricky. -- You received this bug notification

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-29 Thread Scott Moser
trusty tarball daily (20140429) now correctly contains the capability info: $ wget http://cloud-images.ubuntu.com/trusty/20140429/trusty-server-cloudimg-amd64-root.tar.gz $ sudo tar --xattrs '--xattrs-include=*' --acls -Szxpf trusty-server-cloudimg-amd64-root.tar.gz bin/ping $ attr -l bin/ping

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-29 Thread Scott Moser
I am kind of leaning towards stgraber's suggestion of fixing iputils in 14.04 to be setuid. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-29 Thread Serge Hallyn
This debdiff against the precise version of tar implements xattr support. ** Patch added: tar-xattr.debdiff https://bugs.launchpad.net/ubuntu/+source/iputils/+bug/1313550/+attachment/4100853/+files/tar-xattr.debdiff -- You received this bug notification because you are a member of Ubuntu

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-29 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud images. To manage notifications about

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Ryan Beisner
Is this a dup of 1302192? https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1302192 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Scott Moser
** Also affects: maas (Ubuntu) Importance: Undecided Status: New ** Also affects: maas Importance: Undecided Status: New ** Changed in: maas Status: New = Confirmed ** Changed in: iputils (Ubuntu) Status: New = Confirmed ** Changed in: maas (Ubuntu)

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Scott Moser
This would seem straight forward enough (I thought I could just add '-- xattrs' to both creation and extraction of tar), but that doesn't seem to look. See the attachment, and its output here, it seems that tar is losing these. $ sudo /tmp/xattr-save-ping $ ls -l /bin/ping -rwxr-xr-x 1 root

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Scott Moser
OK, so i put this as affecting curtin and affecting maas. - maas: uec2roottgz (which creates the -root.tar.gz file from an image file) will be affected - curtin: extracts the tarball and will need to do so with xattrs in place. ** Also affects: curtin Importance: Undecided

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Ryan Beisner
FYI may also want to see comment 5 from previous/related bug 1302192; attributes were OK in cloudimage at that point. https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1302192/comments/5 -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Scott Moser
** Also affects: lxc (Ubuntu) Importance: Undecided Status: New ** Changed in: lxc (Ubuntu) Status: New = Confirmed ** Changed in: lxc (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Server Team, which is

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Scott Moser
OK, so with 14.04 level maas, this is fairly trivial. 'tar --xattrs --xattrs-include=*' Unfortunately, 12.04 level maas doesn't have that, so we'd have to do some backwards compatibility check/fix/hack if we want to support the fix in the installer was to do something like: getfattr |

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Scott Moser
** Also affects: tar (Ubuntu) Importance: Undecided Status: New ** Changed in: tar (Ubuntu) Status: New = Fix Released ** Changed in: tar (Ubuntu) Importance: Undecided = Medium ** Also affects: iputils (Ubuntu Precise) Importance: Undecided Status: New ** Also

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~smoser/vmbuilder/automated-ec2-builds-tar-xattr -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~smoser/curtin/lp1313550 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1313550 Title: ping does not work as a normal user on trusty tarball cloud images. To

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Scott Moser
** No longer affects: maas (Ubuntu Precise) ** Changed in: tar (Ubuntu Saucy) Status: New = Confirmed ** Changed in: maas (Ubuntu Trusty) Status: New = Confirmed ** Changed in: maas (Ubuntu Saucy) Status: New = Confirmed ** Changed in: lxc (Ubuntu Trusty) Status:

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Serge Hallyn
Unfortunately src/xattrs.c is wholly non-existent in the precise version. So backporting xattr support would include src/xattr.{c,h} as well as inserting the calls to functions defined there throughout the rest of the code. Unfortunately that doesn't seem SRU-able. The safest way forward would

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Scott Moser
Serge, I don't see why new files would make something non-SRU-able. I dont' think that is a blocker in and of itself. The complexity of the patch and likelyhood of regression is the bigger concern. We have a real bug here, and we have 2 ways to fix it (possibly others that i've not

[Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Stéphane Graber
There's a third I mentioned on IRC, just make ping setuid again for 14.04 and only switch to capabilities in 14.10, assuming we don't intend to support 14.10 on 12.04, we'll be good as 14.04 will have a suitable version of tar. -- You received this bug notification because you are a member of

Re: [Bug 1313550] Re: ping does not work as a normal user on trusty tarball cloud images.

2014-04-28 Thread Serge Hallyn
Quoting Scott Moser (smo...@ubuntu.com): Serge, I don't see why new files would make something non-SRU-able. A new file by itself would be nice as it's self-contained. It's particularly adding the new calls that would seem protentially problematic. Anyway if it seems sane I'll post a