Bug 883355
Summary: | VDSM yum installation fails when selinux is disabled: RuntimeError: Cannot allocate memory | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ohad Basan <obasan> |
Component: | policycoreutils | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | abaron, acathrow, bazulay, danken, dwalsh, dyasny, eedri, fsimonce, iheim, mgoldboi, 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: | 2012-12-12 00:30:47 UTC | Type: | Bug |
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: | 881006 |
Description
Ohad Basan
2012-12-04 11:55:06 UTC
This looks like a policycoreutils-python issue. What's the policycoreutils-python version that you're using? Can you try to update the package? Thanks. the version is policycoreutils-python-2.1.13-37.fc18.x86_64 and currently it is the latest version in the repo and can't be upgraded. This is a policycoreutils-2.1.13-37.fc18.x86_64 issue:
# python
Python 2.7.3 (default, Aug 9 2012, 17:23:57)
[GCC 4.7.1 20120720 (Red Hat 4.7.1-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import seobject
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python2.7/site-packages/seobject.py", line 27, in <module>
import sepolicy
File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 31, in <module>
policy(policy_file)
File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 28, in policy
_policy.policy(policy_file)
RuntimeError: Cannot allocate memory
# semanage
Traceback (most recent call last):
File "/usr/sbin/semanage", line 25, in <module>
import seobject
File "/usr/lib64/python2.7/site-packages/seobject.py", line 27, in <module>
import sepolicy
File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 43, in <module>
policy(policy_file)
File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 40, in policy
_policy.policy(policy_file)
RuntimeError: Cannot allocate memory
Fixed in policycoreutils-2.1.12-43 policycoreutils-2.1.13-44.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/policycoreutils-2.1.13-44.fc18 Package policycoreutils-2.1.13-44.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing policycoreutils-2.1.13-44.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-20070/policycoreutils-2.1.13-44.fc18 then log in and leave karma (feedback). policycoreutils-2.1.13-44.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |