-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 07/08/15 11:30 AM, William Hubbs wrote:
> On Thu, Aug 06, 2015 at 08:07:44PM -0400, Ian Stakenvicius wrote:
>> 
>> Can we get "nofail" immediately in the mount -a variants of
>> localmount/netmount and expand that in netmount to make the
>> nfsclient dep be a "use" or a "need" depending on if it's set or
>> not??  That would imo kill the existing bug that started all of
>> this too.
> 
> Sure, I can get the nofail support in pretty quick, and I think
> that is a feature we should have.
> 
> Right now, netmount is using the use dependency to make sure
> network file system utilities are started before us. Because of
> the all-or-nothing nature of netmount, we can't switch those
> dependencies to need. It would cause netmount to fail if one of
> those utilities fails to start.  The use dependency is the best one
> we can use at this time, and a migration path was specifically laid
> out in the news item.
> 

My thinking here is that, unless network mounts in fstab are listed as
'nofail', that netmount failing due to the dependent services not
being able to start would be a valid case.  Sysadmins that don't want
netmount to fail no matter what would be able to use 'nofail' to
ensure that happens.

This is of course predicated on (1) it being a good idea, and (2)
fstabinfo or whatever the check currently is that would add nfsclient
to depend() could easily swap 'use' for 'need' based on the (lack of)
existence of the nofail attribute in fstab.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iF4EAREIAAYFAlXE2JAACgkQAJxUfCtlWe2UDQEAhuuOs8OCR3X1NI97MSNt652V
V7wmM9Fjy2GXGOEXFaUA/3vjrKTV8R+jKw4pxeHRYvhSiRw4SPEb71oGOdRKccE+
=Tr3F
-----END PGP SIGNATURE-----

Reply via email to