Labeling conflict?

Marko Rauhamaa <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>
When a file gets created, it gets a label based on some mysterious
distro policy ("antivirus_db_t"). I define a specific custom policy that
should give the file a different label (say, "bin_t").

What ends up happening is that no matter how I *create* the file, it
always gets "antivirus_db_t" as its label. However, if I run restorecon
on the file, the label changes to "bin_t".

How can this symptom be explained?


Marko
_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.