Bug 632191
Summary: | [abrt] policycoreutils-gui-2.0.83-21.fc14: __init__.py:49:seinfo:RuntimeError: No default policy found. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Edney Matias <edneymatias> | ||||
Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 14 | CC: | amit.shah, dwalsh, fonya, GJahchan, mgrepl, mirco.scaramucci, stephan | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | i686 | ||||||
OS: | Linux | ||||||
Whiteboard: | abrt_hash:1e2b1d69 | ||||||
Fixed In Version: | policycoreutils-2.0.83-33.5.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-12-17 20:27:59 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 689153 | ||||||
Attachments: |
|
Description
Edney Matias
2010-09-09 11:18:50 UTC
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. |