Re: FreeBSD patch question

From: Bill Vermillion (bv_at_wjv.com)
Date: 09/26/03

  • Next message: V. Jones: "Re: FreeBSD Patch question"
    Date: Fri, 26 Sep 2003 16:31:37 -0400
    To: freebsd-security@freebsd.org
    
    

    In the last exciting episode of the freebsd-security-request@freebsd.org saga
    on Fri, Sep 26, 2003 at 12:02 , freebsd-security-request@freebsd.org as heard to say:

    > ------------------------------

    > Message: 3
    > Date: Thu, 25 Sep 2003 21:52:32 +0200
    > From: "Devon H. O'Dell" <dodell@sitetronics.com>
    > Subject: Re: FreeBSD Patch question

    [Much deleted - wjv]

    > The handbook recommends that one drop into single user mode to
    > build the world. While this is certainly best practice, it is
    > by no means absolutely necessary.

    Can you point this out - I've just looke at the handbook
    and I do NOT find anything like that in there. I see installworld
    in single, but not buildworld. This is from the handbook - note
    that it >recomends< installworld in single - though on my remote
    machines I've not had that luxury.

    ========================================
       Beginning with version 2.2.5 of FreeBSD (actually, it was first created on
       the FreeBSD-CURRENT branch, and then retrofitted to FreeBSD-STABLE midway
       between 2.2.2 and 2.2.5) the world target has been split in two:
       buildworld and installworld.

       As the names imply, buildworld builds a complete new tree under /usr/obj,
       and installworld installs this tree on the current machine.

       This is very useful for 2 reasons. First, it allows you to do the build
       safe in the knowledge that no components of your running system will be
       affected. The build is ``self hosted''. Because of this, you can safely
       run buildworld on a machine running in multi-user mode with no fear of
       ill-effects. It is still recommended that you run the installworld part in
       single user mode, though.

       Secondly, it allows you to use NFS mounts to upgrade multiple machines on
       your network. If you have three machines, A, B and C that you want to
       upgrade, run make buildworld and make installworld on A. B and C should
       then NFS mount /usr/src and /usr/obj from A, and you can then run make
       installworld to install the results of the build on B and C.

       Although the world target still exists, you are strongly encouraged not to
       use it.

    ========================================

    > End of freebsd-security Digest, Vol 27, Issue 4

    Bill

    -- 
    Bill Vermillion - bv @ wjv . com
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
    

  • Next message: V. Jones: "Re: FreeBSD Patch question"

    Relevant Pages

    • Re: Going from 8.0-CURRENT to RELENG_7
      ... stick to RELENG_7 and since branching occured 2 days ago, ... it initiated installworld and broke while installing man. ... I tried booting with a pre-8.0 kernel and same problem so I installed a cd that I had form the 5th of October and lost etc and a few other files but managed to get it back together. ... Now for the machines that are in the same situation but located far away. ...
      (freebsd-current)
    • Re: Failure building apache22 and mysql51
      ... I think this was the case (although I thought we have only amd64 machines). ... Installworld is supposed to be done after a reboot, ... and re-compile/install them for the new architecture. ...
      (freebsd-stable)
    • Re: 5.3 -> 5.4 breaks ATA (Intel ICH2)
      ... I'm not doing a separate build, just installing a prebuilt system. ... If you have three machines, A, B and C that you want ... > run make installworld to install the results of the build on B and C. ...
      (freebsd-stable)
    • Re: speeding up buildworld/kernel
      ... -- Aryeh M. Friedman FloSoft Systems, ... Install ccache, ... ccache is not very useful for buildworld, ... flosoft# time make buildworld buildkernel installkernel installworld ...
      (freebsd-questions)
    • Releng-6.2 upgrade HINT for iwi0 user !!
      ... well this posting is send before, part of, the specific upgrade hint regarding the iwi0 driver! ... CLEANING SYSTEM AND RUNNING BUILDWORLD!! ... BOOT UP IN SINGLE MODE, MERGEMASTER AND INSTALLWORLD!! ...
      (freebsd-questions)