unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63902: System containers with --network won't start "In procedure canonicalize-path: No such file or directory"
@ 2023-06-05  8:23 edk
  2023-06-08  7:20 ` Josselin Poiret via Bug reports for GNU Guix
  0 siblings, 1 reply; 3+ messages in thread
From: edk @ 2023-06-05  8:23 UTC (permalink / raw)
  To: 63902

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#63902: System containers with --network won't start "In procedure canonicalize-path: No such file or directory"
  2023-06-05  8:23 bug#63902: System containers with --network won't start "In procedure canonicalize-path: No such file or directory" edk
@ 2023-06-08  7:20 ` Josselin Poiret via Bug reports for GNU Guix
  2023-06-13 20:03   ` Edouard Klein
  0 siblings, 1 reply; 3+ messages in thread
From: Josselin Poiret via Bug reports for GNU Guix @ 2023-06-08  7:20 UTC (permalink / raw)
  To: edk, 63902

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

Hi,

edk@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 682 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#63902: System containers with --network won't start "In procedure canonicalize-path: No such file or directory"
  2023-06-08  7:20 ` Josselin Poiret via Bug reports for GNU Guix
@ 2023-06-13 20:03   ` Edouard Klein
  0 siblings, 0 replies; 3+ messages in thread
From: Edouard Klein @ 2023-06-13 20:03 UTC (permalink / raw)
  To: Josselin Poiret; +Cc: 63902-done, 63902

Thank you Josselin, I can indeed confirm that it works now :)


Josselin Poiret <dev@jpoiret.xyz> writes:

> [[PGP Signed Part:Undecided]]
> Hi,
>
> edk@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,




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-06-13 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-05  8:23 bug#63902: System containers with --network won't start "In procedure canonicalize-path: No such file or directory" edk
2023-06-08  7:20 ` Josselin Poiret via Bug reports for GNU Guix
2023-06-13 20:03   ` Edouard Klein

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).