Bug 949578
Summary: | Anaconda SIGINT when installing selinux-policy-3.12.1-24.fc19.noarch.rpm | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mark Hamzy <hamzy> | ||||||
Component: | anaconda | Assignee: | Brian Lane <bcl> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 19 | CC: | dwalsh, g.kaviyarasu, jonathan, mkolman, pknirsch, rmainz, sbueno, vanmeeuwen+fedora | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | ppc64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-10-07 23:24:37 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: | 920769 | ||||||||
Attachments: |
|
Description
Mark Hamzy
2013-04-08 14:25:50 UTC
Created attachment 732701 [details]
Contents of /tmp directory
Created attachment 915706 [details]
Comment
(This comment was longer than 65,535 characters and has been moved to an attachment by Red Hat Bugzilla).
Could you try to execute # chcon -t rpm_exec_t /usr/bin/anaconda-yum and re-test it with this change. Thank you. There was no change. My understanding is the anaconda-yum command is not supposed to be executed that way, or something about anaconda not labelling content correctly. The file_t shows you have a file image which has no labels. I'm a bit confused as to why you show anaconda-yum being executed interactively from a console? Is this just to demonstrate the problem? I did a VNC install of x86-64 Alpha RC1 and didn't hit this problem, FWIW. Looks like you are running out of memory. Installing selinux-policy-targeted is typically the peak memory usage of the install, but it looks like you have 4G which should be more than enough. I also see the selinux denials that adamw mentioned in an IRC conversation today. Do you see those when you just run the installer? anaconda-yum isn't really meant to be run from the cmdline, but I also can't think of any good reason why it wouldn't work if you have a valid transaction file. Well it looks like it is creating a disk image and not putting any labels on it. 12:40:25,489 NOTICE kernel:[ 942.249658] type=1400 audit(1365424825.478:1599): avc: denied { getattr } for pid=2510 comm="sshd" path="/etc/passwd" dev="dm-0" ino=51409 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=file Is saying that sshd_t is trying to read /etc/passwd which the kernel reports as file_t, file_t means there are no labels. I think these files during an install get put down early and anaconda fixes the labels in the end, before policy is loaded? I was running anaconda-yum from the command line to demonstrate the problem. If I perform a normal install, the vnc session crashes. In the process of debugging this, I noticed that anaconda execs this command line program and reads its output to update the progress of the install. I was able to hack anaconda so that it would not execute the command line and then I could run it manually after a valid transaction file was created. Brent was able to perform a ppc64 installation just fine. There is something unknown triggering the failure when the postinstall scriptlet of the rpm is executed. Mark, do you still see this with http://ppc.koji.fedoraproject.org/stage/f19-20130417-Alpha-RC4/ ? (anaconda-19.20, selinux-policy-3.12.1-28.fc19)? Yes. I just reproduced it on an LPAR containing exactly 4GB of memory. No reports of this with f20 or later so I'm closing it. |