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. The complaint in the original bug [1] is that that is not good enough because it requires you to add nfsclient to your runlevels along with netmount, and he wants to auto start nfsclient without it being in the runlevels. The want dependency is a feature I don't have a problem with (it will take some work to figure it out because it is in the C portion of OpenRC), but I'm just hesitant about applying it to something like network file system clients. Thoughts? William [1] https://bugs.gentoo.org/show_bug.cgi?id=537996
signature.asc
Description: Digital signature