Problem running custom startup script at proper time

Aaron drizzt321 at gmail.com
Sun Sep 19 21:39:30 UTC 2010


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 <bsam at ipt.ru> wrote:
> On Sun, 19 Sep 2010 13:55:41 -0700 Aaron wrote:
>> On Sun, Sep 19, 2010 at 13:27, Boris Samorodov <bsam at ipt.ru> 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 :(
>>  When 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
>


More information about the freebsd-questions mailing list