Description of problem: Custom repo created into /tmp and containing newly built rpms is not synced using spacewalk-repo-sync on Fedora 18. Version-Release number of selected component (if applicable): Only on Fedora18 Spacewalk versions 1.9 and Nightly (1.10) spacewalk-backend-tools-1.10.15-1.fc18.noarch How reproducible: Always Steps to Reproduce: 1. Create repo containing several rpms in /tmp/tmp.5cB0x7Z1r0 2. Create channel named spacewalk-repo-sync-test-channel-17458 3. Run spacewalk-repo-sync -c spacewalk-repo-sync-test-channel-17458 -u file:///tmp/tmp.5cB0x7Z1r0 Actual results: Repo URL: file:///tmp/tmp.5cB0x7Z1r0 Packages in repo: 10 Packages already synced: 0 Packages to sync: 10 1/10 : test-srsJ-0.1-1-0.noarch Downloaded package test-srsJ-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 2/10 : test-srsI-0.1-1-0.noarch Downloaded package test-srsI-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 3/10 : test-srsH-0.1-1-0.noarch Downloaded package test-srsH-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 4/10 : test-srsG-0.1-1-0.noarch Downloaded package test-srsG-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 5/10 : test-srsF-0.1-1-0.noarch Downloaded package test-srsF-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 6/10 : test-srsE-0.1-1-0.noarch Downloaded package test-srsE-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 7/10 : test-srsD-0.1-1-0.noarch Downloaded package test-srsD-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 8/10 : test-srsC-0.1-1-0.noarch Downloaded package test-srsC-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 9/10 : test-srsB-0.1-1-0.noarch Downloaded package test-srsB-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. 10/10 : test-srsA-0.1-1-0.noarch Downloaded package test-srsA-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid. Linking packages to channel. Repo file:///tmp/tmp.5cB0x7Z1r0 has 0 errata. Sync completed. Total time: 0:00:00 Expected results: Repo URL: file:///tmp/tmp.5cB0x7Z1r0 Packages in repo: 10 Packages already synced: 0 Packages to sync: 10 1/10 : test-srsD-0.1-1-0.noarch 2/10 : test-srsB-0.1-1-0.noarch 3/10 : test-srsE-0.1-1-0.noarch 4/10 : test-srsH-0.1-1-0.noarch 5/10 : test-srsC-0.1-1-0.noarch 6/10 : test-srsJ-0.1-1-0.noarch 7/10 : test-srsI-0.1-1-0.noarch 8/10 : test-srsG-0.1-1-0.noarch 9/10 : test-srsA-0.1-1-0.noarch 10/10 : test-srsF-0.1-1-0.noarch Linking packages to channel. Repo file:///tmp/tmp.5cB0x7Z1r0 has 0 errata. Sync completed. Total time: 0:00:01 Additional info:
Fixed in spacewalk nightly by commit 2b27e1ce58be1db588539d383953a4c31b3c06a9 929238 - fixed local path for file:// repos Fedora 18 has new yum which verifies downloaded packages via package.verifyLocalPkg() and complains about wrong path. fixing 1/10 : test-srsJ-0.1-1-0.noarch Downloaded package test-srsJ-0.1-1.noarch, from spacewalk-repo-sync-test-channel-17458, but it was invalid.
Fix for this bug is present in Spacewalk 2.0, closing this bug as CURRENTRELEASE.