Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218274 - coreutils (6.10-r1, 6.10-r2) generates an access violation if you have a /.git
Summary: coreutils (6.10-r1, 6.10-r2) generates an access violation if you have a /.git
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-18 15:31 UTC by Steven Parkes
Modified: 2008-04-18 16:24 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 Steven Parkes 2008-04-18 15:31:06 UTC
I keep some files in git in /. Trying to emerge coreutils-6.10-r1 and -r2 gives

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-18846.log"

open_wr:   /.git/index.lock
open_wr:   /.git/index.lock
open_wr:   /.git/index.lock
open_wr:   /.git/index.lock
--------------------------------------------------------------------------------


Reproducible: Always




Moving /.git out of the way for the duration of the merge works as a workaround.
Comment 1 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-18 15:39:40 UTC
A .git directory *definitely* doesn't belong in /.
Comment 2 Steven Parkes 2008-04-18 15:50:19 UTC
I use it as an alternative to, but in more or less the same spirit as, dispatch-conf ...

... but, hey, whatever ...
Comment 3 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-18 16:19:52 UTC
You probably want to use "git --git-dir=${location} --work-tree=/" or something similar then.
Comment 4 Steven Parkes 2008-04-18 16:24:29 UTC
Good idea. Thanks.