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

Replies