GNU bug report logs - #63902
System containers with --network won't start "In procedure canonicalize-path: No such file or directory"

Previous Next

Package: guix;

Reported by: edk <at> beaver-labs.com

Date: Mon, 5 Jun 2023 09:59:02 UTC

Severity: normal

Done: Edouard Klein <edou <at> rdklein.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63902 in the body.
You can then email your comments to 63902 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#63902; Package guix. (Mon, 05 Jun 2023 09:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to edk <at> beaver-labs.com:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 05 Jun 2023 09:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: edk <at> beaver-labs.com
To: bug-guix <bug-guix <at> gnu.org>
Subject: System containers with --network won't start "In procedure
 canonicalize-path: No such file or directory"
Date: Mon, 05 Jun 2023 10:23:49 +0200
Dear Guix developers,

To reproduce the bug, take the example container from the documentation:
https://guix.gnu.org/cookbook/en/html_node/A-Database-Container.html

Create a container from the code:
guix system container os.scm

Try to run the container:
sudo /gnu/store/lsa8k983ap58mw8vcpqph89g27skara4-run-container

it works.

Now, just add --network:

guix system container --network os.scm

Run the container
sudo /gnu/store/zqbhfbkc52ifl7j2xhsr9vr1r2a0dpjg-run-container

it fails (both on a Guix System and on a foreign distro (Arch)) with:


system container is running as PID 9090
WARNING: (guile-user): imported module (guix build utils) overrides core binding `delete'
Run 'sudo guix container exec 9090 /run/current-system/profile/bin/bash --login'
or run 'sudo nsenter -a -t 9090' to get a shell into it.

Backtrace:
           7 (primitive-load "/gnu/store/zqbhfbkc52ifl7j2xhsr9vr1r2a?")
In gnu/build/linux-container.scm:
    300:8  6 (call-with-temporary-directory #<procedure 7f0ccbed7d70?>)
   397:16  5 (_ "/tmp/guix-directory.9y6q6s")
     62:6  4 (call-with-clean-exit #<procedure 7f0ccbee3300 at gnu/b?>)
In unknown file:
           3 (primitive-load "/gnu/store/wk96j04sy1rd4sx86n5y7x1a81y?")
In ice-9/eval.scm:
    619:8  2 (_ #f)
   196:35  1 (_ #f)
In unknown file:
           0 (canonicalize-path "/run/current-system")

ERROR: In procedure canonicalize-path:
In procedure canonicalize-path: No such file or directory


I'm available to help with tests.

Cheers,

Edouard.




Information forwarded to bug-guix <at> gnu.org:
bug#63902; Package guix. (Thu, 08 Jun 2023 07:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 63902 <at> debbugs.gnu.org (full text, mbox):

From: Josselin Poiret <dev <at> jpoiret.xyz>
To: edk <at> beaver-labs.com, 63902 <at> debbugs.gnu.org
Subject: Re: bug#63902: System containers with --network won't start "In
 procedure canonicalize-path: No such file or directory"
Date: Thu, 08 Jun 2023 09:20:28 +0200
[Message part 1 (text/plain, inline)]
Hi,

edk <at> beaver-labs.com writes:

> ERROR: In procedure canonicalize-path:
> In procedure canonicalize-path: No such file or directory

This bug should have been fixed by
181951207339508789b28ba7cb914f983319920f, can you `guix pull` to update
guix and retry?

Best,
-- 
Josselin Poiret
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#63902; Package guix. (Tue, 13 Jun 2023 20:07:02 GMT) Full text and rfc822 format available.

Message #11 received at 63902 <at> debbugs.gnu.org (full text, mbox):

From: Edouard Klein <edou <at> rdklein.fr>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: 63902-done <at> debbugs.gnu.org, 63902 <at> debbugs.gnu.org
Subject: Re: bug#63902: System containers with --network won't start "In
 procedure canonicalize-path: No such file or directory"
Date: Tue, 13 Jun 2023 22:03:13 +0200
Thank you Josselin, I can indeed confirm that it works now :)


Josselin Poiret <dev <at> jpoiret.xyz> writes:

> [[PGP Signed Part:Undecided]]
> Hi,
>
> edk <at> beaver-labs.com writes:
>
>> ERROR: In procedure canonicalize-path:
>> In procedure canonicalize-path: No such file or directory
>
> This bug should have been fixed by
> 181951207339508789b28ba7cb914f983319920f, can you `guix pull` to update
> guix and retry?
>
> Best,




Reply sent to Edouard Klein <edou <at> rdklein.fr>:
You have taken responsibility. (Tue, 13 Jun 2023 20:07:02 GMT) Full text and rfc822 format available.

Notification sent to edk <at> beaver-labs.com:
bug acknowledged by developer. (Tue, 13 Jun 2023 20:07:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 12 Jul 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 289 days ago.

Previous Next


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