<p dir="ltr"><br>
On 8 Aug 2013 17:10, "Jan Engelhardt" <<a href="mailto:jengelh@inai.de">jengelh@inai.de</a>> wrote:<br>
><br>
><br>
> On Thursday 2013-08-08 16:26, Tom Gundersen wrote:<br>
> >On Thu, Aug 8, 2013 at 2:00 PM, Jan Engelhardt <<a href="mailto:jengelh@inai.de">jengelh@inai.de</a>> wrote:<br>
> >><br>
> >> With systemd 195, an /etc/fstab line like<br>
> >><br>
> >>         /srv/www /home/www fuse.bindfs auto,group=foo,perms=g+rw 0 0<br>
> >><br>
> >> can fail to start if /dev/fuse does not exist yet.<br>
> ><br>
> >/dev/fuse should be created by udev (in 195, and by<br>
> >systemd-tmpflise-setup-dev in more recent versions), and this happens<br>
> >before the mounts from fstab are started. Can you verify that the<br>
> >ordering is correct for you with "systemctl show home-www.mount | grep<br>
> >After" (and so on until you hopefully find systemd-udevd.service)?<br>
><br>
> home-www.mount:<br>
> After=local-fs-pre.target systemd-journald.socket -.mount<br>
><br>
> local-fs-pre.target:<br>
> After=systemd-remount-fs.service md.service lvm.service dmraid.service<br>
> systemd-udevd.service<br>
><br>
><br>
> Even if systemd-udevd was listed in After=, there is not a guarantee<br>
> that udevd has already processed the event and managed to create<br>
> /dev/fuse, is there?</p>
<p dir="ltr">/dev/fuse is a static node created unconditionally by udev as part of udevd startup (and not due to an uevent), so this should be guaranteed.</p>
<p dir="ltr">Are you certain that a race with mknod is the problem? What output do you get?</p>
<p dir="ltr">This was all recently refactored, so there is a small chance the problem will go away if you use a more recent version, but my guess is that something else is wrong...</p>
<p dir="ltr">Cheers,</p>
<p dir="ltr">Tom</p>