[systemd-devel] [PATCH] nfs.man: document incompatibility between "bg" option and systemd.
SteveD at RedHat.com
Wed Jun 7 10:04:12 UTC 2017
On 06/07/2017 04:12 AM, Lennart Poettering wrote:
> On Tue, 06.06.17 14:07, Steve Dickson (SteveD at RedHat.com) wrote:
>> 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
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...
More information about the systemd-devel