From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 397071383E0 for ; Thu, 1 Oct 2015 15:49:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A13FBE08AF; Thu, 1 Oct 2015 15:49:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8376BE0897 for ; Thu, 1 Oct 2015 15:49:38 +0000 (UTC) Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 6991A34016B for ; Thu, 1 Oct 2015 15:49:37 +0000 (UTC) Received: by igbkq10 with SMTP id kq10so18826906igb.0 for ; Thu, 01 Oct 2015 08:49:35 -0700 (PDT) X-Received: by 10.50.39.44 with SMTP id m12mr4067672igk.81.1443714575257; Thu, 01 Oct 2015 08:49:35 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Received: by 10.107.20.85 with HTTP; Thu, 1 Oct 2015 08:49:15 -0700 (PDT) In-Reply-To: <560D4019.6030800@gentoo.org> References: <5609c60d.2337420a.eba7.ffff912e@mx.google.com> <560AA05B.2020000@gentoo.org> <560AA5C3.8070607@gmail.com> <560AA9ED.8000603@gentoo.org> <560AAA85.7000709@gentoo.org> <20151001134155.GA5192@linux1> <560D4019.6030800@gentoo.org> From: Mike Gilbert Date: Thu, 1 Oct 2015 11:49:15 -0400 Message-ID: Subject: Re: [gentoo-dev] news item: OpenRC 0.18 changes to localmount and netmount To: Gentoo Dev Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: f723b30f-307a-471c-8b63-1cf2f66a8041 X-Archives-Hash: d2417f29c16345c6d3f6f50f3b1a99c0 On Thu, Oct 1, 2015 at 10:15 AM, Ian Stakenvicius 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.