-
Notifications
You must be signed in to change notification settings - Fork 238
Open
Labels
RFERequest for EnhancementRequest for Enhancement
Description
Describe the bug
When installing a bundle containing a tar archive, extended file attributes like security.capability are not preserved.
Background information
I'm using RAUC version v1.13 and the bundle is a simple tar gzipped archive of the filesystem installed on a ext4 slot on Debian 12.
To Reproduce
Steps to reproduce the behavior:
- Assume
mountpointis where the desired filesystem for the bundle is mounted at. - Choose a file that has extended attributes and ensure that they are there with the command
getcap mountpoint/bin/ping. On Debian 12, you should seecap_net_raw=epin the output of the previous command. - Create a tar archive of the desired filesystem using the command
tar --xattrs -cf image.tar.gz -C mountpoint . - Create a bundle from the tar archive
- Install the bundle on a machine
- Boot into or simply just mount the freshly installed bundle
- Check if extended file attributes were preserved by running for example
getcap /bin/pinginside the newly installed bundle.
Expected behavior
I expect the extended attributes to be preserved on installation of the bundle.
Logs
N/A
Additional context
N/A
hellofanengineer
Metadata
Metadata
Assignees
Labels
RFERequest for EnhancementRequest for Enhancement