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

RE: [EXTERNAL] Re: Git clone failure

From
KVKrishna Vivek Vitta <kvitta@microsoft.com>
Date
Sep 26, 2024, 07:11 UTC
Message-ID
<JH0P153MB099919ABE06434F49ABF43F7D46A2@JH0P153MB0999.APCP153.PROD.OUTLOOK.COM>
In-Reply-To
<ZvR58tnLEMBZC4fa@tapette.crustytoothpaste.net>
Hi Brian
Can you point me to the GIT FAQ about the recommendation.

Thank you, Krishna Vivek

-----Original Message-----
From: brian m. carlson <sandals@crustytoothpaste.net> 
Sent: Thursday, September 26, 2024 2:31 AM
To: Krishna Vivek Vitta <kvitta@microsoft.com>
Cc: git@vger.kernel.org
Subject: Re: [EXTERNAL] Re: Git clone failure
On 2024-09-25 at 08:49:11, Krishna Vivek Vitta wrote:
Show 19 quoted lines
> 
> Hi Brian
> 
> Thanks for the response.
> 
> It is a WSL2 environment with kernel version: 5.15.153. We have used a kernel version 6.6.36.3 as well. Scenario fails there as well.
> 
> root@DESKTOP-OOHD5UG:/sys/kernel/debug/tracing# uname -a Linux 
> DESKTOP-OOHD5UG 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 
> 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
> 
> Mount point information:
> C:\ on /mnt/c type 9p 
> (rw,noatime,dirsync,aname=drvfs;path=C:\;uid=1000;gid=1000;symlinkroot
> =/mnt/,mmap,access=client,msize=65536,trans=fd,rfd=5,wfd=5)
> 
> We aren't using any sort of file syncing service.
> 
> We have installed a defender software which is marking mount points for FANOTIFY to intercept filesystem events. On removing the marking, git clone succeeds.
My guess is that whatever software you're using to intercept file system events is causing the "unknown error occurred while reading the configuration files" message and you should remove that software and reboot to see if the problem goes away, even though fanotify is enabled.

It's very common that the kind of "defender software" you're using breaks a variety of software, including Git and Git LFS, and in general, the recommendation we give in the Git FAQ is that you use only the system default antivirus (and on Linux or WSL, none, since there is no default). -- brian m. carlson (they/them or he/him) Toronto, Ontario, CA

Previous: brian m. carlsonNext: brian m. carlson
Message 6 of 7 in “Git clone failure”
  1. Krishna Vivek VittaSep 23, 2024
  2. Konstantin KhomoutovSep 24, 2024
  3. brian m. carlsonSep 24, 2024
  4. Krishna Vivek VittaSep 25, 2024
  5. brian m. carlsonSep 25, 2024
  6. Krishna Vivek VittaSep 26, 2024
  7. brian m. carlsonSep 26, 2024

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.