|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
OpenBSD 5.7 Update Process
Hello to all,
I had been urged by jggmi to update my OpenBSD 5.7 release to OpenBSD 5.7 stable. Thus, I'm open up this thread to discuss the how-to on update process. I'm hope some experience users can share their experiences. Update Steps: 1. Get Source Code from AnonCVS Server Code:
cd /usr cvs -qd anoncvs@anoncvs.ca.openbsd.org:/cvs get -rOPENBSD_5_7 -p src Update source tree: Code:
cd /usr/src cvs -q up -rOPENBSD_5_7 -Pd Code:
cd /usr/src/sys/arch/i386/conf /usr/sbin/config GENERIC cd /usr/src/sys/arch/i386/compile/GENERIC make clean && make Code:
cd /usr/src/sys/arch/i386/compile/GENERIC make install reboot Code:
rm -rf /usr/obj/* cd /usr/src make obj cd /usr/src/etc && env DESTDIR =/ make distrib-dirs cd /usr/src/ make build 1. What is the System binary and when need to build system binaries? 2. AFAIK, kernel, packages and system binary must be in sync. After update to stable, is it fine to continue install from packages? 3. In which steps, I can backup my old kernel? 4. Is it mandatory to get the source code for Ports? Please share some thought. Thanks. |
|
|||
My understanding, but I am not OpenBSD expert. Read my comments, but wait for others to comment.
1. It is not cvs over SSL/TLS used in fetching source code. It is cvs over SSH. I don't know if this cvs server is mirror or master cvs server. If it is master, try using mirror. 2. It depends on arch you are using. If you are using amd64, change accordingly yours commands. Questions: 2. If it is from release to stable (the same version) : Yes. 3. At the beginning before any other commands. Code:
cp /bsd /bsd.originalBackup cp /bsd.mp /bsd.mp.originalBackup |
|
|||
Quote:
http://daemonforums.org/showthread.p...hlight=patches What he advocated was simply to patch OpenBSD-release. This can be done in two ways:
-release + applying all patches < -stableThe additional content of -stable over a fully patched version of -release consists of changes which have no security implications. Frequently, these changes are merely cosmetic. Stating that patching requires moving from -release to -stable is not correct, & it is important to future readers that this is clarified. Last edited by ocicat; 8th September 2015 at 03:58 PM. Reason: clarity |
|
|||||
Quote:
Quote:
Quote:
For the Following -stable FAQ, the "binaries" referred to are the hundreds of executable programs stored in /bin, /sbin, /usr/bin, /usr/sbin, and /usr/libexec, as well as the thousands of functions stored in libraries under /usr/lib. Building a -stable system recreates and replaces these binaries. Every one. Quote:
Quote:
I have developed a "keeping -stable HOWTO," because I do this myself for my -stable systems. It's not quite ready to publish; hanzer tested a first draft and found some gaps I will need to address. When it's ready, I'll post it at this forum.Correct. Correct. Sometimes they are equivalent. Though this time, I recall one -stable patch which did not get published as errata -- a fix to pty management for SSH that was not deemed to be critical. Last edited by jggimi; 8th September 2015 at 05:25 PM. Reason: clarity |
|
||||||||||
Quote:
Last edited by ocicat; 8th September 2015 at 06:45 PM. Reason: clarity |
|
|||
One of the cosmetic differences can be seen in the output of:
$ sysctl kern.version Even a fully patched OpenBSD 5.7-release system will still display "OpenBSD 5.7" while OpenBSD 5.7-stable will display "OpenBSD 5.7-stable". ...but -release with all patches applied will be equivalent to a current -stable build with respect to security implications. I suspect this is how you mean "equivalent". |
|
|||
jggimi,
the M:Tier's service is reliable in a production environment? Also use it. |
|
||||
Christian,
I maintain my own -stable systems, and do not use M:Tier. However, I have a degree of trust in the company's services. The company has a long and very public history of providing commercial OpenBSD services and their senior staff includes several active OpenBSD developers. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Installed OpenBSD 5.7.Need update help | Itproman | OpenBSD Installation and Upgrading | 18 | 19th August 2015 02:57 PM |
PhotoRec process bug | LeFrettchen | General software and network | 4 | 1st July 2014 11:15 PM |
OpenBSD/pf without compiler HOWTO update? | zazen | OpenBSD Installation and Upgrading | 6 | 26th June 2011 06:47 AM |
Apache HTTP Server update fixes remote DoS issue - Update | J65nko | News | 0 | 12th May 2011 07:21 PM |
how update openbsd 4.8 | craze | OpenBSD Installation and Upgrading | 6 | 6th March 2011 03:20 PM |