ping does not work as a normal user on trusty tarball cloud images.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Unassigned | ||
curtin |
Fix Released
|
High
|
Unassigned | ||
curtin (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
iputils (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
maas (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Saucy |
Won't Fix
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Vivid |
Won't Fix
|
High
|
Unassigned | ||
Wily |
Fix Released
|
High
|
Unassigned | ||
tar (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Won't Fix
|
High
|
Unassigned | ||
Saucy |
Won't Fix
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
Bug Description
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 work on a system derived from them.
Summary of problem per package:
* lxc: ubuntu cloud template needs to extract
* download template needs to extract with xattr flags
* server side download creation tools need xattr flags
* [unconfirmed] tarball caches need creation and extraction with xattr flags
* tar: need the '--xattr' and '--acl' flags backported
* maas: uec2roottgz needs to use xattr/acl flags
* curtin: extraction needs to use xattr/acl flags.
* cloud-image-build: needs to create -root.tar.gz with xattr/acl flags
Related Bugs:
* bug 1382632: horizon insecure key file permissions
* bug 1386237: tar strange behavior with --acl and xattr
* bug 1313550: ping broken (xattrs lost in tar extraction)
* bug 1302192: capabilities not preserved on installation
Related branches
- Ben Howard: Pending requested
-
Diff: 15 lines (+5/-0)1 file modifiedimg2roottgz (+5/-0)
- Mike Pontillo (community): Needs Fixing
-
Diff: 60 lines (+31/-15)1 file modifiedsrc/provisioningserver/import_images/uec2roottar.py (+31/-15)
- Mike Pontillo (community): Approve
-
Diff: 158 lines (+65/-16)2 files modifiedsrc/provisioningserver/import_images/tests/test_uec2roottar.py (+37/-1)
src/provisioningserver/import_images/uec2roottar.py (+28/-15)
Changed in maas: | |
status: | New → Confirmed |
Changed in iputils (Ubuntu): | |
status: | New → Confirmed |
Changed in maas (Ubuntu): | |
status: | New → Confirmed |
Changed in maas: | |
importance: | Undecided → High |
Changed in iputils (Ubuntu): | |
importance: | Undecided → High |
Changed in maas (Ubuntu): | |
importance: | Undecided → High |
tags: | added: cloud-images cloud-images-build |
Changed in lxc (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in tar (Ubuntu): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in tar (Ubuntu Precise): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in tar (Ubuntu Trusty): | |
importance: | Undecided → High |
status: | New → Fix Released |
no longer affects: | iputils (Ubuntu Precise) |
no longer affects: | iputils (Ubuntu Saucy) |
no longer affects: | curtin (Ubuntu Precise) |
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: | New → Confirmed |
importance: | Undecided → High |
Changed in maas (Ubuntu Saucy): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Trusty): | |
importance: | Undecided → High |
Changed in lxc (Ubuntu Precise): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in lxc (Ubuntu Saucy): | |
importance: | Undecided → High |
status: | New → Confirmed |
no longer affects: | iputils (Ubuntu Trusty) |
Changed in curtin (Ubuntu Saucy): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in curtin (Ubuntu Trusty): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in tar (Ubuntu Saucy): | |
importance: | Undecided → High |
description: | updated |
tags: | added: patch |
tags: | added: verification-needed |
tags: |
added: verification-done removed: verification-needed |
Changed in curtin (Ubuntu Saucy): | |
status: | Confirmed → Won't Fix |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in maas: | |
status: | Confirmed → Fix Committed |
Changed in curtin: | |
status: | Confirmed → Fix Committed |
Changed in curtin (Ubuntu): | |
status: | Confirmed → Fix Released |
no longer affects: | curtin (Ubuntu Saucy) |
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 |
Changed in lxc (Ubuntu Vivid): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in lxc (Ubuntu Wily): | |
importance: | Undecided → High |
status: | New → Triaged |
no longer affects: | iputils (Ubuntu Vivid) |
no longer affects: | iputils (Ubuntu Wily) |
no longer affects: | curtin (Ubuntu Vivid) |
no longer affects: | curtin (Ubuntu Wily) |
no longer affects: | tar (Ubuntu Vivid) |
no longer affects: | tar (Ubuntu Wily) |
Changed in maas: | |
status: | Fix Committed → Fix Released |
no longer affects: | lxc (Ubuntu) |
Changed in maas (Ubuntu Vivid): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Wily): | |
importance: | Undecided → High |
Changed in maas (Ubuntu Vivid): | |
status: | Confirmed → Won't Fix |
description: | updated |
Is this a dup of 1302192? /bugs.launchpad .net/ubuntu/ +source/ ubiquity/ +bug/1302192
https:/