Bug 865236
Summary: | Semanage command fails with "Could not get direct transaction lock at /etc/selinux/targeted/modules/semanage.trans.LOCK" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Sankar Ramalingam <sramling> |
Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 6.4 | CC: | dwalsh, mmalik |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-12 02:55:43 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sankar Ramalingam
2012-10-11 04:08:07 UTC
Changing the component from "Selinux-policy" to "Policycoreutils" # rpm -qa policycoreutils\* policycoreutils-2.0.83-19.25.el6.x86_64 policycoreutils-python-2.0.83-19.25.el6.x86_64 # First terminal: # semanage port -a -t ldap_port_t -p tcp 13989 # Second terminal: # semanage port -a -t ldap_port_t -p tcp 13589 libsemanage.semanage_get_lock: Could not get direct transaction lock at /etc/selinux/targeted/modules/semanage.trans.LOCK. (Resource temporarily unavailable). /usr/sbin/semanage: Could not start semanage transaction # Did you run these commands simultaniously? Since the goal of this lock is to make sure two commands do not happen at the same time. http://danwalsh.livejournal.com/41593.html semanage -S targeted -i - << _EOF port -a -t ldap_port_t -p tcp 13989 port -a -t ldap_port_t -p tcp 13589 _EOF |