With release 230 of systemd i've got problems with automount (local and remote filesystems).
The first mount works always fine, but a later mount (after an internal umount) lets processes wait forever (hangup)
First you think it's a bug in systemd but it is a kernel bug (lock/unlock problem). The responsible function for this has been completely rewritten and it seems that this code is in the kernel since some versions ago.
The situation is:
- using a kernel which is old enough (i tested it with 4.0.x on Intel Edison) automount in systemd 230 works fine
- using systemd <230 and it works fine with all kernel versions
With systemd 230 i have the problem on Raspberry (4.4.13 kernel) and Cubieboard (4.6.1 kernel).
Kernel 4.6.2 was just released and it solves this problem. Everything works fine again (in the x86 world of Arch).
It seems like systemd 230 uses some new features of the rewritten kernel function so the bug may happen only in this combination.
My question is: Will there be any patches for the older 4.4. kernels on RPi or do we have to wait for a kernel >= 4.6.2 ?
Thanks, CM.
P.S. I don't want to use 229 so far because it has a "OnCalendar=" scheduling problem using timer units.