From owner-freebsd-rc@FreeBSD.ORG Sun Nov 18 06:10:09 2012 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E94EAEC; Sun, 18 Nov 2012 06:10:09 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id E77F68FC08; Sun, 18 Nov 2012 06:10:07 +0000 (UTC) Received: from alph.allbsd.org (p1137-ipbf1505funabasi.chiba.ocn.ne.jp [118.7.212.137]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id qAI69nGm040329 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Nov 2012 15:09:59 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by alph.allbsd.org (8.14.5/8.14.5) with ESMTP id qAI69lUQ095887; Sun, 18 Nov 2012 15:09:49 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 18 Nov 2012 15:09:35 +0900 (JST) Message-Id: <20121118.150935.240651183336258002.hrs@allbsd.org> To: mjguzik@gmail.com Subject: Re: mountlate being too mount-happy From: Hiroki Sato In-Reply-To: <20121118002245.GB15055@dft-labs.eu> References: <20121118.074325.564844639489846824.hrs@allbsd.org> <20121118002245.GB15055@dft-labs.eu> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Sun_Nov_18_15_09_35_2012_216)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Sun, 18 Nov 2012 15:10:00 +0900 (JST) X-Spam-Status: No, score=-98.1 required=13.0 tests=CONTENT_TYPE_PRESENT, ONLY1HOPDIRECT,SAMEHELOBY2HOP,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: freebsd-rc@FreeBSD.org, mjg@FreeBSD.org, utisoft@gmail.com X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2012 06:10:09 -0000 ----Security_Multipart(Sun_Nov_18_15_09_35_2012_216)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mateusz Guzik wrote in <20121118002245.GB15055@dft-labs.eu>: mj> On Sun, Nov 18, 2012 at 07:43:25AM +0900, Hiroki Sato wrote: mj> > Chris Rees wrote mj> > in : mj> > mj> > ut> On 2 November 2012 14:21, Eitan Adler wrote: mj> > ut> > On 2 November 2012 09:56, Chris Rees wrote: mj> > ut> >> I'll take a look. mj> > ut> > mj> > ut> > untested: mj> > ut> mj> > ut> Based on Eitan's patch, I've tested this one, and documented it in mount(8) too: mj> > ut> mj> > ut> http://www.bayofrum.net/~crees/patches/mountonlylate.diff mj> > ut> mj> > ut> Does anyone have any suggestions/objections/urge to approve it? mj> > mj> > Is the original problem due to backgrounding of NFS mount only? If mj> > so, implementing prevention of duplicate invocation into mount(8) mj> > would be more reasonable, I think. mj> > mj> mj> We have 2 distinct scripts that try to mount same set of filesystems. mj> I think this is the real bug here and proposed patches makes it go away in mj> an IMHO acceptable way. I just wanted to make sure if the case is limited to background NFS mount or not. rc.d/mountlate just tries to mount the filesystems that are not mounted yet at that time in addition to the "late" ones, not always to mount the same set twice. If it is a bug, it is better to simply fix -l to exclude not-yet-mounted ones without "late" keyword than adding another option. -- Hiroki ----Security_Multipart(Sun_Nov_18_15_09_35_2012_216)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAlCoe58ACgkQTyzT2CeTzy1eBgCdFEy9GeVr9gDeVgY4Uwyrjr+I 3WEAn2TuZrf7BuwFo8+s9yPb/pbQvJJA =XzXq -----END PGP SIGNATURE----- ----Security_Multipart(Sun_Nov_18_15_09_35_2012_216)----