From owner-freebsd-rc@FreeBSD.ORG Mon May 26 11:06:55 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E85B6106566B for ; Mon, 26 May 2008 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D3F3D8FC40 for ; Mon, 26 May 2008 11:06:54 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4QB6sSf065023 for ; Mon, 26 May 2008 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4QB6sOT065019 for freebsd-rc@FreeBSD.org; Mon, 26 May 2008 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 May 2008 11:06:54 GMT Message-Id: <200805261106.m4QB6sOT065019@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-rc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-rc@FreeBSD.org X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 26 May 2008 11:06:55 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/98758 rc [jail] [patch] Templatize 'jail_fstab' in /etc/rc.d/ja o conf/98846 rc [jail] [patch] Templatize 'jail_rootdir' in /etc/rc.d/ o conf/105689 rc [ppp] [request] syslogd starts too late at boot o conf/118255 rc savecore never finding kernel core dumps (rcorder prob o conf/122036 rc [rc.d]: Mounting at boot with ZFS causes a halt in boo 5 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o conf/44170 rc [patch] Add ability to run multiple pppoed(8) on start o conf/45226 rc [patch] Fix for rc.network, ppp-user annoyance o conf/56934 rc [patch] rc.firewall rules for natd expect an interface o conf/58939 rc [patch] dumb little hack for /etc/rc.firewall{,6} s bin/65258 rc [patch] [request] save /etc/rc.firewall from changing o conf/73677 rc [patch] add support for powernow states to power_profi o conf/77663 rc Suggestion: add /etc/rc.d/addnetswap after addcritremo o kern/81006 rc ipnat not working with tunnel interfaces on startup o conf/85819 rc [patch] script allowing multiuser mode in spite of fsc o conf/88913 rc [patch] wrapper support for rc.subr o conf/89061 rc [patch] IPv6 6to4 auto-configuration enhancement o conf/89870 rc [patch] [request] make netif verbose rc.conf toggle o conf/92523 rc [patch] allow rc scripts to kill process after a timeo o conf/93815 rc [patch] Adds in the ability to save ipfw rules to rc.d o conf/96343 rc [patch] rc.d order change to start inet6 before pf o conf/99444 rc [patch] Enhancement: rc.subr could easily support star o conf/99721 rc [patch] /etc/rc.initdiskless problem copy dotfile in s o conf/102700 rc [geli] [patch] Add encrypted /tmp support to GELI/GBDE o conf/103486 rc [rc.d] [jail] [patch] rc.d/jail: mount fstab after dev o conf/103489 rc [rc.d] [jail] [patch] named_chroot_autoupdate doesn't o conf/104549 rc [patch] rc.d/nfsd needs special _find_processes functi o conf/105145 rc [ppp] [patch] [request] add redial function to rc.d/pp o conf/105568 rc [patch] [request] Add more flexibility to rc.conf, to o conf/106009 rc [ppp] [patch] [request] Fix pppoed startup script to p o conf/109562 rc [rc.d] [patch] [request] Make rc.d/devfs usable from c o conf/109980 rc /etc/rc.d/netif restart doesn't destroy cloned_interfa o conf/113915 rc [patch] ndis wireless driver fails to associate when i o conf/114119 rc [jail] [patch] [request] /etc/rc.d/jail improvements f o conf/117935 rc [patch] ppp fails to start at boot because of missing o conf/118385 rc [patch] [rc] /etc/rc.d/motd doesn't work on custom sys o conf/119076 rc [patch] [rc] /etc/rc.d/netif tries to remove alias add o conf/119874 rc [patch] "/etc/rc.d/pf reload" fails if there are macro o conf/120194 rc [patch] UFS volumes on ZVOLs cannot be fsck'd at boot o conf/120228 rc [zfs] [patch] Split ZFS volume startup / ease ZFS swap o conf/120406 rc [devd] [patch] Handle newly attached pcm devices (eg. o conf/120431 rc [patch] devfs.rules are not initialized under certain o bin/121101 rc [patch] named(8): named_chroot_autoupdate forgets prot o kern/121566 rc [nfs] [request] [patch] ethernet iface should be broug o conf/122170 rc [patch] [request] New feature: notify admin via page o o conf/122477 rc [patch] /etc/rc.d/mdconfig and mdconfig2 are ignoring o conf/123222 rc [patch] Add rtprio(1)/idprio(1) support to rc.subr(8). o conf/123734 rc [patch] Chipset VIA CX700 requires extra initializatio 42 problems total. From owner-freebsd-rc@FreeBSD.ORG Thu May 29 12:23:11 2008 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F42C1065671; Thu, 29 May 2008 12:23:11 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206046210.chello.pl [87.206.46.210]) by mx1.freebsd.org (Postfix) with ESMTP id BDFF38FC17; Thu, 29 May 2008 12:23:10 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 9D12045F21; Thu, 29 May 2008 14:00:26 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9D88E45EA4; Thu, 29 May 2008 14:00:22 +0200 (CEST) Date: Thu, 29 May 2008 14:00:22 +0200 From: Pawel Jakub Dawidek To: Aaron Holmes Message-ID: <20080529120022.GE3159@garage.freebsd.pl> References: <48373178.4080909@aaronholmes.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ep0oHQY+/Gbo/zt0" Content-Disposition: inline In-Reply-To: <48373178.4080909@aaronholmes.net> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-rc@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: Delaying mount of UFS filesystem in ZFS pool X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 29 May 2008 12:23:11 -0000 --ep0oHQY+/Gbo/zt0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 23, 2008 at 02:04:56PM -0700, Aaron Holmes wrote: > I have a UFS filesystem inside a zpool: > tank on /tank (zfs, local) > /dev/zvol/tank/ufs on /mnt/ufs (ufs, local, acls) >=20 > If I add that entry (/dev/zvol/tank/ufs) to /etc/fstab, it will try to=20 > mount as a critical filesystem on boot, however, because ZFS hasn't yet= =20 > loaded, this fails and causes all sorts of fun for me. > Currently I have that filesystem mounting via a cronjob that checks=20 > every minute if it's mounted.. definitely not ideal. >=20 > I need this filesystem in /etc/fstab so I can setup quotas on it (if=20 > there is some other way to get quotas working, great, point me to a link= =20 > or two). >=20 > So what I'm thinking for a solution is to delay the mount of this=20 > filesystem until ZFS has loaded, but I'm not sure of a way to do this=20 > with the filesystem in /etc/fstab, and without extensive hacking to one= =20 > or more rc scripts. >=20 > Ideas? Adding 'late' flag in "Options" section to the fstab entry may help, although I don't think it will help with quotas: # rcorder /etc/rc.d/* [...] /etc/rc.d/mountcritlocal [...] /etc/rc.d/zfs [...] /etc/rc.d/mountcritremote [...] /etc/rc.d/quota [...] /etc/rc.d/mountlate [...] We might consider running rc.d/quota after rc.d/mountlate, not sure if it won't break something else. I added freebsd-rc@ to CC. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --ep0oHQY+/Gbo/zt0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFIPprWForvXbEpPzQRAo71AKD1d+r8dpZX6Fi/5sId8/RRWMIMqACgk6cY TMtS2jlDOghaCtAMp4Z3T1E= =aQL9 -----END PGP SIGNATURE----- --ep0oHQY+/Gbo/zt0-- From owner-freebsd-rc@FreeBSD.ORG Thu May 29 17:37:22 2008 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 656CC1065671 for ; Thu, 29 May 2008 17:37:22 +0000 (UTC) (envelope-from aaron@aaronholmes.net) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 0FB298FC18 for ; Thu, 29 May 2008 17:37:21 +0000 (UTC) (envelope-from aaron@aaronholmes.net) Received: by yx-out-2324.google.com with SMTP id 31so333417yxl.13 for ; Thu, 29 May 2008 10:37:21 -0700 (PDT) Received: by 10.150.79.32 with SMTP id c32mr7691395ybb.133.1212081062007; Thu, 29 May 2008 10:11:02 -0700 (PDT) Received: from ?192.168.1.100? ( [24.113.87.90]) by mx.google.com with ESMTPS id n45sm1412959pyh.29.2008.05.29.10.11.00 (version=SSLv3 cipher=RC4-MD5); Thu, 29 May 2008 10:11:01 -0700 (PDT) Message-ID: <483EE39B.6060403@aaronholmes.net> Date: Thu, 29 May 2008 10:10:51 -0700 From: Aaron Holmes User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <48373178.4080909@aaronholmes.net> <20080529120022.GE3159@garage.freebsd.pl> In-Reply-To: <20080529120022.GE3159@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org, freebsd-questions@freebsd.org Subject: Re: Delaying mount of UFS filesystem in ZFS pool X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 29 May 2008 17:37:22 -0000 I didn't think of mountlate, that may work. What I ended up doing was adding the "noauto" option and running a cronjob that checks and mounts the filesystem. Unfortunately, I learned that quotas only apply to mount points and not directories, so I may not be of any use for testing new things in the near future. Pawel Jakub Dawidek wrote: > On Fri, May 23, 2008 at 02:04:56PM -0700, Aaron Holmes wrote: > >> I have a UFS filesystem inside a zpool: >> tank on /tank (zfs, local) >> /dev/zvol/tank/ufs on /mnt/ufs (ufs, local, acls) >> >> If I add that entry (/dev/zvol/tank/ufs) to /etc/fstab, it will try to >> mount as a critical filesystem on boot, however, because ZFS hasn't yet >> loaded, this fails and causes all sorts of fun for me. >> Currently I have that filesystem mounting via a cronjob that checks >> every minute if it's mounted.. definitely not ideal. >> >> I need this filesystem in /etc/fstab so I can setup quotas on it (if >> there is some other way to get quotas working, great, point me to a link >> or two). >> >> So what I'm thinking for a solution is to delay the mount of this >> filesystem until ZFS has loaded, but I'm not sure of a way to do this >> with the filesystem in /etc/fstab, and without extensive hacking to one >> or more rc scripts. >> >> Ideas? >> > > Adding 'late' flag in "Options" section to the fstab entry may help, > although I don't think it will help with quotas: > > # rcorder /etc/rc.d/* > [...] > /etc/rc.d/mountcritlocal > [...] > /etc/rc.d/zfs > [...] > /etc/rc.d/mountcritremote > [...] > /etc/rc.d/quota > [...] > /etc/rc.d/mountlate > [...] > > We might consider running rc.d/quota after rc.d/mountlate, not sure if > it won't break something else. I added freebsd-rc@ to CC. > >