Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On my laptop I use Fedora 17 distro for the first time and I'm having some issues adding rules to semodule

An example:

# grep httpd /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

And the output is:

libsemanage.semanage_get_lock: Could not get direct transaction lock at /etc/selinux/targeted/modules/semanage.trans.LOCK. (Resource temporarily unavailable). semodule: Failed on mypol.pp!

I searched for information related to the issue, but I can't seem to find anything.

So, any ideas on where to go or what to do to fix this issue?

share|improve this question
First off I would like to know what were the AVC's you are trying to allow? Did you check for an appropriate boolean? The transaction lock should only happen if another SELinux transaction is going at the same time. –  user163807 Oct 8 '12 at 19:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.