From owner-freebsd-questions@FreeBSD.ORG Sun Sep 19 21:39:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67279106566B for ; Sun, 19 Sep 2010 21:39:30 +0000 (UTC) (envelope-from drizzt321@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 180418FC14 for ; Sun, 19 Sep 2010 21:39:29 +0000 (UTC) Received: by qyk4 with SMTP id 4so4249762qyk.13 for ; Sun, 19 Sep 2010 14:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=dPqcZhAIWeOk7u65yUF7LkzujltCjQf6M75l6IcjxhQ=; b=eWX/csTEKgS/t6bAz4mwnlc4LqwiKaxhaZPFIhe9P6r1PTp7ZX86IW35poBuW1hOKd DlAVJIct+CYD8z/I4CmdBoO8Uvu1OZgVwoYP/iQbtwHQ7JFcnUK8S1nOAwWQwRLLDv8v uxCo1/i7eWru/VjMVrEZstSMSitCEiSXt44ZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=ervTw/XbsQEJTbdItq2p7sR+wMnY08sTqhVOtkvgvTHvV2aV1ljFDvQxSFTaDBAtOL CEYi0hZQkav/Jvr+Wq1FfYlaUsQ7DQXGPubGXDJbi5tbYO8ioTYpEYUgkJsGJFD5RHNK vmGGfaS2lw2Vm3gQaiQJiEs34ARpU+t/28VR0= Received: by 10.229.223.198 with SMTP id il6mr5683893qcb.50.1284932369190; Sun, 19 Sep 2010 14:39:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.236.85 with HTTP; Sun, 19 Sep 2010 14:39:08 -0700 (PDT) In-Reply-To: <37854271@ipt.ru> References: <03936477@ipt.ru> <37854271@ipt.ru> From: Aaron Date: Sun, 19 Sep 2010 14:39:08 -0700 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Problem running custom startup script at proper time X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 21:39:30 -0000 Doh! Forgot to reply to the mailing list. Nope, that didn't work either. Darn. Maybe I'll just have to modify the /etc/rc.d/zfs script to run the for loop first :( On Sun, Sep 19, 2010 at 14:04, Boris Samorodov wrote: > On Sun, 19 Sep 2010 13:55:41 -0700 Aaron wrote: >> On Sun, Sep 19, 2010 at 13:27, Boris Samorodov wrote: >> > On Sun, 19 Sep 2010 12:40:52 -0700 Aaron wrote: >> > >> >> # PROVIDE: gnop >> > >> > What if you try "PROVIDE: disks" instead? > >> No good. I also tried the following in the gnop script: > >> # PROVIDE: gnop >> # REQUIRE: mountcritlocal >> # BEFORE: zfs > > /etc/rc.d/geli has this: > ----- > # PROVIDE: disks > # REQUIRE: initrandom > # KEYWORD: nojail > ----- > > Seems that that should work for you. If not I'm out of ideas > for now. > >> The services -r looks promising, but the dmesg is still the same :( >> =A0When I disable zfs auto-mount, and then run it manually after boot, >> it uses the .nop devices that were created correctly as it should. > >> EXCERPT services -r >> /etc/rc.d/mdconfig >> /etc/rc.d/mountcritlocal >> /etc/rc.d/gnop >> /etc/rc.d/zfs > > -- > WBR, Boris Samorodov (bsam) > Research Engineer, http://www.ipt.ru Telephone & Internet SP > FreeBSD Committer, http://www.FreeBSD.org The Power To Serve >