Ivan Gyurdiev wrote:
So, the question of what should be done about this still stands - Joshua? From the point of view of libsemanage, a commit with a missing seusers file should fail, because the store should hold the authoritative copy of this file, and it's an important file, so it seems like lack of it should be considered fatal...there should at least be a default entry?Yes, the seusers from /etc/selinux/strict/seusers have to get in the sandbox somehow... I'm not entirely sure how, but I think Tresys has indicated that should occur through the APIs, rather than by copying it in.I'm not sure about this; at present, it has the side effect that a semodule -b base.pp will fail upon the attempt to copy seusers (because there isn't one in the sandbox presently, not even an empty stub).This is only necessary for migration...
How will the store be initialized? Seems like this should possibly be done in the libsemanage post script? Any callers of the library should already have the store be in good state for use.
-- 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.