Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129615 - file locking for DISTDIR is not configurable ($DISTDIR/.locks is hard coded)
Summary: file locking for DISTDIR is not configurable ($DISTDIR/.locks is hard coded)
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-11 11:02 UTC by Martins Steinbergs
Modified: 2006-05-22 12:44 UTC (History)
1 user (show)

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 Martins Steinbergs 2006-04-11 11:02:21 UTC
if DISTDIR points to somewhere on VFAT partition, then following would be good to leave on PORTDIR or option to give them own path:
.locks
csv-src
svn-src

am I wrong?
Comment 1 Zac Medico gentoo-dev 2006-04-11 12:45:56 UTC
The $DISTDIR/.locks is possible to change but csv-src and svn-src belong to cvs.eclass and subversion.eclass (separate from portage), so portage doesn't control those.  Can't you just use FEATURES="-distlocks" with vfat?
Comment 2 Martins Steinbergs 2006-04-11 23:05:11 UTC
oh my bad, thought portage takes care for cvs and svn too. 
Comment 3 Zac Medico gentoo-dev 2006-05-22 12:16:29 UTC
I just noticed that make.conf.example says portage will use PORTAGE_TMPFS for file locking, but it doesn't really do that.  The danger with making the DISTFILES locking configurable is that all portage instances that share it must use the same  exact locking directory, or else it becomes useless.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2006-05-22 12:44:02 UTC
Don't like this idea at all.