Bug 784615 - Missing parameter in keyword repo to setup gpgcheck=0
Summary: Missing parameter in keyword repo to setup gpgcheck=0
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-25 15:07 UTC by Kamil Kolakowski
Modified: 2012-01-31 16:08 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-31 16:08:11 UTC
Target Upstream Version:


Attachments (Terms of Use)
xml with kickstart and added repo (3.15 KB, text/xml)
2012-01-26 15:24 UTC, Kamil Kolakowski
no flags Details
Anaconda.log (412.59 KB, text/x-log)
2012-01-26 15:41 UTC, Kamil Kolakowski
no flags Details
ks.cfg (9.61 KB, application/octet-stream)
2012-01-26 15:42 UTC, Kamil Kolakowski
no flags Details

Description Kamil Kolakowski 2012-01-25 15:07:33 UTC
Description of problem:
In kickstart I'm missing in keyword repo (for adding extra repository) parameter for setup gpgcheck. 

I'm installing from added repo for RHEL5 xfsprogs and without setting parm gpgcheck to 0 it would not 

I have workaround to do it in %post block but I think this parameter should be useful for many users.

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

Expected results:
added parameter to repo keyword for setup gpgcheck.

Comment 1 Chris Lumens 2012-01-26 14:57:54 UTC
What problem are you seeing?  anaconda does not do GPG checking by default, and there's not even any code to do so.

Comment 2 Kamil Kolakowski 2012-01-26 15:22:19 UTC
Hi Chris,

If anaconda doesn't do this what is a reason that xfsprogs wasn't installed.
Please try run in beaker xml I attached. Anaconda installation will stop at phase when is installing xfsprogs.

And when I will have in kickstart this

%post
echo "[xfs-repo]" >> /etc/yum.repos.d/xfs.repo
echo "name=xfs-repo" >> /etc/yum.repos.d/xfs.repo
echo "baseurl=http://download.lab.bos.redhat.com/rel-eng/repos/dist-5E-xfs-qu-candidate/x86_64" >> /etc/yum.repos.d/xfs.repo
echo "enabled=1" >> /etc/yum.repos.d/xfs.repo
echo "gpgcheck=0" >> /etc/yum.repos.d/xfs.repo
yum -y install xfsprogs

it works for me without problems.

This 
repo --name=xfsprogs --baseurl=http://download.lab.bos.redhat.com/rel-eng/repos/dist-5E-xfs-qu-candidate/x86_64

doesn't work for me.



Thanks

Kamil

Comment 3 Kamil Kolakowski 2012-01-26 15:24:26 UTC
Created attachment 557685 [details]
xml with kickstart and added repo

Comment 4 Chris Lumens 2012-01-26 15:28:35 UTC
I can't speculate on why an install failed without seeing the log files from the installation.  Please attach them as individual attachments.

Comment 5 Kamil Kolakowski 2012-01-26 15:39:12 UTC
I got this message in console during installation.

The file xfsprogs-2.10.2-7.el5.x86_64.rpm cannot be opened.
This is due to a missing file, a corrupt package or corrupt
media.  Please verify your installation source.
If you exit, your system will be left in an inconsistent
state that will likely require reinstallation.

Reboot                         Retry

That is failed job

https://beaker.engineering.redhat.com/jobs/185031

I will attached logs as you requested.

Comment 6 Kamil Kolakowski 2012-01-26 15:41:40 UTC
Created attachment 557693 [details]
Anaconda.log

Comment 7 Kamil Kolakowski 2012-01-26 15:42:21 UTC
Created attachment 557695 [details]
ks.cfg

Comment 8 Chris Lumens 2012-01-31 16:08:11 UTC
The file referenced at the end of the anaconda.log does not exist.  This appears to be some sort of repo problem.


Note You need to log in before you can comment on or make changes to this bug.