Nearly 30 years ago, I purchased the most expensive computer I’ve ever bought: a brand new, 600MHz Alpha. I was quite excited about that thing: it was faster than any PC on the market, ran Debian quite well, and was fun to work with. Well, mostly. Finding a good browser was a challenge back then (Netscape wasn’t yet open source and they didn’t build for Linux on Alpha). Then AGP slots became popular shortly after buying it, so as a workstation its time was limited. As a server, though, I used it for about 15 years. So I guess my goal of investing in something high-end so it wouldn’t get obsolete so fast was mostly met.
When it was time to pack it in, I took the guts out of it and reused the nice case for an x86 server. Now, as I’m setting up my vintage computer lab with the old equipment that had been in my attic, I thought it would be nice to reassemble the Alpha. I recently wrote about reassembling the hardware and restoring a tape backup from 2002 onto it, but I have another goal in mind: using it as a PPP server for my other machines to dial in to. Then I can use it to get onto Protoweb and BBSs with all the speed I tried for so many years to get past! Actually, this is a fun project.
Performance-wise, the Alpha has a speed that sits somwhere in the range of a Raspberry Pi 2 or 3. But I’ve already got plenty of these, and only one Alpha. Reviving something on a platform that’s been dead for 20 years is going to be more of a challenge, and more fun, than setting up yet another Pi.
So, out came the Alpha, the SYM53C875 SCSI card, the DEC Tulip card (with Linux drivers by Donald Becker), the Seagate Cheetah drive I added on shortly after I bought it. It all still worked, though the noise of the 10,000 RPM drive annoyed me even more now than it did then, so I used a newer IDE drive. (See my previous post for a recording of that Cheetah)
The question now was: what operating system should I use? I always ran Debian before, and had long ago re-flashed the AlphaBIOS with the SRM BIOS, opening me up to non-Linux options also. While the Linux kernel still supports my 21164a CPU, Debian has long since dropped Alpha as an official platform, and so has just about everyone else in Linux-land, though it’s still alive and kicking. Gentoo technically still has an Alpha port, but it is permanently marked “testing” and outwardly appears to be moribund; the last post to the mailing list was a single message two years ago, and there have only been 6 posts this decade.
I decided I would first try modern NetBSD, and later also opted to try modern Debian. The older Debian, which I restored in my earlier post, is still rock solid, but I wanted something with reasonable modern security since it will be exposed to the Internet. (And having something that speaks modern ssh will also be nice).
Although I’ve been a Debian developer for 30 years, I have never been far from BSDs. My first *nix system, even before Linux, was FreeBSD back in the 90s. I’ve often had a FreeBSD system since (pfsense or OPNsense most commonly), and have used NetBSD as a workstation off and on also, plus I’ve had NetBSD in various VMs for quite some time.
There’s a lot to like in NetBSD, and also some things that I found appalling.
It is important for Free Software to have more than one Free OS. I am glad we have Linux, and I’m glad we have other OSs like FreeBSD and NetBSD. A monoculture is unhealthy, and we need different projects that do things in different ways and bring forth different ideas.
So read both the praise, and the criticism, of NetBSD in that light. I am going to keep both NetBSD and Debian on this Alpha and likely use them both.
Installation
My Alpha initially shipped with 256MB RAM. At some point in the past, I upgraded it to 512MB, which was its documented maximum, but was unable to get two of those sticks to work now. So my work started with it at 256MB, and I later managed to upgrade it to 1GB, its true maximum.
I downloaded the ISO image and burned it to CD. I booted it on my Alpha’s IDE CD drive, and there was a lean, simple installation program. I partitioned the disk (SRM requires a BSD disklabel, so that worked out fine).
Then when it came time to install the system, tar crashed. Every single time, tar crashed.
It seemed to be related to the CD, though there were no errors in dmesg. I tried a network install, which worked, though the https option was unavailable and I was rather uncomfortable at the insecurity of doing the whole thing without TLS over the broad Internet. I rebooted and tried again from the CD; again no luck. I verified the burn of the CD matched the hash published on the site, and then served up the contents of the CD to the installer using a Linux machine on my LAN. That worked.
The CMD646 has long been known to have some data corruption bugs. I remember that SCSI was always preferred on this board, and mostly used SCSI back in the day, but my old drives confirm using IDE CD drives with it without incident on Linux. The Linux driver certainly contained various workarounds back in the day, and may have done things like switch from DMA to PIO mode for CD drives. It’s possible the NetBSD driver lacks those workaround, though a post to the NetBSD Alpha mailing list suggests the problem may run deeper on NetBSD. In any case, calculating sha256sums of the data on the CD from within NetBSD produced incorrect results. The IDE hard drive, though, appeared to work OK.
Initial impressions
NetBSD initially reminded me of an old Unix in all the right ways. Clean, simple, seemed to run fine in the 256MB RAM the Alpha had at the time. My initial experience with NetBSD getty was nicer than I’d experienced with Debian’s agetty, though by the end I had ran into so many getty bugs that I had to to switch to mgetty.
NetBSD vs. Debian on RAM usage
The top output is rather hard to parse; there’s nothing like the “available” column on Linux top/free, which basically shows how much RAM an application can use, considering both free RAM and caches that can be dropped. Before publishing this post, I did some comparisons to the modern Debian I installed on the Alpha. All of these tests were run at a time when 1GB of RAM was installed on the Alpha; some structures scale with physical RAM on both OSs. The test environment was NetBSD 11.1 and Debian sid (kernel 7.3).
On a fresh install with sshd running and one active incoming ssh session, I observed this memory consumption (rounded to the nearest MB):
- Kernel RAM (static + dynamic): NetBSD 76 MB, Debian 88 MB
- Userland: NetBSD 46MB, Debian 22MB
- Total: NetBSD 123MB, Debian 110MB
In short, fairly comparable. The Linux kernel is heavier by a few MB, while the Debian userland is lighter. This even though my Debian install wasn’t quite the minimal one; I added the ssh server and standard tools to it. I should point out here: yes, the Debian system is running systemd. Whatever you fault systemd for, heavy RAM usage doesn’t seem to be a problem.
When looking at the installation process, Debian’s normal installer is less memory-efficient, as it loads more components into RAM, but there are ways to improve that (and alternative installation methods, which are routinely used on RAM-constrained systems such as Raspberry Pi). NetBSD’s installer becomes memory-efficient in part by ruthlessly excising every last thing it possibly can, including even TLS support.
In the end, a default minimal install is quite memory-efficient on both. Debian runs well on my 512MB Raspberry Pis (as well as anything will on a system with that kind of CPU and microSD for storage), and doesn’t dip into swap there.
Package management is hard to compare. On NetBSD, a lot of packages must be built from source, and that process is so resource-intensive that it completely blows past anything Debian does.
The most favorable picture for NetBSD is working with the packages that are available as binaries. A “pkgin update” on NetBSD consumed 21MB at most, while on Debian, “apt-get update” used 61MB. On Debian, “apt-get install dar” rocketed through in a few seconds, completing the download and installation in less time than NetBSD took to complete the download (installation was similarly much slower on NetBSD). However, “/usr/bin/time -f %M pkgin install dar” on NetBSD reported max usage of 26MB, while “/usr/bin/time apt-get install dar” on Debian reported max usage of 120MB.
This is not necessarily an entirely apples-to-apples comparison, however; Debian’s package system tracks all of the system (including what NetBSD calls the “base system”), has a larger pool to draw from, and generally has more features. pkgin on NetBSD is rather incomplete, especially on Alpha, and it therefore tracks far fewer packages. Bottom line: under extreme memory pressure, some basic package management functions are more memory-efficient, though slower, on NetBSD on Alpha, but I haven’t determined whether this is inherent or related to the size of the package database.
However, as we’ll get into, the broader question of maintaining a system leads to considerably more RAM usage on NetBSD due to a need to compile from source.
Filesystems and disk usage
Linux has a fantastic smorgasbord of choices. You have the modern take on the traditional filesystem in ext4, ZFS is available, btrfs is there too, plus all the others like XFS, etc. At least two filesystems with lightweight checkpointing (ZFS and btrfs) are available.
NetBSD supports ZFS, but with a lot of issues that you don’t see on FreeBSD or Linux with ZFS. Some of them are reminiscent of running ZFS on Linux maybe a decade ago. In any case, the Alpha doesn’t have enough RAM to run ZFS on any platform, so that’s out.
NetBSD installed onto a UFS1 partition. This is an old-school filesystem like ext2. Somewhat to my surprise, although time_t is 64-bit on NetBSD, time_t on UFS1 is 32-bit. I discovered this when some C-Kermit tests were failing on the Alpha. There is also UFS2, which is somewhat newer (and has 64-bit time_t). But fundamentally these are still old-school fsck-type filesystems (though you can apparently enable a WAPBL log, it’s not enabled by default and I don’t know why).
Disk usage-wise, a minimal NetBSD system used about 1.5GB compared to about 960MB for Debian (minimal system plus ssh server and system tools). Note that this involves installing some things like Python from pkgin for NetBSD, both because I needed it, and to make it more comparable to Debian.
However, once pkgsrc is added, the NetBSD disk usage more than doubles, to 3.5GB due to the 292,000 files and directories it unpacks. Besides the obvious inefficiency of pkgsrc, NetBSD doesn’t split out development files into their own packages like Debian does, so packages that are only needed for their .so files wind up installing a bunch of .h and .a files also. You’re more likely to need these development files on NetBSD anyhow, due to the frequent need to compile packages from source. On Debian, you can install the -dev package if you want those, or leave it off if you don’t (as many people won’t). Nonetheless, we’re still talking sizes that, while on the higher side, are manageable on 30-year-old hardware here; I initially received that Alpha with a 9GB drive.
To conclude, for resource efficiency: despite the general zeitgeist out there and the initial impressions, Debian has the lighter footprint. On a pure minimal system, this advantage isn’t all that significant. But it balloons once you start needing to install packages from source on NetBSD, which happens pretty quickly on Alpha at least.
I don’t want to imply that there’s no bloat in a modern OS. These are both installations without GUIs, and a lot of bloat has happened in the GUI space. But I do want it to be clear that both of these OSs could easily run with 512MB of RAM or less, and have, and Debian at least is comfortable in under 2GB of disk space.
Serial console
I have an ADDS serial console built in 1983, and once I set up SRM to use it as its console, NetBSD picked that up automatically. No further setup was necessary other than just setting the TERM value in /etc/ttys, and even that wouldn’t have been necessary for most terminals (the ADDS is a pre-vt100/ANSI terminal). Nice!
Debian fully supports serial terminals from SRM through its bootloader (aboot) and on into the system, but for the kernel boot process, console= must be passed on the kernel command line; it won’t auto-detect from SRM. Having said that, while the NetBSD kernel does support command-line parameters, its Alpha bootloader doesn’t support specifying them, so it’s fortunate it can inherit from SRM.
Mysterious hangs
I noticed that NetBSD would sometimes drop off the network. When I’d go turn on the serial console to see what had happened, of course there would be nothing there… and then everyhing was fine.
Pretty soon, I realized that turning off the terminal attached to the serial console port caused NetBSD to drop the network connection. Further experimentation revealed the problem was actually deeper: turning off the screen caused NetBSD to hang, and turning it back on caused it to resume.
After considerable head-scratching, I hypothesized that somehow NetBSD must be interpretying me turning off the serial terminal as a serial break. By default, this enters the kernel debugger, though I’d never know it, because the terminal is off. Nothing else happens when the kernel is in debug mode, and when I press Enter to show the login prompt, it exits the debugger.
After running sysctl ddb.fromconsole=0, I can now turn off my terminal without hanging the OS.
Serial port confusion
This AlphaPC 164LX motherboard has two integrated DB-9 serial ports, both 16550A UARTs, which makes that part of it quite similar to a regular PC. But, alas, the first challenge is figuring out exactly what the serial port is named.
That turns out to be a pretty big challenge. NetBSD continues to use a script named /dev/MAKEDEV like a traditional Unix. That means that your /dev probably has entries for a bunch of hardware you don’t have, and may lack entries for hardware you do have. dmesg lists com0 and com1, the com(4) manpage lists /dev/tty00 and /dev/dty00 as the devices to the first serial port, and there are also /dev/tty0 and /dev/dty0. Confusingly, all of those return an error when attempting to use them. Re-creating with MAKEDEV makes them a symlink, and that’s no better.
I couldn’t find any reference guide anywhere to what serial ports are named on NetBSD. I finally just tried opening all of them, and fount /dev/ttyC0 and /dev/dtyC0 are the serial ports on my system. I have no idea why.
Now, you’re noticing a dtyC0 and ttyC0. The dtyC0 is the “dialout”, and the tty is the “dial in”. Fine, but what’s the difference? This took me awhile to figure out. Apparently the tty devices block open() (unless passed O_NONBLOCK) until the remote end asserts CD (carrier detect) on the line. This is used by getty; put your modem into auto-answer mode, and rather than wait for CD to go high, getty just waits hours (or days) for open(2) to return. Different, but it works (in theory; as you’ll see, in practice, not so much.)
I later added a 2-port PCI serial card. My on-motherboard ports moved from ttyC0 and ttyC1 (and dtyC0/dtyC1) to ttyC2/ttyC3. I guess it initializes the PCI cards first. That was a surprise, but fortunately the serial console just kept working anyhow, so that was nice.
pty bugs
The pty subsystem on NetBSD has a condition in which it can silently drop data. I first noticed this while testing C-Kermit on NetBSD. A comment in /etc/sysctl.conf implies it is a long-standing issue for PPPoE as well. I can imagine it could also be a problem for things like ssh and telnet. I reported the kernel bug about a month ago, complete with reproduction code, but it’s had no activity at all. I verified it triggered on both x86_64 and Alpha, so it’s not Alpha-specific.
I found two more pty bugs, both apparently due to race conditions in the kernel. I also reported 60993 and 61010 more than 2 weeks ago, and neither has had any activity yet.
I confirmed on IRC that I was sending these reports to the right place, but they seem to not be getting any attention.
Serial issues and bugs
I ran into quite a few issues bugs with the serial subsystem on NetBSD as well.
The first was that getty doesn’t have a way to specify an init string for the modem. It turns out there’s an /etc/ttyaction file that can call a script, which if you use stty and chat carefully, can do this. This only works because ttyaction runs earlier than the manpage says (“The ttyaction file specifies site-specific commands to run when a login session begins and ends” isn’t correct; it’s run even before getty starts listening for a call on the modem.) It took a lot of experimentation to get right; whether or not to include clocal in the stty settings, for instance.
To my pleasant surprise, getty on NetBSD has PPP auto-detection, and /etc/gettytab even had examples. This is nice, since it lets me dial-in without any login script for PPP, and yet still dial in with a regular terminal program to log in to the prompt.
Unfortunately, it’s broken. More often than not, it failed to recognize PPP frames and tried to process them as a username, and sent back login prompts to the remote end. Needless to say, this didn’t work on either end. I had to disable it, and set up a user whose shell is /usr/sbin/pppd. That worked well enough.
But I ran into two more serious problems: getty not noticing CD went high, and serial port lockup after CTS was dropped and then raised.
By the time I was done with this on Alpha, I had tried three different serial ports for the modem: the built-in 16550A, a dual-port PCI expansion card with 16550As, and I even bought an old PCI USB card off eBay for the purpose of using with a FTDI USB-serial adapter. None worked reliably. I can’t be sure, but none of these issues seem to be Alpha-specific on NetBSD.
Recall that the CD line going high is the modem’s signal to the OS that there is a remote modem connected, and that getty relies on open() blocking until CD goes high. Well, it turns out that sometimes open() never returns even after CD has been raised. This means NetBSD does nothing with the incoming call. It never reads anything and never sends anything, since getty is still waiting for open() to return. For the 16550 ports, at least, NetBSD allows me to open the dty port while getty is still waiting on the tty port, and by doing so, I was able to see that NetBSD did see the CD line going high. It just never returned at open(). The USB serial port didn’t let me open the device while getty was waiting, so I couldn’t verify there, but it seems like the same symptom.
I was able to work around this problem by installing mgetty. I had used it on Linux back in the 90s when I ran a BBS, and I initially thought it wasn’t in NetBSD because pkgin didn’t find it. Turns out it was in pkgsrc, and this is what prompted me to install pkgsrc. All that for a simple C program.
The other problem, with the serial port lockup, even mgetty couldn’t work around.
With most “modern” modems, the modem maintains a constant speed on its serial interface to the computer (often 115200bps), while having a variable rate for its analog connection to the other end. This is because line conditions might cause handshaking at different speeds, and in-modem compression can cause transfer rates to exceed the raw bitrate. But you have to have a way to signal to a machine sending a lot of data to hold off for a bit, and then to continue. By far the best way to do this is RTS/CTS hardware handshaking. The modem signals to the computer to stop sending data by dropping the CTS line. When the modem’s small transmit buffer has been depleted, it raises CTS, allowing the computer to resume sending.
When doing something like sending a file with ZModem, it is common to see the SD (sending data) and CS (clear to send; linked to the CTS line) lights go on and off in tandem.
After initially getting dialin to work on NetBSD, I dialed in from a DOS box, then ran telnet -8 -E to connect to a BBS. However, whenever I tried to download a file using ZModem, the connection hung. Not just hung, but NetBSD was in a confused state and future logins were broken also.
It turns out that when the modem dropped CTS, NetBSD stopped transmitting. But when the modem raised CTS again, NetBSD never got the message. It remained blocked on transmitting. Until, that is, some other event occurred on the line, such as receiving a character from the remote end. This apparently prompted it to check CTS and it got un-stuck.
This explains why I didn’t see the problem with a PPP connection. With TCP, the download side sends ACK packets to confirm reception of TCP packets. Moreover, if no packets come in for awhile, it will timeout and send a packet. All of this combines to kickstart NetBSD’s CTS check and it seems to never have a problem there. The Kermit protocol, in its default configuration, also uses sliding windows with ACKs, so again, no problem there.
ZModem, by default, is streaming. The receiving side sends nothing while the transfer is going on, so long as it’s receiving everything correctly. There’s nothing to cause NetBSD to unblock its writes.
I also reported this bug, but like the others, it hasn’t been addressed.
The only workaround for this one was to use hardware with a different driver. The USB FTDI interface didn’t have this problem, though I get frequent ohci “scheduling overrun” messages on my console from it. USB was not period-appropriate for this Alpha, though, so I’d rather not use it, and it still has the same open() issue.
I’ve ordered a Prolific USB-serial adapter. I guess maybe that will work with both flow control and carrier detection, but at this point my NetBSD experiment has gotten rather expensive as I have to keep throwing different kinds of hardware at the software bugs.
Security
This is where things take a turn for the particularly disturbing.
NetBSD has effectively two (or maybe three, depending on how you count) package systems: the base system (which unpacks tarballs) and pkgin/pkgsrc (pkgin installs binary packages, while pkgsrc builds from source).
Updating these three sources are three different commands. (pkgsrc uses cvs update, which if any of you are old enough to remember CVS, should make you shudder.)
There is a way to audit your installed packages for security vulnerabilities installed on your system. Not so for the base system. Note that the base system includes such things as ssh, SSL/TLS, curl, zlib, etc.
The only way to find out when there are security bugs for the base system is to subscribe to both security-announce and netbsd-announce. security-announce seems to get a post once every 2 years, but when it does, it is important, though it doesn’t announce bugs fixed in the base system.
NetBSD 11.1 became available recently, and it does indeed fix a number of security vulnerabilities. Unfortunately, you can’t just install a targeted set of packages. You have to reinstall it all, which takes a long time. So when there’s a security bug in brotli, or ssh, or whatever, you can’t just install a targeted patch. You wait for a new OS release and upgrade the whole thing (or, I guess, you could manually patch and rebuild, but this is impractically slow on Alpha). This looks untenable given the rate of security findings in 2026.
As an example: NetBSD 11.1 came out on November 2. It was listed as fixing Brotli CVE-2026-111497 (published Oct. 22). Debian patched Brotli on Oct. 23, 10 days before NetBSD released 11.1. Debian’s patch would have been automatically installed by people running unattended-upgrades, and no reboot would be required (needsrestart would restart necessary daemons).
There is nothing like unattended-upgrades for any of the systems on NetBSD.
So, let’s say you want to get patches for security issues in the base system. To do that, you have to upgrade the base system.
Upgrading the base system
The standard manual tells you to boot the installation system again to install a NetBSD upgrade. Yes, that’s right. The standard instructions amount to burning a new ISO, booting from it, and installing the upgrade from there. Ouch. The NetBSD 11.1 announcement also suggests this method. (This is not an alpha-specific thing in the installation instructions; it’s also there for amd64).
A different document also mentions a tool called sysupgrade to do this from a running system. sysupgrade isn’t part of the base system; it’s a package. But “pkgin install sysupgrade” doesn’t find it, so I have to build it from source. Another reason I had to install pkgsrc.
Remember, to build even one package from source, you have to download a tarball containing the NetBSD packaging information for every package. That’s a tarball with 290,334 entries, which took 22 minutes to extract on the Alpha.
Then you “make” to build the packages you want. But oh, regular users don’t have permission, so yes, you’re running all the build tools as root. OK, you grit your teeth and run “make” and “make install” as root, and now you have sysupgrade!
Sidebar: NetBSD installs the pkgsrc files owned by uid 600, gid 125, neither of which exist on the system. I’m not sure what the point of that is, and it’s not documented anywhere.
So you can run “sysupgrade auto”, and it will download the base system tarballs and extract them. It will ask you about modifications to things in /etc. Most of them you have to tell it to keep your version; no, do not blow away changes to /etc/group, thankyouverymuch. I don’t know why it’s not smart enough to figure that out itself, since NetBSD 11.1 didn’t contain changes to the file anyway.
It also asks about local changes to a bunch of files I never touched, such /etc/namedb/bind.keys and /etc/motd.
Now at the very end of it, you see “sysupgrade: E: Some postinstall(8) checks have failed”. Oh joy. Hope you ran it in a terminal with scrollback.
I found “postinstall checks failed: opensslcertsrehash” so I ran the script it told me to run, “sh /usr/sbin/postinstall -s /var/cache/sysupgrade/etc.tgz -d / fix opensslcertsrehash” and it seemed to be happy. Why it didn’t do that itself, I don’t know. I hope I didn’t miss any other failures.
Upgrading packages
You can run “pkg_admin fetch-pkg-vulnerabilities” and then “pkg_admin audit”.
On my Alpha, it shows quite a bit. Here are some excerpts:
Package expat-2.8.2 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-66382
Package python313-3.13.14 has a command-injection vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-15366
Package python313-3.13.14 has a command-injection vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-15367
Package python313-3.13.14 has a input-validation vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-12781
Package python313-3.13.14 has a path-traversal vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2026-3479
Package lrzsz-0.12.20nb1 has a information-disclosure vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-10195
Package perl-5.42.2nb3 has a symlink-attack vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2011-4116
Package libxml2-2.15.1 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2025-8732
Package libxml2-2.15.1 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2026-0989
Package libxml2-2.15.1 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2026-0990
Package wget-1.25.0nb5 has a sensitive-information-disclosure vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2021-31879
Package mgetty-1.1.37nb21 has a command-injection vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16741
Package mgetty-1.1.37nb21 has a stack-overflow vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16742
Package mgetty-1.1.37nb21 has a stack-overflow vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16743
Package mgetty-1.1.37nb21 has a command-injection vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16744
Package mgetty-1.1.37nb21 has a stack-overflow vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2018-16745
Package mgetty-1.1.37nb21 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2019-1010189
Package mgetty-1.1.37nb21 has a denial-of-service vulnerability, see https://nvd.nist.gov/vuln/detail/CVE-2019-1010190
But, after a fresh “pkgin update”, “pkgin upgrade” shows nothing to do.
I checked a few of these. lzo and wget have nothing newer in NetBSD. libxml2 has a newer version available in pkgsrc, but it’s unclear if it fixes these issues.
Python is annoying. You can’t just install python. You have to install a specific version. So there is now a python314 package; maybe it’s better? But python313 won’t auto-upgrade to it.
I installed the python314 package, and now I have the same vulnerabilities in both. Sigh. They haven’t upgraded either the 3.13 or the 3.14 packages to the fixed versions.
But look at mgetty. These bugs came out 7 or 8 years ago. The Linux distros that still shipped mgetty, including Debian, patched years ago when the vulnerabilities came out. A new upstream version has the fix. It would be easy for NetBSD to fix this. Clearly NetBSD is aware of the issues, since NetBSD’s own tools highlight it. In fact, if you are watching very carefully as you build it from pkgsrc, it will even print a warning about it — but it doesn’t pause for you to acknowledge, and had I installed it on anything with more modern speed, it’d have scrolled by before I’d ever noticed.
You could make the case that NetBSD is an open source project, and it takes volunteers to fix things. You’d be right. But, back in July, I sent NetBSD a report about security bugs I’d found in C-Kermit, along with a patch to update their packages to a modern and fixed version (which, for the first time, runs NetBSD in CI), etc. I had understood the lack of progress on that one to possibly be impacted by extenuating circumstances; for instance, it’s a new major version from a new maintainer with a new Kermit project. A degree of caution is reasonable.
Maybe I’m the first person to install mgetty for NetBSD for years. So perhaps you could say, “well, if I notice a bug, I could submit a fix.” But that makes the question be for me: do I have time in my life to spend so much time fighting bugs and security issues with NetBSD, or should I try a different OS or platform where the community is already taking care of such things?
It certainly wasn’t the only reason, but it was this mgetty issue that pushed me over the edge to trying a modern Linux on this Alpha. Security needs to have less friction; when patching is easy, people will patch. NetBSD doesn’t make it easy in any respect, and keeping something in the system for 8 years despite knowing it has security issues looks really questionable to me.
Conclusions and next steps
I’m going to keep NetBSD on this system. Partly because it is fun to play with something different, and NetBSD on an Alpha is most definitely different than what I’m used to. Partly because running an ancient version of Debian would be a security problem (yes I am aware that running DOS and OS/2 is also a security problem, but I’m managing that separately). And partly because, despite the complaints above, I really do enjoy NetBSD and have a lot of respect for what people are doing there. Having said that, this NetBSD box is pretty inefficient in terms of both time and money. Buggy serial system leads to needing to buy different hardware, and setting it up has taken a lot of time due to all these bugs, while maintaining it promises to take a lot of time also. Some of this is fun, but running pkg_audit, manually fixing things (or more likely, ignoring them), manually checking the base system for updates… that’s going to wear thin, and I’d rather play with my daughter than do that. Realistically, I don’t think I’ll keep up with it. At which point, well, maybe the ancient version of Debian doesn’t look so bad.
But I’ve also tried modern Debian, and I’ll report on that in a separate post. Debian on Alpha isn’t without its quirks these days, either.
I don’t know how long Alpha will be a viable platform. The lack of Rust and Go support for it is already a challenge, though there are efforts being made on both. As Debian and other parts of the Linux ecosystem rightly embrace Rust, that could further erode Alpha’s viability with Linux unless the Rust work reaches viability soon. Already some of my favorite programs (NNCP, Yggdrasil, and my own filespooler) would be a great fit for NetBSD, but are unusable on Alpha because of lack of Go and Rust support there. Perhaps gccrs will help in the future though. Still, I’ll enjoy the Alpha running an actual workload while I can!



