-
Notifications
You must be signed in to change notification settings - Fork 30
Installing Mount Helpers in /sbin #358
Comments
What filesystem are you trying to mount? On Sun, May 10, 2015 at 2:48 PM, Russell Harmon [email protected]
|
A FUSE filesystem, ObjectiveFS. AFAIK, this is the standard way of installing fuse filesystems as first-class filesystems on the machine. |
Hm, looks like umount respects Certainly you can do this without any problem inside sufficiently privileged containers but I don't have a better suggestion for doing this on the base CoreOS system right now. |
+1 I've got the same issue with trying to add cifs mount support. Having to fall back to using the mount.cifs binary directly |
+1 |
+1 |
can you simply mount --bind the helper in /sbin? |
Thank you for reporting this issue. Unfortunately, we don't think we'll end up addressing it in Container Linux. As we recently announced, we're working on a successor to Container Linux, and we expect most major development to occur there instead. Meanwhile, Container Linux won't see many new features, but will still be fully maintained into 2020. Stay tuned for more details about that. |
It's not possible to install mount helpers in
/sbin
due to it being a symlink to the read-only/usr/sbin
.A bit of context. If you create a new filesystem, and want to be able to mount it using
mount -t myfs
, the way mount works is that you have to install a binary namedmount.myfs
in/sbin
. As far as I'm aware, this cannot be changed; the directory that mount searches in is fixed as/sbin
.In CoreOS, since
/sbin
is a symlink to/usr/sbin
, it's not easily possible to install new filesystem mount helpers. A workaround is to delete the/sbin
symlink, make it a directory, and symlink everything from/usr/sbin
into/sbin
at boot. An example unit file for this workaround follows.The text was updated successfully, but these errors were encountered: