Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357867 - app-portage/gentoolkit-0.2.4.6.1-r1: "eclean distfiles" removes portage lockfiles
Summary: app-portage/gentoolkit-0.2.4.6.1-r1: "eclean distfiles" removes portage lockf...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-08 00:54 UTC by T Chan
Modified: 2011-12-02 06:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description T Chan 2011-03-08 00:54:48 UTC
It probably should stay away from all dotfiles

# eclean-dist
 * Building file list for distfiles cleaning...
 * Cleaning distfiles...
 [    0L B ] .samba-3.4.12.tar.gz.portage_lockfile
 [ 779.5 K ] dhcp-3.1.1.tar.gz
 * Total space that has been freed in distfiles directory: 779.5 K

#
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2011-03-08 08:14:09 UTC
fixed in git commit 37f12041c349d6cff5d5d5f4ca5934edc47b06f2

It will delete .dotfiles only during a destructive search, so they are protected by default.

I am also checking if there is a good way to find out if there is an active emerge running when eclean starts.  You should never run eclean while there is an active emerge running.  Or it could delete files needed for the running emerge.

In the case of the portage lockfile you mention.  If there is not a running emerge, then that lockfile is dead and should be deleted.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2011-12-02 06:20:08 UTC
released in gentoolkit-0.3.0