Bug 389211 - mock -r fedora-8-x86_64 init fails
mock -r fedora-8-x86_64 init fails
Product: Fedora
Classification: Fedora
Component: mock (Show other bugs)
x86_64 Linux
low Severity low
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2007-11-18 05:35 EST by Jan ONDREJ
Modified: 2013-01-09 20:43 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-11-18 07:13:28 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
root.log (36.51 KB, text/plain)
2007-11-18 05:46 EST, Jan ONDREJ
no flags Details

  None (edit)
Description Jan ONDREJ 2007-11-18 05:35:17 EST
Description of problem:
mock -r fedora-8-x86_64 init
fails, when cache is not stored locally.

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

How reproducible:

Steps to Reproduce:
1. mkdir -p /var/lib/mock/old
2. mv -f /var/lib/mock/* /var/lib/mock/old
3. su - anyuser
4. mock -r fedora-8-x86_64 init
Actual results:

INFO: mock.py version 0.8.7 starting...
State Changed: init plugins
State Changed: start
State Changed: lock buildroot
State Changed: clean
State Changed: init
State Changed: lock buildroot
State Changed: enabled yum cache, cleaning yum metadata
State Changed: enabling root cache
ERROR: Could not find useradd in chroot, maybe the install failed?

Expected results:

Additional info:
May be wrong is the Fedora 8 Everything repository. These files are in repodata:
[TXT]	Fedora-8-comps.xml 	02-Nov-2007 10:35 	1.2M	 
[ ]	filelists.sqlite.bz2 	02-Nov-2007 10:35 	2.9M	 
[ ]	filelists.xml.gz 	02-Nov-2007 10:35 	2.4M	 
[ ]	other.sqlite.bz2 	02-Nov-2007 10:35 	7.2M	 
[ ]	other.xml.gz 	02-Nov-2007 10:35 	7.7M	 
[ ]	primary.sqlite.bz2 	02-Nov-2007 10:35 	1.7M	 
[ ]	primary.xml.gz 	02-Nov-2007 10:35 	949K	 
[TXT]	repomd.xml 	02-Nov-2007 10:35 	2.1K	 

comps.xml required for "yum groupinfo buildsys-build" is not included. It fails
like this:
[root@sagator64 ~]# yum grouplist buildsys-build
Setting up Group Process
fedora                    100% |=========================| 2.1 kB    00:00     
updates                   100% |=========================| 2.3 kB    00:00     
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.

I don't know, where exactly is the problem, but it fails always. :-(
Comment 1 Jan ONDREJ 2007-11-18 05:46:54 EST
Created attachment 262791 [details]
Comment 2 Jan ONDREJ 2007-11-18 07:13:28 EST
OK, problem solved (thanks to lkundrak).

Problem was in my mirror, which contained old repodata files. I don't know where
they may be created. After next sync the problem disappeared.

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