GNU logs - #78356, boring messages


Message sent to ludo@HIDDEN, bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Rutherther <rutherther@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: ludo@HIDDEN, bug-guix@HIDDEN
Resent-Date: Sat, 10 May 2025 16:10:01 +0000
Resent-Message-ID: <handler.78356.B.17468933809146 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 78356 <at> debbugs.gnu.org
Cc: ludo@HIDDEN
X-Debbugs-Original-To: bug-guix@HIDDEN
X-Debbugs-Original-Xcc: ludo@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.17468933809146
          (code B ref -1); Sat, 10 May 2025 16:10:01 +0000
Received: (at submit) by debbugs.gnu.org; 10 May 2025 16:09:40 +0000
Received: from localhost ([127.0.0.1]:48610 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uDmlg-0002NM-BN
	for submit <at> debbugs.gnu.org; Sat, 10 May 2025 12:09:40 -0400
Received: from lists.gnu.org ([2001:470:142::17]:55480)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rutherther@HIDDEN>)
 id 1uDmle-0002Ml-Iu
 for submit <at> debbugs.gnu.org; Sat, 10 May 2025 12:09:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <rutherther@HIDDEN>)
 id 1uDmlW-0005x5-IQ
 for bug-guix@HIDDEN; Sat, 10 May 2025 12:09:30 -0400
Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::] helo=mail.ditigal.xyz)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <rutherther@HIDDEN>)
 id 1uDmlU-00089J-Na
 for bug-guix@HIDDEN; Sat, 10 May 2025 12:09:30 -0400
Received: by cerebrum (OpenSMTPD) with ESMTPSA id e7b7e177
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <bug-guix@HIDDEN>;
 Sat, 10 May 2025 16:09:25 +0000 (UTC)
From: Rutherther <rutherther@HIDDEN>
Date: Sat, 10 May 2025 18:09:24 +0200
Message-ID: <87r00wjvm3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz;
 i=@ditigal.xyz; q=dns/txt; s=20240917; t=1746893366; h=from : to :
 subject : date : message-id : mime-version : content-type :
 content-transfer-encoding : from;
 bh=6oUEoxsWABqsQfr8v/oSTP0n/fF+XZ+f4TBiQkucvy4=;
 b=nhYGirbELcXNRAOFA9AL7vVzir9l6FKPy9o5PCTmzcqOiN/rS3VYP4pCRhsVgMCCSsdFC
 Y+KY//H0/0FiGby6KbvwOlWmiRqij/5ck+pUrhw8K4oNyIptKFzjV1w6k+XyL5QNw60I0ce
 fQXNNSi25m/vbf6RfbJG7s2r7tXZ5tM=
Received-SPF: pass client-ip=2a01:4f8:1c1b:6a1c::;
 envelope-from=rutherther@HIDDEN; helo=mail.ditigal.xyz
X-Spam_score_int: 4
X-Spam_score: 0.4
X-Spam_bar: /
X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499,
 FROM_SUSPICIOUS_NTLD_FP=0.001, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 3.4 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: Seems that the recent commit 'Lock mounts by default'
 a57ed987ffd1452ba5a4d70feb54893e99b8e076
 has broken both guix system container and guix home container. For system
 container, the system container [...] 
 Content analysis details:   (3.4 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: ditigal.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;
 id=rutherther%40ditigal.xyz; ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD
 0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.4 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Seems that the recent commit 'Lock mounts by default' a57ed987ffd1452ba5a4d70feb54893e99b8e076
    has broken both guix system container and guix home container. For system
    container, the system container [...] 
 
 Content analysis details:   (2.4 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2001:470:142:0:0:0:0:17 listed in]
                             [list.dnswl.org]
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
  0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom;id=rutherther%40ditigal.xyz;ip=2001%3A470%3A142%3A%3A17;r=debbugs.gnu.org]
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager


Seems that the recent commit 'Lock mounts by default'
a57ed987ffd1452ba5a4d70feb54893e99b8e076 has broken both guix system
container and guix home container. For system container, the system
container command finishes fine, but then running the run-container
script fails. For home container the command itself errors out, since
it's what is starting the container as well.

Here are the backtraces:
guix system:
```
Backtrace:
           7 (primitive-load "/gnu/store/p3m2srwhv49gv1lk2yi4i73b9mn=E2=80=
=A6")
In gnu/build/linux-container.scm:
    368:8  6 (call-with-temporary-directory #<procedure 7f02cddd1af0=E2=80=
=A6>)
   476:16  5 (_ "/tmp/guix-directory.DGavex")
     62:6  4 (call-with-clean-exit #<procedure 7f02ce52ab80 at gnu/b=E2=80=
=A6>)
   323:22  3 (_)
    215:2  2 (initialize-user-namespace 1 65536 #:host-uid _ # _ # _ =E2=80=
=A6)
In ice-9/ports.scm:
    435:6  1 (call-with-output-file _ _ #:binary _ #:encoding _)
In unknown file:
           0 (close-port #<output: /proc/1/uid_map 6>)

ERROR: In procedure close-port:
In procedure fport_write: Operation not permitted
system container is running as PID #f
Run 'sudo guix container exec #f /run/current-system/profile/bin/bash --log=
in'
or run 'sudo nsenter -a -t #f' to get a shell into it.

Backtrace:
           3 (primitive-load "/gnu/store/p3m2srwhv49gv1lk2yi4i73b9mn=E2=80=
=A6")
In gnu/build/linux-container.scm:
    368:8  2 (call-with-temporary-directory #<procedure 7f02cddd1af0=E2=80=
=A6>)
    485:7  1 (_ "/tmp/guix-directory.DGavex")
In unknown file:
           0 (waitpid #f #<undefined>)
```

guix home:
```
Backtrace:
In ice-9/boot-9.scm:
  1752:10 14 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
          13 (apply-smob/0 #<thunk 7fe026e942a0>)
In ice-9/boot-9.scm:
    724:2 12 (call-with-prompt _ _ #<procedure default-prompt-handle?>)
In ice-9/eval.scm:
    619:8 11 (_ #(#(#<directory (guile-user) 7fe026e99c80>)))
In ice-9/command-line.scm:
   185:19 10 (_ #<input: string 7fe026e93850>)
In unknown file:
           9 (eval (begin (use-modules (guix build utils) (# ?)) # ?) ?)
In ice-9/eval.scm:
    619:8  8 (_ #f)
In unknown file:
           7 (primitive-load "/gnu/store/9kr07956x74cs9cql5jj3kdvb7f?")
In ice-9/eval.scm:
    619:8  6 (_ #(#(#(#(#(#(#(#(#(#(#<?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
   626:19  5 (_ #(#(#(#(#(#(#(#(#(#(#<?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
    619:8  4 (_ #(#(#(#(#(#(#(#(#(#(#<?> ?) ?) ?) ?) ?) ?) ?) ?) ?) ?))
In unknown file:
           3 (primitive-load "/gnu/store/j7v0sgg2grb9x8n6h2xh2cyvyf7?")
In ice-9/eval.scm:
   293:34  2 (_ #(#(#(#(#(#(#<directory (guile-use?> ?) ?) ?) ?) ?) ?))
In ice-9/ports.scm:
   450:11  1 (call-with-input-file _ #<procedure 7fe01d5b3a60 at ic?> ?)
In unknown file:
           0 (open-file #<unspecified> "r" #:encoding #f # #f)

ERROR: In procedure open-file:
Wrong type (expecting string): #<unspecified>
```

Additionally at one moment I was able to get an error message with guix
home that unshare has gotten an invalid argument, the argument was just
a number.

Unfortunately I was not able to understand what the issue is to fix it.

Regards
Rutherther




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Rutherther <rutherther@HIDDEN>
Subject: bug#78356: Acknowledgement (Broken system and home containers)
Message-ID: <handler.78356.B.17468933809146.ack <at> debbugs.gnu.org>
References: <87r00wjvm3.fsf@HIDDEN>
X-Gnu-PR-Message: ack 78356
X-Gnu-PR-Package: guix
Reply-To: 78356 <at> debbugs.gnu.org
Date: Sat, 10 May 2025 16:10:01 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  ludo@HIDDEN
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 78356 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
78356: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D78356
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 11 May 2025 14:59:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun May 11 10:59:51 2025
Received: from localhost ([127.0.0.1]:36963 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uE89d-0003rS-VV
	for submit <at> debbugs.gnu.org; Sun, 11 May 2025 10:59:51 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:51130)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uE89R-0003pR-VF
 for control <at> debbugs.gnu.org; Sun, 11 May 2025 10:59:40 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1uE89M-00010M-MP
 for control <at> debbugs.gnu.org; Sun, 11 May 2025 10:59:32 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to:
 references; bh=SAYb6VuyLsaXTTiWR87IiGNoQXvhhXejhXWkyD+erBA=; b=DNmUCdKGH4Mpb2
 o2BKAyCPfwvUperUtQuI7o2Y6G9AELBmCgFKIJ2aC3fIDUq/oK5Sz4UjzR1To8D6kPgA5OIvkpxsc
 QareasLguCTAntIWmq5U2biKXcJHjn74L5JGIzdNVp2DyKzBsYRB0RskJOHG1CnlE/6oTFrI4M94C
 +ed6fjowiyLyBre3UhJTXnoS7zDdqxN2OgE08DUXXb+l9HhY4vx2t5GHqma2h5GdVIOoNrK2+ihCW
 w/CLRQsfskyJuOXfkEyNnLI8OML62b/kxDbU7LSbOxUU/FG9KM+JAnPkcHbIcr5dX9W+k6H7gaA8A
 yED9UFOw5tfoW7oZSSDg==;
Date: Sat, 10 May 2025 18:36:47 +0200
Message-Id: <87selc2zj4.fsf_-_@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #78356
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -1.5 (-)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.5 (--)

severity 78356 important
quit





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 12 May 2025 08:55:03 +0000
Resent-Message-ID: <handler.78356.B78356.174704009715071 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Rutherther <rutherther@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174704009715071
          (code B ref 78356); Mon, 12 May 2025 08:55:03 +0000
Received: (at 78356) by debbugs.gnu.org; 12 May 2025 08:54:57 +0000
Received: from localhost ([127.0.0.1]:50071 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEOw5-0003uw-6h
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 04:54:57 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45040)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uEOvw-0003u6-9i
 for 78356 <at> debbugs.gnu.org; Mon, 12 May 2025 04:54:49 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uEOvq-00033T-U2; Mon, 12 May 2025 04:54:42 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=9GsGOqt8ZbChnqVVTBwyaVHOVluWG80cWD9xGzW2SxM=; b=h8ZiZDFcBc1dLI/Wlr+C
 5/fIODbgbDd+JkJz/PTBzj+PTW88Bo0ah9EY4QwIafkOH9g9y14VADaP7i/cjEnFTI5PtcRT/0fZT
 AIPDWMsCA077J1r3qZB8XaqrCiJDcCrYRpab7eKqkEnCY8LmLmnqcuD3pF4qtk50dXAoZVK+hGZpk
 BpJVy/wTGEud0Sxfq+1GjSEXo+KH37Is56X95E7pNpOHhZNeL82040waaWmz4AGxb8AFS8wWiNga6
 gECJCcGuNfjskmsjgNNa1viY3IJVUfIqs/urN9HhHa08cCR1ZN04yAgHjiyEsI8fepNWqSgSmnJV+
 gbLVg8P0wTF97Q==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87r00wjvm3.fsf@HIDDEN> (rutherther@HIDDEN's message of
 "Sat, 10 May 2025 18:09:24 +0200")
References: <87r00wjvm3.fsf@HIDDEN>
Date: Mon, 12 May 2025 10:54:14 +0200
Message-ID: <87v7q643bd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

Hi,

Rutherther <rutherther@HIDDEN> writes:

> Seems that the recent commit 'Lock mounts by default'
> a57ed987ffd1452ba5a4d70feb54893e99b8e076 has broken both guix system
> container and guix home container. For system container, the system
> container command finishes fine, but then running the run-container
> script fails. For home container the command itself errors out, since
> it's what is starting the container as well.
>
> Here are the backtraces:
> guix system:

Fixed in 437bb9ece55f37d4b5a62cafc98c0c3b848a53ce.

> guix home:

What command did you run, precisely?  I cannot experience it:

--8<---------------cut here---------------start------------->8---
$ guix describe
Generation 345	mai 11 2025 23:03:38	(current)
  shepherd a54a503
    repository URL: https://git.savannah.gnu.org/git/shepherd.git
    branch: main
    commit: a54a503b01f9da4f6fb49d736dcf90da0fe51f1b
  guile af96820
    repository URL: https://git.savannah.gnu.org/git/guile.git
    branch: main
    commit: af96820e072d18c49ac03e80c6f3466d568dc77d
  guix 300d29e
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 300d29e69988caf23684f08effa51f621c7ec083
$ guix home container doc/he-config-bare-bones.scm
substitute: looking for substitutes on 'https://ci.guix.gnu.org'... 100.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 1=
00.0%
substitute: looking for substitutes on 'https://guix.bordeaux.inria.fr'... =
100.0%
The following derivations will be built:
  /gnu/store/3j1dim91nm280hfhfjh9j130f77svhpk-provenance.drv
  /gnu/store/ni8rlk32hbr7s6gyps0dr0lfy7g9c5dl-shepherd.conf.drv
  /gnu/store/4khnkn4rab0p6vv9h99n9yfmk2lm1jwj-on-first-login.drv
  /gnu/store/lm40rfw0y4jank8bw5m05mjkwbw9w1bd-bashrc.drv
  /gnu/store/6as6qxw72lcr90gml6wk8mjib5rj8j87-files.drv
  /gnu/store/dqlgr0jg3kiyzbbc4pmd9vk188sl3kh1-activate.drv
  /gnu/store/qdsfz93g85l509qvw199j2b86nh2iqz8-profile.drv
  /gnu/store/jig19g154iqhp7yml0yd93g3rqhf855k-home.drv

building /gnu/store/3j1dim91nm280hfhfjh9j130f77svhpk-provenance.drv...
building /gnu/store/lm40rfw0y4jank8bw5m05mjkwbw9w1bd-bashrc.drv...
building CA certificate bundle...
listing Emacs sub-directories...
building /gnu/store/ni8rlk32hbr7s6gyps0dr0lfy7g9c5dl-shepherd.conf.drv...
building profile with 3 packages...
building /gnu/store/dqlgr0jg3kiyzbbc4pmd9vk188sl3kh1-activate.drv...
building /gnu/store/6as6qxw72lcr90gml6wk8mjib5rj8j87-files.drv...
building /gnu/store/4khnkn4rab0p6vv9h99n9yfmk2lm1jwj-on-first-login.drv...
building /gnu/store/jig19g154iqhp7yml0yd93g3rqhf855k-home.drv...
The following derivations will be built:
  /gnu/store/si9ibx12dkqir83z7bd0bic06d9a0p9q-module-import.drv
  /gnu/store/md9kdf2whka0gnaylhypbrw760184wk1-home-system-profile.drv

building profile with 1 package...
building /gnu/store/si9ibx12dkqir83z7bd0bic06d9a0p9q-module-import.drv...
WARNING: (guile-user): imported module (guix build utils) overrides core bi=
nding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core bi=
nding `delete'
Symlinking /home/ludo/.bashrc -> /gnu/store/b9ppn0jdrda5h88mw5x35m2jvms8izw=
6-bashrc... done
Symlinking /home/ludo/.bash_profile -> /gnu/store/gghay5fzpad5w7082nnk6z9lj=
7q00drv-bash_profile... done
Symlinking /home/ludo/.profile -> /gnu/store/vvxqfhlkpi90bgmfh1b03kkwfq7pmf=
kk-shell-profile... done
Symlinking /home/ludo/.config/test.conf -> /gnu/store/i8wsnvh1q8lbgyf50vapf=
sn2rfj7a2nc-tmp-file.txt... done
Symlinking /home/ludo/.config/fontconfig/fonts.conf -> /gnu/store/mw4clgkwj=
3rvlnfv0gd694aabvamr0sa-fonts.conf... done
Symlinking /home/ludo/.config/shepherd/init.scm -> /gnu/store/ysg5icpancicn=
1hi2gfd1q3xvmmgb8lf-shepherd.conf... done
 done
Finished updating symlinks.

Comparing /gnu/store/non-existing-generation/profile/share/fonts and
          /gnu/store/9ylfbl50dlng3rqp1kvd3qalr87yyjcl-home/profile/share/fo=
nts... done (same)
Evaluating on-change gexps.

On-change gexps evaluation finished.

ludo@ribbon ~$ id
uid=3D1000(ludo) gid=3D1000(users) groups=3D1000(users),65534(overflow)
ludo@ribbon ~$ ls
ludo@ribbon ~$ logout
--8<---------------cut here---------------end--------------->8---

Thanks,
Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Rutherther <rutherther@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 12 May 2025 09:16:02 +0000
Resent-Message-ID: <handler.78356.B78356.174704135219769 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174704135219769
          (code B ref 78356); Mon, 12 May 2025 09:16:02 +0000
Received: (at 78356) by debbugs.gnu.org; 12 May 2025 09:15:52 +0000
Received: from localhost ([127.0.0.1]:50159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEPGJ-00058n-Eo
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 05:15:51 -0400
Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:52766 helo=mail.ditigal.xyz)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rutherther@HIDDEN>)
 id 1uEPGB-00058G-Sv
 for 78356 <at> debbugs.gnu.org; Mon, 12 May 2025 05:15:46 -0400
Received: by cerebrum (OpenSMTPD) with ESMTPSA id 519a3c73
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Mon, 12 May 2025 09:15:35 +0000 (UTC)
From: Rutherther <rutherther@HIDDEN>
In-Reply-To: <87v7q643bd.fsf@HIDDEN>
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
Date: Mon, 12 May 2025 11:15:33 +0200
Message-ID: <871psuxk96.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz;
 i=@ditigal.xyz; q=dns/txt; s=20240917; t=1747041335; h=from : to : cc
 : subject : in-reply-to : references : date : message-id :
 mime-version : content-type : content-transfer-encoding : from;
 bh=BRo+vXiHn56/QtbMo2gyxkKQlkDvGMBFWYsdYw1xooU=;
 b=cErKikeZnKuUu+C2xWCSC/IF8gjAkhpZVq/Cns3rYkWlTvRvSEomahKzAoJshK/ZvEBfO
 I24Al6ih6HOyx32i2QmsuSr9noN0aw7ZgcMExqHpikbNsMvSsV4sVU6XqNq8lIh6FXUfFsp
 CYfMs5BS2Qs59XDqHpk2RtSm1kaA4WY=
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi Ludo Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > > What command
    did you run, precisely? I cannot experience it: For home, I tried my own
   config, and since I was pretty sure any system container is affected (tried
    a simple one, my one and I know one other person reported this in Matrix
   channel), I didn't try any [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi Ludo Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > > What command
    did you run, precisely? I cannot experience it: For home, I tried my own
   config, and since I was pretty sure any system container is affected (tried
    a simple one, my one and I know one other person reported this in Matrix
   channel), I didn't try any [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager


Hi Ludo

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>
> What command did you run, precisely?  I cannot experience it:

For home, I tried my own config, and since I was pretty sure any system
container is affected (tried a simple one, my one and I know one other
person reported this in Matrix channel), I didn't try anything simpler
and just assumed all homes are going to be affected as well.
Now trying simpler config you mentioned, that one works fine.

The command was `guix home container -L ./home/modules ./home/home-containe=
r.scm`
in my repository. It's here https://git.ditigal.xyz/~ruther/guix-config.
Any idea what service could cause this behavior with lock-mounts? Would
be good to isolate it, but I am not sure where to start.

Here is the unshare error I was talking about earlier:
> guix home: error: unshare: 268566528: Invalid argument
Now I am getting it consistently, before it was missing sometimes.
Currently on
```
> ./target/guix/bin/guix describe
  guix 300d29e
    repository URL: https://codeberg.org/guix/guix-mirror
    branch: master
    commit: 300d29e69988caf23684f08effa51f621c7ec083
  nonguix 1940698
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: 19406981a9bf9d0b140180f1f3008cb91f716b4b
  ruther 1a49e47
    repository URL: https://git.ditigal.xyz/~ruther/guix-exprs
    branch: main
    commit: 1a49e4760bd922237532fa2eee44bc9e1fe42399
  rde bf8f628
    repository URL: https://git.sr.ht/~abcdw/rde
    branch: master
    commit: bf8f628c4deb9acc94e261db80d301048ea1f0a2
```

Thanks
Rutherther




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 12 May 2025 09:55:03 +0000
Resent-Message-ID: <handler.78356.B78356.174704364627607 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Rutherther <rutherther@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174704364627607
          (code B ref 78356); Mon, 12 May 2025 09:55:03 +0000
Received: (at 78356) by debbugs.gnu.org; 12 May 2025 09:54:06 +0000
Received: from localhost ([127.0.0.1]:50324 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEPrK-0007BA-3R
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 05:54:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55214)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uEPrG-0007AM-3u
 for 78356 <at> debbugs.gnu.org; Mon, 12 May 2025 05:54:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uEPrA-0000j3-9J; Mon, 12 May 2025 05:53:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=jcznZU4ZI51rZqodMXdS94EVx4O1J3zUJV0sth4Ppho=; b=oWOtkoeE6O32Wcofs+5r
 bddSXVlU+zkJErn1nUcTcIfuNU1WHavJ0wpzM4N4IbjsNLCzcbJ1PSgoQiQzO/Yoxz/XPXbjL/ICX
 ZIsWyagY67E+nWyI3rL4FhIFFrYv0wWVoVKXyVvsIPZBuxMzTzO6/yDanYKCO49Fq3RcMN+MCl/Ac
 SrM3VNpDo8rY8LBQNl4RWrElytlN/m4SjUNyDR0okiIpmty+6PITUvOUrr+NerqKntXLz1oQLRNoU
 h77Nt+1uU4bTk29S8HrapM3Ej7U/5xmpyCbNw4KRB91u3zWkU5e4Q0vKCAqpB93Bvmlw76haULreR
 xUDaR/vmypLBZg==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <871psuxk96.fsf@HIDDEN> (rutherther@HIDDEN's message of
 "Mon, 12 May 2025 11:15:33 +0200")
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 29.4
X-URL: https://people.bordeaux.inria.fr/lcourtes/
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
X-Revolutionary-Date: Tridi 23 =?UTF-8?Q?Flor=C3=A9al?= an 233 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour de la Bourrache
Date: Mon, 12 May 2025 11:45:12 +0200
Message-ID: <87r00u2mdz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

Hi,

Rutherther <rutherther@HIDDEN> writes:

> The command was `guix home container -L ./home/modules ./home/home-contai=
ner.scm`
> in my repository. It's here https://git.ditigal.xyz/~ruther/guix-config.
> Any idea what service could cause this behavior with lock-mounts? Would
> be good to isolate it, but I am not sure where to start.
>
> Here is the unshare error I was talking about earlier:
>> guix home: error: unshare: 268566528: Invalid argument
> Now I am getting it consistently, before it was missing sometimes.

Could you copy paste the command and its output, to be sure there=E2=80=99s=
 no
misunderstanding?

This is on Guix System, right?

Thanks,
Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Rutherther <rutherther@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 12 May 2025 10:30:02 +0000
Resent-Message-ID: <handler.78356.B78356.17470457762614 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.17470457762614
          (code B ref 78356); Mon, 12 May 2025 10:30:02 +0000
Received: (at 78356) by debbugs.gnu.org; 12 May 2025 10:29:36 +0000
Received: from localhost ([127.0.0.1]:50545 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEQPf-0000g5-Og
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 06:29:36 -0400
Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:46124 helo=mail.ditigal.xyz)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rutherther@HIDDEN>)
 id 1uEQPb-0000fn-Rr
 for 78356 <at> debbugs.gnu.org; Mon, 12 May 2025 06:29:33 -0400
Received: by cerebrum (OpenSMTPD) with ESMTPSA id 9e9125bd
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Mon, 12 May 2025 10:29:24 +0000 (UTC)
From: Rutherther <rutherther@HIDDEN>
In-Reply-To: <87r00u2mdz.fsf@HIDDEN>
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87r00u2mdz.fsf@HIDDEN>
Date: Mon, 12 May 2025 12:29:23 +0200
Message-ID: <87ecwuazr0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz;
 i=@ditigal.xyz; q=dns/txt; s=20240917; t=1747045765; h=from : to : cc
 : subject : in-reply-to : references : date : message-id :
 mime-version : content-type : content-transfer-encoding : from;
 bh=G41h4/bhRPsexN1M4VRcQr7TBqtOD8y34LsPKMLlp88=;
 b=b/MObTnFD9UNUj77V2Ss2gZa5h+RDlL2fUB+sEuAdj6haHOBIWgRVeVUqAMTe8Ct/2dmv
 TMnxSRZxI+qZ4BVIaX7RCrWQ3aUmIgrRtyyogKF76QvHfzgjE4loVGq5N5sOCpfUofW43gA
 3wsHz0UsWaC7oOwI5+PykjM/pZB0wNs=
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > Hi, > > Rutherther
    <rutherther@HIDDEN> writes: > >> The command was `guix home container
    -L ./home/modules ./home/home-container.scm` >> in my repository. It's here
    https://git.ditigal.xyz/~rut [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > Hi, > > Rutherther
    <rutherther@HIDDEN> writes: > >> The command was `guix home container
    -L ./home/modules ./home/home-container.scm` >> in my repository. It's here
    https://git.ditigal.xyz/~rut [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Rutherther <rutherther@HIDDEN> writes:
>
>> The command was `guix home container -L ./home/modules ./home/home-conta=
iner.scm`
>> in my repository. It's here https://git.ditigal.xyz/~ruther/guix-config.
>> Any idea what service could cause this behavior with lock-mounts? Would
>> be good to isolate it, but I am not sure where to start.
>>
>> Here is the unshare error I was talking about earlier:
>>> guix home: error: unshare: 268566528: Invalid argument
>> Now I am getting it consistently, before it was missing sometimes.
>
> Could you copy paste the command and its output, to be sure there=E2=80=
=99s no
> misunderstanding?

Sure

--8<---------------cut here---------------start------------->8---
[ruther:~/.setup] main(+68/-13)* 15s =C2=B1=20
> ./target/guix/bin/guix home container -L ./home/modules ./home/home-confi=
guration.scm=20
guix home: warning: failed to load '(ruther home channels-emacs)':
no code for module (ruther home channels-emacs)
ruther/home/channels-emacs.scm:1:0: warning: module name (channels) does no=
t match file name 'ruther/home/channels-emacs.scm'
hint: File `./home/modules/ruther/home/channels-emacs.scm' should probably =
start with:

     (define-module (ruther home channels-emacs))

guix home: warning: ambiguous package specification `font-ubuntu'
guix home: warning: choosing font-ubuntu@HIDDEN from ruther/home/fonts.scm:8:2
guix home: error: unshare: 268566528: Invalid argument
Backtrace:
          18 (primitive-load "/home/ruther/.setup/./target/guix/bin/=E2=80=
=A6")
In guix/ui.scm:
   2369:7 17 (run-guix . _)
  2332:10 16 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 15 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    859:3 14 (_)
    839:4 13 (call-with-status-report _ _)
In guix/scripts/home.scm:
    547:4 12 (_)
In ice-9/boot-9.scm:
  1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   690:37 10 (thunk)
   1331:8  9 (call-with-build-handler _ _)
   1331:8  8 (call-with-build-handler _ _)
   1331:8  7 (call-with-build-handler #<procedure 7fa85bf53930 at g=E2=80=
=A6> =E2=80=A6)
  2212:25  6 (run-with-store #<store-connection 256.100 7fa85cec65a0> =E2=
=80=A6)
In guix/scripts/home.scm:
   465:14  5 (_ _)
In gnu/system/linux-container.scm:
   349:17  4 (_ _)
In gnu/build/linux-container.scm:
    485:7  3 (call-with-container _ _ #:namespaces _ #:host-uids _ # =E2=80=
=A6)
In unknown file:
           2 (waitpid #f #<undefined>)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Wrong type (expecting exact integer): #f
=CE=B861=C2=B0 [ruther:~/.setup] main(+68/-13)* 58s 1 =C2=B1=20
> ./target/guix/bin/guix describe=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
  guix 300d29e
    repository URL: https://codeberg.org/guix/guix-mirror
    branch: master
    commit: 300d29e69988caf23684f08effa51f621c7ec083
  nonguix 1940698
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: 19406981a9bf9d0b140180f1f3008cb91f716b4b
  ruther 1a49e47
    repository URL: https://git.ditigal.xyz/~ruther/guix-exprs
    branch: main
    commit: 1a49e4760bd922237532fa2eee44bc9e1fe42399
  rde bf8f628
    repository URL: https://git.sr.ht/~abcdw/rde
    branch: master
    commit: bf8f628c4deb9acc94e261db80d301048ea1f0a2
--8<---------------cut here---------------end--------------->8---

>
> This is on Guix System, right?

Yes

>
> Thanks,
> Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 12 May 2025 11:58:02 +0000
Resent-Message-ID: <handler.78356.B78356.174705102531996 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Rutherther <rutherther@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174705102531996
          (code B ref 78356); Mon, 12 May 2025 11:58:02 +0000
Received: (at 78356) by debbugs.gnu.org; 12 May 2025 11:57:05 +0000
Received: from localhost ([127.0.0.1]:50942 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uERmK-0008K0-JH
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 07:57:04 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:57300)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uERmI-0008J9-CH
 for 78356 <at> debbugs.gnu.org; Mon, 12 May 2025 07:57:02 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uERmB-0007m7-VJ; Mon, 12 May 2025 07:56:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=sNY3vJ6fjoNX6iI0Cp6j8iyu3IdjGw/N0NPb2sAa1UA=; b=itYlZIUnzia5J9rH3yW0
 eO8VaxmuaVFUTHlrDDp9P5AkBviWdJXoYHJaeuwzRWmpPwpdQ1BQitiSoeuPkf7kkgSXrxx08VyZO
 ER6zI3fv/ZIQqUrplxcg8aNqwdJxj3KgUhiy6yx4WbpGQLqj7fymET5HiiyQa4Szl75ips1bPs5kQ
 hA8EVQCiqtllv9IWK0L/YFVegWSD6qVt4UOteN/Y+AOhwVnyEM6DHIYlhZyaC3JPCPTOp1bKx9bYg
 Y1ft5gdBJ0AwjBtSKTTAZP0SGmiGaFsPk2VYknPJq+sYOhcQZpGDJy9/GZGMo90g5A55VGEOlKGv8
 Mff1CwQWaPk1kg==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87ecwuazr0.fsf@HIDDEN> (rutherther@HIDDEN's message of
 "Mon, 12 May 2025 12:29:23 +0200")
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87r00u2mdz.fsf@HIDDEN>
 <87ecwuazr0.fsf@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 29.4
X-URL: https://people.bordeaux.inria.fr/lcourtes/
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
X-Revolutionary-Date: Tridi 23 =?UTF-8?Q?Flor=C3=A9al?= an 233 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour de la Bourrache
Date: Mon, 12 May 2025 13:43:57 +0200
Message-ID: <874ixq2gw2.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

Hi,

Rutherther <rutherther@HIDDEN> writes:

> --8<---------------cut here---------------start------------->8---
> [ruther:~/.setup] main(+68/-13)* 15s =C2=B1=20
>> ./target/guix/bin/guix home container -L ./home/modules ./home/home-conf=
iguration.scm=20
> guix home: warning: failed to load '(ruther home channels-emacs)':
> no code for module (ruther home channels-emacs)
> ruther/home/channels-emacs.scm:1:0: warning: module name (channels) does =
not match file name 'ruther/home/channels-emacs.scm'
> hint: File `./home/modules/ruther/home/channels-emacs.scm' should probabl=
y start with:
>
>      (define-module (ruther home channels-emacs))
>
> guix home: warning: ambiguous package specification `font-ubuntu'
> guix home: warning: choosing font-ubuntu@HIDDEN from ruther/home/fonts.scm:=
8:2
> guix home: error: unshare: 268566528: Invalid argument

Is this from within a container?

Does =E2=80=98guix shell -C coreutils=E2=80=99 work?

Thanks,
Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Rutherther <rutherther@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 12 May 2025 12:34:02 +0000
Resent-Message-ID: <handler.78356.B78356.17470531827197 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.17470531827197
          (code B ref 78356); Mon, 12 May 2025 12:34:02 +0000
Received: (at 78356) by debbugs.gnu.org; 12 May 2025 12:33:02 +0000
Received: from localhost ([127.0.0.1]:51147 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uESL7-0001rm-GB
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 08:33:02 -0400
Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:43918 helo=mail.ditigal.xyz)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rutherther@HIDDEN>)
 id 1uESL3-0001r7-1e
 for 78356 <at> debbugs.gnu.org; Mon, 12 May 2025 08:32:58 -0400
Received: by cerebrum (OpenSMTPD) with ESMTPSA id 845cbb2e
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Mon, 12 May 2025 12:32:49 +0000 (UTC)
From: Rutherther <rutherther@HIDDEN>
In-Reply-To: <874ixq2gw2.fsf@HIDDEN>
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87r00u2mdz.fsf@HIDDEN>
 <87ecwuazr0.fsf@HIDDEN> <874ixq2gw2.fsf@HIDDEN>
Date: Mon, 12 May 2025 14:32:47 +0200
Message-ID: <87a57iau1c.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz;
 i=@ditigal.xyz; q=dns/txt; s=20240917; t=1747053169; h=from : to : cc
 : subject : in-reply-to : references : date : message-id :
 mime-version : content-type : content-transfer-encoding : from;
 bh=feSWfzr+yFY808grvdjdc7IfKIKehHqkV2nRb53asaM=;
 b=namaDEI012wEqCnC2CaQilQItMndRB/WaNUcb9ernZ4oO7CV2KAuPMtfbCRQC5ebgyvxU
 O0iddq/8uN7lcHf4gvMi2Bra6T26L6iFDFQfhiH3E6i5e8JX77h+RVhxiVkRxkMRIeDnYBw
 MICfZuGSMawHJQbzJZ0++w+R5cqX9vA=
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > Hi, > > Rutherther
    <rutherther@HIDDEN> writes: > >> --8<cut herestart>8--- >> [ruther:~/.setup]
    main(+68/-13)* 15s =?UTF-8?Q?=C2=B1?= >>> ./target/guix/bin/guix home [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > Hi, > > Rutherther
    <rutherther@HIDDEN> writes: > >> --8<cut herestart>8--- >> [ruther:~/.setup]
    main(+68/-13)* 15s =?UTF-8?Q?=C2=B1?= >>> ./target/guix/bin/guix home [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Rutherther <rutherther@HIDDEN> writes:
>
>> --8<---------------cut here---------------start------------->8---
>> [ruther:~/.setup] main(+68/-13)* 15s =C2=B1=20
>>> ./target/guix/bin/guix home container -L ./home/modules ./home/home-con=
figuration.scm=20
>> guix home: warning: failed to load '(ruther home channels-emacs)':
>> no code for module (ruther home channels-emacs)
>> ruther/home/channels-emacs.scm:1:0: warning: module name (channels) does=
 not match file name 'ruther/home/channels-emacs.scm'
>> hint: File `./home/modules/ruther/home/channels-emacs.scm' should probab=
ly start with:
>>
>>      (define-module (ruther home channels-emacs))
>>
>> guix home: warning: ambiguous package specification `font-ubuntu'
>> guix home: warning: choosing font-ubuntu@HIDDEN from ruther/home/fonts.scm=
:8:2
>> guix home: error: unshare: 268566528: Invalid argument
>
> Is this from within a container?

No.

>
> Does =E2=80=98guix shell -C coreutils=E2=80=99 work?

Yes, shell containers work fine for me, it was just home and system
where I saw an issue. As I pointed out earlier the home container in
guix source tree works for me. So it's triggered by something in my home
setup.

>> --8<---------------cut here---------------start------------->8---
[ruther:~/doc/projects/git_clones/guix] issue/78308(9)* 130 =C2=B1
> ~/.setup/target/guix/bin/guix home container doc/he-config-bare-bones.scm=
=20
substitute: looking for substitutes on 'https://substitutes.nonguix.org'...=
 100.0%
substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 1=
00.0%
substitute: looking for substitutes on 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/1d031p7xkmhhcjw4qqs0cwhfh8p004q7-shepherd-timer.scm.drv
  /gnu/store/54csgxblx2i5c8r03ywxpda1wv8blz61-shepherd-transient.scm.drv
  /gnu/store/k8s4j84qrly49hd1adihjcq106hx0a6c-shepherd-log-rotation.scm.drv
  /gnu/store/ni8rlk32hbr7s6gyps0dr0lfy7g9c5dl-shepherd.conf.drv
  /gnu/store/4khnkn4rab0p6vv9h99n9yfmk2lm1jwj-on-first-login.drv
  /gnu/store/6as6qxw72lcr90gml6wk8mjib5rj8j87-files.drv
  /gnu/store/as14p3xl0n3hgxi5lac7w0gdcjilbr2g-provenance.drv
  /gnu/store/dqlgr0jg3kiyzbbc4pmd9vk188sl3kh1-activate.drv
  /gnu/store/nkhmbvy8hkwkafb7fq1f14by0mrnd046-home.drv

building /gnu/store/as14p3xl0n3hgxi5lac7w0gdcjilbr2g-provenance.drv...
building /gnu/store/k8s4j84qrly49hd1adihjcq106hx0a6c-shepherd-log-rotation.=
scm.drv...
building /gnu/store/1d031p7xkmhhcjw4qqs0cwhfh8p004q7-shepherd-timer.scm.drv=
...
building /gnu/store/54csgxblx2i5c8r03ywxpda1wv8blz61-shepherd-transient.scm=
.drv...
building /gnu/store/ni8rlk32hbr7s6gyps0dr0lfy7g9c5dl-shepherd.conf.drv...
building /gnu/store/dqlgr0jg3kiyzbbc4pmd9vk188sl3kh1-activate.drv...
building /gnu/store/6as6qxw72lcr90gml6wk8mjib5rj8j87-files.drv...
building /gnu/store/4khnkn4rab0p6vv9h99n9yfmk2lm1jwj-on-first-login.drv...
building /gnu/store/nkhmbvy8hkwkafb7fq1f14by0mrnd046-home.drv...
WARNING: (guile-user): imported module (guix build utils) overrides core bi=
nding `delete'
WARNING: (guile-user): imported module (guix build utils) overrides core bi=
nding `delete'
Symlinking /home/ruther/.bash_profile -> /gnu/store/gghay5fzpad5w7082nnk6z9=
lj7q00drv-bash_profile... done
Symlinking /home/ruther/.profile -> /gnu/store/vvxqfhlkpi90bgmfh1b03kkwfq7p=
mfkk-shell-profile... done
Symlinking /home/ruther/.bashrc -> /gnu/store/b9ppn0jdrda5h88mw5x35m2jvms8i=
zw6-bashrc... done
Symlinking /home/ruther/.config/test.conf -> /gnu/store/i8wsnvh1q8lbgyf50va=
pfsn2rfj7a2nc-tmp-file.txt... done
Symlinking /home/ruther/.config/fontconfig/fonts.conf -> /gnu/store/mw4clgk=
wj3rvlnfv0gd694aabvamr0sa-fonts.conf... done
Symlinking /home/ruther/.config/shepherd/init.scm -> /gnu/store/ysg5icpanci=
cn1hi2gfd1q3xvmmgb8lf-shepherd.conf... done
 done
Finished updating symlinks.

Comparing /gnu/store/non-existing-generation/profile/share/fonts and
          /gnu/store/84kwxidarhpibps26xyqbdpj5lfk1s37-home/profile/share/fo=
nts... done (same)
Evaluating on-change gexps.

On-change gexps evaluation finished.

This is the Z Shell configuration function for new users,
zsh-newuser-install.
You are seeing this message because you have no zsh startup files
(the files .zshenv, .zprofile, .zshrc, .zlogin in the directory
~).  This function can help you with a few settings that should
make your use of the shell easier.

You can:

(q)  Quit and do nothing.  The function will be run again next time.

(0)  Exit, creating the file ~/.zshrc containing just a comment.
     That will prevent this function being run again.

(1)  Continue to the main menu.

--- Type one of the keys in parentheses --- 0
--8<---------------cut here---------------end--------------->8---




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Rutherther <rutherther@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Mon, 12 May 2025 12:47:02 +0000
Resent-Message-ID: <handler.78356.B78356.174705396910149 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174705396910149
          (code B ref 78356); Mon, 12 May 2025 12:47:02 +0000
Received: (at 78356) by debbugs.gnu.org; 12 May 2025 12:46:09 +0000
Received: from localhost ([127.0.0.1]:51227 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uESXo-0002dc-P6
	for submit <at> debbugs.gnu.org; Mon, 12 May 2025 08:46:09 -0400
Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:39052 helo=mail.ditigal.xyz)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rutherther@HIDDEN>)
 id 1uESXi-0002ca-8J
 for 78356 <at> debbugs.gnu.org; Mon, 12 May 2025 08:46:03 -0400
Received: by cerebrum (OpenSMTPD) with ESMTPSA id a080c6c5
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Mon, 12 May 2025 12:45:55 +0000 (UTC)
From: Rutherther <rutherther@HIDDEN>
In-Reply-To: <87v7q643bd.fsf@HIDDEN>
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
Date: Mon, 12 May 2025 14:45:53 +0200
Message-ID: <877c2matfi.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz;
 i=@ditigal.xyz; q=dns/txt; s=20240917; t=1747053955; h=from : to : cc
 : subject : in-reply-to : references : date : message-id :
 mime-version : content-type : content-transfer-encoding : from;
 bh=50rJTE1T2m0DaQkLiXaAWXeL1N4wOCu8im4dm2tTFl0=;
 b=bUFMUlkgUVxEXjVQc9we1Xs+N6Goa65+aZd4lLqLXpfYjx8glrejbOcdzmMjffvmmYAkW
 b+Y2248IbS2EcQLqFnIsWrLzUx8+cyH8WDbCHqTZAshOLF+sl1696h0XGVTEO6QqrMu2fYv
 Yzro0eQZeNG21SVsFbRu2uPAEwFEK1k=
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > Hi, > > Rutherther
    <rutherther@HIDDEN> writes: >> Here are the backtraces: >> guix system:
    > > Fixed in 437bb9ece55f37d4b5a62cafc98c0c3b848a53ce. Confirmed. 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > Hi, > > Rutherther
    <rutherther@HIDDEN> writes: >> Here are the backtraces: >> guix system:
    > > Fixed in 437bb9ece55f37d4b5a62cafc98c0c3b848a53ce. Confirmed. 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Rutherther <rutherther@HIDDEN> writes:
>> Here are the backtraces:
>> guix system:
>
> Fixed in 437bb9ece55f37d4b5a62cafc98c0c3b848a53ce.

Confirmed.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 13 May 2025 15:23:02 +0000
Resent-Message-ID: <handler.78356.B78356.174714976815306 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Rutherther <rutherther@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174714976815306
          (code B ref 78356); Tue, 13 May 2025 15:23:02 +0000
Received: (at 78356) by debbugs.gnu.org; 13 May 2025 15:22:48 +0000
Received: from localhost ([127.0.0.1]:60970 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uErSw-0003yl-O1
	for submit <at> debbugs.gnu.org; Tue, 13 May 2025 11:22:48 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39998)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uErSt-0003yT-2s
 for 78356 <at> debbugs.gnu.org; Tue, 13 May 2025 11:22:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uErSn-0005pf-Bb; Tue, 13 May 2025 11:22:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=hA39Mg4Dj2dsre4pqc9RWQ3TqzOyeOa5tSBMZzr68yg=; b=Mh1iU1Qu+CHAkqY2F3Ir
 0rM9adCpDbZR46DgDEPDojCxZgBuuR7k41EehPEl29Oxom/VysDqFWeAdH8nv5LVeJlSREbBUFBCt
 pqhc3/Uo0kC7iQlZbBzEYJ2zXedeE+ZEDCy0h1w7cLUOmpTn38tppRKoijpTb9SbVl3EgMe+pe6sX
 jNtGnePNVTRZ0o5hTgGA3d2i5eiKk1fAabjc5Gtwl46nALl2dv0+J+kF9dJkP7KHUshI6kTTbVsUW
 qjQzjI3dQRdavRJMCWNGCBuHHHMhK4/fBIuG1uCeFwmHvK3aX5ScNVa8pX+5uWukqxfiDNMb1RfWq
 vPje+dMzxtb7Ow==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87ecwuazr0.fsf@HIDDEN> (rutherther@HIDDEN's message of
 "Mon, 12 May 2025 12:29:23 +0200")
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87r00u2mdz.fsf@HIDDEN>
 <87ecwuazr0.fsf@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 29.4
X-URL: https://people.bordeaux.inria.fr/lcourtes/
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
X-Revolutionary-Date: Quartidi 24 =?UTF-8?Q?Flor=C3=A9al?= an 233 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour de
 la =?UTF-8?Q?Val=C3=A9riane?=
Date: Tue, 13 May 2025 17:21:39 +0200
Message-ID: <87bjrwv8n0.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

Hi,

Rutherther <rutherther@HIDDEN> skribis:

>> ./target/guix/bin/guix home container -L ./home/modules ./home/home-conf=
iguration.scm=20
> guix home: warning: failed to load '(ruther home channels-emacs)':
> no code for module (ruther home channels-emacs)
> ruther/home/channels-emacs.scm:1:0: warning: module name (channels) does =
not match file name 'ruther/home/channels-emacs.scm'
> hint: File `./home/modules/ruther/home/channels-emacs.scm' should probabl=
y start with:
>
>      (define-module (ruther home channels-emacs))
>
> guix home: warning: ambiguous package specification `font-ubuntu'
> guix home: warning: choosing font-ubuntu@HIDDEN from ruther/home/fonts.scm:=
8:2
> guix home: error: unshare: 268566528: Invalid argument

What=E2=80=99s weird is that this seems to happen even before activation.

I cannot audit the whole thing but apparently something in the config
tries to connect to the outside:

--8<---------------cut here---------------start------------->8---
<x home container -L home/modules home/home-configuration.scm=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
Updating channel 'guix' from Git repository at 'https://codeberg.org/guix/g=
uix-mirror'...
guix home: error: failed to load 'home/home-configuration.scm':
web/client.scm:338:10: In procedure open-socket-for-uri:
In procedure getaddrinfo: Servname not supported for ai_socktype
--8<---------------cut here---------------end--------------->8---

Probably use of =E2=80=98current-guix=E2=80=99?

Anyway, do you think you could boil it down to a minimal reproducer?

Thanks,
Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Rutherther <rutherther@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 13 May 2025 17:34:03 +0000
Resent-Message-ID: <handler.78356.B78356.174715759620753 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174715759620753
          (code B ref 78356); Tue, 13 May 2025 17:34:03 +0000
Received: (at 78356) by debbugs.gnu.org; 13 May 2025 17:33:16 +0000
Received: from localhost ([127.0.0.1]:33089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uEtVD-0005Oe-ST
	for submit <at> debbugs.gnu.org; Tue, 13 May 2025 13:33:16 -0400
Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:57526 helo=mail.ditigal.xyz)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rutherther@HIDDEN>)
 id 1uEtVA-0005N4-NM
 for 78356 <at> debbugs.gnu.org; Tue, 13 May 2025 13:33:13 -0400
Received: by cerebrum (OpenSMTPD) with ESMTPSA id 58c67b08
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Tue, 13 May 2025 17:33:05 +0000 (UTC)
From: Rutherther <rutherther@HIDDEN>
In-Reply-To: <87bjrwv8n0.fsf@HIDDEN>
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87r00u2mdz.fsf@HIDDEN>
 <87ecwuazr0.fsf@HIDDEN> <87bjrwv8n0.fsf@HIDDEN>
Date: Tue, 13 May 2025 19:33:03 +0200
Message-ID: <87r00sh0vk.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz;
 i=@ditigal.xyz; q=dns/txt; s=20240917; t=1747157585; h=from : to : cc
 : subject : in-reply-to : references : date : message-id :
 mime-version : content-type : content-transfer-encoding : from;
 bh=yzt6Y705sqvyDkNxF0cbI52GlQ7tczQivHdeLqW6P9o=;
 b=PV0Mv4jte9buzpPLcfqx+uywWjrUTZCI1iPp6PcpCm34wauSuIjyjA0w0zoRd/REPf7Wq
 aUhaqKiwDrRq5xgnI/akjgx4woVrCJD62vJWTYOH2FClygCHc4KLCa31Ea2HhuTwYU6j8T/
 +cCDorfp75ZLycFkMhkyxueRNH1gvvg=
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > Hi, > > Rutherther
    <rutherther@HIDDEN> skribis: > >>> ./target/guix/bin/guix home container
    -L ./home/modules ./home/home-configuration.scm >> guix home: warning: failed
    to load '(ruther home c [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: > Hi, > > Rutherther
    <rutherther@HIDDEN> skribis: > >>> ./target/guix/bin/guix home container
    -L ./home/modules ./home/home-configuration.scm >> guix home: warning: failed
    to load '(ruther home c [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Rutherther <rutherther@HIDDEN> skribis:
>
>>> ./target/guix/bin/guix home container -L ./home/modules ./home/home-con=
figuration.scm=20
>> guix home: warning: failed to load '(ruther home channels-emacs)':
>> no code for module (ruther home channels-emacs)
>> ruther/home/channels-emacs.scm:1:0: warning: module name (channels) does=
 not match file name 'ruther/home/channels-emacs.scm'
>> hint: File `./home/modules/ruther/home/channels-emacs.scm' should probab=
ly start with:
>>
>>      (define-module (ruther home channels-emacs))
>>
>> guix home: warning: ambiguous package specification `font-ubuntu'
>> guix home: warning: choosing font-ubuntu@HIDDEN from ruther/home/fonts.scm=
:8:2
>> guix home: error: unshare: 268566528: Invalid argument
>
> What=E2=80=99s weird is that this seems to happen even before activation.
>
> I cannot audit the whole thing but apparently something in the config
> tries to connect to the outside:
>
> --8<---------------cut here---------------start------------->8---
> <x home container -L home/modules home/home-configuration.scm=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> Updating channel 'guix' from Git repository at 'https://codeberg.org/guix=
/guix-mirror'...
> guix home: error: failed to load 'home/home-configuration.scm':
> web/client.scm:338:10: In procedure open-socket-for-uri:
> In procedure getaddrinfo: Servname not supported for ai_socktype
> --8<---------------cut here---------------end--------------->8---

So this is after the build? I have added inferiors recently for using
Emacs 30, that would explain it before build, but after build I am
clueless why that would happen. Though if it's before build, I am
surprised you got an error like that, unless you were purposefully in
environment without network. I added the inferiors just yesterday,
commit 819ee341ab6bcc9846b099572af185c781b82a1d shouldn't be downloading
anything.

>
> Probably use of =E2=80=98current-guix=E2=80=99?
>
> Anyway, do you think you could boil it down to a minimal reproducer?

I will definitely try to, but probably not today, in a few days,
hopefully by the end of the week.

>
> Thanks,
> Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Tue, 13 May 2025 21:52:03 +0000
Resent-Message-ID: <handler.78356.B78356.174717308231751 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Rutherther <rutherther@HIDDEN>
Cc: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174717308231751
          (code B ref 78356); Tue, 13 May 2025 21:52:03 +0000
Received: (at 78356) by debbugs.gnu.org; 13 May 2025 21:51:22 +0000
Received: from localhost ([127.0.0.1]:35520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uExX0-0008G3-4L
	for submit <at> debbugs.gnu.org; Tue, 13 May 2025 17:51:22 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:38126)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uExWw-0008Fa-Ra
 for 78356 <at> debbugs.gnu.org; Tue, 13 May 2025 17:51:19 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uExWr-0004Ng-7c; Tue, 13 May 2025 17:51:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=SZNLYRMstqadXbAGWGYvTeZPTk8iACOjWUYd8shVEew=; b=qOGqqADiv8vkEwzICIvz
 fwFav95190SpZD1KcxFlHtPSM6p5QcQpgVu9dyvbeUfyBMDb6V6Z1BMH8/R3iXr/DNzNTJ5cRQzJU
 P3YZnl9Cv9CA71khDKLETmdZJtQpoxinwWL6561mGGLy5uwCTJBiRyf8Sc6IFYL+IqgDZSJkedEPM
 QcKxiNS/Wej66cxulJ1v6CET49tFZVkeaLNuVdfdl0szVj7W9Z5Zxi/G3L+2oGWFmMBo28lIwFWUq
 JGztG7qasWmd6PuR4HEodOx/Eqdj5IqMWfuPQVmV0zWm3TR8EwUP2zcMwtr7MaQNkZpbuvVSMJqAp
 7g5ara21BQzVWQ==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87r00sh0vk.fsf@HIDDEN> (rutherther@HIDDEN's message of
 "Tue, 13 May 2025 19:33:03 +0200")
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87r00u2mdz.fsf@HIDDEN>
 <87ecwuazr0.fsf@HIDDEN> <87bjrwv8n0.fsf@HIDDEN>
 <87r00sh0vk.fsf@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 29.4
X-URL: https://people.bordeaux.inria.fr/lcourtes/
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
X-Revolutionary-Date: Quartidi 24 =?UTF-8?Q?Flor=C3=A9al?= an 233 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour de
 la =?UTF-8?Q?Val=C3=A9riane?=
Date: Tue, 13 May 2025 23:42:03 +0200
Message-ID: <87ikm4428k.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.3 (-)

Hi,

Rutherther <rutherther@HIDDEN> writes:

>> --8<---------------cut here---------------start------------->8---
>> <x home container -L home/modules home/home-configuration.scm=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
>> Updating channel 'guix' from Git repository at 'https://codeberg.org/gui=
x/guix-mirror'...
>> guix home: error: failed to load 'home/home-configuration.scm':
>> web/client.scm:338:10: In procedure open-socket-for-uri:
>> In procedure getaddrinfo: Servname not supported for ai_socktype
>> --8<---------------cut here---------------end--------------->8---
>
> So this is after the build? I have added inferiors recently for using
> Emacs 30, that would explain it before build, but after build I am
> clueless why that would happen. Though if it's before build, I am
> surprised you got an error like that, unless you were purposefully in
> environment without network. I added the inferiors just yesterday,
> commit 819ee341ab6bcc9846b099572af185c781b82a1d shouldn't be downloading
> anything.

Yes, I was running it in =E2=80=98guix shell -CW=E2=80=99.

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 15 May 2025 06:26:01 +0000
Resent-Message-ID: <handler.78356.B78356.174729032226944 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Cc: Rutherther <rutherther@HIDDEN>, 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174729032226944
          (code B ref 78356); Thu, 15 May 2025 06:26:01 +0000
Received: (at 78356) by debbugs.gnu.org; 15 May 2025 06:25:22 +0000
Received: from localhost ([127.0.0.1]:50173 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uFS1x-00070V-Rn
	for submit <at> debbugs.gnu.org; Thu, 15 May 2025 02:25:22 -0400
Received: from mail-pj1-x102c.google.com ([2607:f8b0:4864:20::102c]:50259)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1uFS1u-0006xx-3O
 for 78356 <at> debbugs.gnu.org; Thu, 15 May 2025 02:25:19 -0400
Received: by mail-pj1-x102c.google.com with SMTP id
 98e67ed59e1d1-3081f72c271so532451a91.0
 for <78356 <at> debbugs.gnu.org>; Wed, 14 May 2025 23:25:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1747290311; x=1747895111; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=FsZJDBx8/TmB1H9kGHXDK2FbfWCzSDqjz2I1u5CaboQ=;
 b=Ssn9sKWz1WJxM+jOjIkBIPGRXTk/6A1ssjcLDXMtiYuOl4f1y0OZcW1d1gjTsfLvAn
 Sd9ssJf1L1LhNwIaF4fjLng/O7WKEcKSsTHMNNADuNbi2LPDNU1XBGS3gaQ74Ih6Oj7N
 PL+gGG8LRdBHreM+4qNM39Fvf72QtPyCqz9Hw3RvFZeYaZ58TMaCs890UG7s1nrQVbZO
 AzOgSaeE79AeLWwTTDosk9YKO6zr91mb7ZsHDWI13tRPHHo1Aq8FDDTedglsRylgmISL
 rEMO+X0tDv0CCKqnexiXHv71gp3kCtYM4G3h0BCp322c/ls3W44FBWhHFWqTmn2NiejE
 az5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1747290311; x=1747895111;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=FsZJDBx8/TmB1H9kGHXDK2FbfWCzSDqjz2I1u5CaboQ=;
 b=UgBTtXDcb5N02CM309NwSMa2sl4D6Sbc0MulFPkP6phJeeDlVTol0hgUxb62YoZtVf
 V0iqRklP71G4PJ/k8oRsgFOXXycXPJk3ulgGWSF7RcqkomdRfxAhA3yGQSnkWO5oxsEV
 6sqtCCpHhmMjaE+F3BI0hndMruCXfALSneBfGR3baSQAtjTeNeg5vRzhNMJoTb7TB1Q9
 Ya0iWVPvC0/I+ez6PIAI6iaokSVAZV9cCh0OxSKRNveWK/2Wi/EO8Y5GNXy0wbvaSvS5
 fWBgUD77EUoNVTeztpB8gxqByqF3dwNLm0rmG3RnZRgbGVVa9ncGtX1HaU5jFOPw/kt0
 dDLA==
X-Forwarded-Encrypted: i=1;
 AJvYcCWyUF7pACiw6WXUtLDuo3Pivlt68nas4zHGZxQKdBEfFlA8Dz3/8iqqGhTOMSA0xJA3JlhdLg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YyhZ6COkusNWEpij8oazJSvObJ6MFzr2yV9BmjDDoTft4UxtreJ
 fPAWsws5PnJ34ujrgKk7VsdF+/paTiC0Hb19PfXuh600b63yGRqWIap1PSdJ
X-Gm-Gg: ASbGncv6WXlzV/KO0JZXfwgsTe8o+NoaXdiBIp2l6dmiQf8PxKrqYaRAdCR0KOvRzCS
 j4tkC5hKEVDECQK425q8fK/J/uyY/wzKjBRwdsecMH0e2DxFKKElLrOK1wRuXSuPt5aWzWIunN1
 MZxEzIoyLMl+xvGyHN2ThN+NUafTVAXN5E9DNu/OZNJ+C6fpZSy8D+Hxf8b2QQlwXoGoy63luCF
 cm3a6YEo+XLNB8nNIQdow7QX2p0wVPid6v/mvo7cOsp0VCcm0/LZoTAIqoffiSj+GGh21Cioz5R
 J9vKLljcPSsCUAR5onOu9ACnGLzsipCJ+PcYvht5p2eerpqetwElopzcIqfj
X-Google-Smtp-Source: AGHT+IEj6qkgWShZQPmLyWkq0nGkP+sth6QgkFuugplzsvYqnO+isWQXsLmvkHanMPb9TbiFlg/FbQ==
X-Received: by 2002:a17:90b:17c1:b0:2ee:9b09:7d3d with SMTP id
 98e67ed59e1d1-30e51786009mr1990008a91.19.1747290310944; 
 Wed, 14 May 2025 23:25:10 -0700 (PDT)
Received: from terra ([2405:6586:be0:0:83c8:d31d:2cec:f542])
 by smtp.gmail.com with ESMTPSA id
 98e67ed59e1d1-30e3347fdddsm2710810a91.33.2025.05.14.23.25.09
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 14 May 2025 23:25:10 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
In-Reply-To: <87bjrwv8n0.fsf@HIDDEN> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Tue, 13 May 2025 17:21:39 +0200")
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87r00u2mdz.fsf@HIDDEN>
 <87ecwuazr0.fsf@HIDDEN> <87bjrwv8n0.fsf@HIDDEN>
Date: Thu, 15 May 2025 15:25:07 +0900
Message-ID: <87zffeie64.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, Ludovic =?UTF-8?Q?Court=C3=A8s?= writes: > Hi, > > Rutherther skribis:
    > >>> ./target/guix/bin/guix home container -L ./home/modules ./home/home-configuration.scm
    >> guix home: warning: failed to load '(ruther home channels-emacs)': >>
   no [...] 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (maxim.cournoyer[at]gmail.com)
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [2607:f8b0:4864:20:0:0:0:102c listed in]
                             [list.dnswl.org]
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hi,

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi,
>
> Rutherther <rutherther@HIDDEN> skribis:
>
>>> ./target/guix/bin/guix home container -L ./home/modules ./home/home-con=
figuration.scm=20
>> guix home: warning: failed to load '(ruther home channels-emacs)':
>> no code for module (ruther home channels-emacs)
>> ruther/home/channels-emacs.scm:1:0: warning: module name (channels) does=
 not match file name 'ruther/home/channels-emacs.scm'
>> hint: File `./home/modules/ruther/home/channels-emacs.scm' should probab=
ly start with:
>>
>>      (define-module (ruther home channels-emacs))
>>
>> guix home: warning: ambiguous package specification `font-ubuntu'
>> guix home: warning: choosing font-ubuntu@HIDDEN from ruther/home/fonts.scm=
:8:2
>> guix home: error: unshare: 268566528: Invalid argument
>
> What=E2=80=99s weird is that this seems to happen even before activation.
>
> I cannot audit the whole thing but apparently something in the config
> tries to connect to the outside:
>
> <x home container -L home/modules home/home-configuration.scm=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20
> Updating channel 'guix' from Git repository at 'https://codeberg.org/guix=
/guix-mirror'...
> guix home: error: failed to load 'home/home-configuration.scm':
> web/client.scm:338:10: In procedure open-socket-for-uri:
> In procedure getaddrinfo: Servname not supported for ai_socktype
>
> Probably use of =E2=80=98current-guix=E2=80=99?
>
> Anyway, do you think you could boil it down to a minimal reproducer?

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=3Dreadymedia
--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 7fa0ff7c=
2e80 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=20
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/4h68sswscz96wk=
47724bfqfrq9n?")
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=20
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.

--=20
Thanks,
Maxim




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Thu, 15 May 2025 08:34:03 +0000
Resent-Message-ID: <handler.78356.B78356.174729802221900 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Cc: Rutherther <rutherther@HIDDEN>, 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174729802221900
          (code B ref 78356); Thu, 15 May 2025 08:34:03 +0000
Received: (at 78356) by debbugs.gnu.org; 15 May 2025 08:33:42 +0000
Received: from localhost ([127.0.0.1]:50889 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uFU26-0005gj-VT
	for submit <at> debbugs.gnu.org; Thu, 15 May 2025 04:33:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56660)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1uFU1m-0005dX-Jn
 for 78356 <at> debbugs.gnu.org; Thu, 15 May 2025 04:33:19 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1uFU1h-000480-5L; Thu, 15 May 2025 04:33:13 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=sOCxw/3L4klUBAbEfCWcJ3N7xN4oOdij0QBSscIyHlM=; b=cidTG1oYQ7Z5PuSon6vQ
 dJJzQvYuqfjS2b5q0ySmcjNyU8bZ2dGLALTWt7FY5ZPr9k7/+5ibv9yLZlA7Rs/RXeXOvBoSS+QBe
 t33rs8AjB7BiSfhG7cn8npY5VZ4uuStSO34e1zZf9FHgetc8GaRxRb7V1mth9Gy8lLpL2q7yXh209
 g3DgJWhVJE4SKRg/GN7/yVnT/Ts14M8LlYlq6+sY0EGbnxgSOhKh5MxGwVvtYID9OrzQQk43JRrjE
 JMFxtGmDbBmCQIDJFlRPv6L97+TzHKdG0S/sQVeA78iJy6pBNGL7CvAaTEJwdnxZlrvoRe8J8wD0l
 kTxId1Klnv9OAw==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <87zffeie64.fsf@HIDDEN> (Maxim Cournoyer's message of "Thu, 15
 May 2025 15:25:07 +0900")
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87r00u2mdz.fsf@HIDDEN>
 <87ecwuazr0.fsf@HIDDEN> <87bjrwv8n0.fsf@HIDDEN>
 <87zffeie64.fsf@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 29.4
X-URL: https://people.bordeaux.inria.fr/lcourtes/
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
X-Revolutionary-Date: Sextidi 26 =?UTF-8?Q?Flor=C3=A9al?= an 233 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour du Fusain
Date: Thu, 15 May 2025 10:29:08 +0200
Message-ID: <875xi2xoob.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Maxim,

Maxim Cournoyer <maxim.cournoyer@HIDDEN> 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=3Dreadymedia
> --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 7fa0ff=
7c2e80 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=20
> 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/4h68sswscz96=
wk47724bfqfrq9n?")
> 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 #<procedu=
re 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=20
> 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.  =E2=80=9Cmake check-system TESTS=3Dbitlbee=E2=80=9D pass though (a=
lso using
=E2=80=98least-authority-wrapper=E2=80=99) and I don=E2=80=99t see any sign=
ificant difference
between the two?

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: hiecaq <this@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 18 May 2025 02:09:01 +0000
Resent-Message-ID: <handler.78356.B78356.17475341216301 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 78356 <at> debbugs.gnu.org
Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, Rutherther <rutherther@HIDDEN>
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.17475341216301
          (code B ref 78356); Sun, 18 May 2025 02:09:01 +0000
Received: (at 78356) by debbugs.gnu.org; 18 May 2025 02:08:41 +0000
Received: from localhost ([127.0.0.1]:52883 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGTSC-0001dV-6f
	for submit <at> debbugs.gnu.org; Sat, 17 May 2025 22:08:40 -0400
Received: from mail-oi1-f169.google.com ([209.85.167.169]:50283)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <hiecaq.u@HIDDEN>)
 id 1uGTS3-0001cq-5o
 for 78356 <at> debbugs.gnu.org; Sat, 17 May 2025 22:08:36 -0400
Received: by mail-oi1-f169.google.com with SMTP id
 5614622812f47-4034118aeb7so1097129b6e.0
 for <78356 <at> debbugs.gnu.org>; Sat, 17 May 2025 19:08:31 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1747534105; x=1748138905;
 h=content-transfer-encoding:mime-version:message-id:date:user-agent
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=e/Q398LKpZNyUm5QkNv3oxT4eVGXtS3OYWwCtzg/wy8=;
 b=cp1KFLKo8jzU3IcahGRmR/WpABPhkeXk3eE/E/bAXHO3z8ji5r/34vLaVWI5AVwb1n
 7rehV2DyrgOxFlyfKS7V8xDRl4wc/e1vWvWK5Vnr8+ERtwPxfO8ZZwOj6D/A+CbrT0gd
 iUJ47F6y0Jjw4yW+mePJNUwEp1Mj3h2R3tN3cfB/kpmsqs7fAfXw32Bg05ovPPi5ZKiD
 hSpyGSIvWZ4D8pympI35L8TogU7/+zYIYb0fKIiedTka8MBEgCW7sMEJJYs60BIEArUC
 hUTAwKgLysVcNs319CRqRaxFKtUL9qlGD1K/fQDFT6hjL7Y9dMHhSDLDZkOpJs2FKr2G
 EYrA==
X-Gm-Message-State: AOJu0YwmRe8iS8fQlYaucU1U8mN2halK7iIrHhyzwfDxoTYnTa5fXMCK
 2qJm3G6P020eY/YvpA3RWor21FftEyJVFOUjLs5K03AJNpk030nV/ZVykcK9LSQ1
X-Gm-Gg: ASbGnctvPPJXkqU7iDfv9XftWebuOm5ZuE0v2edybgUGToWEoqK8wadU6cgF3SRL1jt
 kpW7XiykQJ5uzTV/8U/pOJ9+xHuerk0e1kCGjcwJjE2PlyVQ+CdeoJZq0+61e7wOUaMAuQUANwZ
 K4bX5aymcl/2PglrtQcTIZEBiGM5BdJ2dNve+i4FpvGIiliuuIblD2/5u2mL1BhychxZ++yAlvo
 IgPH5pMOIyxCJeDdIT3GdH1cU+o/bYmLDmzUGud0dH+4rAKJqh+OLlf9NZaDcSp+Ne2wCzGcHli
 Tib92G1NA3WeZzOBKAD4olMOInH0nwcC2c5lam//qkXe
X-Google-Smtp-Source: AGHT+IF2esdA6frAmGpvdqWfdZmoRFvGUFlnPLNHlg5Oa3xz+jku+K0JAdRpH9jn9VfSwQG6pBKSMw==
X-Received: by 2002:a05:6830:6083:b0:731:d108:c4c3 with SMTP id
 46e09a7af769-734f998ca6dmr5276618a34.25.1747534104866; 
 Sat, 17 May 2025 19:08:24 -0700 (PDT)
Received: from localhost ([180.158.149.128]) by smtp.gmail.com with ESMTPSA id
 46e09a7af769-734f6a4b1desm935301a34.1.2025.05.17.19.08.23
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 17 May 2025 19:08:24 -0700 (PDT)
From: hiecaq <this@HIDDEN>
In-Reply-To: <871psuxk96.fsf@HIDDEN> (Rutherther via Bug reports for's
 message of "Mon, 12 May 2025 11:15:33 +0200")
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN>
User-Agent: mu4e 1.12.9; emacs 30.0.92
Date: Sun, 18 May 2025 10:08:17 +0800
Message-ID: <87sel2hdri.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, Rutherther via Bug reports for GNU Guix <bug-guix@HIDDEN>
    writes: > Hi Ludo > > Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN> writes: >> >> What
   command did you run, precisely? I cannot experience it: > > For home, I tried
    my own config, and since I was pretty sure any > system > [...] 
 
 Content analysis details:   (2.0 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE:
                             The query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                             [209.85.167.169 listed in sa-accredit.habeas.com]
  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The
                             query to Validity was blocked.  See
                             https://knowledge.validity.com/hc/en-us/articles/20961730681243
                              for more information.
                            [209.85.167.169 listed in bl.score.senderscore.com]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.167.169 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [209.85.167.169 listed in wl.mailspike.net]
  0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
                             mail domains are different
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (hiecaq.u[at]gmail.com)
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: git.ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
                             EnvelopeFrom freemail headers are
                             different
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

Hi,

Rutherther via Bug reports for GNU Guix <bug-guix@HIDDEN> writes:

> Hi Ludo
>
> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>>
>> What command did you run, precisely?  I cannot experience it:
>
> For home, I tried my own config, and since I was pretty sure any=20
> system
> container is affected (tried a simple one, my one and I know one=20
> other
> person reported this in Matrix channel), I didn't try anything=20
> simpler
> and just assumed all homes are going to be affected as well.
> Now trying simpler config you mentioned, that one works fine.
>
> The command was `guix home container -L ./home/modules=20
> ./home/home-container.scm`
> in my repository. It's here=20
> https://git.ditigal.xyz/~ruther/guix-config.
> Any idea what service could cause this behavior with=20
> lock-mounts? Would
> be good to isolate it, but I am not sure where to start.
>
> Here is the unshare error I was talking about earlier:
>> guix home: error: unshare: 268566528: Invalid argument
> Now I am getting it consistently, before it was missing=20
> sometimes.
> Currently on
> ```
>> ./target/guix/bin/guix describe
>   guix 300d29e
>     repository URL: https://codeberg.org/guix/guix-mirror
>     branch: master
>     commit: 300d29e69988caf23684f08effa51f621c7ec083
>   nonguix 1940698
>     repository URL: https://gitlab.com/nonguix/nonguix
>     branch: master
>     commit: 19406981a9bf9d0b140180f1f3008cb91f716b4b
>   ruther 1a49e47
>     repository URL: https://git.ditigal.xyz/~ruther/guix-exprs
>     branch: main
>     commit: 1a49e4760bd922237532fa2eee44bc9e1fe42399
>   rde bf8f628
>     repository URL: https://git.sr.ht/~abcdw/rde
>     branch: master
>     commit: bf8f628c4deb9acc94e261db80d301048ea1f0a2
> ```
>
> Thanks
> Rutherther

I'm getting this "unshare: 268566528: Invalid argument" error just=20
using `guix shell -C -m manifest.scm` when I was trying to develop=20
a local Haskell package today, and I think it might be relevant to=20
this bug.  Here is the backtrace:

--8<---------------cut here---------------start------------->8---
guix shell: error: unshare: 268566528: Invalid argument
Backtrace:
          16 (primitive-load=20
          "/home/hiecaq/.config/guix/current/bin/=E2=80=A6")
In guix/ui.scm:
   2369:7 15 (run-guix . _)
  2332:10 14 (run-guix-command _ . _)
In ice-9/boot-9.scm:
  1752:10 13 (with-exception-handler _ _ #:unwind? _ # _)
In guix/status.scm:
    839:4 12 (call-with-status-report _ _)
In guix/store.scm:
    703:3 11 (_)
In ice-9/boot-9.scm:
  1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
In guix/store.scm:
   690:37  9 (thunk)
   1331:8  8 (call-with-build-handler _ _)
   1331:8  7 (call-with-build-handler #<procedure 7f364c36aea0 at=20
   g=E2=80=A6> =E2=80=A6)
In guix/scripts/environment.scm:
  1184:11  6 (proc _)
In guix/store.scm:
  2212:25  5 (run-with-store #<store-connection 256.100=20
  7f364cd41050> =E2=80=A6)
In guix/scripts/environment.scm:
    898:8  4 (_ _)
In gnu/build/linux-container.scm:
    485:7  3 (call-with-container _ _ #:namespaces _ #:host-uids _=20
    # =E2=80=A6)
In unknown file:
           2 (waitpid #f #<undefined>)
In ice-9/boot-9.scm:
  1685:16  1 (raise-exception _ #:continuable? _)
  1685:16  0 (raise-exception _ #:continuable? _)

ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Wrong type (expecting exact integer): #f
--8<---------------cut here---------------end--------------->8---

Here is my manifest:

--8<---------------cut here---------------start------------->8---
(use-modules (guix)
             (guix build-system haskell)
             (guix git-download)
             ((guix licenses) #:prefix license:)
             (gnu packages)
             (gnu packages xorg) ;; for libxpm
             (gnu packages wm) ;; for ghc-xmobar
             (gnu packages haskell)
             (gnu packages haskell-apps))

(specifications->manifest
 (list "ghc-xmobar" "ghc" "gcc-toolchain" "libxpm"))

(define %source-dir (dirname (current-filename)))

(define xmobar-hiecaq
  (package
    (name "xmobar-hiecaq")
    (version "0.0.1")
    (source
     (local-file %source-dir
                 #:recursive? #t
                 #:select? (git-predicate %source-dir)))
    (build-system haskell-build-system)
    (inputs (list ghc-xmobar
                  libxpm))
    (home-page "")
    (synopsis
     "")
    (description
     "")
    (license license:gpl3+)))

(concatenate-manifests
 (list
  (specifications->manifest
   (list "coreutils" "git" "which"))
  (packages->manifest (list cabal-install))
  (package->development-manifest xmobar-hiecaq)))
--8<---------------cut here---------------end--------------->8---

What I did is basically the following things in order (I believe=20
only the manifest is needed to reproduce):
1. `guix shell -C -m manifest.scm`
2. then I attempted `cabal build` but I realized that now I need=20
writable root.  So
3. I quit the current shell and then `guix shell -C -m=20
manifest.scm --writable-root`, it failed with the above error.
4. After that, `guix shell -C -m manifest.scm` also failed, but if=20
I kept retrying sometimes it succeeded.  With `--writable-root` it=20
failed consistently.

Output of `guix describe`:

--8<---------------cut here---------------start------------->8---
Generation 26   May 17 2025 09:41:21    (current)
  nonguix e4459f4
    repository URL: https://gitlab.com/nonguix/nonguix
    branch: master
    commit: e4459f4802e8b222eec55196d44c25dc7a5bc53b
  guix 6465931
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 6465931bbc118d4ed9da652b0be74ed844b52b2a
--8<---------------cut here---------------end--------------->8---


I had been using Guix at the commit=20
`d505cb960fd1e670be9a66d9fdbad94bc49e891d` before yesterday (so=20
`--writable-root` were not introduced yet) and I had never got any=20
similar error before.  I hope my case is reproducible ;)

Thanks,
hiecaq




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
Resent-From: Rutherther <rutherther@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 18 May 2025 06:59:02 +0000
Resent-Message-ID: <handler.78356.B78356.174755148620473 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: hiecaq <this@HIDDEN>, 78356 <at> debbugs.gnu.org
Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.174755148620473
          (code B ref 78356); Sun, 18 May 2025 06:59:02 +0000
Received: (at 78356) by debbugs.gnu.org; 18 May 2025 06:58:06 +0000
Received: from localhost ([127.0.0.1]:54443 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1uGXyH-0005K7-Ie
	for submit <at> debbugs.gnu.org; Sun, 18 May 2025 02:58:05 -0400
Received: from ditigal.xyz ([2a01:4f8:1c1b:6a1c::]:45132 helo=mail.ditigal.xyz)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rutherther@HIDDEN>)
 id 1uGXyE-0005JL-3y
 for 78356 <at> debbugs.gnu.org; Sun, 18 May 2025 02:58:03 -0400
Received: by cerebrum (OpenSMTPD) with ESMTPSA id 022b78eb
 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); 
 Sun, 18 May 2025 06:57:55 +0000 (UTC)
From: Rutherther <rutherther@HIDDEN>
In-Reply-To: <87sel2hdri.fsf@HIDDEN>
References: <87r00wjvm3.fsf@HIDDEN> <87v7q643bd.fsf@HIDDEN>
 <871psuxk96.fsf@HIDDEN> <87sel2hdri.fsf@HIDDEN>
Date: Sun, 18 May 2025 08:57:52 +0200
Message-ID: <87jz6e9zin.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ditigal.xyz;
 i=@ditigal.xyz; q=dns/txt; s=20240917; t=1747551475; h=from : to : cc
 : subject : in-reply-to : references : date : message-id :
 mime-version : content-type : from;
 bh=k+sd00csa17eDDHskZ2163dwzxd4Abvx6dgDciKKo8E=;
 b=hyTnWA07XLk/EpMune/up9kFWg9fA3yaSZ6zjh8PSeE9lAMc3Jx4DFnzybYgB3FWDS4b+
 vAQWhMbpRXsFcllmZ6L+LZ8SU3SRJOt1JXoYz9XHPKqDi5SM9WRuDBHha44BxvRdpmucpvG
 hnrqvsNzC+IchjrX3XXvxTP9SSlwfoY=
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  Hi, hiecaq <this@HIDDEN> writes: > > I'm getting this
 "unshare: 268566528: Invalid argument" error just > using `guix shell -C -m
 manifest.scm` when I was trying to develop > a local Haskell package today,
 and I think it might be rel [...] 
 Content analysis details:   (2.5 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: ditigal.xyz (xyz)]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.5 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  Hi, hiecaq <this@HIDDEN> writes: > > I'm getting this
   "unshare: 268566528: Invalid argument" error just > using `guix shell -C -m
    manifest.scm` when I was trying to develop > a local Haskell package today,
    and I think it might be rel [...] 
 
 Content analysis details:   (2.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
  2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
                             [URI: ditigal.xyz (xyz)]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  1.0 BULK_RE_SUSP_NTLD      Precedence bulk and RE: from a suspicious TLD
  0.5 FROM_SUSPICIOUS_NTLD   From abused NTLD
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager


Hi,

hiecaq <this@HIDDEN> writes:

>
> I'm getting this "unshare: 268566528: Invalid argument" error just 
> using `guix shell -C -m manifest.scm` when I was trying to develop 
> a local Haskell package today, and I think it might be relevant to 
> this bug.  Here is the backtrace:

I can confirm I can get this with your manifest as well. But not
consistently, I have to rerun the shell container multiple times to get
it. Also, from simple trial it seems it's the development inputs of
xmobar-hiecaq that cause this. I am not getting the issue when I comment
everything else in the manifest. But I haven't tried minimizing this
even more to a specific input.

Regards
Rutherther




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: Broken system and home containers
References: <87r00wjvm3.fsf@HIDDEN>
In-Reply-To: <87r00wjvm3.fsf@HIDDEN>
Resent-From: "W. Kosior" <koszko@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 15 Oct 2025 14:19:08 +0000
Resent-Message-ID: <handler.78356.B78356.176053790229268 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 78356 <at> debbugs.gnu.org
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.176053790229268
          (code B ref 78356); Wed, 15 Oct 2025 14:19:08 +0000
Received: (at 78356) by debbugs.gnu.org; 15 Oct 2025 14:18:22 +0000
Received: from localhost ([127.0.0.1]:54131 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v92KV-0007bI-Iv
	for submit <at> debbugs.gnu.org; Wed, 15 Oct 2025 10:18:20 -0400
Received: from salamina.koszko.org ([188.68.237.248]:54938 helo=koszko.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <koszko@HIDDEN>) id 1v92KG-0007YX-J9
 for 78356 <at> debbugs.gnu.org; Wed, 15 Oct 2025 10:18:08 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; 
 s=mail-salamina;
 h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:
 Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=LuLfqMCeyylI8Drb5Pix1ghU33TJhAlvaCO6PhvTYF4=; b=jugpjbS2tEloRaVabEvNGGCeqc
 BChVZMKc7OOvNv7aTW9kU1NLnu3Rpx/pwngc1N3Zhq4zThMjyxthlbz25dMJFtFTqRelQvy1ebLt9
 HMefl6se2C5EJ2qnv1enOBHmZgOkhnRromHBFq/cn91UlK0br4B6VsMS7B2pQddp3vfrnM4gf9301
 Xm4JGx73+xSPASpz7Mv64zMzKvUreuD9D9fCW1dLv9AhEFNhfwEsGcgv0BDXSu9sUKocP9qteEdnj
 gjqvyPXpkTMg2PTRng2dk2qEclTOQLNLAAFy31fkkfZ+x3kuh+8As9dfEUWk9EFgeAQG0i4rkyAcP
 MJm7g/F9PLbG4DN8Spdr1q5a3qzDaAKP9X31MRp47vA3kKxww2paDCGXykgwvodu5Zrbc9ckvbD5x
 FlgAnp/14S1tZQwVV621BL0+93nyRs9vgAPiEXtBNfRdda26JEH7twKmhoWrdAHKtT4YWYauUIQJo
 LRmUtTtFo/13V+4RsJCuEWcyPeVYzRBV8XDwFcFoGLT7bov48cL+Dd8jXp8gwWwjz2qED0x5IIecn
 qovOt1o1Zl5PiYxAs3RK7pmxSWBvgtfAD8C2gilm8V6c6m7rZzkJg77l434v01grCjheO3HtoaHTc
 h3RJRCKxhXshzHAuJutrU4uTX7pll3OsfY/dBEtrg=;
Received: from dummy-client.koszko.org ([192.168.193.169])
 by salamina.koszko.org with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2)
 (envelope-from <koszko@HIDDEN>) id 1v92KD-00000000793-0nCu
 for 78356 <at> debbugs.gnu.org; Wed, 15 Oct 2025 16:17:57 +0200
Date: Wed, 15 Oct 2025 16:17:55 +0200
From: "W. Kosior" <koszko@HIDDEN>
Message-ID: <20251015161755.17880c7f.koszko@HIDDEN>
X-Mailer: Claws Mail 4.3.1 (GTK 3.24.49; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="Sig_/Cm6KflY6D0IlW_EESgAJKn0";
 protocol="application/pgp-signature"; micalg=pgp-sha512
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--Sig_/Cm6KflY6D0IlW_EESgAJKn0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

I experimented with printf-based (well, format-based) debugging and
pinpointed the cause.  Guile VM apparently creates a new thread for GC.
And this causes unshare to fail with EINVAL.  Obviously, lighter
containers (like that with just coreutils) are more likely to get set
up before the GC kicks in.

Additionally, I observed that unshare sometimes succeeds even when the
process is multithreaded.  This has been making failures even less
deterministic.

I hunted the bug just today and noticed that it has meanwhile been
addressed by the removal of some functionality that used unshare.  I
shall send a patch here nevertheless, just in case someone wants to
bring that functionality back now.

Also, my solution is just a quick workaround =E2=80=94 disabling the GC in =
child
and re-enabling it.  It would be more correct to disable it before the
clone call and re-enable it in parent, perhaps using dynamic-wind.
Anyone, feel free to improve on the presented solution, I am done now.

Best
Wojtek

--
W. Kosior

website: https://koszko.org/koszko.html
fediverse: https://friendica.me/profile/koszko/profile
PGP fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A

--Sig_/Cm6KflY6D0IlW_EESgAJKn0
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iHUEARYKAB0WIQTpcnBg48VjfIpPS0JLxSIcWnn9GgUCaO+tEwAKCRBLxSIcWnn9
GsTpAQDwQWrvv3QRvJ73PW+3CInDZ7N7Uh6tAp3RK7L2xrNpUAEAhR38wEXR+73B
c6F26zCMPxenK5PBee1G0NDhGIsUMQc=
=1xjB
-----END PGP SIGNATURE-----

--Sig_/Cm6KflY6D0IlW_EESgAJKn0--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: [PATCH] linux-container: Inhibit GC thread creation in child.
References: <87r00wjvm3.fsf@HIDDEN>
In-Reply-To: <87r00wjvm3.fsf@HIDDEN>
Resent-From: "W. Kosior" <koszko@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 15 Oct 2025 14:20:08 +0000
Resent-Message-ID: <handler.78356.B78356.176053798830094 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 78356 <at> debbugs.gnu.org
Cc: "W. Kosior" <koszko@HIDDEN>
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.176053798830094
          (code B ref 78356); Wed, 15 Oct 2025 14:20:08 +0000
Received: (at 78356) by debbugs.gnu.org; 15 Oct 2025 14:19:48 +0000
Received: from localhost ([127.0.0.1]:54136 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v92Lv-0007oe-UM
	for submit <at> debbugs.gnu.org; Wed, 15 Oct 2025 10:19:47 -0400
Received: from salamina.koszko.org ([188.68.237.248]:57030 helo=koszko.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <koszko@HIDDEN>) id 1v92Lm-0007mt-00
 for 78356 <at> debbugs.gnu.org; Wed, 15 Oct 2025 10:19:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=koszko.org; 
 s=mail-salamina;
 h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:
 Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=GvTxvgA3cj9pRvHoRiZKljqr4fphTc4dw0vH0Kb2TmU=; b=Aic861asdxgB75QR1AA748fVMC
 wH8LNeWYQ46ycngY5RBUC8ta66kVz0TQlvNdiydQmjHU5VPioH9mzZJoA9cN+ZxVDRbQl3wO+h5ab
 dZmWdOP+52B92HLHIsJl4Y3ygfls0GHoQpB1nVUm8y65Sge9vXy46QJLCG7W5KpYITTgJwkKUQGZk
 zTosy3WY5TKc4xig6o2xhQc/YIPO2MNqlhRKQlHgNIj3aMblWJlGuGsbaY4r2y6jBIh7NB3e/z1wB
 QllBEs0i4awPixgqxcFfA/zrWnUZDdrk/DyDwMnzqgAFOVZL5W4k27+UJQNpFWoSnKKEok8jSWnQB
 L/hYkVpnmrOhbgkinLfZNuJVZ7vRIHQTVnIXt1kAq+ZBVyiHhDoH6scjjhPcMxiRuvIkfWRg5RTpU
 QQaQwbbFCquzYCvzY6gPAiav0fkkdkwRPCwOEp0VDCK5V0cwS7FyyX5xSPRsZBK92SieLC5JUFp1+
 Je1kfiQJDH+a5kmDCytUKyDc5/beya89f2MeFfcOxd6K0MM05+GI8tRtpMIKQgVQQmKQayG8OoV90
 2+Z+aACKA8Nh9hS2lp9DL7FLn/UnQ8V+GOj2SWZwvDVQco4vO+0nZTZ8OA7HIpoxNnlg7Mr08HXRX
 SIGD4fP/72Hj0chiTc6ukX0qgeInDkzuz4ce7CAis=;
Received: from dummy-client.koszko.org ([192.168.193.169])
 by salamina.koszko.org with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2)
 (envelope-from <koszko@HIDDEN>) id 1v92Lk-0000000079A-2AVo;
 Wed, 15 Oct 2025 16:19:32 +0200
From: "W. Kosior" <koszko@HIDDEN>
Date: Wed, 15 Oct 2025 16:18:23 +0200
Message-ID: <e45996182f6ecf291f0deba496a70cf95a032726.1760536710.git.koszko@HIDDEN>
X-Mailer: git-send-email 2.51.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

The `unshare' system call with `CLONE_NEWUSER' cannot be used in multithreaded
programs.  Guile VM's automatic GC thread creation used to lead to
nondeterministic failures in container creation, which uses this system call.

* gnu/build/linux-container.scm (run-container): Disable GC in child after
`(clone)' and re-enable after `(unshare)'.

Change-Id: I9df5412102509c13f74ab9911f6f06c0152d0a4f
---
 gnu/build/linux-container.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm
index b6f8563f7d0..25890ec0a13 100644
--- a/gnu/build/linux-container.scm
+++ b/gnu/build/linux-container.scm
@@ -266,6 +266,8 @@ (define* (run-container root mounts namespaces host-uids thunk
      (let ((flags (namespaces->bit-mask namespaces)))
        (match (clone flags)
          (0
+          ;; Inhibit thread creation until after the unshare call.
+          (gc-disable)
           (call-with-clean-exit
            (lambda ()
              (close-port parent)
@@ -320,6 +322,7 @@ (define* (run-container root mounts namespaces host-uids thunk
                   ;; why unshare(CLONE_NEWUSER) can be used.
                   (let ((uid (getuid)) (gid (getgid)))
                     (unshare (logior CLONE_NEWUSER CLONE_NEWNS))
+                    (gc-enable)
                     (when (file-exists? "/proc/self")
                       (initialize-user-namespace (getpid)
                                                  host-uids
-- 
2.51.0





Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: [PATCH] linux-container: Inhibit GC thread creation in child.
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 15 Oct 2025 21:23:08 +0000
Resent-Message-ID: <handler.78356.B.176056335730521 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 78356 <at> debbugs.gnu.org
Cc: koszko@HIDDEN
X-Debbugs-Original-To: "W. Kosior" via Bug reports for GNU Guix <bug-guix@HIDDEN>
X-Debbugs-Original-Cc: 78356 <at> debbugs.gnu.org, "W. Kosior" <koszko@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.176056335730521
          (code B ref -1); Wed, 15 Oct 2025 21:23:08 +0000
Received: (at submit) by debbugs.gnu.org; 15 Oct 2025 21:22:37 +0000
Received: from localhost ([127.0.0.1]:57610 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v98x7-0007vb-Bs
	for submit <at> debbugs.gnu.org; Wed, 15 Oct 2025 17:22:36 -0400
Received: from lists.gnu.org ([2001:470:142::17]:49604)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1v98wq-0007rA-QX
 for submit <at> debbugs.gnu.org; Wed, 15 Oct 2025 17:22:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1v98wi-000540-VU
 for bug-guix@HIDDEN; Wed, 15 Oct 2025 17:22:09 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1v98wg-0002GI-AT; Wed, 15 Oct 2025 17:22:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=tDr4KHpQ7T2U6q5HWJc16k56rRIeur5E/SoqNu8F8qY=; b=Mm+Qj0LzJw+MqRnO6OsG
 wbagzY0nFAh6jGtUCxS92hnRKZPQmUk+ZLyt7xbURUD6YQWNUyMg6dOTwrf5F/kpTKwHis+nOlklV
 4rZ7QlvywbFJKuuNKLtCkisKINgH6BfMRbLcjuvvYDE7M19om89um+ny6Goau/b6pBPLmo6SWuHEX
 IArrrIAsMdGJavt6tzhOkywrGJ/42a9389TnFKqVhKWFN+IK6bIAkWiPSj1qRsSEJTlL5C5d0VB+j
 7gkjzNlVordkljCL6wa7EM7lqFRfEkorC/fMJuaaT+vV6oSVaIr1KJDoxBh5cDXeifOzCopffkbfw
 csNl5YrVXYasRA==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <e45996182f6ecf291f0deba496a70cf95a032726.1760536710.git.koszko@HIDDEN>
 (W. Kosior's message of "Wed, 15 Oct 2025 16:18:23 +0200")
References: <87r00wjvm3.fsf@HIDDEN>
 <e45996182f6ecf291f0deba496a70cf95a032726.1760536710.git.koszko@HIDDEN>
User-Agent: mu4e 1.12.11; emacs 30.2
X-URL: https://people.bordeaux.inria.fr/lcourtes/
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
X-Revolutionary-Date: Quartidi 24 =?UTF-8?Q?Vend=C3=A9miaire?= an 234 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour de l'Amaryllis
Date: Wed, 15 Oct 2025 23:17:37 +0200
Message-ID: <87qzv3985q.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello,

"W. Kosior" via Bug reports for GNU Guix <bug-guix@HIDDEN> skribis:

> The `unshare' system call with `CLONE_NEWUSER' cannot be used in multithr=
eaded
> programs.  Guile VM's automatic GC thread creation used to lead to
> nondeterministic failures in container creation, which uses this system c=
all.
>
> * gnu/build/linux-container.scm (run-container): Disable GC in child after
> `(clone)' and re-enable after `(unshare)'.
>
> Change-Id: I9df5412102509c13f74ab9911f6f06c0152d0a4f

Excellent!  This was discussed in
<https://codeberg.org/guix/guix/issues/1169> and we suspected something
like this but didn=E2=80=99t get this far (BTW, perhaps we can follow up th=
ere
if that=E2=80=99s fine with you).

The thing is that =E2=80=98GC_disable=E2=80=99 does not terminate marker th=
reads AFAICS,
so perhaps it should actually be called before =E2=80=98clone=E2=80=99 to e=
nsure no
marker thread is created in the child process?

WDYT?

Thank you for what must have been long debugging sessions!

Ludo=E2=80=99.




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#78356: [PATCH] linux-container: Inhibit GC thread creation in child.
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Wed, 15 Oct 2025 21:23:11 +0000
Resent-Message-ID: <handler.78356.B78356.176056334430365 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 78356
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 78356 <at> debbugs.gnu.org
Cc: koszko@HIDDEN
X-Debbugs-Original-To: "W. Kosior" via Bug reports for GNU Guix <bug-guix@HIDDEN>
X-Debbugs-Original-Cc: 78356 <at> debbugs.gnu.org, "W. Kosior" <koszko@HIDDEN>
Received: via spool by 78356-submit <at> debbugs.gnu.org id=B78356.176056334430365
          (code B ref 78356); Wed, 15 Oct 2025 21:23:11 +0000
Received: (at 78356) by debbugs.gnu.org; 15 Oct 2025 21:22:24 +0000
Received: from localhost ([127.0.0.1]:57608 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1v98wu-0007tA-VJ
	for submit <at> debbugs.gnu.org; Wed, 15 Oct 2025 17:22:23 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:47354)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1v98wo-0007qs-4T
 for 78356 <at> debbugs.gnu.org; Wed, 15 Oct 2025 17:22:16 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1v98wg-0002GI-AT; Wed, 15 Oct 2025 17:22:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=tDr4KHpQ7T2U6q5HWJc16k56rRIeur5E/SoqNu8F8qY=; b=Mm+Qj0LzJw+MqRnO6OsG
 wbagzY0nFAh6jGtUCxS92hnRKZPQmUk+ZLyt7xbURUD6YQWNUyMg6dOTwrf5F/kpTKwHis+nOlklV
 4rZ7QlvywbFJKuuNKLtCkisKINgH6BfMRbLcjuvvYDE7M19om89um+ny6Goau/b6pBPLmo6SWuHEX
 IArrrIAsMdGJavt6tzhOkywrGJ/42a9389TnFKqVhKWFN+IK6bIAkWiPSj1qRsSEJTlL5C5d0VB+j
 7gkjzNlVordkljCL6wa7EM7lqFRfEkorC/fMJuaaT+vV6oSVaIr1KJDoxBh5cDXeifOzCopffkbfw
 csNl5YrVXYasRA==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <e45996182f6ecf291f0deba496a70cf95a032726.1760536710.git.koszko@HIDDEN>
 (W. Kosior's message of "Wed, 15 Oct 2025 16:18:23 +0200")
References: <87r00wjvm3.fsf@HIDDEN>
 <e45996182f6ecf291f0deba496a70cf95a032726.1760536710.git.koszko@HIDDEN>
User-Agent: mu4e 1.12.11; emacs 30.2
X-URL: https://people.bordeaux.inria.fr/lcourtes/
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
X-Revolutionary-Date: Quartidi 24 =?UTF-8?Q?Vend=C3=A9miaire?= an 234 de la
 =?UTF-8?Q?R=C3=A9volution,?= jour de l'Amaryllis
Date: Wed, 15 Oct 2025 23:17:37 +0200
Message-ID: <87qzv3985q.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

"W. Kosior" via Bug reports for GNU Guix <bug-guix@HIDDEN> skribis:

> The `unshare' system call with `CLONE_NEWUSER' cannot be used in multithr=
eaded
> programs.  Guile VM's automatic GC thread creation used to lead to
> nondeterministic failures in container creation, which uses this system c=
all.
>
> * gnu/build/linux-container.scm (run-container): Disable GC in child after
> `(clone)' and re-enable after `(unshare)'.
>
> Change-Id: I9df5412102509c13f74ab9911f6f06c0152d0a4f

Excellent!  This was discussed in
<https://codeberg.org/guix/guix/issues/1169> and we suspected something
like this but didn=E2=80=99t get this far (BTW, perhaps we can follow up th=
ere
if that=E2=80=99s fine with you).

The thing is that =E2=80=98GC_disable=E2=80=99 does not terminate marker th=
reads AFAICS,
so perhaps it should actually be called before =E2=80=98clone=E2=80=99 to e=
nsure no
marker thread is created in the child process?

WDYT?

Thank you for what must have been long debugging sessions!

Ludo=E2=80=99.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 29 Oct 2025 05:35:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 29 01:35:57 2025
Received: from localhost ([127.0.0.1]:56052 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vDyqi-0004ln-Jj
	for submit <at> debbugs.gnu.org; Wed, 29 Oct 2025 01:35:56 -0400
Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:56468)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <maxim@HIDDEN>)
 id 1vDyqa-0004ke-89
 for control <at> debbugs.gnu.org; Wed, 29 Oct 2025 01:35:53 -0400
Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com)
 by mailtransmit05.runbox.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
 (envelope-from <maxim@HIDDEN>) id 1vDyqN-000ueH-Mt
 for control <at> debbugs.gnu.org; Wed, 29 Oct 2025 06:35:35 +0100
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=guixotic.coop; s=selector2; h=Subject:From:To:Message-Id:Date;
 bh=NjVlc13WPiO7o384w6UwQV3xhjTSewLxz8V9VMYYKUE=; b=VC9YQ9FgE4Vj9yccZ+h8ESa4eS
 exJ3IoLKi3z+7ZZiO8iR/YEB+T10dV1K+JE5PkuPhr55g+DHjDYKRIXMUMZBoOnfHVwQv/VNMAUci
 4X5suiNUgrsXWhcmSFFDTD1M7pNhXI1mAvJGdNYCNioNjJ/qgKKhhvwDYnG9Ee2BB/AvXpLgWoRX+
 D/MXEsBZSqyqyjyrk2Sey67rBIKOOCFDJY+yRMF372K7I90ILD9AxCQxT+S2PDo4CTit4EZMW+wtP
 u2ArDxauxitcLbgvpzSMcMO2RB2owtmPIFN8/sVmi3lxNxDQVDxhstwgBXNoii14N7axVVwqGJTwp
 uAiGJ8ZA==;
Received: from [10.9.9.74] (helo=submission03.runbox)
 by mailtransmit03.runbox with esmtp (Exim 4.86_2)
 (envelope-from <maxim@HIDDEN>) id 1vDyqN-00045h-Aw
 for control <at> debbugs.gnu.org; Wed, 29 Oct 2025 06:35:35 +0100
Received: by submission03.runbox with esmtpsa [Authenticated ID (1476852)]
 (TLS1.2:ECDHE_SECP256R1__RSA_SHA256__AES_256_GCM:256) (Exim 4.93)
 id 1vDyqG-00D5rf-KF
 for control <at> debbugs.gnu.org; Wed, 29 Oct 2025 06:35:29 +0100
Date: Wed, 29 Oct 2025 14:35:25 +0900
Message-Id: <875xby9so2.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Maxim Cournoyer <maxim@HIDDEN>
Subject: control message for bug #78356
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

close 78356 
quit






Last modified: Wed, 29 Oct 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.