git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Nov 18, 2010, 16:07 UTC
Message-ID
<AANLkTi=mf_1HaJ0qZJ4nG1=zti9CJdTZHAfhLayR4FRS@mail.gmail.com>
In-Reply-To
<20101118155211.GE22067@login.drsnuggles.stderr.nl>
On Thu, Nov 18, 2010 at 10:52 PM, Matthijs Kooijman <matthijs@stdin.nl> wrote:
Show 17 quoted lines
> Hi all,
>
>> I've been using git for exactly this purpose succesfully for a while now
>> (git 1.5.6.5 from Debian stable and I think also 1.7.2.3 from Debian
>> testing).
> Coming back to the testing machine I was using this on, I see this
> problem as well now. I'm pretty sure it wasn't there before, which would
> mean it was introduced by a recent upgrade.
>
> Checking the logs shows that I was running 1.7.1 before, and now 1.7.2.3
> is broken. Downgrading to 1.7.1 indeed removes the problem.
>
> I've rummaged around in the source a bit, haven't found the cause yet
> (and I'm out of time now).
>
> The issue also still occurs with a fairly recent git master (ca209065f:
> completion: fix zsh check under bash with 'set -u').

You may be interested in 72ec8ba (Support working directory located at root - 2010-02-14). t1509 reports the breakages. Unfortunately this kind of tests can't be run automatically

-- 
Duy
Previous: Santi BéjarNext: Nguyen Thai Ngoc Duy
Message 5 of 8 in “Versioning configuration files on a server: fatal: Unable to create '//etc/.git/index.lock': No such file or directory”
  1. Albert StrasheimNov 17, 2010
  2. Matthijs KooijmanNov 17, 2010
  3. Matthijs KooijmanNov 18, 2010
  4. Santi BéjarNov 18, 2010
  5. Nguyen Thai Ngoc DuyNov 18, 2010
  6. Nguyen Thai Ngoc DuyNov 18, 2010
  7. Matthijs KooijmanNov 18, 2010
  8. Matthijs KooijmanNov 18, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.