Il 08/09/23 19:54, Marc Espie ha scritto:
On Fri, Sep 08, 2023 at 06:36:57PM +0200, Alessandro Baggi wrote:


Il 08/09/23 18:24, Peter N. M. Hansteen ha scritto:
On Fri, Sep 08, 2023 at 10:01:45AM +0200, Alessandro Baggi wrote:
I've a problem. I need to upgrade OpenBSD from 6.5 to 7.3 on an APU2D. This
is a firewall.
The problem is that I cannot find older ISO of OpenBSD. Can someone point me
in the right direction?

If you are planning to go the supported route and upgrade from release to 
release,
you have eight rounds of upgrading ahead.

If this is a firewall that does not do anything else, I would join a few of the
other posters here in recommending that you back up the tiny number of files
that could differ from a default install do a fresh reinstall, only editing
in the things you need from your old /etc/ such as (likely most of) pf.conf.

- Peter


Actually I upgraded from 6.5 to 7.0 and I learned many new things. Wow...I
love OpenBSD.

Please tell us about your experience ! it's probably going to be rather
interesting.

The process is really easy, more easy than on Linux distros. I used media installation images until I learned about sysupgrade, but I can't run it due to cert.pem expired so I did proceed with media installation from 6.5 to 7.0. At 7.0 I copied a valid cert.pem from a 7.3 install and tried to run sysupgrade but it took very long time to get upgrades. I don't know if this is due to my APU2D low resources (on a VM with 7.3 it did very quickly) but sysupgrade stay there for several minutes before starting something (that I can read).
I learned also about sysmerge and syspatch, I love this tools.

On 6.5 I installed wget with pkg_add and (obviously) running wget from 6.5 to 7.0 got seg fault. So I proceeded to remove all packages installed with pkg_add. Here I learned new things about tool pkg_info.

So I reinstalled needed packages with pkg_add. This process is really easy and clean.

I learned about a new tool called sysclean but I have not yet tried it.

Plus before every upgrade, I read notes from https://www.openbsd.org/faq/upgradeXX.html I got good information about what's updated and what changed for critical services like pf.conf syntax changes. This helped me to reduce errors during upgrade.

During the upgrade process from 6.5 to 7.3 I expected a big changes in the system but this is not the case. I love this, OpenBSD (through upgrades) remains modern with new packages (including feautures) and removing unsupported/obsolete software without modifing the core system deeply. The best it does not change to much from 6.5 to 7.0 and this is very good because it maintans a compatibility with scripts and software used in older release (except is some case but it is rare in my usage case). This is not the case of Linux like RHEL upgrades from one major release to another one (I call that a big bang upgrade) where you need to re-deploy all due to incompatibility. Probably the best linux distro that is similar to OpenBSD is Slackware (witch I love) and in second place debian.

This is my experiences running upgrades on OpenBSD.

PS: I noticed that I can found many resources (blog post, maling list archives, reddit posts) that helped me to solve some problem

Best regards

Reply via email to