|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
-stable snapshots "openbsd-stable.org" (?)
Hello, I'm new to OpenBSD. I realize no binary updates are provided by the project itself. Are the snapshots from this source legit to use?
I'd like patches whenever available, but don't want to do them by hand and/or rebuild everything. Can I possibly follow -stable by (U)pdating to these snapshots using bsd.rd and sysmerge? |
|
|||
I have never heard of this site before. Even if I knew about it, it still would not been officially supported by OpenBSD. Use at your own risk
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
I suppose that's what I'm asking. Sorry, I'm still making sense of everything. With FreeBSD I stuck to RELEASE, and didn't need to worry about other branches. It was only a matter of using "freebsd-update" for patches. So this is new to me.
Maybe I'm not totally on the right page. But can bsd.rd be used to go from 5.0 -release to 5.0 -stable? That is, if and when patches are released? In this case, using said "releases" built by Mr. Jannsen (trust issues aside). Or is the bsd.rd not intended to be used this way? (Of course, if there weren't critical patches released by the next 6 months - I'd just upgrade to 5.1) |
|
||||
Yes, you can use your existing bsd.rd kernel, since there will be no structural changes between -release and -stable, but it will complain to you about invalid checksums. This us why I recommended using the matching bsd.rd kernel.
|
|
||||
@dnix, if you've tried this third party service already, I hope you had success.
Quote:
Should you ever have a problem requiring support, the developer(s) supporting you will only send you a source-code patch for testing. Their patches will not go into -stable until you have confirmed the patch resolves your problem and creates no new ones. Developers will neither replicate your environment nor test the patch for you. They won't build kernels or other binary modules for you either; they might not even have access to the same hardware architecture you use. Errata patches will give you a feel for what it takes to implement a single patch "by hand" if needed. These are published on the web and always include instructions. There is usually very little actually done by hand for most patches. As an example, the most recent errata patch was published in February, for the 4.8 kernel, and included the following instructions: Code:
Apply by doing: /usr/src patch -p0 < 010_sis.patch Then build and install a new kernel Code:
Apply by doing: cd /usr/src patch -p0 < 001_bgpd.patch Rebuild and install the bgp daemon: cd usr.sbin/bgpd make obj make depend make make install If you have missed the Following -stable FAQ you may find it helpful for understanding what it takes to maintain your own -stable system(s). Last edited by jggimi; 28th November 2011 at 05:01 PM. |
|
|||
dnix, the FAQ covers how to patch source code in Section 10.15.
|
|
|||
Sorry, late reply. I didn't see I'd gotten more responses!
I did try the service, seemed to go okay. But at that point in time, there probably wasn't much difference from what I already had installed. And not much to "sysmerge", if anything. I saw the new fix on the errata page, the other day. On the same day (11/30) there were updated snapshots on his site. So he definitely keeps up with them. About the patching, I've have used diff / patch files here and there, though I'm not terribly experienced. When I saw that the "patches" for OpenBSD were literally that, patches, it threw me off. And so I was trying to tip-toe around it. It was interesting because...reading the FAQ, I got the impression that "OpenBSD people" discourage compiling stuff wherever possible. Use of packages seem to be encouraged, sticking to the GENERIC kernel, etc. The FreeBSD people are always like, "Oh yeah, just compile it from ports!" or "Oh, you need this? No problem, just compile it into your kernel! ". But on the flip side, if you were using RELEASE you did have the option to use "freebsd-update" for system updates. From my initial impression of OpenBSD, I was thinking there had to be an equivalent. But there wasn't! And, it sounded like there might even be more compiling actually needed (at least base system) than FreeBSD! Anyway, @jggimi your suggestion is noted. Perhaps I will read that part of the FAQ again closer if you think this method will make me a better OpenBSD user? |
|
||||
Quote:
For third party applications, it is recommended to use binary packages over building from ports when the appropriate package is available. The reasons and exceptions are discussed in FAQ 15.4.6. The GENERIC and GENERIC.MP kernels contain all supported functionality. There are some unsupported features that require customization. "Stripping" the kernel is possible, but is not supported. Custom kernels are discussed in FAQ 5.6. Quote:
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Noob: Updating To OpenBSD-Stable. | MetalHead | OpenBSD Installation and Upgrading | 3 | 11th November 2008 02:06 AM |
aaccli - stable | carpman | FreeBSD Ports and Packages | 0 | 9th July 2008 03:04 PM |
How to Fix Security Issue In OpenBSD 4.1 Stable ? | openbsdspirit | OpenBSD General | 4 | 21st June 2008 11:33 AM |
OpenBSD -STABLE | BSDfan666 | OpenBSD General | 6 | 21st May 2008 10:10 PM |
-stable question | jwhal | OpenBSD General | 9 | 15th May 2008 12:29 AM |