Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC
Date: Fri, 07 Aug 2015 15:31:05
Message-Id: 20150807153047.GA13142@linux1
In Reply to: Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC by Ian Stakenvicius
1 On Thu, Aug 06, 2015 at 08:07:44PM -0400, Ian Stakenvicius wrote:
2 >
3 > 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.
4
5 Sure, I can get the nofail support in pretty quick, and I think that is
6 a feature we should have.
7
8 Right now, netmount is using the use dependency to make sure network
9 file system utilities are started before us. Because of the
10 all-or-nothing nature of netmount, we can't switch those dependencies to
11 need. It would cause netmount to fail if one of those utilities fails to
12 start. The use dependency is the best one we can use at this time, and a
13 migration path was specifically laid out in the news item.
14
15 The complaint in the original bug [1] is that that is not good enough
16 because it requires you to add nfsclient to your runlevels along with
17 netmount, and he wants to auto start nfsclient without it being in the
18 runlevels.
19
20 The want dependency is a feature I don't have a problem with (it will
21 take some work to figure it out because it is in the C portion of
22 OpenRC), but I'm just hesitant about applying it to something like
23 network file system clients.
24
25 Thoughts?
26
27 William
28
29 [1] https://bugs.gentoo.org/show_bug.cgi?id=537996

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies