Summary: | fuse (bindfs) filesystems are unmounted upon network disconnect (even if non-networked) | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Jacopo <jacopods> |
Component: | OpenRC | Assignee: | OpenRC Team <openrc> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | mail, martin.partel+gentoobugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jacopo
2019-03-01 06:23:42 UTC
I can confirm that this behavior is still present. By putting bindfs mounts into fstab like so: /home/floga/Sync/root /mnt/sync/root fuse.bindfs create-for-user=floga,create-for-group=floga,chown-ignore,chgrp-ignore,force-user=root,force-group=root 0 0 What happens at boot time is, localmount will mount these mountpoints automatically, because "fuse.bindfs" is not in net_fs_list. However, once mounted, bindfs mounts advertise their types as simply "fuse" (maybe a limitation of FUSE itself?). Therefore, if the network goes down, netmount will unmount them because "fuse" IS in net_fs_list. If the network comes up again, netmount will NOT mount them again, because, as previously noted, "fuse.bindfs" is NOT in net_fs_list. If the network never comes up again, the remount won't even be tried. So in each case we are left with the directories unmounted although they are not dependant of a network connection. How can we mitigate this issue? Maybe via a whitelist, so we can globally declare FUSE as "not a network mount"? Reproduces with sys-fs/dwarfs (from Gentoo GURU) |