From: Daniel J Walsh <dwalsh@redhat.com>
To: selinux@tycho.nsa.gov
Subject: Re: Semodule syntax is broken.
Date: Mon, 24 Aug 2009 09:04:50 -0400 [thread overview]
Message-ID: <4A928FF2.7000101@redhat.com> (raw)
In-Reply-To: <87ocq834vt.fsf@anzu.internal.golden-gryphon.com>
On 08/21/2009 11:27 PM, Manoj Srivastava wrote:
> On Fri, Aug 21 2009, Daniel J Walsh wrote:
>
>
>> So proposal
>>
>> semodule -r : No Change in default behaviour
>> -F : Permanantly removes policy package, leaving POLICY.exclude
>> flag in module store
>>
>> semodule -u : Install if package not installed, upgrade otherwise)
>> semodule -f : Only upgrade modules that are currently installed)
>> semodule -i : No change.
>> All will get a warning message if a module they are trying to
>> install has a POLICY.exclude flag
>> -q : Shut up Warning messages
>> -F : Remove POLICY.exclude flag and install the package
>
> Sounds good to me.
>
> manoj
After talking to Chris P, on IRC, I have rethought these changes. He mentioned that they are looking into "disabling" modules. So I think we should follow that line of thinking.
semodule -r (--remove) : No Change in default behaviour
semodule -u (--upgrade): Install if package not installed, upgrade otherwise)
semodule -f (--freshen): Only upgrade modules that are currently installed)
semodule -i (--install): No change.
semodule -q (--quier): Shut up Warning messages
semodule -d (--disable) : Disable policy module, Store policy module as POLICY.pp.disabled in /etc/selinux/TYPE/modules/active/modules
semodule -e (--enable) : Rename POLICY.pp.disabled to POLICY.pp and rebuild
libsemanage would then not build policy modules that were disabled. It would look for POLICY.pp.disabled when installing or upgrading modules and maintain the name. --remove would remove both disabled, and enabled modules. List would now list the disabled modules with a flag indicating they are disabled.
--
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.
next prev parent reply other threads:[~2009-08-24 13:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-21 15:53 Semodule syntax is broken Daniel J Walsh
2009-08-21 16:27 ` Manoj Srivastava
2009-08-21 17:50 ` Daniel J Walsh
2009-08-22 3:27 ` Manoj Srivastava
2009-08-24 13:04 ` Daniel J Walsh [this message]
2009-08-24 20:19 ` Chad Sellers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A928FF2.7000101@redhat.com \
--to=dwalsh@redhat.com \
--cc=selinux@tycho.nsa.gov \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.