Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:54164 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbdFGKEO (ORCPT ); Wed, 7 Jun 2017 06:04:14 -0400 Subject: Re: [PATCH] nfs.man: document incompatibility between "bg" option and systemd. To: Lennart Poettering Cc: NeilBrown , systemd-devel@freedesktop.org, linux-nfs@vger.kernel.org References: <87lgpkgwrw.fsf@notabene.neil.brown.name> <20170529133814.GC17967@gardel-login> <87tw43fgrf.fsf@notabene.neil.brown.name> <89415cad-331e-bac6-7fd1-dffa058726de@RedHat.com> <20170607081257.GH27006@gardel-login> From: Steve Dickson Message-ID: <5132dc9e-42a4-feab-2ee8-fcecf1a1cf1f@RedHat.com> Date: Wed, 7 Jun 2017 06:04:12 -0400 MIME-Version: 1.0 In-Reply-To: <20170607081257.GH27006@gardel-login> Content-Type: text/plain; charset=utf-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: On 06/07/2017 04:12 AM, Lennart Poettering wrote: > On Tue, 06.06.17 14:07, Steve Dickson (SteveD@RedHat.com) 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 > In addition, I have the suspicion it is not > used very widely, since I never actually got complaints about it. Since it seems to be still working we probably would not hear any complaints about it... steved.