From unknown Thu Jun 12 08:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35472: Boot bind mount device path incorrect Resent-From: rendaw <7e9wc56emjakcm@s.rendaw.me> Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 28 Apr 2019 15:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35472 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35472@debbugs.gnu.org X-Debbugs-Original-To: submit@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155646529015645 (code B ref -1); Sun, 28 Apr 2019 15:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Apr 2019 15:28:10 +0000 Received: from localhost ([127.0.0.1]:37630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hKlir-00044H-Sl for submit@debbugs.gnu.org; Sun, 28 Apr 2019 11:28:10 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <7e9wc56emjakcm@s.rendaw.me>) id 1hKlip-000444-Co for submit@debbugs.gnu.org; Sun, 28 Apr 2019 11:28:08 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E6A0221FE0 for ; Sun, 28 Apr 2019 11:28:01 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 28 Apr 2019 11:28:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rendaw.me; h=to :from:subject:message-id:date:mime-version:content-type :content-transfer-encoding; s=fm3; bh=yaTmA/Ky+v178jM9sr7ExRYiqC hFasx3g7XTvHpY+ic=; b=Sr4kag4HG62InpPXrvDz33sAXmH3PnIEnNdtTJag0W AnaXj/4zMZ2chxKgkmAcsVye9Tip6rMqwgZEBugDqF/PCesMrzhf7FPo5nu6X4px k6wiO5Fcnlvhx8KmlClO1vKmvmIZU59spJcH7YREcAHahQsP/FV0HyqJGvbxc/lw iRlWW16sp9Z+g7xGVWoOqUMAhkURagrNZFGj5wr3cwi4vQHnBBvRHzQUgRy8HWQv 1GLgbzNn+pZHk7GK9GmQMBykO6zyQ6EeIWdLTaNIrx7wCXO2arduW01MCqQY+oDI 4KxchQGEpxm/P4NWXURy5g/Wo0f8/ckyzcifMs3GJ1cg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=yaTmA/ Ky+v178jM9sr7ExRYiqChFasx3g7XTvHpY+ic=; b=eBnamdM0aACU57VIsoQdAR t7b6jHpKNNXnz+W8rgvsrLPG8v47/nm/rOzsbf55eICEmLjil/De1Tao+cQAzQa1 Hk8WmO0oGUK2LivV3dViJT6fadkb+/uumzl0oa5YPNNriwNPEEqsb2Rc4hcLf9sG jNbsWOS3fbsmpUXyW6HuFK+iXnUl+nrskljbUxCDOYpjTgdoX42US1YCjDotDa7J JoSp8Bs8pBYzmyzBLnXFJ1cZkzr00ONKaeZDJL2gF7T16weM0Omdph4P+C+obyMs c+2gXmaDH9E9t6v2lXiFfUeUwruRJgXrVih44WxZA4S/bSNM3lEoKvv+uZAzz+bw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddriedtgdeltdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepvffhuffkffgfgggtgfesthejredttd efjeenucfhrhhomheprhgvnhgurgifuceojegvleiftgehiegvmhhjrghktghmsehsrdhr vghnuggrfidrmhgvqeenucfkphepuddukedrvdegfedrvdefiedrudeileenucfrrghrrg hmpehmrghilhhfrhhomhepjegvleiftgehiegvmhhjrghktghmsehsrdhrvghnuggrfidr mhgvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.35] (y236169.dynamic.ppp.asahi-net.or.jp [118.243.236.169]) by mail.messagingengine.com (Postfix) with ESMTPA id E201BE4173 for ; Sun, 28 Apr 2019 11:28:00 -0400 (EDT) From: rendaw <7e9wc56emjakcm@s.rendaw.me> Openpgp: preference=signencrypt Message-ID: Date: Mon, 29 Apr 2019 00:27:58 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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") From unknown Thu Jun 12 08:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35472: References: In-Reply-To: Resent-From: =?UTF-8?Q?Fran=C3=A7ois-Ren=C3=A9?= Rideau Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Aug 2021 18:09:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35472 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 35472@debbugs.gnu.org Received: via spool by 35472-submit@debbugs.gnu.org id=B35472.162853249810674 (code B ref 35472); Mon, 09 Aug 2021 18:09:03 +0000 Received: (at 35472) by debbugs.gnu.org; 9 Aug 2021 18:08:18 +0000 Received: from localhost ([127.0.0.1]:57736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mD9hC-0002m6-5i for submit@debbugs.gnu.org; Mon, 09 Aug 2021 14:08:18 -0400 Received: from mail-ej1-f53.google.com ([209.85.218.53]:38403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mD9Ts-0002Pd-HM for 35472@debbugs.gnu.org; Mon, 09 Aug 2021 13:54:33 -0400 Received: by mail-ej1-f53.google.com with SMTP id z20so7673821ejf.5 for <35472@debbugs.gnu.org>; Mon, 09 Aug 2021 10:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mukn-io.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=y9HNUXr/h7u3L5uPRebyiX8HrqGxmszRSlk4A0Jyh7Q=; b=uUpqybB3dRFKur/R1DelPDAAhzAPbh63pqb1bomkT++Wj5gL2M+d0P0R3+M6SsY/Rt PVgAvkmjz22j2GB3Rb+CPwtk1N0HXDFf4R6VJEZ8ysGX4NnP0LkFjg5oD19SadcIphzL apkjCPrleslrUpNVI+7DeXt4qFMy2IFipLwTyK68ogtyY7hRpp3PaUtTrowxXHsmflYm SidN9CXeKg1nC8Hu4dYCWwESut6k+YdZgsuZSpXPyzJZDsCMNgJYCM5/zHzG+i0yw6kG 7p8pz+l1UYPguvY1Dkginghb5CGWUET3uRBJnt1nfeuZulJdRxb66B0hY7LMLLl8reKE ex/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=y9HNUXr/h7u3L5uPRebyiX8HrqGxmszRSlk4A0Jyh7Q=; b=Qrm3E5pkoRLhXDTcu+VEHsHd0wTF1SpU0nHrfvWAXHPivjDCHPkIRMc26EKh6zJ9Ma zbeyYjkxhWkSKe4RHwelA4fdZBgluX5wtmyZ1dLvzUTPmPitHf9Ec5UW80CnvXLzWU46 TfM0E58bmHZ8op6oKC0GHwC6yxxmg8ymuQkUjwV6P6WXeDYvkSBFiLpRGfD2vs92lOje LDQyT+kVQhsbp7y830/XZ11JjTGy2TkFmKkomFKRxHMFhIqvcM2pl1vU64a1PdCavxJ4 o7RmMnhNnIZO/Vqr1TEpn3LYotCANyogIl7DfVOgRN2A5aFtQAGR8ggUUbp1QMxgt1aE +c8A== X-Gm-Message-State: AOAM531aTKiOUISyvMScKq3laAvf037tz0qMbkS7cHjcGFZeaa7dM3H8 2g+qISVLUvMeD0Eiw2P2NUatWCVxBBxJYdXlekrHHKVmSdENwA== X-Google-Smtp-Source: ABdhPJzBn3dKa74FWvvDGSq6FonydJ6dC2q4p3Sm6D4dSFVOsZ4YYd4fFrxKB0U+GE0V5nLaokTbcadB2sC4OO+tUQI= X-Received: by 2002:a17:906:4310:: with SMTP id j16mr24193805ejm.182.1628531666282; Mon, 09 Aug 2021 10:54:26 -0700 (PDT) MIME-Version: 1.0 From: =?UTF-8?Q?Fran=C3=A7ois-Ren=C3=A9?= Rideau Date: Mon, 9 Aug 2021 13:54:15 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I believe my issue is the same and that I could narrow it down more. The `mount --bind /nixos/nix /nix` command works, but if I put a line `"/nixos/nix /nix bind defaults"` in `/etc/fstab`, then mount will instead fail with: `mount: /nix: unknown filesystem type 'bind' [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_NONE SPF: sender does not publish an SPF Record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.218.53 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.218.53 listed in wl.mailspike.net] 2.0 BLANK_SUBJECT Subject is present but empty -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-Mailman-Approved-At: Mon, 09 Aug 2021 14:08:17 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) I believe my issue is the same and that I could narrow it down more. The `mount --bind /nixos/nix /nix` command works, but if I put a line `"/nixos/nix /nix bind defaults"` in `/etc/fstab`, then mount will instead fail with: `mount: /nix: unknown filesystem type 'bind'.` If instead in fstab I use type `none` and put `bind` in the options, then `mount /nix` works at the command-line but interestlingly `guix system reconfigure guix-config.scm` still fails with: ``` guix system: warning: exception caught while executing 'start' on service 'file-system-/nix': In procedure mount: mount "/nixos/nix" on "///nix": No such device guix system: warning: some services could not be upgraded ``` Below is the `file-systems` definition of my `guix-config.scm`, in an attem= pt to share the `/nix` directory of my NixOS installation with GuixSD, just li= ke I share the /guix directory of my GuixSD installation with NixOS: ``` (file-systems (append (let* ((boot (file-system ;;(uuid "C1D9-0574") (device "/dev/nvme0n1p1") (mount-point "/boot") (type "vfat"))) (root (file-system ;;(device "/dev/mapper/yew-guix") (device (uuid "43f7ca3e-c107-4f15-9756-5d3cbacad0a0")) (mount-point "/") (type "btrfs") #;(flags '(no-atime)) (options "compress=3Dzstd") (dependencies mapped-devices))) (home (file-system ;;(device "/dev/yew/home") (device (uuid "a3602532-3527-4afc-9b40-5d01c58b5aa8")) (mount-point "/home") (type "ext4") (dependencies mapped-devices))) (nixos (file-system (device (uuid "ab3d691b-227a-4a05-a084-6928abbf0959")) (mount-point "/nixos") (type "ext4") (dependencies mapped-devices))) (nix (file-system (device "/nixos/nix") (mount-point "/nix") ;;(type "bind") ;; fails both at CLI and during reconfigu= re (type "none") (option "bind") ;; CLI OK, reconfigure FAIL (dependencies (list nixos))))) (append (list boot root home nixos nix) %base-file-systems)))) ``` Note that neither bind nor none appear in `/proc/filesystem` nor in `/run/booted-system/kernel/lib/modules/5.13.8/kernel/fs` =E2=80=94 but then neither do they on NixOS and yet it all works there. From unknown Thu Jun 12 08:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35472: Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Aug 2021 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35472 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Fran=C3=A7ois-Ren=C3=A9?= Rideau Cc: 35472@debbugs.gnu.org Received: via spool by 35472-submit@debbugs.gnu.org id=B35472.162853540015124 (code B ref 35472); Mon, 09 Aug 2021 18:57:02 +0000 Received: (at 35472) by debbugs.gnu.org; 9 Aug 2021 18:56:40 +0000 Received: from localhost ([127.0.0.1]:57781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDARv-0003vi-OD for submit@debbugs.gnu.org; Mon, 09 Aug 2021 14:56:40 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:44761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDARm-0003vL-9H for 35472@debbugs.gnu.org; Mon, 09 Aug 2021 14:56:31 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id DF6845C0053; Mon, 9 Aug 2021 14:56:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 09 Aug 2021 14:56:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=MyqQ9khB+BnodAN7+7MjR7vu9uGJtdyKHZwtx7QDmVI=; b=RFkuRG97NcdE A+G/+AHarQrTDxCjPgETYWKJZpEIzbGWQbNZat17L6OzT/WB2txAccZGqULqbxge UdCURCqO1aEMyAT+roPP8JXrLeriXvEgFfkVpvlm0lKRpb2LaVUNFpwGOxvsI0dR VI+S8Sa3viFr+jdkbZVakXlmPDoiFBM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=MyqQ9khB+BnodAN7+7MjR7vu9uGJtdyKHZwtx7QDm VI=; b=dL7h0SUP9SQBG0lXR/gsRj7foCOTR3Iz/M4+AXOWCH5G0zTtV3YeBgPl+ tjDrv0ZiBWBW1uOpATrH9VHlNS/zug2brDUDtQqBdZcRkiFNHIiGVbfldzsTmvkq XTpU2W6EDsLa6vzawG0U4uuqFOh0qy82tcDG6bUvH5IBldEB9VPJo6HP4rDP8hKn aA7zFJChPTNEqcY+/6OPmWopW3xJnKivo0OxDA3Ya1nAiyTzeFzk/WPQxTzsQZ6J ioct0fCma2fmTHzFi1cEAU6mzBnq+U0b0WaUq79lrAT5cGdazV+yRgmIimEYE1Hu tgmKlG8EBCBnnUyj8yWxVhYq/7lDA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeejgddufeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggugfgjsehtke ertddttddunecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhl rghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeegieelteeuuedujeehfefhtddugf effeehuedtueevfefhhffffffgveeileduhfenucffohhmrghinhepghhnuhdrohhrghen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghose hfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 Aug 2021 14:56:19 -0400 (EDT) Date: Mon, 9 Aug 2021 14:56:17 -0400 From: Leo Famulari Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Aug 09, 2021 at 01:54:15PM -0400, François-René Rideau wrote: > (nix (file-system > (device "/nixos/nix") > (mount-point "/nix") > ;;(type "bind") ;; fails both at CLI and during reconfigure > (type "none") (option "bind") ;; CLI OK, reconfigure FAIL > (dependencies (list nixos))))) Try replacing the option field with (flags '(bind-mount)) https://guix.gnu.org/manual/en/html_node/File-Systems.html From unknown Thu Jun 12 08:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35472: Resent-From: =?UTF-8?Q?Fran=C3=A7ois-Ren=C3=A9?= Rideau Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Aug 2021 21:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35472 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 35472@debbugs.gnu.org Received: via spool by 35472-submit@debbugs.gnu.org id=B35472.162854479330954 (code B ref 35472); Mon, 09 Aug 2021 21:34:01 +0000 Received: (at 35472) by debbugs.gnu.org; 9 Aug 2021 21:33:13 +0000 Received: from localhost ([127.0.0.1]:57945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDCtQ-000837-Th for submit@debbugs.gnu.org; Mon, 09 Aug 2021 17:33:13 -0400 Received: from mail-ed1-f46.google.com ([209.85.208.46]:34339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDCTr-0007Le-Ac for 35472@debbugs.gnu.org; Mon, 09 Aug 2021 17:06:43 -0400 Received: by mail-ed1-f46.google.com with SMTP id i6so26737851edu.1 for <35472@debbugs.gnu.org>; Mon, 09 Aug 2021 14:06:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mukn-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2218BrUJRehKlNSifPHFMJbpdeFOAXtg/KbaMcVU6hc=; b=1mCxuQV80Hsg3dA5vT9j5INLk7jc47QWg6oaKl0Cq4hz9EhoB0C5I8vuvT3dK6cRlq bDxfWwQ8fnHN/+33wFhWfeyGkrQcYzo/avjR1/r85/8QkMJkRzK0hnOdza9GSJAt9K9n heH8RgROXuWSJ7iemLdr3Dxd10QMUu8tq5uxYbFxN7JXA5dXK/Bz0zpNBw5Z6ifLwM+8 j0crTtBmN06tg9ElvRIJzz4nHL+/LpHSJXavr+5XjSBre+Qyz1GGlEyxCsbY0zqD1o0g shmWt9tUucIEAnM8rowb9ZryPDGt28z9/bLx5ciwZ2VhW91g4pCZDNNQanMc7PMYjBR6 Xg/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2218BrUJRehKlNSifPHFMJbpdeFOAXtg/KbaMcVU6hc=; b=QevFysApVRQRDnf/gIcApesL3yAcpjYz9wkQ37gleLd12aECndcNbTvaFwYa+0Cbns +S8rKi0FbKNlFFNBGlATKhSsDmnABkxlwwHj9WzOgDYVMfyMpt+uWdykYynGNEw9tCPK a8Et/JkeU0wKc8oon2Z3R3HP70Ftr64fe1eyy85zX71ut73cHGhs0mNr79Xi6kilhRLx AN6Eb7mIS/BUTPtCrzE+s39FHW5vLccJcKTlu70vuxCoE8VzWGhVjulgToKTHqoLTuln yUp2WQYU80zucnNkqWvKFXy674anCaVPC1IU3KLAZP+mmC+ls8oMMtVYxYWxHakxJFQk R7dA== X-Gm-Message-State: AOAM533KvB5M+g0IZYjKXIdFqAwEnOAUBNSuvS8uFxbAoSyED+9L2hHR inUmOzPJ80LYPceViOIRJUGKf1fsUbhLh94XOHQHCQ== X-Google-Smtp-Source: ABdhPJxaPcbXc28dypNl5LLL5KPtKrdcP9VeG7BvythZOLyXz8XK42ZjFnanRAeINbvYiAF2Kw5vTdyi9AOM3YJsR+s= X-Received: by 2002:a05:6402:2692:: with SMTP id w18mr358307edd.102.1628543197414; Mon, 09 Aug 2021 14:06:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Fran=C3=A7ois-Ren=C3=A9?= Rideau Date: Mon, 9 Aug 2021 17:06:26 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Mailman-Approved-At: Mon, 09 Aug 2021 17:33:07 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Wow, this works: (type "bind") (flags '(bind-mount)) and it works by *not* putting any entry in /etc/fstab, yet doing the thing somehow. So the bug in mount is still there, but is worked around. > https://guix.gnu.org/manual/en/html_node/File-Systems.html Indeed bind-mount is mentioned there, but vastly under-documented, especially since the guix paragraph refers to some glibc documentation for mount(2) for details, and those details saying nothing whatsoever about bind. From unknown Thu Jun 12 08:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35472: Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Aug 2021 22:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35472 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: =?UTF-8?Q?Fran=C3=A7ois-Ren=C3=A9?= Rideau Cc: 35472@debbugs.gnu.org Received: via spool by 35472-submit@debbugs.gnu.org id=B35472.16285469981753 (code B ref 35472); Mon, 09 Aug 2021 22:10:02 +0000 Received: (at 35472) by debbugs.gnu.org; 9 Aug 2021 22:09:58 +0000 Received: from localhost ([127.0.0.1]:57971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDDSz-0000S8-OH for submit@debbugs.gnu.org; Mon, 09 Aug 2021 18:09:58 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59701) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDDSu-0000Rr-2c for 35472@debbugs.gnu.org; Mon, 09 Aug 2021 18:09:52 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A83CF5C0175; Mon, 9 Aug 2021 18:09:42 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 09 Aug 2021 18:09:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-transfer-encoding:in-reply-to; s=mesmtp; bh=rcmEnP8TtCABTrweuFozIPb3T/oJx5I/4+qlLH9oOUU=; b=ovv9hHePoyCG OjfRG/llHoYktbjuIQSqaQJFegwW/ZrwhDSfLA+mnsA2rJclMK1h/7GLdfjLrwmO uOfctJva2622QgDVghpUcXoCFgo9td9U66oDWf3uWcqNn9u5VMNzrF2UmuuClgGZ gsF0pXWZy5IF3YlUPqXsjoCK2SVcvUs= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=rcmEnP8TtCABTrweuFozIPb3T/oJx5I/4+qlLH9oO UU=; b=WvrDNVq0axLWLCHxwVSZrbhQukn6udy4wvu5+Ti/WMrFa2rn7sUl/YAm5 hahvmCobdwj8xRP1aARFkZYjYuZWXtNXTzyF7l5V2E+IxNlRMSaCtIQtB3C8bYx1 KPEEFhPpwmc+6JW0xCTTpmGFAF03kNPg2NKGg5/L0Jd2BO3/nmXDmzUtxKYu1NB1 UiYzTSSyocB1+55A2SL5kAodfp5t27LnSXjmR0CigZKN767FN2uz0tVJ7M/Qx2/W 1ulF/i1mNAKf7b03fLzJDBY+fQlT4/poHOmV97ZbjsuihqU/LQeSSzC5AwuKUiuP Os/YgRlvMxzpMxaYFBgtLc9oq2+ow== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeekgddtiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjgesthekre dttddtudenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgr rhhirdhnrghmvgeqnecuggftrfgrthhtvghrnhepueeugedugfdvgfevuedvleduleefje fhgefgjeetgfegkedukefhvdefleejhefgnecuvehluhhsthgvrhfuihiivgeptdenucfr rghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgrrhhirdhnrghmvg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 Aug 2021 18:09:41 -0400 (EDT) Date: Mon, 9 Aug 2021 18:09:39 -0400 From: Leo Famulari Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Mon, Aug 09, 2021 at 05:06:26PM -0400, François-René Rideau wrote: > and it works by *not* putting any entry in /etc/fstab, yet doing the > thing somehow. So the bug in mount is still there, but is worked > around. Can you clarify what is the "bug in mount"? From unknown Thu Jun 12 08:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35472: Boot bind mount device path incorrect Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 09 Aug 2021 22:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35472 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: rendaw <7e9wc56emjakcm@s.rendaw.me> Cc: 35472@debbugs.gnu.org Received: via spool by 35472-submit@debbugs.gnu.org id=B35472.162854991314568 (code B ref 35472); Mon, 09 Aug 2021 22:59:02 +0000 Received: (at 35472) by debbugs.gnu.org; 9 Aug 2021 22:58:33 +0000 Received: from localhost ([127.0.0.1]:58023 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDEE5-0003mu-6p for submit@debbugs.gnu.org; Mon, 09 Aug 2021 18:58:33 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:60293) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDEE2-0003mg-Tj for 35472@debbugs.gnu.org; Mon, 09 Aug 2021 18:58:31 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 6A5FD5C0136; Mon, 9 Aug 2021 18:58:25 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 09 Aug 2021 18:58:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=mNZax4KNJDOzaIB8zo9GAHEj 9WjaIPFVXqIgzT7ol6c=; b=Y6z5fUoP4Sv03kOvIMJ1a8Xr94/JaiAj5Eq+pyYT OTI5qHXbQ5/5k5sDhWCRzkNeTCNU572I59DJIC6yKJClDL9j//FzEXS73sYMdLUb 596/EcZT4PBnCV1Wt0Mj4nXFpqUePSPKbYG0JFGptxxfyCS5acGuz/8SNlnhoxHt 5VA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=mNZax4 KNJDOzaIB8zo9GAHEj9WjaIPFVXqIgzT7ol6c=; b=kzUoPbOp+d0Bam/NPiHAVr 2na+XeFuHChLx+C8odsE0VF1P/IDsM1xzjKgwso5I+/hgqRr9mtvm8TkWIYWpZ78 6mED4h/mcw+SIySrqIp+T7MYtMVOBlgofGPkvF/csrbiae54cBZWsPWrd0BRr2jy vpbYRI6yewQw6Z62VU36IGGrBJ/hHYhaqJONfBSX2FG6WS5vUd0XTLjrOJ1VZRqI m0kqSMPFm87B8U+21GH8FAIeKAgfrHcht9U6cQ7OqBC0ZPL++CoMvYDqMy/ygDsr f5Ow0REf2L8TPyW0iaC9wH9VTKyD/UAZKBjTDExjAfyDVAsGKyGzqpFe9CLWwCYA == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeekgdduiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtuggjsehttdortd dttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghr ihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpefghfejleevteeuvefhheehhfevgfegve dtteetjefhfeefvdfhvddtjeejkedufeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 9 Aug 2021 18:58:23 -0400 (EDT) Date: Mon, 9 Aug 2021 18:58:22 -0400 From: Leo Famulari Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. From unknown Thu Jun 12 08:40:22 2025 X-Loop: help-debbugs@gnu.org Subject: bug#35472: Resent-From: =?UTF-8?Q?Fran=C3=A7ois-Ren=C3=A9?= Rideau Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 10 Aug 2021 01:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35472 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Famulari Cc: 35472@debbugs.gnu.org Received: via spool by 35472-submit@debbugs.gnu.org id=B35472.162856018914283 (code B ref 35472); Tue, 10 Aug 2021 01:50:02 +0000 Received: (at 35472) by debbugs.gnu.org; 10 Aug 2021 01:49:49 +0000 Received: from localhost ([127.0.0.1]:58111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDGtn-0003iH-QQ for submit@debbugs.gnu.org; Mon, 09 Aug 2021 21:49:49 -0400 Received: from mail-ej1-f42.google.com ([209.85.218.42]:43676) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mDGTZ-0000tJ-Sn for 35472@debbugs.gnu.org; Mon, 09 Aug 2021 21:22:44 -0400 Received: by mail-ej1-f42.google.com with SMTP id b15so8220263ejg.10 for <35472@debbugs.gnu.org>; Mon, 09 Aug 2021 18:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mukn-io.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=2CgRExzCj74vMKA00UyY4gvIhKTyRQT9epzcLRSKLVk=; b=uvVj1wR8trFXYmmvDy4kSGFQNaFMUdcSFMZzMJHEeiFPBdey2WGV9OIP7UBfpSHM9/ cg0I+FMKOcoG2KduJPPiNlO7PV+X3W3yEERMWcTH1Iw0n43guMbuXnwelwX7k2+HWElI DqS9rqbT0rV511RvOZqYI63DVc71WeCWr5aEKu3pVih2qOZ5LySAeHGGDWSjIo191AFw zkt4DmDb5Hvi5nx5a0TK3F5H/LGUXSCA6IG+TtHufp3cj6Lh/oHLSVmQhSMhe0M5ek3d wKvyrw2h0wmRKVnfmloMBjpepqRWktqNYrbmYV4DuntTA9Kt6mj30A+dZmgHHYAhWYsY xSfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2CgRExzCj74vMKA00UyY4gvIhKTyRQT9epzcLRSKLVk=; b=MppOw17KRg3Isjr7Iq2pMzcCQ3ThUR/u7s3t7hrWiL7O7o4uwjEPoLGxAroD5UI7PQ qrTVkXGQFrETyiNUgXw2uptqF4KQGXRnPJw+can0xiOUIAoLvGmy+pqAHkUF+t/vXFna nqZ1fFV1Gcj4eTLBYRUG2Z2LasHTGCA6WGA9qMkWOYKz3AIeoqLGom4jCkOQQqLpGXTL ALtQmmNLKBQf8sgigEDUUN0KRSyMx2b6ezTzFjEKhdpzz9VaWYI0udCJce4fMRoT8wdB LDaKFtn9p6OibEjh2Cev3LzgwOMqPrSh4XPtUI+QyGKGLnbd5VwnpznWYblARomalpwF aIKw== X-Gm-Message-State: AOAM5304iA8qMY/4rgV3AoFb3lN1FJ851nnuMQGcI0xXnCatdlopkJqK QAEs2ImIOPlqfmy4C6hBCNadz/KMOH64bUihhDTnSC1uqSg= X-Google-Smtp-Source: ABdhPJx4P0qRvaGuq9cRZqskCRFc5SKsPMLV6fSQnPOVDCXmxSWD/C0SCZZDFss2HROCikdE2f/tQjRuhtdAloEiJSg= X-Received: by 2002:a17:906:8751:: with SMTP id hj17mr24703952ejb.511.1628558555905; Mon, 09 Aug 2021 18:22:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Fran=C3=A7ois-Ren=C3=A9?= Rideau Date: Mon, 9 Aug 2021 21:22:25 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Mon, 09 Aug 2021 21:49:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) My apologies: I was just confused about the syntax of bind entries in /etc/fstab. "bind" goes in the options field (no ",defaults" needed), whereas "none" goes in the type field. I tried it this way and mount works just fine on Guix as well as on NixOS and Debian and other Linux variants; and with my incorrect syntax (with "bind" in the type field) it fails on all of them. Now, whereas the guix manual does need clarification about "bind-mount", I see that there is a recipe in the cookbook that specifically explains how to declare bind entries in Guix.