On 1 October 2015 17:49:15 CEST, Mike Gilbert <[email protected]> wrote: >On Thu, Oct 1, 2015 at 10:15 AM, Ian Stakenvicius <[email protected]> >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.
