Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 919971

Summary: anaconda cant access config file under tmp
Product: Red Hat Enterprise Linux 7 Reporter: Xiaoqing Wei <xwei>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: cwhuang, juzhang, paulds
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-11 15:08:49 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:
Attachments:
Description Flags
error picture
none
tar cf none

Description Xiaoqing Wei 2013-03-11 03:22:40 UTC
Created attachment 708170 [details]
error picture

Description of problem:

unattending install a RHEL7, anaconda raised error:

yum.Errors.ConfigError: Error accessing file for config file:
file:///tmp/anaconda-yum.conf

Version-Release number of selected component (if applicable):

18.37.11 shipped with RHEL-7.0-20130306.0

How reproducible:
Only once, with picture snapped, and tar cf tmp.tar /tmp

Steps to Reproduce:
1. unattended_install a RHEL7 KVM guest, cmd as below:
/root/staf-kvm-devel/autotest-devel/client/tests/kvm/qemu -S -name 'vm1' -nodefaults -chardev socket,id=qmp_id_qmpmonitor1,path=/tmp/monitor-qmpmonitor1-20130308-125913-R2ERcl31,server,nowait -mon chardev=qmp_id_qmpmonitor1,mode=control -chardev socket,id=serial_id_serial1,path=/tmp/serial-serial1-20130308-125913-R2ERcl31,server,nowait -device isa-serial,chardev=serial_id_serial1 -chardev socket,id=seabioslog_id_20130308-125913-R2ERcl31,path=/tmp/seabios-20130308-125913-R2ERcl31,server,nowait -device isa-debugcon,chardev=seabioslog_id_20130308-125913-R2ERcl31,iobase=0x402 -device ich9-usb-uhci1,id=usb1,bus=pci.0,addr=0x4 -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/kvm/images/RHEL-Server-7.0-64-virtio.qcow2',if=none,id=drive-virtio-disk1,media=disk,cache=none,boot=off,snapshot=off,format=qcow2,aio=native -device virtio-blk-pci,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1 -device virtio-net-pci,netdev=idD64DzA,mac=9a:08:09:0a:0b:0c,bus=pci.0,addr=0x3,id='idpzcyI6' -netdev tap,id=idD64DzA,vhost=on,fd=22 -m 4096 -smp 4,maxcpus=4,cores=2,threads=1,sockets=2 -cpu 'SandyBridge' -M pc -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/kvm/isos/linux/RHEL7.0-Server-x86_64.iso',if=none,id=drive-ide0-0-0,media=cdrom,snapshot=off,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -drive file='/root/staf-kvm-devel/autotest-devel/client/tests/kvm/images/rhel70-64/ks.iso',if=none,id=drive-ide0-0-1,media=cdrom,snapshot=off,format=raw -device ide-drive,bus=ide.0,unit=1,drive=drive-ide0-0-1,id=ide0-0-1 -device usb-tablet,id=usb-tablet1,bus=usb1.0,port=1 -kernel '/root/staf-kvm-devel/autotest-devel/client/tests/kvm/images/rhel70-64/vmlinuz' -append 'ks=cdrom:/dev/sr1 nicdelay=60 console=ttyS0,115200 console=tty0' -initrd '/root/staf-kvm-devel/autotest-devel/client/tests/kvm/images/rhel70-64/initrd.img' -vnc :0 -vga cirrus -rtc base=utc,clock=host,driftfix=slew  -boot order=cdn,once=d,menu=off   -no-kvm-pit-reinjection -no-shutdown -enable-kvm

2.
3.
  
Actual results:
anaconda raised error and installation fail

Expected results:
installation success without error

Additional info:

Comment 1 Xiaoqing Wei 2013-03-11 03:23:34 UTC
Created attachment 708171 [details]
tar cf

Comment 3 Chris Lumens 2013-03-11 15:08:49 UTC

*** This bug has been marked as a duplicate of bug 887223 ***

Comment 4 Huang, Chih-Wei 2013-03-29 09:34:08 UTC
"This bug has been marked as a duplicate of bug 887223",
but when I tried to access bug 887223, it said I have no permission.
What's wrong??

I just encountered the same bug. Is it solved?

Comment 5 Paul Stauffer 2013-04-25 20:08:32 UTC
We are seeing what looks like identical behavior when attempting a kickstart of a KVM guest using Fedora 18.  We'd also like to view bug 887223.  Can someone please unprotect it, or if that isn't possible, post a summary of the relevant details here?

Comment 6 Paul Stauffer 2013-04-25 21:05:07 UTC
Ok, Chris pointed me to F19 bug 906031, which is public, and contains the bulk of the technical details.