Bug 112805 - selinux labeling on filesystems without selinux xattr support
selinux labeling on filesystems without selinux xattr support
Status: CLOSED WORKSFORME
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
: SELinux
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-01-01 19:04 EST by Arkadiusz Miskiewicz
Modified: 2007-11-30 17:10 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-11-28 18:48:05 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Arkadiusz Miskiewicz 2004-01-01 19:04:03 EST
While using rpm-4.3-0.20031227.1 from HEAD I got this (sorry for 
polish language of messages):
1:iptables               ########################################### 
błąd: rozpakowanie archiwum nie powiodło się na pliku 
/usr/lib/iptables: cpio: lsetfilecon nie powiodło się
               -Operacja nie obsługiwana

Operacja nie obslugiwana ~= Operation not supported.

This happened because my /usr is on XFS filesystem which doesn't 
support selinux xattr, yet.

This needs to be handled somehow: one proposition is if 
(security_getenforce() > 0) && lsetfilecon failed then exit as above 
else work as nothing happened (maybe display some error message).

ps. policy loaded but not enforced, kernel 2.6.0
Comment 1 Paul Nasrat 2005-11-28 18:48:05 EST
xfs now supports xattr

Note You need to log in before you can comment on or make changes to this bug.