Bug 678784 - system-config-selinux - Boolean is missing -
Summary: system-config-selinux - Boolean is missing -
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-19 15:42 UTC by Flóki Pálsson
Modified: 2011-03-09 21:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-09 21:48:57 UTC
Type: ---


Attachments (Terms of Use)
Could not test MLS enabled status - Window (7.04 KB, image/png)
2011-02-19 15:42 UTC, Flóki Pálsson
no flags Details
system-config-selinux.py.png (27.98 KB, image/png)
2011-02-19 15:46 UTC, Flóki Pálsson
no flags Details
/var/log/audit/audit.log (1.02 MB, text/plain)
2011-02-21 20:50 UTC, Flóki Pálsson
no flags Details
SELinux is preventing /usr/lib64/nspluginwrapper/plugin-config from 'read, write' accesses on the chr_file /dev/ptmx. (3.01 KB, text/plain)
2011-02-21 21:09 UTC, Flóki Pálsson
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.