[systemd-devel] [PATCH] nfs.man: document incompatibility between "bg" option and systemd.

Andrei Borzenkov arvidjaar at gmail.com
Sun Jun 11 06:07:11 UTC 2017

07.06.2017 00:49, NeilBrown пишет:
> On Tue, Jun 06 2017, Steve Dickson 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... 
> I don't think this is correct.
> In the default configuration, "mount -t nfs -o bg ...."
> runs for longer than 90 seconds, so systemd kill it.
> A working "bg" mount would successfully mount the filesystem is the
> server came back after 5 minutes. If you use current systemd in the
> default configuration, it won't.

What about bumping timeout to the (default) value of retry= option in
this case? It sounds better than silently ignoring it and will mostly be
compatible with how it worked previously?

More information about the systemd-devel mailing list