On Thu, 2011-11-17 at 11:15 +0100, Bhargava Shastry wrote: > Sounds to me like you never loaded a policy. I'd bet you are > getting > inside the if (!ss_initialized) section of > security_sid_to_context_core. You have to load a policy > before you > can properly set and retrieve labels. > > Thanks, loading policy fixed the problem although I wonder why one > shouldn't be able to set xattr in the absence of a policy. Because SELinux has no way to interpret the xattr value if there is no policy loaded. -- Stephen Smalley 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@xxxxxxxxxxxxx with the words "unsubscribe selinux" without quotes as the message.