Package: guix;
Reported by: Rutherther <rutherther <at> ditigal.xyz>
Date: Sat, 10 May 2025 16:10:01 UTC
Severity: important
To reply to this bug, email your comments to 78356 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
ludo <at> gnu.org, bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Sat, 10 May 2025 16:10:01 GMT) Full text and rfc822 format available.Rutherther <rutherther <at> ditigal.xyz>
:ludo <at> gnu.org, bug-guix <at> gnu.org
.
(Sat, 10 May 2025 16:10:01 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Rutherther <rutherther <at> ditigal.xyz> To: bug-guix <at> gnu.org Subject: Broken system and home containers Date: Sat, 10 May 2025 18:09:24 +0200
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…") In gnu/build/linux-container.scm: 368:8 6 (call-with-temporary-directory #<procedure 7f02cddd1af0…>) 476:16 5 (_ "/tmp/guix-directory.DGavex") 62:6 4 (call-with-clean-exit #<procedure 7f02ce52ab80 at gnu/b…>) 323:22 3 (_) 215:2 2 (initialize-user-namespace 1 65536 #:host-uid _ # _ # _ …) 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 --login' or run 'sudo nsenter -a -t #f' to get a shell into it. Backtrace: 3 (primitive-load "/gnu/store/p3m2srwhv49gv1lk2yi4i73b9mn…") In gnu/build/linux-container.scm: 368:8 2 (call-with-temporary-directory #<procedure 7f02cddd1af0…>) 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
Ludovic Courtès <ludo <at> gnu.org>
to control <at> debbugs.gnu.org
.
(Sun, 11 May 2025 15:00:10 GMT) Full text and rfc822 format available.bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Mon, 12 May 2025 08:55:03 GMT) Full text and rfc822 format available.Message #10 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: Rutherther <rutherther <at> ditigal.xyz> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Mon, 12 May 2025 10:54:14 +0200
Hi, Rutherther <rutherther <at> ditigal.xyz> 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'... 100.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 binding `delete' WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' Symlinking /home/ludo/.bashrc -> /gnu/store/b9ppn0jdrda5h88mw5x35m2jvms8izw6-bashrc... done Symlinking /home/ludo/.bash_profile -> /gnu/store/gghay5fzpad5w7082nnk6z9lj7q00drv-bash_profile... done Symlinking /home/ludo/.profile -> /gnu/store/vvxqfhlkpi90bgmfh1b03kkwfq7pmfkk-shell-profile... done Symlinking /home/ludo/.config/test.conf -> /gnu/store/i8wsnvh1q8lbgyf50vapfsn2rfj7a2nc-tmp-file.txt... done Symlinking /home/ludo/.config/fontconfig/fonts.conf -> /gnu/store/mw4clgkwj3rvlnfv0gd694aabvamr0sa-fonts.conf... done Symlinking /home/ludo/.config/shepherd/init.scm -> /gnu/store/ysg5icpancicn1hi2gfd1q3xvmmgb8lf-shepherd.conf... done done Finished updating symlinks. Comparing /gnu/store/non-existing-generation/profile/share/fonts and /gnu/store/9ylfbl50dlng3rqp1kvd3qalr87yyjcl-home/profile/share/fonts... done (same) Evaluating on-change gexps. On-change gexps evaluation finished. ludo <at> ribbon ~$ id uid=1000(ludo) gid=1000(users) groups=1000(users),65534(overflow) ludo <at> ribbon ~$ ls ludo <at> ribbon ~$ logout --8<---------------cut here---------------end--------------->8--- Thanks, Ludo’.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Mon, 12 May 2025 09:16:02 GMT) Full text and rfc822 format available.Message #13 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Rutherther <rutherther <at> ditigal.xyz> To: Ludovic Courtès <ludo <at> gnu.org> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Mon, 12 May 2025 11:15:33 +0200
Hi Ludo Ludovic Courtès <ludo <at> gnu.org> 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-container.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
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Mon, 12 May 2025 09:55:03 GMT) Full text and rfc822 format available.Message #16 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: Rutherther <rutherther <at> ditigal.xyz> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Mon, 12 May 2025 11:45:12 +0200
Hi, Rutherther <rutherther <at> ditigal.xyz> writes: > The command was `guix home container -L ./home/modules ./home/home-container.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’s no misunderstanding? This is on Guix System, right? Thanks, Ludo’.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Mon, 12 May 2025 10:30:02 GMT) Full text and rfc822 format available.Message #19 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Rutherther <rutherther <at> ditigal.xyz> To: Ludovic Courtès <ludo <at> gnu.org> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Mon, 12 May 2025 12:29:23 +0200
Ludovic Courtès <ludo <at> gnu.org> writes: > Hi, > > Rutherther <rutherther <at> ditigal.xyz> writes: > >> The command was `guix home container -L ./home/modules ./home/home-container.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’s no > misunderstanding? Sure --8<---------------cut here---------------start------------->8--- [ruther:~/.setup] main(+68/-13)* 15s ± > ./target/guix/bin/guix home container -L ./home/modules ./home/home-configuration.scm 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 probably start with: (define-module (ruther home channels-emacs)) guix home: warning: ambiguous package specification `font-ubuntu' guix home: warning: choosing font-ubuntu <at> 0.83 from ruther/home/fonts.scm:8:2 guix home: error: unshare: 268566528: Invalid argument Backtrace: 18 (primitive-load "/home/ruther/.setup/./target/guix/bin/…") 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…> …) 2212:25 6 (run-with-store #<store-connection 256.100 7fa85cec65a0> …) 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 _ # …) 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 θ61° [ruther:~/.setup] main(+68/-13)* 58s 1 ± > ./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 --8<---------------cut here---------------end--------------->8--- > > This is on Guix System, right? Yes > > Thanks, > Ludo’.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Mon, 12 May 2025 11:58:02 GMT) Full text and rfc822 format available.Message #22 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: Rutherther <rutherther <at> ditigal.xyz> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Mon, 12 May 2025 13:43:57 +0200
Hi, Rutherther <rutherther <at> ditigal.xyz> writes: > --8<---------------cut here---------------start------------->8--- > [ruther:~/.setup] main(+68/-13)* 15s ± >> ./target/guix/bin/guix home container -L ./home/modules ./home/home-configuration.scm > 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 probably start with: > > (define-module (ruther home channels-emacs)) > > guix home: warning: ambiguous package specification `font-ubuntu' > guix home: warning: choosing font-ubuntu <at> 0.83 from ruther/home/fonts.scm:8:2 > guix home: error: unshare: 268566528: Invalid argument Is this from within a container? Does ‘guix shell -C coreutils’ work? Thanks, Ludo’.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Mon, 12 May 2025 12:34:02 GMT) Full text and rfc822 format available.Message #25 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Rutherther <rutherther <at> ditigal.xyz> To: Ludovic Courtès <ludo <at> gnu.org> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Mon, 12 May 2025 14:32:47 +0200
Ludovic Courtès <ludo <at> gnu.org> writes: > Hi, > > Rutherther <rutherther <at> ditigal.xyz> writes: > >> --8<---------------cut here---------------start------------->8--- >> [ruther:~/.setup] main(+68/-13)* 15s ± >>> ./target/guix/bin/guix home container -L ./home/modules ./home/home-configuration.scm >> 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 probably start with: >> >> (define-module (ruther home channels-emacs)) >> >> guix home: warning: ambiguous package specification `font-ubuntu' >> guix home: warning: choosing font-ubuntu <at> 0.83 from ruther/home/fonts.scm:8:2 >> guix home: error: unshare: 268566528: Invalid argument > > Is this from within a container? No. > > Does ‘guix shell -C coreutils’ 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 ± > ~/.setup/target/guix/bin/guix home container doc/he-config-bare-bones.scm substitute: looking for substitutes on 'https://substitutes.nonguix.org'... 100.0% substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org'... 100.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 binding `delete' WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete' Symlinking /home/ruther/.bash_profile -> /gnu/store/gghay5fzpad5w7082nnk6z9lj7q00drv-bash_profile... done Symlinking /home/ruther/.profile -> /gnu/store/vvxqfhlkpi90bgmfh1b03kkwfq7pmfkk-shell-profile... done Symlinking /home/ruther/.bashrc -> /gnu/store/b9ppn0jdrda5h88mw5x35m2jvms8izw6-bashrc... done Symlinking /home/ruther/.config/test.conf -> /gnu/store/i8wsnvh1q8lbgyf50vapfsn2rfj7a2nc-tmp-file.txt... done Symlinking /home/ruther/.config/fontconfig/fonts.conf -> /gnu/store/mw4clgkwj3rvlnfv0gd694aabvamr0sa-fonts.conf... done Symlinking /home/ruther/.config/shepherd/init.scm -> /gnu/store/ysg5icpancicn1hi2gfd1q3xvmmgb8lf-shepherd.conf... done done Finished updating symlinks. Comparing /gnu/store/non-existing-generation/profile/share/fonts and /gnu/store/84kwxidarhpibps26xyqbdpj5lfk1s37-home/profile/share/fonts... 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---
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Mon, 12 May 2025 12:47:02 GMT) Full text and rfc822 format available.Message #28 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Rutherther <rutherther <at> ditigal.xyz> To: Ludovic Courtès <ludo <at> gnu.org> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Mon, 12 May 2025 14:45:53 +0200
Ludovic Courtès <ludo <at> gnu.org> writes: > Hi, > > Rutherther <rutherther <at> ditigal.xyz> writes: >> Here are the backtraces: >> guix system: > > Fixed in 437bb9ece55f37d4b5a62cafc98c0c3b848a53ce. Confirmed.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Tue, 13 May 2025 15:23:02 GMT) Full text and rfc822 format available.Message #31 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: Rutherther <rutherther <at> ditigal.xyz> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Tue, 13 May 2025 17:21:39 +0200
Hi, Rutherther <rutherther <at> ditigal.xyz> 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 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 probably start with: > > (define-module (ruther home channels-emacs)) > > guix home: warning: ambiguous package specification `font-ubuntu' > guix home: warning: choosing font-ubuntu <at> 0.83 from ruther/home/fonts.scm:8:2 > guix home: error: unshare: 268566528: Invalid argument What’s 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 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--- Probably use of ‘current-guix’? Anyway, do you think you could boil it down to a minimal reproducer? Thanks, Ludo’.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Tue, 13 May 2025 17:34:03 GMT) Full text and rfc822 format available.Message #34 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Rutherther <rutherther <at> ditigal.xyz> To: Ludovic Courtès <ludo <at> gnu.org> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Tue, 13 May 2025 19:33:03 +0200
Ludovic Courtès <ludo <at> gnu.org> writes: > Hi, > > Rutherther <rutherther <at> ditigal.xyz> 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 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 probably start with: >> >> (define-module (ruther home channels-emacs)) >> >> guix home: warning: ambiguous package specification `font-ubuntu' >> guix home: warning: choosing font-ubuntu <at> 0.83 from ruther/home/fonts.scm:8:2 >> guix home: error: unshare: 268566528: Invalid argument > > What’s 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 > 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 ‘current-guix’? > > 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’.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Tue, 13 May 2025 21:52:03 GMT) Full text and rfc822 format available.Message #37 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: Rutherther <rutherther <at> ditigal.xyz> Cc: 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Tue, 13 May 2025 23:42:03 +0200
Hi, Rutherther <rutherther <at> ditigal.xyz> writes: >> --8<---------------cut here---------------start------------->8--- >> <x home container -L home/modules home/home-configuration.scm >> 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. Yes, I was running it in ‘guix shell -CW’. Ludo’.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Thu, 15 May 2025 06:26:01 GMT) Full text and rfc822 format available.Message #40 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com> To: Ludovic Courtès <ludo <at> gnu.org> Cc: Rutherther <rutherther <at> ditigal.xyz>, 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Thu, 15 May 2025 15:25:07 +0900
Hi, Ludovic Courtès <ludo <at> gnu.org> writes: > Hi, > > Rutherther <rutherther <at> ditigal.xyz> 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 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 probably start with: >> >> (define-module (ruther home channels-emacs)) >> >> guix home: warning: ambiguous package specification `font-ubuntu' >> guix home: warning: choosing font-ubuntu <at> 0.83 from ruther/home/fonts.scm:8:2 >> guix home: error: unshare: 268566528: Invalid argument > > What’s 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 > 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 ‘current-guix’? > > 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=readymedia --8<---------------cut here---------------end--------------->8--- It may not fail every time (?). In the VM, in /var/log/readymedia/minidlna.log, we can read: --8<---------------cut here---------------start------------->8--- 2025-05-15 08:22:27 In gnu/build/linux-container.scm: ...skipping... 2025-05-15 08:22:27 476:16 3 (_ "/tmp/guix-directory.w1REZ6") 2025-05-15 08:22:27 62:6 2 (call-with-clean-exit #<procedure 7fa0ff7c2e80 at gnu/b?>) 2025-05-15 08:22:27 321:20 1 (_) 2025-05-15 08:22:27 In guix/build/syscalls.scm: 2025-05-15 08:22:27 1231:10 0 (_ 268566528) 2025-05-15 08:22:27 2025-05-15 08:22:27 guix/build/syscalls.scm:1231:10: In procedure unshare: 268566528: Invalid argument 2025-05-15 08:22:28 Backtrace: 2025-05-15 08:22:28 4 (primitive-load "/gnu/store/4h68sswscz96wk47724bfqfrq9n?") 2025-05-15 08:22:28 In ice-9/eval.scm: 2025-05-15 08:22:28 191:35 3 (_ _) 2025-05-15 08:22:28 In gnu/build/linux-container.scm: 2025-05-15 08:22:28 368:8 2 (call-with-temporary-directory #<procedure 7fa0ff7df3f0?>) 2025-05-15 08:22:28 485:7 1 (_ "/tmp/guix-directory.w1REZ6") 2025-05-15 08:22:28 In unknown file: 2025-05-15 08:22:28 0 (waitpid #f #<undefined>) 2025-05-15 08:22:28 2025-05-15 08:22:28 ERROR: In procedure waitpid: 2025-05-15 08:22:28 Wrong type (expecting exact integer): #f --8<---------------cut here---------------end--------------->8--- The service uses least-authority-wrapper. -- Thanks, Maxim
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Thu, 15 May 2025 08:34:03 GMT) Full text and rfc822 format available.Message #43 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Ludovic Courtès <ludo <at> gnu.org> To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com> Cc: Rutherther <rutherther <at> ditigal.xyz>, 78356 <at> debbugs.gnu.org Subject: Re: bug#78356: Broken system and home containers Date: Thu, 15 May 2025 10:29:08 +0200
Hi Maxim, Maxim Cournoyer <maxim.cournoyer <at> gmail.com> writes: > Not sure how minimal that is, but I can trigger this in the readymedia > system test: > > --8<---------------cut here---------------start------------->8--- > make check-system TESTS=readymedia > --8<---------------cut here---------------end--------------->8--- > > It may not fail every time (?). In the VM, in > /var/log/readymedia/minidlna.log, we can read: > > --8<---------------cut here---------------start------------->8--- > 2025-05-15 08:22:27 In gnu/build/linux-container.scm: > ...skipping... > 2025-05-15 08:22:27 476:16 3 (_ "/tmp/guix-directory.w1REZ6") > 2025-05-15 08:22:27 62:6 2 (call-with-clean-exit #<procedure 7fa0ff7c2e80 at gnu/b?>) > 2025-05-15 08:22:27 321:20 1 (_) > 2025-05-15 08:22:27 In guix/build/syscalls.scm: > 2025-05-15 08:22:27 1231:10 0 (_ 268566528) > 2025-05-15 08:22:27 > 2025-05-15 08:22:27 guix/build/syscalls.scm:1231:10: In procedure unshare: 268566528: Invalid argument > 2025-05-15 08:22:28 Backtrace: > 2025-05-15 08:22:28 4 (primitive-load "/gnu/store/4h68sswscz96wk47724bfqfrq9n?") > 2025-05-15 08:22:28 In ice-9/eval.scm: > 2025-05-15 08:22:28 191:35 3 (_ _) > 2025-05-15 08:22:28 In gnu/build/linux-container.scm: > 2025-05-15 08:22:28 368:8 2 (call-with-temporary-directory #<procedure 7fa0ff7df3f0?>) > 2025-05-15 08:22:28 485:7 1 (_ "/tmp/guix-directory.w1REZ6") > 2025-05-15 08:22:28 In unknown file: > 2025-05-15 08:22:28 0 (waitpid #f #<undefined>) > 2025-05-15 08:22:28 > 2025-05-15 08:22:28 ERROR: In procedure waitpid: > 2025-05-15 08:22:28 Wrong type (expecting exact integer): #f > --8<---------------cut here---------------end--------------->8--- > > The service uses least-authority-wrapper. Damnit. “make check-system TESTS=bitlbee” pass though (also using ‘least-authority-wrapper’) and I don’t see any significant difference between the two? Ludo’.
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Sun, 18 May 2025 02:09:01 GMT) Full text and rfc822 format available.Message #46 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: hiecaq <this <at> hiecaq.org> To: 78356 <at> debbugs.gnu.org Cc: Ludovic Courtès <ludo <at> gnu.org>, Rutherther <rutherther <at> ditigal.xyz> Subject: Re: bug#78356: Broken system and home containers Date: Sun, 18 May 2025 10:08:17 +0800
Hi, Rutherther via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes: > Hi Ludo > > Ludovic Courtès <ludo <at> gnu.org> 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-container.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 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: --8<---------------cut here---------------start------------->8--- guix shell: error: unshare: 268566528: Invalid argument Backtrace: 16 (primitive-load "/home/hiecaq/.config/guix/current/bin/…") 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 g…> …) In guix/scripts/environment.scm: 1184:11 6 (proc _) In guix/store.scm: 2212:25 5 (run-with-store #<store-connection 256.100 7f364cd41050> …) In guix/scripts/environment.scm: 898:8 4 (_ _) In gnu/build/linux-container.scm: 485:7 3 (call-with-container _ _ #:namespaces _ #:host-uids _ # …) 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 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 writable root. So 3. I quit the current shell and then `guix shell -C -m manifest.scm --writable-root`, it failed with the above error. 4. After that, `guix shell -C -m manifest.scm` also failed, but if I kept retrying sometimes it succeeded. With `--writable-root` it 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 `d505cb960fd1e670be9a66d9fdbad94bc49e891d` before yesterday (so `--writable-root` were not introduced yet) and I had never got any similar error before. I hope my case is reproducible ;) Thanks, hiecaq
bug-guix <at> gnu.org
:bug#78356
; Package guix
.
(Sun, 18 May 2025 06:59:02 GMT) Full text and rfc822 format available.Message #49 received at 78356 <at> debbugs.gnu.org (full text, mbox):
From: Rutherther <rutherther <at> ditigal.xyz> To: hiecaq <this <at> hiecaq.org>, 78356 <at> debbugs.gnu.org Cc: Ludovic Courtès <ludo <at> gnu.org> Subject: Re: bug#78356: Broken system and home containers Date: Sun, 18 May 2025 08:57:52 +0200
Hi, hiecaq <this <at> hiecaq.org> 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
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.