On Wed, Jun 07, 2017 at 06:04:12AM -0400, Steve Dickson wrote: > > > On 06/07/2017 04:12 AM, Lennart Poettering wrote: > > On Tue, 06.06.17 14:07, Steve Dickson (SteveD@xxxxxxxxxx) wrote: > > > >> Hello, > >> > >> On 05/29/2017 06:19 PM, NeilBrown wrote: > >>> > >>> Systemd does not, and will not, support "bg" correctly. > >>> It has other, better, ways to handle "background" mounting. > >> The only problem with this is bg mounts still work at least > >> up to 4.11 kernel... > >> > >> It appears there is a problem with a 4.12 kernel. The mount no > >> longer errors out with ECONNREFUSED it just hangs in the > >> kernel trying forever... It sounds like a bug to me but > >> maybe that change was intentional.. Anna?? Trond??? > >> > >> So I'm a bit hesitant to commit this since not accurate, yet. > >> > >> Finally, the whole idea of systemd randomly/silently > >> strip off mount options is crazy... IMHO... > >> > >> Just because a concept that has been around for years > >> does not fix well in the systemd world it gets > >> rip out??? IDK... but I think we can do better than that. > > > > Well "bg" doesn't really work on systemd systems, and this was never > > different, hence I think it's only fair to document that it is > > incompatible with systemd. > I'm seeing it work just fine... > > /etc/fstab: nfssrv:/home/tmp /mnt/tmp nfs bg 0 0 > nfssrv is down > reboot client > login to client > # ps ax | grep mount > 980 ? Ss 0:00 /sbin/mount.nfs nfssrv:/home/tmp /mnt/tmp -o rw,bg Right, but I think we also need to see a "systemctl status remote-fs.target", or something, to verify whether that's the forked background process or just the foreground process that's still hanging up some part of the boot process (even though it's gotten far enough along that you can log in--unless logins aren't permitted till remote fs's are mounted, I don't know.) --b. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html