minor change to /etc/rc.d/var

From: Boris Samorodov (bsam_at_ipt.ru)
Date: 05/28/05

  • Next message: Kris Kennaway: "Re: Abort rap from cron"
    To: freebsd-stable@FreeBSD.org
    Date: Sun, 29 May 2005 01:24:01 +0400
    
    

    Hi!

    What do you think in minor change to /etc/rc.d/var:

    
    

    --- var.orig Sun May 29 01:05:47 2005
    +++ var Sun May 29 01:06:12 2005
    @@ -28,7 +28,7 @@
     #
     
     # PROVIDE: var
    -# REQUIRE: mountcritlocal
    +# REQUIRE: mountcritremote
     
     . /etc/rc.subr
     

    
    

    If there are no NFS mountpoints at /etc/fstab, both variants are
    equal. But if there are some and the host (which is booting) is a
    diskless station, the change is critical. I was success in booting the
    diskless station (from server with FreeBSD-5.4-RELEASE-p1) only after
    applying this patch.

    I do have at rc.conf.local:
    -----
    varmfs="YES"
    populate_var="YES"
    -----

    But the diskless station didn't boot. It stopped booting with multiple
    errors, which showed that /var was not mounted. Only the patch did the
    right thing.

    WBR

    -- 
    bsam
    
    

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Kris Kennaway: "Re: Abort rap from cron"