Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69621 - emerge sync on portage-2.0.51 hoses world & config files if PORTDIR=/var/lib/portage
Summary: emerge sync on portage-2.0.51 hoses world & config files if PORTDIR=/var/lib/...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-31 07:19 UTC by Jani-Matti Hätinen
Modified: 2004-11-02 05:42 UTC (History)
0 users

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


Attachments
Patch to protect config & world files during emerge sync (portage-2.0.51-world-file.patch,871 bytes, patch)
2004-10-31 07:22 UTC, Jani-Matti Hätinen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jani-Matti Hätinen 2004-10-31 07:19:43 UTC
Because both config and world were moved to /var/lib/portage in 2.0.51, syncing the portage tree now removes both those files, if PORTDIR is also set to /var/lib/portage.

I know that having PORTDIR=/var/lib/portage is not the default and supporting all possible PORTDIR values would be counterproductive, but still please consider adding the following patch to portage.
Comment 1 Jani-Matti Hätinen 2004-10-31 07:22:12 UTC
Created attachment 43010 [details, diff]
Patch to protect config & world files during emerge sync

The patch protects the config and world files during emerge sync and doesn't
affect anything else.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2004-11-02 05:42:55 UTC
/var/lib/portage is for "private" portage data. There will more than likely be more things added in the future, which would require further and further expansion of rsync's "except" clause. Furthermore, it might be possible that names could even conflict..