Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 381755

Summary: semanage permissive fails with "No such file or directory: /var/lib/selinux"
Product: Gentoo Linux Reporter: Sven Vermeulen (RETIRED) <swift>
Component: HardenedAssignee: Sven Vermeulen (RETIRED) <swift>
Status: VERIFIED FIXED    
Severity: normal CC: selinux
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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