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

Re: t7900 fails with recent debian systemd?

From
Jeff King <peff@peff.net>
Date
Dec 6, 2023, 22:36 UTC
Message-ID
<20231206223612.GA650770@coredump.intra.peff.net>
In-Reply-To
<20231206223145.GA638844@coredump.intra.peff.net>
On Wed, Dec 06, 2023 at 05:31:45PM -0500, Jeff King wrote:
Show 17 quoted lines
> I noticed t7900 failing today. The failure looks like this:
> 
>   $ ./t7900-maintenance.sh -v -i -x
>   [...]
>   + systemd-analyze verify systemd/user/git-maintenance@hourly.service
>   Unit git-maintenance@hourly.service not found.
>   error: last command exited with $?=1
>   not ok 36 - start and stop Linux/systemd maintenance
> 
> The problem started after upgrading my Debian unstable system to the
> systemd 255~rc4-2 deb. Downgrading back to 254.5-1 makes the test pass
> again.
> 
> I'm sure it's something silly with finding paths in XDG_CONFIG_HOME or
> something like that. I haven't dug further, but I thought I'd post this
> to save somebody else going through the same initial debugging. (And of
> course any wisdom or further debugging is greatly appreciated).
After stracing, it is indeed looking for:
  trash directory.t7900-maintenance/systemd/user/git-maintenance@hourly.service

but that file doesn't exist. We installed git-maintenance@hourly.timer, and git-maintenance@.service. Is the latter supposed to be a wildcard of some kind? Maybe the rules changed. I don't really know anything about systemd.

-Peff
Previous: Jeff KingNext: Eric Sunshine
Message 2 of 4 in “t7900 fails with recent debian systemd?”
  1. Jeff KingDec 6, 2023
  2. Jeff KingDec 6, 2023
  3. Eric SunshineDec 6, 2023
  4. Jeff KingDec 7, 2023

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.