abrt version: 1.1.13 architecture: i686 cmdline: /usr/bin/python -Es /usr/bin/selinux-polgengui component: policycoreutils executable: /usr/bin/selinux-polgengui kernel: 2.6.35.4-12.fc14.i686 package: policycoreutils-gui-2.0.83-21.fc14 reason: __init__.py:49:seinfo:RuntimeError: No default policy found. release: Fedora release 14 (Laughlin) time: 1283906588 uid: 500 backtrace ----- __init__.py:49:seinfo:RuntimeError: No default policy found. Traceback (most recent call last): File "/usr/bin/selinux-polgengui", line 649, in <module> app = childWindow() File "/usr/bin/selinux-polgengui", line 94, in __init__ self.all_types=polgen.get_all_types() File "/usr/share/system-config-selinux/polgen.py", line 79, in get_all_types all_types = map(lambda x: x['name'], setools.seinfo(setools.TYPE)) File "/usr/lib/python2.7/site-packages/setools/__init__.py", line 49, in seinfo dict_list = _seinfo.seinfo(setype, name) RuntimeError: No default policy found. Local variables in innermost frame: setype: 0 name: None How to reproduce ----- 1. reboot machine 2. 3.
Created an attachment (id=446229) File: backtrace
Were you trying to run this on a machine with SELinux disabled?
I wasn't trying anything at all i just restarted my machine, but indeed before that i disabled and enabled SELinux again but that was 2 days ago. Since that SELinux is enabled.
*** Bug 632437 has been marked as a duplicate of this bug. ***
Fixed in policycoreutils-2.0.83-26
Package: policycoreutils-python-2.0.83-20.fc13 Architecture: x86_64 OS Release: Fedora release 13 (Goddard) How to reproduce ----- 1. Ran audit2allow as an unprivileged user against a manually extracted audit log. 2. 3. Comment ----- The problem does not manifest itself if I "sudo audit2allow ..." on the same log file.
Please test the updated package.
Package: policycoreutils-python-2.0.83-33.4.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1.~/sandbox/home and ~/sandox/tmp created 2.cd ~/sandbox 3.sandbox -X -H home -T tmp -t sandbox_web_t firefox Comment ----- Sandbox is not working, whatever command I start (even sandbox alone) with always the same error.
Package: policycoreutils-python-2.0.83-33.4.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. try to run a snadboxed X11 apps 2. 3. Comment ----- my command line: /usr/bin/sandbox -t sandbox_web_t -X firefox https://gmail.com/ And the complett output: [fonya@cellaxps ~]$ /usr/bin/sandbox -t sandbox_web_t -X firefox https://gmail.com/ Traceback (most recent call last): File "/usr/bin/sandbox", line 443, in <module> rc = sandbox.main() File "/usr/bin/sandbox", line 428, in main self.__parse_options() File "/usr/bin/sandbox", line 251, in __parse_options types = "\t" + "\n\t".join(setools.seinfo(setools.ATTRIBUTE, "sandbox_type")[0]['types']) File "/usr/lib64/python2.7/site-packages/setools/__init__.py", line 49, in seinfo dict_list = _seinfo.seinfo(setype, name) RuntimeError: Invalid argument
Do you have NFS home dirs?
No, I have NFS in under my home dir, in a subdirs, but not my home: Filesystem Mounted on /dev/sda6 / tmpfs /dev/shm /dev/sda4 /boot mir:/home/fonya /home/fonya/mir BTW in the above case, I don't use nfs. Previous version was working perfectly for sandbox.
Package: policycoreutils-python-2.0.83-33.4.fc14 Architecture: x86_64 OS Release: Fedora release 14 (Laughlin) How to reproduce ----- 1. Start a firefox instance in a sandbox 2. Crash after the latest policy update. 3.
Marking 'assigned' since it happens with a newer version of policycoreutils.
policycoreutils-2.0.83-33.5.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/policycoreutils-2.0.83-33.5.fc14
I have updated policycoreutils to handle this situation. Will be adding policy updates to make this function nicely. This works pretty well in Rawhide. Sorry about the back port problem.
(In reply to comment #15) > I have updated policycoreutils to handle this situation. I installed policycoreutils-2.0.83-33.5.fc14.x86_64.rpm from koji and sandboxed firefox works fine. Thanks!
policycoreutils-2.0.83-33.5.fc14 has been pushed to the Fedora 14 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update policycoreutils'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/policycoreutils-2.0.83-33.5.fc14
The new version policycoreutils-2.0.83-33.5.fc14.x86_64.rpm works fine! Thank You a lot!
Please update karma (feedback)
policycoreutils-2.0.83-33.5.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.