LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 12-11-2023, 09:14 AM   #1
MMMarco
LQ Newbie
 
Registered: Dec 2023
Distribution: Ubuntu Linux
Posts: 5

Rep: Reputation: 2
Question Issues with an older version of OpenBSD (6.8) with pkg_add and sysupgrade


Hello,

I'm a new user to OpenBSD, but I do have experience managing Linux systems.

So I'm no stranger to the command line.

Lately, I installed a server with OpenBSD 6.8.

If you're wondering why I didn't install the latest 7.4 version it is because my vps provider has some issues with that version.

So I'm basically stuck using 6.8.

To my surprise, I had great issues installing a package as simple as a text editor:

Code:
srv# pkg_add nano
https://cdn.openbsd.org/pub/OpenBSD/6.8/packages/amd64/: no such dir
Can't find nano
Opening https://cdn.openbsd.org/pub/OpenBSD/ in a browser shows that only versions 7.2, 7.3 and 7.4 have packages - the server doesn't have any packages for older versions.

I did some research and found out that (apparently) OpenBSD only provides packages for the most recent versions.

It was suggested to do a
Code:
sysupgrade
which didn't work:

Code:
sysupgrade
Fetching from https://cdn.openbsd.org/pub/OpenBSD/6.9/amd64/
sysupgrade: Error retrieving https://cdn.openbsd.org/pub/OpenBSD/6.9/amd64/SHA256.sig: 404 Not Found
Using the -s flag also didn't work:

Code:
srv# sysupgrade -s
Fetching from https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/
SHA256.sig   100% |******************************************************************************************************************************************************|  2324       00:00
invalid signing key
After doing some more research, it seems that OpenBSD only provides a "small" amount of window to upgrade/update to the next release version.

It was suggested to do a clean install with a new version (which I can't do).

I'm not looking for a fix anymore since I found a server that hosts packages for 6.8:

https://ftp.eu.openbsd.org/pub/OpenBSD/

However, I'm curious to know if that really how it is in the OpenBSD world.

Last edited by MMMarco; 12-11-2023 at 09:44 AM.
 
Old 12-11-2023, 10:06 AM   #2
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 706
Blog Entries: 1

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
As you said, there is no real upgrade path for 6.8 at this point.

Plus, the partition sizes of /root and /usr probably (most likely) changed. So if there was a path it could very well have failed due to disk space. So I think your only option is a full install after backing up /home and maybe /etc

When I do a full install, I usually increase the size of /root and /usr from the default (if your disk allows that).
 
1 members found this post helpful.
Old 12-11-2023, 10:44 AM   #3
_blackhole_
Member
 
Registered: Mar 2023
Distribution: FreeBSD
Posts: 97

Rep: Reputation: 79
Quote:
Originally Posted by MMMarco View Post
I did some research and found out that (apparently) OpenBSD only provides packages for the most recent versions.
[...]
After doing some more research, it seems that OpenBSD only provides a "small" amount of window to upgrade/update to the next release version.
[...]
However, I'm curious to know if that really how it is in the OpenBSD world.
Yes this is how it is.

But you found an archive that hosts the older releases, so all's well that ends well?
 
1 members found this post helpful.
Old 12-11-2023, 11:19 AM   #4
MMMarco
LQ Newbie
 
Registered: Dec 2023
Distribution: Ubuntu Linux
Posts: 5

Original Poster
Rep: Reputation: 2
First of all, thank you both for the quick reply!

Quote:
Originally Posted by _blackhole_ View Post
But you found an archive that hosts the older releases, so all's well that ends well?
Yes, I was just thrown off by that.

I understand that it's usually better to not support older versions of a particular software, I was just surprised that 6.8 (in regards to 7.4) is already "too old" by OpenBSD's standards

I'd love to use 7.4 but I've gotten - what I believe to be - kernel panics when trying to install it on my vps.

I may try installing 7.2 or contact my vps provider about that fact.

Anyway! That's all I wanted to know - thanks again for the quick replies
 
Old 12-11-2023, 06:21 PM   #5
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 290

Rep: Reputation: 170Reputation: 170
Only the most recent release and its immediate prior release are supported by the OpenBSD Project. Right now, that's both 7.4 and 7.3. Patches for critical issues will still be provided for 7.3 until 7.5 is released; at that time 7.3 will be considered end-of-life.

And for third party software, -stable port/package updates that address CVEs and other critical problems are only provided for the most recent release. That means that at this time, they are only provided for 7.4.
 
2 members found this post helpful.
Old 12-12-2023, 11:30 AM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,347

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Smile

Quote:
Originally Posted by MMMarco View Post
Lately, I installed a server with OpenBSD 6.8.
I'm not judging and I am no security expert(some are in this thread), but, is it a good idea to have a server running a three year old version of OpenBSD? As others have mentioned 6.8 is no longer supported so that means if there are security issues with 6.8 you may be vulnerable. Perhaps find a different VPS or choose another more up to date server operating system(FreeBSD or Linux)? A suggestion. Best wishes.
 
2 members found this post helpful.
Old 12-13-2023, 06:19 AM   #7
MMMarco
LQ Newbie
 
Registered: Dec 2023
Distribution: Ubuntu Linux
Posts: 5

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by hitest View Post
I'm not judging and I am no security expert(some are in this thread), but, is it a good idea to have a server running a three year old version of OpenBSD? As others have mentioned 6.8 is no longer supported so that means if there are security issues with 6.8 you may be vulnerable. Perhaps find a different VPS or choose another more up to date server operating system(FreeBSD or Linux)? A suggestion. Best wishes.
You are raising a good point!

Obviously I'm not a security expert either but I do value security.

In fact, security is the reason why I chose OpenBSD over Linux.

The server I'm running only has one purpose and that is to forward traffic to my local network via SSH reverse port forwarding.

I'm not sure, but I think Debian for example uses an "old" version of OpenSSH (again, not entirely sure, could also be OpenSSL or something) compared to Ubuntu.

However, as said I would've loved to install 7.4.

Your post is motivating me to contact my vps provider .
 
1 members found this post helpful.
Old 12-14-2023, 09:42 AM   #8
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,347

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Thumbs up

Quote:
Originally Posted by MMMarco View Post
However, as said I would've loved to install 7.4.

Your post is motivating me to contact my vps provider .
I can appreciate your dilemma. If you don't want a Linux server perhaps another type of BSD? I have used FreeBSD on and off for years; it's an outstanding server. The Netflix server runs FreeBSD.

https://download.freebsd.org/release...O-IMAGES/14.0/

Best wishes as you reach out to your VPS and continue your journey.
 
1 members found this post helpful.
Old 12-15-2023, 08:58 AM   #9
MMMarco
LQ Newbie
 
Registered: Dec 2023
Distribution: Ubuntu Linux
Posts: 5

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by MMMarco View Post
Hello,
If you're wondering why I didn't install the latest 7.4 version it is because my vps provider has some issues with that version.
It looks like that this is related to running/installing OpenBSD on KVM.

I have attached the error message "Fatal protection fault in supervisor mode" (if anyone is curious to see what it says) I'm getting while trying to install version 7.4.

Googling the error message (which I have not done before *rolleyes*) reveals that I'm not the only customer having this issue.

Here's the thread on the vps provider's customer forum (it is written in german though).

Reading the thread suggests that the vps provider has to do some internal changes in order to support OpenBSD 7.4.

Quote:
Originally Posted by hitest View Post
If you don't want a Linux server perhaps another type of BSD? I have used FreeBSD on and off for years; it's an outstanding server.
I might consider trying FreeBSD or some other variant of BSD (I'm definitely not knowledgeable on the different flavors of BSDs out there) because I really wasn't aware of how old OpenBSD version 6.8 has gotten.

In any case, I've contacted their customer support ... let's see what they have to say.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2023-12-15 at 15.34.08.png
Views:	21
Size:	141.5 KB
ID:	42227  

Last edited by MMMarco; 12-15-2023 at 08:59 AM.
 
1 members found this post helpful.
Old 12-17-2023, 10:16 AM   #10
YesItsMe
Member
 
Registered: Oct 2014
Posts: 916

Rep: Reputation: 313Reputation: 313Reputation: 313Reputation: 313
Although OpenBSD is officially unsupported on Netcup (I'm there too), it works quite well if you set your network and hard disk settings correctly.
Anyway, problems installing OpenBSD on "supported hardware" should also be reported to the OpenBSD IRC channel or its mailing lists - chances are that they'll have a solution before your provider does.
 
Old 05-12-2024, 12:57 AM   #11
MMMarco
LQ Newbie
 
Registered: Dec 2023
Distribution: Ubuntu Linux
Posts: 5

Original Poster
Rep: Reputation: 2
Sorry to keep you waiting.

The response from netcup customer support was that I should provide additional information to them with the same e-mail that is saved in my account. (because of ""data privacy reasons"")

I'm using a catch-all e-mail and didn't respond after that because it would require me to buy an additional mailbox just to get customer support from netcup .

What I can say is that this issue is still present with OpenBSD 7.5 on netcup. (see attachments for screenshot)
Attached Thumbnails
Click image for larger version

Name:	photo_2024-05-12_07-55-27.jpg
Views:	5
Size:	100.1 KB
ID:	42801  
 
Old 05-16-2024, 06:47 AM   #12
_blackhole_
Member
 
Registered: Mar 2023
Distribution: FreeBSD
Posts: 97

Rep: Reputation: 79
The hypervisor may be emulating an IDE (PATA) ATAPI drive for mounting the installation media. Can you configure it to emulate a SATA drive instead?
 
Old 05-16-2024, 07:37 AM   #13
jggimi
Member
 
Registered: Jan 2016
Distribution: None. Just OpenBSD.
Posts: 290

Rep: Reputation: 170Reputation: 170
If I understand the scope of the problem:
  • You cannot upgrade to or install a modern and supported release of OpenBSD.
  • You are unable to take the steps necessary to obtain support from your service provider.
  • Even if you took those steps, it is unknown if the service provider would have a solution to this problem.
  • Your OS is outdated, and therefore unsupported by anyone but you, and it is difficult for you to administer.
If I understand this correctly, I perceive you have three choices:
  1. Make no changes, and continue operating your legacy system, with all of the inherent difficulties and risks.
  2. Migrate the application to a different OS, one which is supported by its developers and by your service provider.
  3. Move the platform to a different service provider.

Last edited by jggimi; 05-16-2024 at 07:39 AM.
 
1 members found this post helpful.
Old 05-19-2024, 05:24 PM   #14
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Void, Slackware, Debian, OpenBSD
Posts: 7,347

Rep: Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746Reputation: 3746
Thumbs up

Quote:
Originally Posted by jggimi View Post
If I understand the scope of the problem:
  • You cannot upgrade to or install a modern and supported release of OpenBSD.
  • You are unable to take the steps necessary to obtain support from your service provider.
  • Even if you took those steps, it is unknown if the service provider would have a solution to this problem.
  • Your OS is outdated, and therefore unsupported by anyone but you, and it is difficult for you to administer.
If I understand this correctly, I perceive you have three choices:
  1. Make no changes, and continue operating your legacy system, with all of the inherent difficulties and risks.
  2. Migrate the application to a different OS, one which is supported by its developers and by your service provider.
  3. Move the platform to a different service provider.
jggimi is an OpenBSD expert. He's helped me many times with setting up, configuring, and using OpenBSD. He has accurately stated what you can do with regard to your VPS situation.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
1) Slow performance OpenBSD 5.0 on an old hardware 2) pkg_add cups - returns an error igadoter *BSD 3 01-29-2012 04:54 AM
openBSD 4.3, pkg_add cdrom/... .gz, fatal error, misc newbie doubts, Anonym.OS openBSDnewbie *BSD 8 07-31-2008 12:45 PM
[OpenBSD 3.9] pkg_add -u noir911 *BSD 1 06-16-2006 08:27 AM
Error on pkg_add on openbsd 3.8 klemen *BSD 0 10-06-2005 11:56 AM
OpenBSD 3.6 FTP pkg_add failed... gani *BSD 2 11-22-2004 08:06 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration