Description of problem: Composing DVD of today's rawhide fails making repodata. Version-Release number of selected component (if applicable): pungi-2.8-1.fc16.noarch lorax-16.0-1.fc16.x86_64 yum-metadata-parser-1.1.4-5.fc16.x86_64 yum-presto-0.7.0-1.fc16.noarch yum-langpacks-0.2.2-1.fc16.noarch anaconda-yum-plugins-1.0-6.fc15.noarch PackageKit-yum-0.6.16-1.fc16.x86_64 PackageKit-yum-plugin-0.6.16-1.fc16.x86_64 yum-utils-1.1.30-2.fc15.noarch yum-3.4.3-4.fc16.noarch How reproducible: every time (two times so far) Steps to Reproduce: 1. VERSION=16 DESTDIR=/ext4/Fedora$VERSION ARCH=x86_64; export ARCH rm -rf $DESTDIR/work/$ARCH rm -rf $DESTDIR/$VERSION/$ARCH mkdir -p /dev/shm/pungi-$$ restorecon /dev/shm/pungi-$$ # change from user_tmpfs_t to device_t export TMPDIR=/dev/shm/pungi-$$ /usr/sbin/setenforce 0 export LC_ALL=C 2. /usr/bin/pungi -c rawhide-fedora.ks \ --destdir=$DESTDIR --name Fedora --ver $VERSION --nosource 3. Actual results: [snip] Pungi:INFO: Finished downloading packages. Pungi:INFO: Download list: [] Pungi:INFO: Finished downloading packages. Pungi:INFO: Making repodata Traceback (most recent call last): File "/usr/bin/pungi", line 222, in <module> main() File "/usr/bin/pungi", line 120, in main mypungi.doCreaterepo() File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 807, in doCreaterepo self._makeMetadata(self.topdir, cachedir, compsfile, repoview=True, repoviewtitle=repoviewtitle) File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 764, in _makeMetadata repomatic.doPkgMetadata() File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 383, in doPkgMetadata self._setup_old_metadata_lookup() File "/usr/lib/python2.7/site-packages/createrepo/__init__.py", line 369, in _setup_old_metadata_lookup self.oldData = readMetadata.MetadataIndex(old_repo_path, opts) File "/usr/lib/python2.7/site-packages/createrepo/readMetadata.py", line 57, in __init__ self.scan() File "/usr/lib/python2.7/site-packages/createrepo/readMetadata.py", line 64, in scan self._repo.sack.populate(self._repo, 'all', None, False) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 164, in populate if self._check_db_version(repo, mydbtype): File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 222, in _check_db_version return repo._check_db_version(mdtype) File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1264, in _check_db_version repoXML = self.repoXML File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1463, in <lambda> repoXML = property(fget=lambda self: self._getRepoXML(), File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1459, in _getRepoXML raise Errors.RepoError, msg yum.Errors.RepoError: Cannot retrieve repository metadata (repomd.xml) for repository: garbageid. Please verify its path and try again Expected results: success Additional info: Running under "strace -e trace=file" shows these calls near the end (line 22750 of 22854): ----- 2307 open("/var/tmp", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5 2307 lstat("/var/tmp/yum-root-_kV0ay", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 2307 stat("/var/tmp/yum-root-_kV0ay/garbageid", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 2307 stat("/var/tmp/yum-root-_kV0ay/garbageid", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 2307 stat("/var/tmp/yum-root-_kV0ay/garbageid/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 2307 stat("/var/tmp/yum-root-_kV0ay/garbageid/packages", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 2307 stat("garbageid", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 2307 stat("garbageid", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 2307 stat("/var/tmp/yum-root-_kV0ay/garbageid/cachecookie", 0x7fff15289dc0) = -1 ENOENT (No such file or directory) 2307 open("/var/tmp/yum-root-_kV0ay/garbageid", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5 2307 stat("/var/tmp/yum-root-_kV0ay/garbageid/repomd.xml", 0x7fff15289f00) = -1 ENOENT (No such file or directory) 2307 lstat("/var/tmp/yum-root-_kV0ay/garbageid/repomdmD98mitmp.xml", 0x7fff15289da0) = -1 ENOENT (No such file or directory) 2307 open("/var/tmp/yum-root-_kV0ay/garbageid/repomdmD98mitmp.xml", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 5 2307 open("/ext4/Fedora16/16/x86_64/os/repodata/repomd.xml", O_RDONLY) = -1 ENOENT (No such file or directory) 2307 unlink("/var/tmp/yum-root-_kV0ay/garbageid/repomdmD98mitmp.xml") = 0 ----- The ENOENT calls which appear later are: ----- 2307 stat("/var/tmp/yum-root-_kV0ay/garbageid/cachecookie", 0x7fff15289dc0) = -1 ENOENT (No such file or directory) 2307 stat("/var/tmp/yum-root-_kV0ay/garbageid/repomd.xml", 0x7fff15289f00) = -1 ENOENT (No such file or directory) 2307 lstat("/var/tmp/yum-root-_kV0ay/garbageid/repomdmD98mitmp.xml", 0x7fff15289da0) = -1 ENOENT (No such file or directory) 2307 open("/ext4/Fedora16/16/x86_64/os/repodata/repomd.xml", O_RDONLY) = -1 ENOENT (No such file or directory) [snip] 2307 open("/ext4/Fedora16/work/x86_64/yumroot/var/lib/rpm/DB_CONFIG", O_RDONLY) = -1 ENOENT (No such file or directory) ----- [Is "garbageid" supposed to be literal, or is it supposed to be a variable?]
Also, using createrepo-0.9.9-4.fc15.noarch, I find that 'garbageid' directories are left behind in the working directory if createrepo or mash are run from the command line.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.