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

Re: Test "t0300-credentials" is failing on Arch/Artix: asks to enter the Username/Password in an infinite loop

From
Jeff King <peff@peff.net>
Date
Mar 6, 2026, 16:01 UTC
Message-ID
<20260306160131.GA3577004@coredump.intra.peff.net>
In-Reply-To
<CAAaskFD7wmtqppatb5T5GMTviieR0Ttk9y4+c3khuF3bZBfE=g@mail.gmail.com>
On Fri, Mar 06, 2026 at 05:14:45PM +0300, Ivan Ivanov wrote:
Show 8 quoted lines
> Friends, thank you so much for your kind help! Indeed: it turned out
> that if /dev/shm is mounted with noexec then "--root=/dev/shm" is
> failing. If you would like to ensure that the git tests are succeeding
> regardless of what are the mount flags on some system or what some
> distro's packagers are doing (more portability), maybe it is possible
> to modify the git test system - to make it so that "askpass" always
> gets launched from a native original directory, instead of being
> copied to some "root" place where it could fail?

it would be possible to do that, but introduce a lot of complexity. Right now test scripts are given a single temporary scratch directory with a repo to do whatever they want with. If we gave each one _two_ directories, one for putting executable things and one for repo operations, then the latter could be on a noexec filesystem.

But why do we want to support pointing --root to a noexec filesystem in the first place? I think this falls into "if it hurts, don't do it".

-Peff
Previous: Ivan IvanovNext: Ivan Ivanov
Message 10 of 12 in “Test "t0300-credentials" is failing on Arch/Artix: asks to enter the Username/Password in an infinite loop”
  1. Ivan IvanovMar 6, 2026
  2. Ivan IvanovMar 6, 2026
  3. brian m. carlsonMar 6, 2026
  4. Ivan IvanovMar 6, 2026
  5. brian m. carlsonMar 6, 2026
  6. Ivan IvanovMar 6, 2026
  7. Ivan IvanovMar 6, 2026
  8. Jeff KingMar 6, 2026
  9. Ivan IvanovMar 6, 2026
  10. Jeff KingMar 6, 2026
  11. Ivan IvanovMar 6, 2026
  12. brian m. carlsonMar 6, 2026

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.