From: Leo Famulari <leo@famulari.name>
To: rendaw <7e9wc56emjakcm@s.rendaw.me>
Cc: 35472@debbugs.gnu.org
Subject: bug#35472: Boot bind mount device path incorrect
Date: Mon, 9 Aug 2021 18:58:22 -0400 [thread overview]
Message-ID: <YRGzDkLmdxoCGFrl@jasmine.lan> (raw)
In-Reply-To: <a31590f5-918c-5d13-4021-20f0117c1f30@s.rendaw.me>
On Mon, Apr 29, 2019 at 12:27:58AM +0900, rendaw wrote:
> Package: guix
> Version: 0.16.0
Reproduced with 1.3.0ish.
> 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.
To reproduce this bug:
# mkdir -p /foo/bar
# mkdir -p /bar
Add this to the file-systems field of your config.scm:
(file-system
(device "/foo/bar")
(mount-point "/bar")
(type "none")
(check? #f)
(needed-for-boot? #t)
(flags '(bind-mount)))
Your system should fail to boot.
prev parent reply other threads:[~2021-08-09 22:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Leo Famulari [this message]
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=YRGzDkLmdxoCGFrl@jasmine.lan \
--to=leo@famulari.name \
--cc=35472@debbugs.gnu.org \
--cc=7e9wc56emjakcm@s.rendaw.me \
/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).