Gentoo Archives: gentoo-dev

From: Ian Stakenvicius <axs@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount
Date: Tue, 29 Sep 2015 15:11:21
Message-Id: 560AA9ED.8000603@gentoo.org
In Reply to: Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount by Alan McKinnon
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 29/09/15 10:52 AM, Alan McKinnon wrote:
5 > On 29/09/2015 16:29, Ian Stakenvicius wrote:
6 >> On 28/09/15 06:58 PM, William Hubbs wrote:
7 >>> Also, we are dropping the use of the -O switch for
8 >>> mount/umount -a. This is being dropped because it is
9 >>> util-linux specific and not compatible with busybox.
10 >>
11 >> Does this have any actual end-user impact? AFAIK, using the
12 >> -O switch was 'just added' by us originally (i think to reduce
13 >> the explicit listing of the different fs types or otherwise
14 >> simplify the init script code) right? I'm just wondering if
15 >> this paragraph is actually necessary or not..
16 >
17 > As a user, that para in the news makes me ask "how does this
18 > affect me?". I have to go read man pages and init scripts to find
19 > out.
20 >
21 > Perhaps this:
22 >
23 > Also, we are dropping the use of the -O switch for mount/umount
24 > -a, because it is util-linux specific and not compatible with
25 > busybox. This only affects mounts with "_netdev" listed under
26 > options in /etc/fstab. Such systems should use "noauto" and/or
27 > "nofail" as described above.
28 >
29
30 Exactly my thoughts. We used -O _netdev within the 'netmount'
31 script to identify which fstab entries are network mounts. But we
32 did it a different way prior to using -O _netdev. And since this
33 isn't actually related in any way to something end-users can set in
34 fstab (it has to do with the filesystem type itself) I don't see the
35 point in worrying end-users about it.
36
37 I suppose it's worthwhile to note to busybox users that they no
38 longer have to use alternate means of netmounting, as 'netmount'
39 will now work on busybox...?
40
41 Perhaps:
42 "
43 Also, we are dropping the use of the -O switch for mount/umount -a,
44 to ensure the localmount and netmount scripts are compatible with
45 busybox mount. If your system uses busybox mount please migrate any
46 custom workarounds you may have to the openrc localmount/netmount
47 services.
48 "
49
50
51
52
53
54 -----BEGIN PGP SIGNATURE-----
55 Version: GnuPG v2
56
57 iF4EAREIAAYFAlYKqe0ACgkQAJxUfCtlWe3v2AD+KNkWk/3lIVa1ws32lPUiP35s
58 o4GpzFpnUqTuNAlyacgBALpbk3DEBwU6RlRLM8v5xse+4Hd7yOixbisPavoeMzgh
59 =vuxq
60 -----END PGP SIGNATURE-----

Replies