Bug 680545 - cannot disable a removed module
Summary: cannot disable a removed module
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-25 21:01 UTC by Eric Paris
Modified: 2011-02-25 21:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-25 21:19:55 UTC
Type: ---


Attachments (Terms of Use)

Description Eric Paris 2011-02-25 21:01:04 UTC
I removed the unconfined module:

semodule -r unconfined

And then realized I wanted to disable it, so you didn't put it back

semodule -d unconfined

But it doesn't work:

# semodule -d unconfined
libsemanage.semanage_direct_disable: Module unconfined was not found. (No such file or directory).
semodule:  Failed!

I'd like to be able to disable a module which isn't currently loaded so it won't come back....

Comment 1 Daniel Walsh 2011-02-25 21:19:55 UTC
semodule -i /usr/share/selinux/targeted/unconfined.pp.bz2
semodule -d unconfined


Note You need to log in before you can comment on or make changes to this bug.