Bug 741614 - spurious empty directory left for each repo when other cache specified
Summary: spurious empty directory left for each repo when other cache specified
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 16
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-27 12:43 UTC by Mads Kiilerich
Modified: 2012-05-27 07:24 UTC (History)
7 users (show)

Fixed In Version: livecd-tools-17.4-1
Clone Of:
Environment:
Last Closed: 2012-01-19 00:33:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Mads Kiilerich 2011-09-27 12:43:53 UTC
I build with
repo --name=fedora-x86_64          --mirrorlist=...
repo --name=updates-x86_64         --mirrorlist=...
repo --name=updates-testing-x86_64 --mirrorlist=...
repo --name=fedora-i386            --mirrorlist=...
repo --name=updates-i386           --mirrorlist=...
repo --name=updates-testing-i386   --mirrorlist=...
and
livecd-creator --config=$ks --cache=yum-cache --fslabel=$kind -v -d ...

After building an empty directory for each repository is left behind. I would expect that only the yum-cache directories was left behind.

Sorted by date (but mostly within same second):

drwxr-xr-x.  2 dev  dev      32768 Sep 27 07:51 yum-cache/fedora-x86_64/packages
drwxr-xr-x.  2 root root      4096 Sep 27 07:52 fedora-i386
-rw-r--r--.  1 dev  dev   51613696 Sep 27 07:52 yum-cache/fedora-i386/...y.sqlite
drwxr-xr-x.  2 root root      4096 Sep 27 07:52 fedora-x86_64
drwxr-xr-x.  2 dev  dev       4096 Sep 27 07:52 yum-cache/updates-i386/packages
drwxr-xr-x.  2 root root      4096 Sep 27 07:52 updates-i386
-rw-r--r--.  1 dev  dev      21504 Sep 27 07:52 yum-cache/updates-i386/pri...lite
drwxr-xr-x.  2 root root      4096 Sep 27 07:52 updates-testing-i386
drwxr-xr-x.  2 root root      4096 Sep 27 07:52 updates-testing-x86_64
drwxr-xr-x.  2 root root      4096 Sep 27 07:52 updates-x86_64

I wonder if it could be caused by not setting base_persistdir as used by yumRepo.py.

livecd-tools-16.6-1.fc16.x86_64
python-imgcreate-16.6-1.fc16.x86_64
yum-3.4.3-5.fc16.noarch
rpm-libs-4.9.1.1-3.fc16.x86_64

Comment 1 Brian Lane 2012-01-18 23:31:36 UTC
Looks that way - http://lists.baseurl.org/pipermail/yum-devel/2011-April/008090.html

I've set it to be the same as the cache dir and this seems to work fine with and without a cache dir specified.

Comment 2 Fedora Update System 2012-03-01 18:00:27 UTC
livecd-tools-16.11-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/livecd-tools-16.11-1.fc16

Comment 3 Fedora Update System 2012-03-01 18:03:18 UTC
livecd-tools-15.12-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/livecd-tools-15.12-1.fc15

Comment 4 Fedora Update System 2012-04-13 21:34:41 UTC
livecd-tools-16.11-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2012-05-08 00:06:43 UTC
livecd-tools-15.13-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/livecd-tools-15.13-1.fc15

Comment 6 Fedora Update System 2012-05-27 07:24:21 UTC
livecd-tools-15.13-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


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