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 | setfattr


sudo getfattr --absolute-names --recursive -hysical --match=-  --dump /
seems to dump attrs, we could store that inside the tar as a file.

** Attachment added: "updated xattr-save-ping that works"
   
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1313550/+attachment/4099531/+files/xattr-save-ping

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to iputils in Ubuntu.
https://bugs.launchpad.net/bugs/1313550

Title:
  ping does not work as a normal user on trusty tarball cloud images.

Status in The curt installer:
  Confirmed
Status in MAAS:
  Confirmed
Status in “curtin” package in Ubuntu:
  Confirmed
Status in “iputils” package in Ubuntu:
  Confirmed
Status in “lxc” package in Ubuntu:
  Confirmed
Status in “maas” package in Ubuntu:
  Confirmed

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/curtin/+bug/1313550/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to