unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35472: Boot bind mount device path incorrect
@ 2019-04-28 15:27 rendaw
  2021-08-09 17:54 ` bug#35472: François-René Rideau
  2021-08-09 22:58 ` bug#35472: Boot bind mount device path incorrect Leo Famulari
  0 siblings, 2 replies; 7+ messages in thread
From: rendaw @ 2019-04-28 15:27 UTC (permalink / raw)
  To: 35472

Package: guix
Version: 0.16.0

I specified a needed-at-boot bind mount from "/x/y" to "/y" but this
failed with the error:

ERROR: In procedure stat:
In procedure stat: No such file or directory: "/x/y"

At boot "/x" is actually mounted at "/root/x" so the bind mount path
should be "/root/x/y" -- making such a change causes the boot to work.

User defined filesystems with non-dev paths added to the boot mounts
should either automatically get "/root" prepended to the device path or
else the fact that they need to be prepended should be included in the
documentation, since there's no other way to discover this (other than
reading the source and trial/error).

For people hitting the same error, you can double check the mount points
at the repl you're dropped into with:

(use-modules (ice-9 ftw))
(scandir "/root")

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

end of thread, other threads:[~2021-08-10  1:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-28 15:27 bug#35472: Boot bind mount device path incorrect rendaw
2021-08-09 17:54 ` bug#35472: François-René Rideau
2021-08-09 18:56   ` bug#35472: Leo Famulari
2021-08-09 21:06     ` bug#35472: François-René Rideau
2021-08-09 22:09       ` bug#35472: Leo Famulari
2021-08-10  1:22         ` bug#35472: François-René Rideau
2021-08-09 22:58 ` bug#35472: Boot bind mount device path incorrect Leo Famulari

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).