Bug 678784

Summary: system-config-selinux - Boolean is missing -
Product: [Fedora] Fedora Reporter: Flóki Pálsson <flokip>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-09 21:48:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Could not test MLS enabled status - Window
none
system-config-selinux.py.png
none
/var/log/audit/audit.log
none
SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from 'read, write' accesses on the chr_file /dev/ptmx. none

Description Flóki Pálsson 2011-02-19 15:42:24 UTC
Created attachment 479702 [details]
Could not test MLS enabled status - Window

Description of problem:
In system-config-selinux only  status is available.
Boolean is missing ( and others ) 

Version-Release number of selected component (if applicable):
policycoreutils-2.0.85-12.fc15.x86_64


How reproducible:
always

Steps to Reproduce:
1. in terminal system-config-selinux
2. type root password
3. close window 'Could not test MLS enabled status'
4. 
  
Actual results:
system-config-selinux.py opens but only 'Status' is avilable

Expected results:
To bee able to chage with boolean

Additional info:
I am trying to setupp samba share.

[floki@flokie ~]$ system-config-selinux

** (system-config-selinux.py:6530): WARNING **: AT-SPI: Accessibility bus not found - Using session bus.

/usr/share/system-config-selinux/system-config-selinux.py:71: Warning: g_object_get_valist: object class `GnomeProgram' has no property named `default-icon'
  xml = gtk.glade.XML ("/usr/share/system-config-selinux/system-config-selinux.glade", domain=PROGNAME)
libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/modules/active/policy.kern for reading. (No such file or directory).
/usr/share/system-config-selinux/system-config-selinux.py:181: Warning: cannot retrieve class for invalid (unclassed) type `<invalid>'
  gtk.main()
^C
[floki@flokie ~]$

Comment 1 Flóki Pálsson 2011-02-19 15:46:07 UTC
Created attachment 479703 [details]
system-config-selinux.py.png

system-config-selinux.py

Comment 2 Miroslav Grepl 2011-02-21 09:59:38 UTC
Could you add me your outputs of

# id -Z

# su -c 'ls -lZ /etc/selinux/targeted/modules/active/policy.kern'


Also any AVC messages related with this issue in your /var/log/audit/audit.log?

Comment 3 Flóki Pálsson 2011-02-21 20:50:57 UTC
Created attachment 479993 [details]
/var/log/audit/audit.log

Comment 4 Flóki Pálsson 2011-02-21 21:06:04 UTC
># id -Z
[floki@flokie ~]$ id -Z
unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
[floki@flokie ~]$ 

># su -c 'ls -lZ /etc/selinux/targeted/modules/active/policy.kern'
[floki@flokie ~]$ su -c 'ls -lZ /etc/selinux/targeted/modules/active/policy.kern'
Password: 
ls: cannot access /etc/selinux/targeted/modules/active/policy.kern: No such file or directory
[floki@flokie ~]$


>Also any AVC messages related with this issue in your /var/log/audit/audit.log?
I made a copy off /var/log/audit/audit.log
and removed /var/log/audit/audit.log
and repeated in terminal system-config-selinux
after that  /var/log/audit/audit.log was not there.
I created /var/log/audit/audit.log as empty file and repeated  system-config-selinux again and in was still empty.

Comment 5 Flóki Pálsson 2011-02-21 21:09:12 UTC
Created attachment 479995 [details]
SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from 'read, write' accesses on the chr_file /dev/ptmx.

I found this in SElinux Alert Browser

Comment 6 Flóki Pálsson 2011-02-21 21:15:52 UTC
Se Bug 679201 as #5

Comment 7 Daniel Walsh 2011-02-21 22:26:00 UTC
If you are running an MLS machine in enforcing mode, there is no way system-config-selinux will work correctly.