From mboxrd@z Thu Jan 1 00:00:00 1970 From: rendaw <7e9wc56emjakcm@s.rendaw.me> Subject: bug#35472: Boot bind mount device path incorrect Date: Mon, 29 Apr 2019 00:27:58 +0900 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([209.51.188.92]:41747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hKljl-0001Jq-EL for bug-guix@gnu.org; Sun, 28 Apr 2019 11:29:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hKljj-0005S4-M2 for bug-guix@gnu.org; Sun, 28 Apr 2019 11:29:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52321) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hKlji-0005R4-0I for bug-guix@gnu.org; Sun, 28 Apr 2019 11:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hKljh-00045e-PL for bug-guix@gnu.org; Sun, 28 Apr 2019 11:29:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: 35472@debbugs.gnu.org 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")