Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing ListRe: strange labeling problem
From: Stephen Smalley <sds_at_epoch.ncsc.mil>
Date: Thu, 08 Apr 2004 09:32:13 -0400
This typically means that the type wasn't defined in the policy when the inode was last brought in-core. So ls -Z (or getfilecon or getfattr) will continue to report the actual attribute value from the disk, but SELinux is handling it as unlabeled_t since it had no definition for the type when the inode was brought in-core.
> I had tried rerunning chcon -t gconfd_exec_t /usr/libexec/gconfd-2 chcon likely never called setfilecon at all, since getfilecon would have told it that the file already had the right context. Try setfilecon instead. If it had called setfilecon -> setxattr, then SELinux would have updated the inode SID accordingly. -- Stephen Smalley <sds@epoch.ncsc.mil> National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.Received on Thu 8 Apr 2004 - 09:32:36 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |