unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: rendaw <7e9wc56emjakcm@s.rendaw.me>
To: 35472@debbugs.gnu.org
Subject: bug#35472: Boot bind mount device path incorrect
Date: Mon, 29 Apr 2019 00:27:58 +0900	[thread overview]
Message-ID: <a31590f5-918c-5d13-4021-20f0117c1f30@s.rendaw.me> (raw)

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

             reply	other threads:[~2019-04-28 15:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-28 15:27 rendaw [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a31590f5-918c-5d13-4021-20f0117c1f30@s.rendaw.me \
    --to=7e9wc56emjakcm@s.rendaw.me \
    --cc=35472@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).