From: stephan@asklandd.dk
To: buildroot@buildroot.org
Cc: Stephan Henningsen <stephan@asklandd.dk>,
Giulio Benetti <giulio.benetti@benettiengineering.com>
Subject: [Buildroot] [PATCH 2/2] package/util-linux: fix mount helper lookup path
Date: Sun, 15 Mar 2026 00:21:05 +0100 [thread overview]
Message-ID: <20260314232106.2944800-1-stephan@asklandd.dk> (raw)
From: Stephan Henningsen <stephan@asklandd.dk>
When using /bin/mount to mount filesystems that are not supported
directly by the kernel, it delegates the mount operatin to helper
programs, e.g. mount.fuse.sshfs. Normally /bin/mount searches
these directories in order for a helper: /sbin, /sbin/fs.d, /sbin/fs.
In reality, Buildroot installs e.g. mount.fuse.sshfs into /usr/sbin,
and as a result /bin/mount fails to mount sshfs entries defined in
/etc/fstab.
The patch changes the default search path at configuration.
Signed-off-by: Stephan Henningsen <stephan@asklandd.dk>
---
package/util-linux/util-linux.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index f43a1a128b..a2a11c35d3 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -51,7 +51,8 @@ UTIL_LINUX_CONF_OPTS += \
--disable-makeinstall-chown \
--disable-poman \
--disable-rpath \
- --disable-year2038
+ --disable-year2038 \
+ --enable-fs-paths-default=/sbin:/usr/sbin
UTIL_LINUX_LINK_LIBS = $(TARGET_NLS_LIBS)
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
reply other threads:[~2026-03-14 23:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260314232106.2944800-1-stephan@asklandd.dk \
--to=stephan@asklandd.dk \
--cc=buildroot@buildroot.org \
--cc=giulio.benetti@benettiengineering.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox