convention for disabled/unused policy modules
As we attempt to decide which policy modules should be enabled by default, I would like us to determine a convention for managing disabled/unused modules. My motivation is again maintaining backwards compatibility with our tools.
We currently place unused/disabled modules in ./policy/domains/program/Unused/. This is how we manage a single view of all modules while ensuring that unused modules are not included in the compiled policy. So to avoid a compatibility problem, I'd like to suggest the use of the "Unused" directory as a convention (easy for us!) unless someone else also has tools for which this will also cause a problem.
If the convention is to be something else, please give us some warning so we can support the new scheme as well as figure out a backwards compatibility scheme. At a minimum I ask that we use some directory under ./policy/domains/program as the place we put unused modules (rather than somewhere else, or worse, renaming the files in the program directory to avoid the .te extension).
Frank
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 2 lines
So to avoid a compatibility problem, I'd like to suggest the use of the "Unused" directory as a convention
Someone noted to me that we really should use "unused" rather than "Unused". I agree; I'll update our tool to try :unused" first and only then to try "Unused" for backwards compatibility. Frank
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 6 lines · Frank Mayer
Someone noted to me that we really should use "unused" rather than "Unused". I agree; I'll update our tool to try :unused" first and only then to try "Unused" for backwards compatibility. Frank
Should we also push the corresponding .fc files into a unused directory?
The policy will build either way with the current system, but how would you like to see it in the distribution?
Signature · 8 lines
Wayne Salamon [email protected] -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 1 line
Should we also push the corresponding .fc files into a unused
directory?
Quoted 1 line
The policy will build either way with the current system, but how
would
Quoted 1 line
you like to see it in the distribution?
I'm fine either way. Right now the makefile won't include the .fc file in the file_contexts file if there is not an associated .te file, so I would vote for leaving it alone for simplicity's sake. The fewer files we have to moe around and manage the better.
Frank
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.