On 06/01/11 09:47, Daniel J Walsh wrote: > On 06/01/2011 09:41 AM, Daniel J Walsh wrote: >> > We are costing boot 1.5s >> > >> > https://bugzilla.redhat.com/show_bug.cgi?id=709014 > > This seems to be something libsemanage should do to verify the > file_context file is good, but libselinux should just figure the > file_context file is sane. And be optimised to read access. Makes sense. It probably should have been doing this for a long time anyway, since it needs to take into account for genhomedircon output and local file contexts. I think it should also cause a transaction fail if there are file context errors. > Might be a reason tools like install run slow also. I'd bet on it, since all those tools do is, basically, matchpathcon() then setfscreatecon(). -- Chris PeBenito Tresys Technology, LLC www.tresys.com | oss.tresys.com -- 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.