* [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount @ 2015-09-28 22:58 William Hubbs 2015-09-29 0:05 ` [gentoo-dev] " Duncan 2015-09-29 14:29 ` [gentoo-dev] " Ian Stakenvicius 0 siblings, 2 replies; 21+ messages in thread From: William Hubbs @ 2015-09-28 22:58 UTC (permalink / raw To: gentoo development [-- Attachment #1.1: Type: text/plain, Size: 0 bytes --] [-- Attachment #1.2: 2015-10-01-openrc-0-18-changes.en.txt --] [-- Type: text/plain, Size: 874 bytes --] Title: OpenRC-0.18 changes to localmount and netmount Author: William Hubbs <williamh@gentoo.org> Content-Type: text/plain Posted: 2015-10-01 Revision: 1 News-Item-Format: 1.0 Display-If-Installed: <=sys-fs/openrc-0.18 The behaviour of localmount and netmount is changing. In the past, these services always started successfully. However, now they will fail if a file system they attempt to mount cannot be mounted. If you have file systems listed in fstab which should not be mounted at boot time, make sure to add noauto to the mount options. If you have file systems that you want to attempt to mount at boot time but failure should be allowed, add nofail to the mount options for these file systems in fstab. Also, we are dropping the use of the -O switch for mount/umount -a. This is being dropped because it is util-linux specific and not compatible with busybox. [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-dev] Re: news item: OpenRC 0.18 changes to localmount and netmount 2015-09-28 22:58 [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount William Hubbs @ 2015-09-29 0:05 ` Duncan 2015-09-29 14:29 ` [gentoo-dev] " Ian Stakenvicius 1 sibling, 0 replies; 21+ messages in thread From: Duncan @ 2015-09-29 0:05 UTC (permalink / raw To: gentoo-dev William Hubbs posted on Mon, 28 Sep 2015 17:58:19 -0500 as excerpted: > Title: OpenRC-0.18 changes to localmount and netmount $ echo "OpenRC-0.18 changes to localmount and netmount" | wc -c 47 I know there was some discussion about lifting the glep-42 title limit of 44 chars, but AFAIK discussion is where it remained. What about omitting the three chars "to " (including the space) and reordering, like so: OpenRC-0.18 localmount and netmount changes wc -c says 44 for that. =:^) Otherwise, looks reasonable here. =:^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-09-28 22:58 [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount William Hubbs 2015-09-29 0:05 ` [gentoo-dev] " Duncan @ 2015-09-29 14:29 ` Ian Stakenvicius 2015-09-29 14:52 ` Alan McKinnon 1 sibling, 1 reply; 21+ messages in thread From: Ian Stakenvicius @ 2015-09-29 14:29 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 28/09/15 06:58 PM, William Hubbs wrote: > Also, we are dropping the use of the -O switch for mount/umount > -a. This is being dropped because it is util-linux specific and > not compatible with busybox. Does this have any actual end-user impact? AFAIK, using the -O switch was 'just added' by us originally (i think to reduce the explicit listing of the different fs types or otherwise simplify the init script code) right? I'm just wondering if this paragraph is actually necessary or not.. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlYKoFsACgkQAJxUfCtlWe2XngD/bh/HyUx+K5QTqfq54fdTQ/fd f8j+lrfrQnvzgAZpTRUA/39eP3NF7mEgyNn+dzgivXa0ucmcC8jtkYdisj8TBorq =xCLr -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-09-29 14:29 ` [gentoo-dev] " Ian Stakenvicius @ 2015-09-29 14:52 ` Alan McKinnon 2015-09-29 15:10 ` Ian Stakenvicius 2015-09-30 7:57 ` [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount J. Roeleveld 0 siblings, 2 replies; 21+ messages in thread From: Alan McKinnon @ 2015-09-29 14:52 UTC (permalink / raw To: gentoo-dev On 29/09/2015 16:29, Ian Stakenvicius wrote: > On 28/09/15 06:58 PM, William Hubbs wrote: >> Also, we are dropping the use of the -O switch for mount/umount >> -a. This is being dropped because it is util-linux specific and >> not compatible with busybox. > > Does this have any actual end-user impact? AFAIK, using the -O > switch was 'just added' by us originally (i think to reduce the > explicit listing of the different fs types or otherwise simplify the > init script code) right? I'm just wondering if this paragraph is > actually necessary or not.. As a user, that para in the news makes me ask "how does this affect me?". I have to go read man pages and init scripts to find out. Perhaps this: Also, we are dropping the use of the -O switch for mount/umount -a, because it is util-linux specific and not compatible with busybox. This only affects mounts with "_netdev" listed under options in /etc/fstab. Such systems should use "noauto" and/or "nofail" as described above. -- Alan McKinnon alan.mckinnon@gmail.com ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-09-29 14:52 ` Alan McKinnon @ 2015-09-29 15:10 ` Ian Stakenvicius 2015-09-29 15:13 ` Ian Stakenvicius 2015-09-30 7:57 ` [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount J. Roeleveld 1 sibling, 1 reply; 21+ messages in thread From: Ian Stakenvicius @ 2015-09-29 15:10 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 29/09/15 10:52 AM, Alan McKinnon wrote: > On 29/09/2015 16:29, Ian Stakenvicius wrote: >> On 28/09/15 06:58 PM, William Hubbs wrote: >>> Also, we are dropping the use of the -O switch for >>> mount/umount -a. This is being dropped because it is >>> util-linux specific and not compatible with busybox. >> >> Does this have any actual end-user impact? AFAIK, using the >> -O switch was 'just added' by us originally (i think to reduce >> the explicit listing of the different fs types or otherwise >> simplify the init script code) right? I'm just wondering if >> this paragraph is actually necessary or not.. > > As a user, that para in the news makes me ask "how does this > affect me?". I have to go read man pages and init scripts to find > out. > > Perhaps this: > > Also, we are dropping the use of the -O switch for mount/umount > -a, because it is util-linux specific and not compatible with > busybox. This only affects mounts with "_netdev" listed under > options in /etc/fstab. Such systems should use "noauto" and/or > "nofail" as described above. > Exactly my thoughts. We used -O _netdev within the 'netmount' script to identify which fstab entries are network mounts. But we did it a different way prior to using -O _netdev. And since this isn't actually related in any way to something end-users can set in fstab (it has to do with the filesystem type itself) I don't see the point in worrying end-users about it. I suppose it's worthwhile to note to busybox users that they no longer have to use alternate means of netmounting, as 'netmount' will now work on busybox...? Perhaps: " Also, we are dropping the use of the -O switch for mount/umount -a, to ensure the localmount and netmount scripts are compatible with busybox mount. If your system uses busybox mount please migrate any custom workarounds you may have to the openrc localmount/netmount services. " -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlYKqe0ACgkQAJxUfCtlWe3v2AD+KNkWk/3lIVa1ws32lPUiP35s o4GpzFpnUqTuNAlyacgBALpbk3DEBwU6RlRLM8v5xse+4Hd7yOixbisPavoeMzgh =vuxq -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-09-29 15:10 ` Ian Stakenvicius @ 2015-09-29 15:13 ` Ian Stakenvicius 2015-10-01 13:41 ` William Hubbs 0 siblings, 1 reply; 21+ messages in thread From: Ian Stakenvicius @ 2015-09-29 15:13 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 29/09/15 11:10 AM, Ian Stakenvicius wrote: > On 29/09/15 10:52 AM, Alan McKinnon wrote: >> On 29/09/2015 16:29, Ian Stakenvicius wrote: >>> On 28/09/15 06:58 PM, William Hubbs wrote: >>>> Also, we are dropping the use of the -O switch for >>>> mount/umount -a. This is being dropped because it is >>>> util-linux specific and not compatible with busybox. >>> >>> Does this have any actual end-user impact? AFAIK, using the >>> -O switch was 'just added' by us originally (i think to >>> reduce the explicit listing of the different fs types or >>> otherwise simplify the init script code) right? I'm just >>> wondering if this paragraph is actually necessary or not.. > >> As a user, that para in the news makes me ask "how does this >> affect me?". I have to go read man pages and init scripts to >> find out. > >> Perhaps this: > >> Also, we are dropping the use of the -O switch for >> mount/umount -a, because it is util-linux specific and not >> compatible with busybox. This only affects mounts with >> "_netdev" listed under options in /etc/fstab. Such systems >> should use "noauto" and/or "nofail" as described above. > > > Exactly my thoughts. We used -O _netdev within the 'netmount' > script to identify which fstab entries are network mounts. But > we did it a different way prior to using -O _netdev. And since > this isn't actually related in any way to something end-users can > set in fstab (it has to do with the filesystem type itself) I > don't see the point in worrying end-users about it. > > I suppose it's worthwhile to note to busybox users that they no > longer have to use alternate means of netmounting, as 'netmount' > will now work on busybox...? > > Perhaps: " Also, we are dropping the use of the -O switch for > mount/umount -a, to ensure the localmount and netmount scripts > are compatible with busybox mount. If your system uses busybox > mount please migrate any custom workarounds you may have to the > openrc localmount/netmount services. " > PS - i still think we should just cut it. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlYKqoUACgkQAJxUfCtlWe1ijwEAopUzcU8s5btLyojGnoMFRKsR ecQlbJrTzfPTQhrtzsMA/2pZuBCW8cELoE6Wef10i7ZeZbvxiFAzSHaWKVjwboMk =nrvu -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-09-29 15:13 ` Ian Stakenvicius @ 2015-10-01 13:41 ` William Hubbs 2015-10-01 14:15 ` Ian Stakenvicius 0 siblings, 1 reply; 21+ messages in thread From: William Hubbs @ 2015-10-01 13:41 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 2379 bytes --] On Tue, Sep 29, 2015 at 11:13:09AM -0400, Ian Stakenvicius wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 29/09/15 11:10 AM, Ian Stakenvicius wrote: > > On 29/09/15 10:52 AM, Alan McKinnon wrote: > >> On 29/09/2015 16:29, Ian Stakenvicius wrote: > >>> On 28/09/15 06:58 PM, William Hubbs wrote: > >>>> Also, we are dropping the use of the -O switch for > >>>> mount/umount -a. This is being dropped because it is > >>>> util-linux specific and not compatible with busybox. > >>> > >>> Does this have any actual end-user impact? AFAIK, using the > >>> -O switch was 'just added' by us originally (i think to > >>> reduce the explicit listing of the different fs types or > >>> otherwise simplify the init script code) right? I'm just > >>> wondering if this paragraph is actually necessary or not.. > > > >> As a user, that para in the news makes me ask "how does this > >> affect me?". I have to go read man pages and init scripts to > >> find out. > > > >> Perhaps this: > > > >> Also, we are dropping the use of the -O switch for > >> mount/umount -a, because it is util-linux specific and not > >> compatible with busybox. This only affects mounts with > >> "_netdev" listed under options in /etc/fstab. Such systems > >> should use "noauto" and/or "nofail" as described above. > > > > > > Exactly my thoughts. We used -O _netdev within the 'netmount' > > script to identify which fstab entries are network mounts. But > > we did it a different way prior to using -O _netdev. And since > > this isn't actually related in any way to something end-users can > > set in fstab (it has to do with the filesystem type itself) I > > don't see the point in worrying end-users about it. > > > > I suppose it's worthwhile to note to busybox users that they no > > longer have to use alternate means of netmounting, as 'netmount' > > will now work on busybox...? > > > > Perhaps: " Also, we are dropping the use of the -O switch for > > mount/umount -a, to ensure the localmount and netmount scripts > > are compatible with busybox mount. If your system uses busybox > > mount please migrate any custom workarounds you may have to the > > openrc localmount/netmount services. " > > > > PS - i still think we should just cut it. What is it that you think we should cut? Thanks, William [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-10-01 13:41 ` William Hubbs @ 2015-10-01 14:15 ` Ian Stakenvicius 2015-10-01 15:46 ` Ian Stakenvicius 2015-10-01 15:49 ` Mike Gilbert 0 siblings, 2 replies; 21+ messages in thread From: Ian Stakenvicius @ 2015-10-01 14:15 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 01/10/15 09:41 AM, William Hubbs wrote: > On Tue, Sep 29, 2015 at 11:13:09AM -0400, Ian Stakenvicius > wrote: >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >> >> On 29/09/15 11:10 AM, Ian Stakenvicius wrote: >>> On 29/09/15 10:52 AM, Alan McKinnon wrote: >>>> On 29/09/2015 16:29, Ian Stakenvicius wrote: >>>>> On 28/09/15 06:58 PM, William Hubbs wrote: >>>>>> Also, we are dropping the use of the -O switch for >>>>>> mount/umount -a. This is being dropped because it is >>>>>> util-linux specific and not compatible with busybox. >>>>> >>>>> Does this have any actual end-user impact? AFAIK, using >>>>> the -O switch was 'just added' by us originally (i think >>>>> to reduce the explicit listing of the different fs types >>>>> or otherwise simplify the init script code) right? I'm >>>>> just wondering if this paragraph is actually necessary or >>>>> not.. >>> >>>> As a user, that para in the news makes me ask "how does >>>> this affect me?". I have to go read man pages and init >>>> scripts to find out. >>> >>>> Perhaps this: >>> >>>> Also, we are dropping the use of the -O switch for >>>> mount/umount -a, because it is util-linux specific and not >>>> compatible with busybox. This only affects mounts with >>>> "_netdev" listed under options in /etc/fstab. Such systems >>>> should use "noauto" and/or "nofail" as described above. >>> >>> >>> Exactly my thoughts. We used -O _netdev within the >>> 'netmount' script to identify which fstab entries are network >>> mounts. But we did it a different way prior to using -O >>> _netdev. And since this isn't actually related in any way to >>> something end-users can set in fstab (it has to do with the >>> filesystem type itself) I don't see the point in worrying >>> end-users about it. >>> >>> I suppose it's worthwhile to note to busybox users that they >>> no longer have to use alternate means of netmounting, as >>> 'netmount' will now work on busybox...? >>> >>> Perhaps: " Also, we are dropping the use of the -O switch >>> for mount/umount -a, to ensure the localmount and netmount >>> scripts are compatible with busybox mount. If your system >>> uses busybox mount please migrate any custom workarounds you >>> may have to the openrc localmount/netmount services. " >>> >> >> PS - i still think we should just cut it. > > What is it that you think we should cut? > > Thanks, > > William > The whole -O _netdev paragraph. Although i'm willing to cede on that as I didn't know end users set _netdev in fstab themselves; i thought it was a property of filesystem types and was entirely transparent to end-users. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlYNQBkACgkQAJxUfCtlWe2p4QEAiJ8bZ5tUPrrHACwXhHZ3wgYj y57rj2mi2PH4q24cXIUA/3ENCLZcP7ra18T7Tqeo3oWqpjRT2RkT6suyAM/+o42m =hoyz -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-10-01 14:15 ` Ian Stakenvicius @ 2015-10-01 15:46 ` Ian Stakenvicius 2015-10-01 15:49 ` Mike Gilbert 1 sibling, 0 replies; 21+ messages in thread From: Ian Stakenvicius @ 2015-10-01 15:46 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 01/10/15 10:15 AM, Ian Stakenvicius wrote: > On 01/10/15 09:41 AM, William Hubbs wrote: >> On Tue, Sep 29, 2015 at 11:13:09AM -0400, Ian Stakenvicius >> wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >>> >>> On 29/09/15 11:10 AM, Ian Stakenvicius wrote: >>>> On 29/09/15 10:52 AM, Alan McKinnon wrote: >>>>> On 29/09/2015 16:29, Ian Stakenvicius wrote: >>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: >>>>>>> Also, we are dropping the use of the -O switch for >>>>>>> mount/umount -a. This is being dropped because it is >>>>>>> util-linux specific and not compatible with >>>>>>> busybox. >>>>>> >>>>>> Does this have any actual end-user impact? AFAIK, >>>>>> using the -O switch was 'just added' by us originally >>>>>> (i think to reduce the explicit listing of the >>>>>> different fs types or otherwise simplify the init >>>>>> script code) right? I'm just wondering if this >>>>>> paragraph is actually necessary or not.. >>>> >>>>> As a user, that para in the news makes me ask "how does >>>>> this affect me?". I have to go read man pages and init >>>>> scripts to find out. >>>> >>>>> Perhaps this: >>>> >>>>> Also, we are dropping the use of the -O switch for >>>>> mount/umount -a, because it is util-linux specific and >>>>> not compatible with busybox. This only affects mounts >>>>> with "_netdev" listed under options in /etc/fstab. Such >>>>> systems should use "noauto" and/or "nofail" as described >>>>> above. >>>> >>>> >>>> Exactly my thoughts. We used -O _netdev within the >>>> 'netmount' script to identify which fstab entries are >>>> network mounts. But we did it a different way prior to >>>> using -O _netdev. And since this isn't actually related in >>>> any way to something end-users can set in fstab (it has to >>>> do with the filesystem type itself) I don't see the point >>>> in worrying end-users about it. >>>> >>>> I suppose it's worthwhile to note to busybox users that >>>> they no longer have to use alternate means of netmounting, >>>> as 'netmount' will now work on busybox...? >>>> >>>> Perhaps: " Also, we are dropping the use of the -O switch >>>> for mount/umount -a, to ensure the localmount and netmount >>>> scripts are compatible with busybox mount. If your system >>>> uses busybox mount please migrate any custom workarounds >>>> you may have to the openrc localmount/netmount services. " >>>> >>> >>> PS - i still think we should just cut it. > >> What is it that you think we should cut? > >> Thanks, > >> William > > > The whole -O _netdev paragraph. Although i'm willing to cede on > that as I didn't know end users set _netdev in fstab themselves; > i thought it was a property of filesystem types and was entirely > transparent to end-users. > Right, so I've learned that I had entirely the wrong idea of what -O _netdev is for. So, nevermind on cutting this paragraph and sorry for the noise. :) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlYNVW8ACgkQAJxUfCtlWe0JwAD+ItJdiwF9rjkaD8u8GBJc3/WU 96R2Z0JZcrefOqvRXXUA/1KW0NEOn7qBy5ius5C8XlvrLE1ccttjmRES71ovV4JA =sih8 -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-10-01 14:15 ` Ian Stakenvicius 2015-10-01 15:46 ` Ian Stakenvicius @ 2015-10-01 15:49 ` Mike Gilbert 2015-10-01 16:05 ` J. Roeleveld 2015-10-01 18:17 ` J. Roeleveld 1 sibling, 2 replies; 21+ messages in thread From: Mike Gilbert @ 2015-10-01 15:49 UTC (permalink / raw To: Gentoo Dev On Thu, Oct 1, 2015 at 10:15 AM, Ian Stakenvicius <axs@gentoo.org> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 01/10/15 09:41 AM, William Hubbs wrote: >> On Tue, Sep 29, 2015 at 11:13:09AM -0400, Ian Stakenvicius >> wrote: >>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >>> >>> On 29/09/15 11:10 AM, Ian Stakenvicius wrote: >>>> On 29/09/15 10:52 AM, Alan McKinnon wrote: >>>>> On 29/09/2015 16:29, Ian Stakenvicius wrote: >>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: >>>>>>> Also, we are dropping the use of the -O switch for >>>>>>> mount/umount -a. This is being dropped because it is >>>>>>> util-linux specific and not compatible with busybox. >>>>>> >>>>>> Does this have any actual end-user impact? AFAIK, using >>>>>> the -O switch was 'just added' by us originally (i think >>>>>> to reduce the explicit listing of the different fs types >>>>>> or otherwise simplify the init script code) right? I'm >>>>>> just wondering if this paragraph is actually necessary or >>>>>> not.. >>>> >>>>> As a user, that para in the news makes me ask "how does >>>>> this affect me?". I have to go read man pages and init >>>>> scripts to find out. >>>> >>>>> Perhaps this: >>>> >>>>> Also, we are dropping the use of the -O switch for >>>>> mount/umount -a, because it is util-linux specific and not >>>>> compatible with busybox. This only affects mounts with >>>>> "_netdev" listed under options in /etc/fstab. Such systems >>>>> should use "noauto" and/or "nofail" as described above. >>>> >>>> >>>> Exactly my thoughts. We used -O _netdev within the >>>> 'netmount' script to identify which fstab entries are network >>>> mounts. But we did it a different way prior to using -O >>>> _netdev. And since this isn't actually related in any way to >>>> something end-users can set in fstab (it has to do with the >>>> filesystem type itself) I don't see the point in worrying >>>> end-users about it. >>>> >>>> I suppose it's worthwhile to note to busybox users that they >>>> no longer have to use alternate means of netmounting, as >>>> 'netmount' will now work on busybox...? >>>> >>>> Perhaps: " Also, we are dropping the use of the -O switch >>>> for mount/umount -a, to ensure the localmount and netmount >>>> scripts are compatible with busybox mount. If your system >>>> uses busybox mount please migrate any custom workarounds you >>>> may have to the openrc localmount/netmount services. " >>>> >>> >>> PS - i still think we should just cut it. >> >> What is it that you think we should cut? >> >> Thanks, >> >> William >> > > The whole -O _netdev paragraph. Although i'm willing to cede on > that as I didn't know end users set _netdev in fstab themselves; i > thought it was a property of filesystem types and was entirely > transparent to end-users. The _netdev option is really there to support things like iSCSI, where you are mounting a filesystem like ext4 from a block device which requires network connectivity. I think some changes are needed here, because this change to localmount is quite like to break this usage. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-10-01 15:49 ` Mike Gilbert @ 2015-10-01 16:05 ` J. Roeleveld 2015-10-01 18:17 ` J. Roeleveld 1 sibling, 0 replies; 21+ messages in thread From: J. Roeleveld @ 2015-10-01 16:05 UTC (permalink / raw To: gentoo-dev On 1 October 2015 17:49:15 CEST, Mike Gilbert <floppym@gentoo.org> wrote: >On Thu, Oct 1, 2015 at 10:15 AM, Ian Stakenvicius <axs@gentoo.org> >wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> On 01/10/15 09:41 AM, William Hubbs wrote: >>> On Tue, Sep 29, 2015 at 11:13:09AM -0400, Ian Stakenvicius >>> wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >>>> >>>> On 29/09/15 11:10 AM, Ian Stakenvicius wrote: >>>>> On 29/09/15 10:52 AM, Alan McKinnon wrote: >>>>>> On 29/09/2015 16:29, Ian Stakenvicius wrote: >>>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: >>>>>>>> Also, we are dropping the use of the -O switch for >>>>>>>> mount/umount -a. This is being dropped because it is >>>>>>>> util-linux specific and not compatible with busybox. >>>>>>> >>>>>>> Does this have any actual end-user impact? AFAIK, using >>>>>>> the -O switch was 'just added' by us originally (i think >>>>>>> to reduce the explicit listing of the different fs types >>>>>>> or otherwise simplify the init script code) right? I'm >>>>>>> just wondering if this paragraph is actually necessary or >>>>>>> not.. >>>>> >>>>>> As a user, that para in the news makes me ask "how does >>>>>> this affect me?". I have to go read man pages and init >>>>>> scripts to find out. >>>>> >>>>>> Perhaps this: >>>>> >>>>>> Also, we are dropping the use of the -O switch for >>>>>> mount/umount -a, because it is util-linux specific and not >>>>>> compatible with busybox. This only affects mounts with >>>>>> "_netdev" listed under options in /etc/fstab. Such systems >>>>>> should use "noauto" and/or "nofail" as described above. >>>>> >>>>> >>>>> Exactly my thoughts. We used -O _netdev within the >>>>> 'netmount' script to identify which fstab entries are network >>>>> mounts. But we did it a different way prior to using -O >>>>> _netdev. And since this isn't actually related in any way to >>>>> something end-users can set in fstab (it has to do with the >>>>> filesystem type itself) I don't see the point in worrying >>>>> end-users about it. >>>>> >>>>> I suppose it's worthwhile to note to busybox users that they >>>>> no longer have to use alternate means of netmounting, as >>>>> 'netmount' will now work on busybox...? >>>>> >>>>> Perhaps: " Also, we are dropping the use of the -O switch >>>>> for mount/umount -a, to ensure the localmount and netmount >>>>> scripts are compatible with busybox mount. If your system >>>>> uses busybox mount please migrate any custom workarounds you >>>>> may have to the openrc localmount/netmount services. " >>>>> >>>> >>>> PS - i still think we should just cut it. >>> >>> What is it that you think we should cut? >>> >>> Thanks, >>> >>> William >>> >> >> The whole -O _netdev paragraph. Although i'm willing to cede on >> that as I didn't know end users set _netdev in fstab themselves; i >> thought it was a property of filesystem types and was entirely >> transparent to end-users. > >The _netdev option is really there to support things like iSCSI, where >you are mounting a filesystem like ext4 from a block device which >requires network connectivity. > >I think some changes are needed here, because this change to >localmount is quite like to break this usage. I don't have that in production yet, but it is scheduled in the next few months. If there is a different way to do this, which does not include writing a custom boot script, I am willing and able to test this. The test environment needs upgrading to latest versions. In my todo list for this weekend. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-10-01 15:49 ` Mike Gilbert 2015-10-01 16:05 ` J. Roeleveld @ 2015-10-01 18:17 ` J. Roeleveld 2015-10-01 18:42 ` [gentoo-dev] OpenRC 0.18 changes -O _netdev Ian Stakenvicius 1 sibling, 1 reply; 21+ messages in thread From: J. Roeleveld @ 2015-10-01 18:17 UTC (permalink / raw To: gentoo-dev On 1 October 2015 17:49:15 CEST, Mike Gilbert <floppym@gentoo.org> wrote: >On Thu, Oct 1, 2015 at 10:15 AM, Ian Stakenvicius <axs@gentoo.org> >wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> On 01/10/15 09:41 AM, William Hubbs wrote: >>> On Tue, Sep 29, 2015 at 11:13:09AM -0400, Ian Stakenvicius >>> wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >>>> >>>> On 29/09/15 11:10 AM, Ian Stakenvicius wrote: >>>>> On 29/09/15 10:52 AM, Alan McKinnon wrote: >>>>>> On 29/09/2015 16:29, Ian Stakenvicius wrote: >>>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: >>>>>>>> Also, we are dropping the use of the -O switch for >>>>>>>> mount/umount -a. This is being dropped because it is >>>>>>>> util-linux specific and not compatible with busybox. >>>>>>> >>>>>>> Does this have any actual end-user impact? AFAIK, using >>>>>>> the -O switch was 'just added' by us originally (i think >>>>>>> to reduce the explicit listing of the different fs types >>>>>>> or otherwise simplify the init script code) right? I'm >>>>>>> just wondering if this paragraph is actually necessary or >>>>>>> not.. >>>>> >>>>>> As a user, that para in the news makes me ask "how does >>>>>> this affect me?". I have to go read man pages and init >>>>>> scripts to find out. >>>>> >>>>>> Perhaps this: >>>>> >>>>>> Also, we are dropping the use of the -O switch for >>>>>> mount/umount -a, because it is util-linux specific and not >>>>>> compatible with busybox. This only affects mounts with >>>>>> "_netdev" listed under options in /etc/fstab. Such systems >>>>>> should use "noauto" and/or "nofail" as described above. >>>>> >>>>> >>>>> Exactly my thoughts. We used -O _netdev within the >>>>> 'netmount' script to identify which fstab entries are network >>>>> mounts. But we did it a different way prior to using -O >>>>> _netdev. And since this isn't actually related in any way to >>>>> something end-users can set in fstab (it has to do with the >>>>> filesystem type itself) I don't see the point in worrying >>>>> end-users about it. >>>>> >>>>> I suppose it's worthwhile to note to busybox users that they >>>>> no longer have to use alternate means of netmounting, as >>>>> 'netmount' will now work on busybox...? >>>>> >>>>> Perhaps: " Also, we are dropping the use of the -O switch >>>>> for mount/umount -a, to ensure the localmount and netmount >>>>> scripts are compatible with busybox mount. If your system >>>>> uses busybox mount please migrate any custom workarounds you >>>>> may have to the openrc localmount/netmount services. " >>>>> >>>> >>>> PS - i still think we should just cut it. >>> >>> What is it that you think we should cut? >>> >>> Thanks, >>> >>> William >>> >> >> The whole -O _netdev paragraph. Although i'm willing to cede on >> that as I didn't know end users set _netdev in fstab themselves; i >> thought it was a property of filesystem types and was entirely >> transparent to end-users. > >The _netdev option is really there to support things like iSCSI, where >you are mounting a filesystem like ext4 from a block device which >requires network connectivity. > >I think some changes are needed here, because this change to >localmount is quite like to break this usage. All, I had a thought. Not sure if this is possible and if it is, it would mean a change to the fstab for people using iSCSI. 1) Add an udev rule to name iSCSI devices differently. (Currently sd×, maybe to something like scs×) 2) Have 'localmount' ignore those entries in fstab. 3) Have 'netmount' (or similar) mount those entries. I haven't looked into the current scripts yet, so if this doesn't make any sense at all, let me know. I will investigate this more over the weekend. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] OpenRC 0.18 changes -O _netdev 2015-10-01 18:17 ` J. Roeleveld @ 2015-10-01 18:42 ` Ian Stakenvicius 2015-10-01 20:16 ` William Hubbs 0 siblings, 1 reply; 21+ messages in thread From: Ian Stakenvicius @ 2015-10-01 18:42 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Since this conversation is now technical rather than news-item related, I've changed to a new thread. On 01/10/15 02:17 PM, J. Roeleveld wrote: > On 1 October 2015 17:49:15 CEST, Mike Gilbert > <floppym@gentoo.org> wrote: >>>>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: >>>>>>>>> Also, we are dropping the use of the -O switch >>>>>>>>> for mount/umount -a. This is being dropped >>>>>>>>> because it is util-linux specific and not >>>>>>>>> compatible with busybox. >>>>>>>> >> >> The _netdev option is really there to support things like >> iSCSI, where you are mounting a filesystem like ext4 from a >> block device which requires network connectivity. >> >> I think some changes are needed here, because this change to >> localmount is quite like to break this usage. > > All, > > I had a thought. Not sure if this is possible and if it is, it > would mean a change to the fstab for people using iSCSI. > > 1) Add an udev rule to name iSCSI devices differently. (Currently > sd×, maybe to something like scs×) 2) Have 'localmount' ignore > those entries in fstab. 3) Have 'netmount' (or similar) mount > those entries. > > I haven't looked into the current scripts yet, so if this doesn't > make any sense at all, let me know. I will investigate this more > over the weekend. > At this point, we need to verify the whole reason for its removal is actually accurate -- it seems it was dropped due to bug 468600, which is about -O [no]_netdev not being recognized by busybox mount. However, there are comments in the bug and notes in busybox documentation which seems to indicate that -O support has been in busybox since 1.20.2, and current stable is 1.23.1-r1.. If the issue is still confirmed, then we can look into alternative methods of handling iscsi. Unfortunately, filtering out targets for 'mount -a' based on their /dev name is entirely not supported by any mount that I know of, so the method listed above will likely be harder rather than easier to implement, so I don't think renaming them will be of much use (not to mention that it would entirely remove the possibility of mounting based on UUID and similar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlYNfocACgkQAJxUfCtlWe3BzwEA1g4oaAP0EITKy0GC0Giq9NAS XLKHTFNuEObUJNGI38gA/2Xl17ucnvN1TyCd5QZEQ132fOm1jd/e/f9NHDfwNlri =LOFf -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] OpenRC 0.18 changes -O _netdev 2015-10-01 18:42 ` [gentoo-dev] OpenRC 0.18 changes -O _netdev Ian Stakenvicius @ 2015-10-01 20:16 ` William Hubbs 2015-10-01 20:45 ` Mike Gilbert ` (2 more replies) 0 siblings, 3 replies; 21+ messages in thread From: William Hubbs @ 2015-10-01 20:16 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 2686 bytes --] On Thu, Oct 01, 2015 at 02:42:15PM -0400, Ian Stakenvicius wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Since this conversation is now technical rather than news-item > related, I've changed to a new thread. > > On 01/10/15 02:17 PM, J. Roeleveld wrote: > > On 1 October 2015 17:49:15 CEST, Mike Gilbert > > <floppym@gentoo.org> wrote: > >>>>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: > >>>>>>>>> Also, we are dropping the use of the -O switch > >>>>>>>>> for mount/umount -a. This is being dropped > >>>>>>>>> because it is util-linux specific and not > >>>>>>>>> compatible with busybox. > >>>>>>>> > >> > >> The _netdev option is really there to support things like > >> iSCSI, where you are mounting a filesystem like ext4 from a > >> block device which requires network connectivity. > >> > >> I think some changes are needed here, because this change to > >> localmount is quite like to break this usage. > > > > All, > > > > I had a thought. Not sure if this is possible and if it is, it > > would mean a change to the fstab for people using iSCSI. > > > > 1) Add an udev rule to name iSCSI devices differently. (Currently > > sd??, maybe to something like scs??) 2) Have 'localmount' ignore > > those entries in fstab. 3) Have 'netmount' (or similar) mount > > those entries. > > > > I haven't looked into the current scripts yet, so if this doesn't > > make any sense at all, let me know. I will investigate this more > > over the weekend. > > > > At this point, we need to verify the whole reason for its removal is > actually accurate -- it seems it was dropped due to bug 468600, > which is about -O [no]_netdev not being recognized by busybox mount. > However, there are comments in the bug and notes in busybox > documentation which seems to indicate that -O support has been in > busybox since 1.20.2, and current stable is 1.23.1-r1.. If the > issue is still confirmed, then we can look into alternative methods > of handling iscsi. The original plan was to move to a point where everyone puts _netdev in their fstab for network mounts on Linux so that we don't have to track file system types like we do in OpenRC right now. On Linux, mount -a -O _netdev would mount all network file systems and umount -a -O _netdev would unmount them. On busybox, the last time I checked, umount -a doesn't support -O at all. I'm thinking the best way to handle iscsi, since it requires network connectivity, would be to just have nofail on the fstab entries for it instead of _netdev, that is if iscsi can pick up the mounts after network connectivity comes up. William [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] OpenRC 0.18 changes -O _netdev 2015-10-01 20:16 ` William Hubbs @ 2015-10-01 20:45 ` Mike Gilbert 2015-10-01 20:50 ` Kristian Fiskerstrand 2015-10-01 20:56 ` Ian Stakenvicius 2 siblings, 0 replies; 21+ messages in thread From: Mike Gilbert @ 2015-10-01 20:45 UTC (permalink / raw To: Gentoo Dev On Thu, Oct 1, 2015 at 4:16 PM, William Hubbs <williamh@gentoo.org> wrote: > On Thu, Oct 01, 2015 at 02:42:15PM -0400, Ian Stakenvicius wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> Since this conversation is now technical rather than news-item >> related, I've changed to a new thread. >> >> On 01/10/15 02:17 PM, J. Roeleveld wrote: >> > On 1 October 2015 17:49:15 CEST, Mike Gilbert >> > <floppym@gentoo.org> wrote: >> >>>>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: >> >>>>>>>>> Also, we are dropping the use of the -O switch >> >>>>>>>>> for mount/umount -a. This is being dropped >> >>>>>>>>> because it is util-linux specific and not >> >>>>>>>>> compatible with busybox. >> >>>>>>>> >> >> >> >> The _netdev option is really there to support things like >> >> iSCSI, where you are mounting a filesystem like ext4 from a >> >> block device which requires network connectivity. >> >> >> >> I think some changes are needed here, because this change to >> >> localmount is quite like to break this usage. >> > >> > All, >> > >> > I had a thought. Not sure if this is possible and if it is, it >> > would mean a change to the fstab for people using iSCSI. >> > >> > 1) Add an udev rule to name iSCSI devices differently. (Currently >> > sd??, maybe to something like scs??) 2) Have 'localmount' ignore >> > those entries in fstab. 3) Have 'netmount' (or similar) mount >> > those entries. >> > >> > I haven't looked into the current scripts yet, so if this doesn't >> > make any sense at all, let me know. I will investigate this more >> > over the weekend. >> > >> >> At this point, we need to verify the whole reason for its removal is >> actually accurate -- it seems it was dropped due to bug 468600, >> which is about -O [no]_netdev not being recognized by busybox mount. >> However, there are comments in the bug and notes in busybox >> documentation which seems to indicate that -O support has been in >> busybox since 1.20.2, and current stable is 1.23.1-r1.. If the >> issue is still confirmed, then we can look into alternative methods >> of handling iscsi. > > The original plan was to move to a point where everyone puts _netdev in > their fstab for network mounts on Linux so that we don't have to track > file system types like we do in OpenRC right now. On Linux, > > mount -a -O _netdev > > would mount all network file systems and > > umount -a -O _netdev > > would unmount them. On busybox, the last time I checked, umount -a > doesn't support -O at all. > > I'm thinking the best way to handle iscsi, since it requires network > connectivity, would be to just have nofail on the fstab entries for it > instead of _netdev, that is if iscsi can pick up the mounts after > network connectivity comes up. That introduces a requirement for another init script to mount network block devices, where previously it would have been covered by netmount. I don't think nofail is appropriate anyway; that flag is supposed to indicate to mount that we don't care if the device does not exist. However, once the network is up and the devices are supposed to have been created, we do very much care if they do not exist. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] OpenRC 0.18 changes -O _netdev 2015-10-01 20:16 ` William Hubbs 2015-10-01 20:45 ` Mike Gilbert @ 2015-10-01 20:50 ` Kristian Fiskerstrand 2015-10-01 20:56 ` Ian Stakenvicius 2 siblings, 0 replies; 21+ messages in thread From: Kristian Fiskerstrand @ 2015-10-01 20:50 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 10/01/2015 10:16 PM, William Hubbs wrote: > > On busybox, the last time I checked, umount -a doesn't support -O > at all. https://bugs.gentoo.org/show_bug.cgi?id=468600 seems to indicate it does, see comment 1: "It seems busybox-1.21.0 mount has -O (capital O) option support. I can do mount -a -O no_netdev and and mount -a -O _netdev with mount honoring _netdev in fstab." - -- Kristian Fiskerstrand Public PGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3 -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJWDZyFAAoJECULev7WN52FMhMH/1QUY02FO/VIu4M55Nq+CAg5 JjlchOpStXR7OOYXZgSFzOi8jqiZpoLmLS+1Ll/po0i7rgzKc8CjPsYxHDgcoV5M 9quN3s9aenCOsQHH3TC2dXihq1vIBqFJLQp30EqIL2jA8WbgUBnHqJFJvBPoBrFl +yo/EEcK33UqZMosAF6KbFg+SNjxT4WJOUkBigzGDxf34ED0q7hojTZs5m72EQg2 HWXBMoWFQuThNHE3j+USaUgi/2bVpN81bVdv21+IwEebrFW5R2zuJOohUu0ubZwA TiANEnEqRONeohdN47ygn6d5Qi9HV3wcQFmslWvERnfkAg+ctU13LABAD8UwdaI= =IR/q -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] OpenRC 0.18 changes -O _netdev 2015-10-01 20:16 ` William Hubbs 2015-10-01 20:45 ` Mike Gilbert 2015-10-01 20:50 ` Kristian Fiskerstrand @ 2015-10-01 20:56 ` Ian Stakenvicius 2015-10-01 21:04 ` William Hubbs 2 siblings, 1 reply; 21+ messages in thread From: Ian Stakenvicius @ 2015-10-01 20:56 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 01/10/15 04:16 PM, William Hubbs wrote: > On Thu, Oct 01, 2015 at 02:42:15PM -0400, Ian Stakenvicius > wrote: >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 >> >> Since this conversation is now technical rather than news-item >> related, I've changed to a new thread. >> >> On 01/10/15 02:17 PM, J. Roeleveld wrote: >>> On 1 October 2015 17:49:15 CEST, Mike Gilbert >>> <floppym@gentoo.org> wrote: >>>>>>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: >>>>>>>>>>> Also, we are dropping the use of the -O >>>>>>>>>>> switch for mount/umount -a. This is being >>>>>>>>>>> dropped because it is util-linux specific and >>>>>>>>>>> not compatible with busybox. >>>>>>>>>> >>>> >>>> The _netdev option is really there to support things like >>>> iSCSI, where you are mounting a filesystem like ext4 from >>>> a block device which requires network connectivity. >>>> >>>> I think some changes are needed here, because this change >>>> to localmount is quite like to break this usage. >>> >>> All, >>> >>> I had a thought. Not sure if this is possible and if it is, >>> it would mean a change to the fstab for people using iSCSI. >>> >>> 1) Add an udev rule to name iSCSI devices differently. >>> (Currently sd??, maybe to something like scs??) 2) Have >>> 'localmount' ignore those entries in fstab. 3) Have >>> 'netmount' (or similar) mount those entries. >>> >>> I haven't looked into the current scripts yet, so if this >>> doesn't make any sense at all, let me know. I will >>> investigate this more over the weekend. >>> >> >> At this point, we need to verify the whole reason for its >> removal is actually accurate -- it seems it was dropped due to >> bug 468600, which is about -O [no]_netdev not being recognized >> by busybox mount. However, there are comments in the bug and >> notes in busybox documentation which seems to indicate that -O >> support has been in busybox since 1.20.2, and current stable is >> 1.23.1-r1.. If the issue is still confirmed, then we can look >> into alternative methods of handling iscsi. > > The original plan was to move to a point where everyone puts > _netdev in their fstab for network mounts on Linux so that we > don't have to track file system types like we do in OpenRC right > now. On Linux, > > mount -a -O _netdev > > would mount all network file systems and > > umount -a -O _netdev > > would unmount them. On busybox, the last time I checked, umount > -a doesn't support -O at all. > (putting aside the removal of the openrc net-fs list and the need to require -all- network mounts to need _netdev in /etc/fstab for a while ) When did you last check busybox? Indications seem to be that busybox has received this support a few versions ago. My quick 'busybox mount -v -a -O _netdev ; busybox mount -v -a -O no_netdev' seems to indicate it's supported fine with current stable busybox. So i think this removal can just be rolled back as it's based on obsolete knowledge. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlYNnhcACgkQAJxUfCtlWe20FgD/cm5XssPiKgEoeeCduASjv7Dh MSq4muIlZKCXgygqFkAA/RQBBwaTe1SxB4eVy3BGm+HVfJxml4pecoI2YNNWugRG =dG6F -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] OpenRC 0.18 changes -O _netdev 2015-10-01 20:56 ` Ian Stakenvicius @ 2015-10-01 21:04 ` William Hubbs 2015-10-01 21:07 ` Kristian Fiskerstrand 0 siblings, 1 reply; 21+ messages in thread From: William Hubbs @ 2015-10-01 21:04 UTC (permalink / raw To: gentoo-dev [-- Attachment #1: Type: text/plain, Size: 3384 bytes --] On Thu, Oct 01, 2015 at 04:56:55PM -0400, Ian Stakenvicius wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On 01/10/15 04:16 PM, William Hubbs wrote: > > On Thu, Oct 01, 2015 at 02:42:15PM -0400, Ian Stakenvicius > > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 > >> > >> Since this conversation is now technical rather than news-item > >> related, I've changed to a new thread. > >> > >> On 01/10/15 02:17 PM, J. Roeleveld wrote: > >>> On 1 October 2015 17:49:15 CEST, Mike Gilbert > >>> <floppym@gentoo.org> wrote: > >>>>>>>>>> On 28/09/15 06:58 PM, William Hubbs wrote: > >>>>>>>>>>> Also, we are dropping the use of the -O > >>>>>>>>>>> switch for mount/umount -a. This is being > >>>>>>>>>>> dropped because it is util-linux specific and > >>>>>>>>>>> not compatible with busybox. > >>>>>>>>>> > >>>> > >>>> The _netdev option is really there to support things like > >>>> iSCSI, where you are mounting a filesystem like ext4 from > >>>> a block device which requires network connectivity. > >>>> > >>>> I think some changes are needed here, because this change > >>>> to localmount is quite like to break this usage. > >>> > >>> All, > >>> > >>> I had a thought. Not sure if this is possible and if it is, > >>> it would mean a change to the fstab for people using iSCSI. > >>> > >>> 1) Add an udev rule to name iSCSI devices differently. > >>> (Currently sd??, maybe to something like scs??) 2) Have > >>> 'localmount' ignore those entries in fstab. 3) Have > >>> 'netmount' (or similar) mount those entries. > >>> > >>> I haven't looked into the current scripts yet, so if this > >>> doesn't make any sense at all, let me know. I will > >>> investigate this more over the weekend. > >>> > >> > >> At this point, we need to verify the whole reason for its > >> removal is actually accurate -- it seems it was dropped due to > >> bug 468600, which is about -O [no]_netdev not being recognized > >> by busybox mount. However, there are comments in the bug and > >> notes in busybox documentation which seems to indicate that -O > >> support has been in busybox since 1.20.2, and current stable is > >> 1.23.1-r1.. If the issue is still confirmed, then we can look > >> into alternative methods of handling iscsi. > > > > The original plan was to move to a point where everyone puts > > _netdev in their fstab for network mounts on Linux so that we > > don't have to track file system types like we do in OpenRC right > > now. On Linux, > > > > mount -a -O _netdev > > > > would mount all network file systems and > > > > umount -a -O _netdev > > > > would unmount them. On busybox, the last time I checked, umount > > -a doesn't support -O at all. > > > > (putting aside the removal of the openrc net-fs list and the need to > require -all- network mounts to need _netdev in /etc/fstab for a while > ) > > When did you last check busybox? Indications seem to be that > busybox has received this support a few versions ago. My quick > 'busybox mount -v -a -O _netdev ; busybox mount -v -a -O no_netdev' > seems to indicate it's supported fine with current stable busybox. > So i think this removal can just be rolled back as it's based on > obsolete knowledge. Please read my statement above again; I said umount not mount. ;-) William [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] OpenRC 0.18 changes -O _netdev 2015-10-01 21:04 ` William Hubbs @ 2015-10-01 21:07 ` Kristian Fiskerstrand 2015-10-01 21:34 ` William Hubbs 0 siblings, 1 reply; 21+ messages in thread From: Kristian Fiskerstrand @ 2015-10-01 21:07 UTC (permalink / raw To: gentoo-dev -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 10/01/2015 11:04 PM, William Hubbs wrote: > > Please read my statement above again; I said umount not mount. ;-) Not tested that, but isn't that something that should be fixed in busybox? is there an upstream bug for it if it isn't supported? - -- Kristian Fiskerstrand Public PGP key 0xE3EDFAE3 at hkp://pool.sks-keyservers.net fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3 -----BEGIN PGP SIGNATURE----- iQEcBAEBCgAGBQJWDaCgAAoJECULev7WN52FcBQIAJ42dU7n9DOgNf9lDr4jn566 I7Qf7W3DhYWpHyhsxO25bTdLka6OMnoxy+TU3256BXrBpIeSjbqfFzsl7FFlbcW4 q5OytyQuy0UYyRH8YLOzasSclK4QCDKhEzEQ8skbRM8DoAG7NPscfunWMHb3nYtz 5tdhmZ+9+dK1rN7IP4vRhYY6Y3THG2Ih72Q17qqhp+Kq5/rvgeMTJsaZ4hRWyt0j SRqWuausm1G+iitIT8E4KPz7yhtnDociZtj08gAjIw6Fu7IZ1BZ8eNKJi0gRYMW9 e/nu1cDC4boDTlzZyQzg4CCOHygK+NL8YJZDmbJ3CFeem0qxbVUWIunmHEVH6tA= =fIrR -----END PGP SIGNATURE----- ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] OpenRC 0.18 changes -O _netdev 2015-10-01 21:07 ` Kristian Fiskerstrand @ 2015-10-01 21:34 ` William Hubbs 0 siblings, 0 replies; 21+ messages in thread From: William Hubbs @ 2015-10-01 21:34 UTC (permalink / raw To: gentoo-dev; +Cc: k_f [-- Attachment #1: Type: text/plain, Size: 879 bytes --] On Thu, Oct 01, 2015 at 11:07:48PM +0200, Kristian Fiskerstrand wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > On 10/01/2015 11:04 PM, William Hubbs wrote: > > > > > Please read my statement above again; I said umount not mount. ;-) > > Not tested that, but isn't that something that should be fixed in > busybox? is there an upstream bug for it if it isn't supported? You are correct, this is an issue that should be fixed in busybox. However, there are several other issues that make openrc not work well with busybox [1], and I haven't seen any movement on fixing them either, so I'm not holding my breath. The only option I have at this point is to try to move away from these features where possible and tell busybox users that the remaining ones won't work for them. William [1] https://bugs.gentoo.org/show_bug.cgi?id=529086 [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 181 bytes --] ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount 2015-09-29 14:52 ` Alan McKinnon 2015-09-29 15:10 ` Ian Stakenvicius @ 2015-09-30 7:57 ` J. Roeleveld 1 sibling, 0 replies; 21+ messages in thread From: J. Roeleveld @ 2015-09-30 7:57 UTC (permalink / raw To: gentoo-dev On Tuesday, September 29, 2015 04:52:51 PM Alan McKinnon wrote: > On 29/09/2015 16:29, Ian Stakenvicius wrote: > > On 28/09/15 06:58 PM, William Hubbs wrote: > >> Also, we are dropping the use of the -O switch for mount/umount > >> -a. This is being dropped because it is util-linux specific and > >> not compatible with busybox. > > > > Does this have any actual end-user impact? AFAIK, using the -O > > switch was 'just added' by us originally (i think to reduce the > > explicit listing of the different fs types or otherwise simplify the > > init script code) right? I'm just wondering if this paragraph is > > actually necessary or not.. > > As a user, that para in the news makes me ask "how does this affect > me?". I have to go read man pages and init scripts to find out. > > Perhaps this: > > Also, we are dropping the use of the -O switch for mount/umount -a, > because it is util-linux specific and not compatible with busybox. This > only affects mounts with "_netdev" listed under options in /etc/fstab. > Such systems should use "noauto" and/or "nofail" as described above. Does anyone know how to solve the issue when depending on iSCSI devices? I had to add "_netdev" to ensure those would not fail during boot. -- Joost ^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2015-10-01 21:35 UTC | newest] Thread overview: 21+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-09-28 22:58 [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount William Hubbs 2015-09-29 0:05 ` [gentoo-dev] " Duncan 2015-09-29 14:29 ` [gentoo-dev] " Ian Stakenvicius 2015-09-29 14:52 ` Alan McKinnon 2015-09-29 15:10 ` Ian Stakenvicius 2015-09-29 15:13 ` Ian Stakenvicius 2015-10-01 13:41 ` William Hubbs 2015-10-01 14:15 ` Ian Stakenvicius 2015-10-01 15:46 ` Ian Stakenvicius 2015-10-01 15:49 ` Mike Gilbert 2015-10-01 16:05 ` J. Roeleveld 2015-10-01 18:17 ` J. Roeleveld 2015-10-01 18:42 ` [gentoo-dev] OpenRC 0.18 changes -O _netdev Ian Stakenvicius 2015-10-01 20:16 ` William Hubbs 2015-10-01 20:45 ` Mike Gilbert 2015-10-01 20:50 ` Kristian Fiskerstrand 2015-10-01 20:56 ` Ian Stakenvicius 2015-10-01 21:04 ` William Hubbs 2015-10-01 21:07 ` Kristian Fiskerstrand 2015-10-01 21:34 ` William Hubbs 2015-09-30 7:57 ` [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount J. Roeleveld
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox