Opened 15 years ago
Closed 15 years ago
#357 closed defect (fixed)
SElinux extended attricutes are not archived correctly by mondo
Reported by: | Bruno Cornec | Owned by: | Bruno Cornec |
---|---|---|---|
Priority: | high | Milestone: | 2.2.9 |
Component: | mondo | Version: | 2.2.8 |
Severity: | major | Keywords: | |
Cc: |
Description
Using -z option of mondoarchive, it seems that SElinux attributes are not preserved correctly by mondoarchive (empty xattr files on media
Note:
See TracTickets
for help on using tickets.
SElinux is using an attribute security.selinux which is not reported by the -d option of getfattr by default.
So as described here: http://kign.blogspot.com/2008_08_01_archive.html at the end, and reported by Kevin Ritzenthaler to me, there is a need to change the getfattr call to include a -m - param in order to get all contexts.
This is fixed in 2.2.9 (rev [2418]).