Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381755 - semanage permissive fails with "No such file or directory: /var/lib/selinux"
Summary: semanage permissive fails with "No such file or directory: /var/lib/selinux"
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 09:53 UTC by Sven Vermeulen (RETIRED)
Modified: 2011-10-23 13:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Vermeulen (RETIRED) gentoo-dev 2011-09-04 09:53:37 UTC
When trying to use the semanage permissive command, the command fails:

Traceback (most recent call last):
  File "/usr/sbin/semanage-2.7", line 460, in <module>
    process_args(sys.argv[1:])
  File "/usr/sbin/semanage-2.7", line 363, in process_args
    OBJECT.add(target)
  File "/usr/lib64/python2.7/site-packages/seobject.py", line 275, in add
    os.chdir(dirname)
OSError: [Errno 2] No such file or directory: '/var/lib/selinux'


Reproducible: Always
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2011-09-17 12:18:43 UTC
Should be fixed in hardened-dev