Bug 586282
| Summary: | Error during update of selinux-policy | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Joachim Backes <joachim.backes> |
| Component: | selinux-policy | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 13 | CC: | cschwangler, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | selinux-policy-3.7.19-10.fc13 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-05-04 23:55: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: | |
| Embargoed: | |||
|
Description
Joachim Backes
2010-04-27 08:46:25 UTC
Running yum update issues error messages:
Updating : policycoreutils-python-2.0.82-8.fc13.i686 20/106
Traceback (most recent call last):
File "/usr/bin/sepolgen-ifgen", line 126, in <module>
sys.exit(main())
File "/usr/bin/sepolgen-ifgen", line 103, in main
attrs = get_attrs()
File "/usr/bin/sepolgen-ifgen", line 64, in get_attrs
policy_path = selinux.selinux_binary_policy_path() + "." + str(selinux.security_policyvers())
OSError: [Errno 2] No such file or directory
Traceback (most recent call last):
File "/usr/bin/sepolgen-ifgen", line 126, in <module>
sys.exit(main())
File "/usr/bin/sepolgen-ifgen", line 103, in main
attrs = get_attrs()
File "/usr/bin/sepolgen-ifgen", line 64, in get_attrs
policy_path = selinux.selinux_binary_policy_path() + "." + str(selinux.security_policyvers())
OSError: [Errno 2] No such file or directory
The same happens when updating policycoreutils-python-2.0.82-8.fc13.i686.
I am getting a different message: Updating : policycoreutils-python-2.0.82-8.fc13.i686 43/114 libsepol.policydb_index_others: security: 9 users, 13 roles, 3203 types, 156 bools libsepol.policydb_index_others: security: 1 sens, 1024 cats libsepol.policydb_index_others: security: 77 classes, 194683 rules, 231936 cond rules missing attribute admin_userdomain missing attribute $1_usertype libsepol.policydb_index_others: security: 9 users, 13 roles, 3203 types, 156 bools libsepol.policydb_index_others: security: 1 sens, 1024 cats libsepol.policydb_index_others: security: 77 classes, 194683 rules, 231936 cond rules missing attribute admin_userdomain missing attribute $1_usertype Updating : gvfs-gphoto2-1.6.1-2.fc13.i686 44/114 But: the installation of policycoreutils-python is done hereafter (despite error messages). Joachim are you on a disabled SELinux box? Second message is fixed in policycoreutils-python-2.0.82-9.fc13.i686 (In reply to comment #4) > Joachim are you on a disabled SELinux box? Yes! cat /etc/selinux/config # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted Fixed in policycoreutils-2.0.82-10.f13 I can confirm that today's update with policycoreutils-2.0.82-10.f13 went without any errors. (In reply to comment #8) > I can confirm that today's update with policycoreutils-2.0.82-10.f13 went > without any errors. I'm wondering about the repo from which you updated: fedora-updates-testing.repo is enabled by standard, and the latest policycoreutils update is policycoreutils-2.0.82-9.fc13.i686 :-) Please update karma selinux-policy-3.7.19-10.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-10.fc13 selinux-policy-3.7.19-10.fc13 has been pushed to the Fedora 13 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 selinux-policy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/selinux-policy-3.7.19-10.fc13 selinux-policy-3.7.19-10.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. |