Subject: Re: bug#78356: Broken system and home containers

From: Ludovic Courtès <[email-masked]>
Date: Thu, 15 May 2025 10:29:08 +0200

Hi Maxim,

Maxim Cournoyer <[email-masked]> writes:

> Not sure how minimal that is, but I can trigger this in the readymedia
> system test:
>
> --8<---------------cut here---------------start------------->8---
> make check-system TESTS=readymedia
> --8<---------------cut here---------------end--------------->8---
>
> It may not fail every time (?).  In the VM, in
> /var/log/readymedia/minidlna.log, we can read:
>
> --8<---------------cut here---------------start------------->8---
> 2025-05-15 08:22:27 In gnu/build/linux-container.scm:
> ...skipping...
> 2025-05-15 08:22:27    476:16  3 (_ "/tmp/guix-directory.w1REZ6")
> 2025-05-15 08:22:27      62:6  2 (call-with-clean-exit #<procedure 7fa0ff7c2e80 at gnu/b?>)
> 2025-05-15 08:22:27    321:20  1 (_)
> 2025-05-15 08:22:27 In guix/build/syscalls.scm:
> 2025-05-15 08:22:27   1231:10  0 (_ 268566528)
> 2025-05-15 08:22:27 
> 2025-05-15 08:22:27 guix/build/syscalls.scm:1231:10: In procedure unshare: 268566528: Invalid argument
> 2025-05-15 08:22:28 Backtrace:
> 2025-05-15 08:22:28            4 (primitive-load "/gnu/store/4h68sswscz96wk47724bfqfrq9n?")
> 2025-05-15 08:22:28 In ice-9/eval.scm:
> 2025-05-15 08:22:28    191:35  3 (_ _)
> 2025-05-15 08:22:28 In gnu/build/linux-container.scm:
> 2025-05-15 08:22:28     368:8  2 (call-with-temporary-directory #<procedure 7fa0ff7df3f0?>)
> 2025-05-15 08:22:28     485:7  1 (_ "/tmp/guix-directory.w1REZ6")
> 2025-05-15 08:22:28 In unknown file:
> 2025-05-15 08:22:28            0 (waitpid #f #<undefined>)
> 2025-05-15 08:22:28 
> 2025-05-15 08:22:28 ERROR: In procedure waitpid:
> 2025-05-15 08:22:28 Wrong type (expecting exact integer): #f
> --8<---------------cut here---------------end--------------->8---
>
> The service uses least-authority-wrapper.

Damnit.  “make check-system TESTS=bitlbee” pass though (also using
‘least-authority-wrapper’) and I don’t see any significant difference
between the two?

Ludo’.