From selinux Thu Oct 25 16:11:44 2007 From: Steve G Date: Thu, 25 Oct 2007 16:11:44 +0000 To: selinux Subject: removing a module Message-Id: <874986.66361.qm () web51507 ! mail ! re2 ! yahoo ! com> X-MARC-Message: https://marc.info/?l=selinux&m=119332897429805 Hi, I was testing the new policy writing GUI in rawhide, and removed a policy module. Prelink ran while I was working on a better policy module and gave me a bunch of AVCs since the binaries are now considered unlabeled_t. I was thinking that semodule should be able to get to the file regexes that describes the files that the policy module was responsible for. So why doesn't it save those regexes and use them to do a restorecon after the module is removed? It might not get all the files that are mislabeled due to the policy module being removed, but it would be much better than doing nothing. -Steve __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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.