Re: Buildworld and Security advisories.

From: Andrew P. (infofarmer_at_gmail.com)
Date: 10/31/05

  • Next message: John DeStefano: "Re: portupgrade stale dependencies"
    Date: Mon, 31 Oct 2005 04:43:00 +0300
    To: "Grigory O. Ptashko" <trancer@bk.ru>
    
    

    On 10/31/05, Grigory O. Ptashko <trancer@bk.ru> wrote:
    > Hello, list.
    >
    > I am new to FreeBSD source upgrading/patching source tree system.
    > After reading the following chapters from the handbook:
    >
    > 14.14 FreeBSD Security Advisories
    > 20 The Cutting Edge (about rebuilding "world")
    >
    > I have some questions.
    >
    > 1) If I install a FreeBSD RELEASE on a machine what do I have to do to
    > patch all those bugs listed in FreeBSD Security Advisories?
    > Is it enough to synchronize my source tree with the STABLE branch or
    > do I have to get all patches and apply them manualy?
    > And if I must patch the source tree manualy do I have to do this after
    > synchronizing the source tree with STABLE or before? Or it doesn't
    > matter?
    >
    > In two words what are the relations between patching the bugs listed in
    > Advisories and the process of synchronizing the source tree of the
    > RELEASE with the STABLE?
    >
    > 2) How often should I synchronize sources with the STABLE?
    >
    > Currently I am working with 4.11 RELEASE.
    >
    >
    > Thanks!
    >
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    >

    To get all security fixes for your OS, you should do
    _one_ of the following:

    * patch manually and recompile - as stated in the SA
    * syncronize to the security branch, i.e. RELENG_4_11
    or RELENG_5_4, and rebuild world/kernel
    * syncronize to the stable branch, i.e. RELENG_4,
    RELENG_5 or RELENG_6, and rebuild world/kernel
    * perform a binary upgrade

    You can use either way each time a SA is published,
    no matter what way you have used last time. For example
    you can perform a binary upgrade from RELEASE to
    5.4-p1, then patch manually and recompile to 5.4-p2
    then sync to stable, then sync to security branch and
    so on. Sometimes binary and manual upgrades leave
    uname output "old", but they always fix a security hole.

    Often, users manually patch systems where a reboot
    is very undesirable, sync to security branch on all
    mission-critical servers, where a reboot is possible,
    sync to stable on all other servers and use binary
    upgrades on systems that are very slow, or limited in
    other ways.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: John DeStefano: "Re: portupgrade stale dependencies"

    Relevant Pages

    • Re: Security Announcements
      ... maintain a single source tree for all of my machines. ... 4.2-RELEASE + security patches. ... I just want to add my voice as to how I use FreeBSD. ... patches for -RELEASE should be too burdensome. ...
      (FreeBSD-Security)
    • Re: local exploit
      ... While the "current" branch of FreeBSD is 4.x, there are usually security ... upgrade to 4.3 when it arrives soon. ... You can live without "chpass" for a while, ...
      (FreeBSD-Security)
    • Re: sshd possible breakin attempt messages
      ... I don't know much about the nuts and bolts of FreeBSD or Security, ... The FAQs on the website are very good and the Denyhosts' config file is well ... Given that I am on 5.4, should I upgrade my sshd or do anything else at ...
      (freebsd-questions)
    • Re: Three FreeBSD 6 questions
      ... FreeBSD Update is only designed to track FreeBSD Security ... Do I need to downgrade to get the latest security updates? ... to get the security fixes you should upgrade the system to the ... latest -STABLE by doing a cvsup and then rebuilding your system. ...
      (freebsd-stable)
    • Re: Keeping FreeBSD up-to-date
      ... >that the binary upgrade option in sysinstall can be used to upgrade the base ... To upgrade your -RELEASE to include security fixes, ... update your source tree (either via cvsup or by manually downloading and ...
      (freebsd-stable)