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.

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.

Reply via email to