IRIX 6.5.29, SunOS 4.1.4, Mac OS 9.2 and Mac OS X 10.4 Tiger as QEMU machines: /usr/bin/museum (base system, CNCL) links the owner's media, creates the qcow2 disks, prints the exact command and checks what is missing; the emulator comes from pkgsrc, offered by the installer as the new group "Makronix Museum" (kind museum, like games). Measured 2026-11-16 with QEMU 11.1.2: the Mac OS 9.2.2 CD reaches the Finder and the Tiger 10.4.6 DVD the language chooser through `museum install'. OpenBIOS cannot boot the SunOS 4.1.4 CD (the SS-5 PROM ss5.bin is required); stock QEMU has no SGI Indy (qemu-sgi-ip22 or MAME indy_4610). The operating system media are proprietary and stay with their owner. checkflist after installing the program: only the pre-existing missing makronix-guide-vm.7 remains (another session's file).
5.9 KiB
Updating a Makronix system
Written 2026-11-07. What is set up, what is only a plan, and what is not measured. Nothing here has been run on an installed system over time.
2026-11-09: xsrc removed, X from pkgsrc
xsrc/ is gone; X11_TYPE=modular, and Xorg comes from pkgsrc. An existing
build tree keeps the old X files in build/obj/destdir.<arch>; checkflist
then reports 10.324 extra files under /usr/X11R7,
/usr/libdata/debug/usr/X11R7, /etc/X11, /etc/fonts, /etc/drirc,
/etc/rc.d/{fccache,xdm,xfs} and /var/db/obsolete/x*. Remove those from the
destdir (or start from a clean build/obj) before the first release without
xsrc (build/logs/make-release-2026-11-09-xsrc-gone.log:67521).
Packages
- Where they come from. The installer writes
/etc/pkg_install.confwithPKG_PATH(the NetBSD project's binary repository for the release the packages of the media come from,PKG_REPOSITORYinsrc/usr.sbin/sysinst/setup.c) andCHECK_OS_VERSION=no(the packages are built for NetBSD 11.0, Makronix is 11.99.9:pkg_addwould warn about every one). Sopkg_add firefoxandpkg_add -uwork as on any NetBSD. - Security. The installer sets
fetch_pkg_vulnerabilities=YESin/etc/daily.conf.daily(8)then fetches the vulnerability list (etc/daily:267-275) andsecurity(8)runspkg_admin audit(etc/security:1096); the report goes to root's mail. That is NetBSD's own mechanism, nothing of ours. - What is ours. The
makronixset (CDE, vim, flex, git and what they need) is unpacked by sysinst without a package database:pkg_add -udoes not update those files,pkg_infodoes not list them. They change with the next release of Makronix. The extra programs (Firefox, Thunderbird, and the QEMU of the Makronix Museum when that group is chosen) are installed withpkg_addand are registered: those do update. - Not measured:
pkg_add -uon an installed system, the repository URL after the quarter changes (2026Q4), and what happens when a package of the repository overwrites a file of themakronixset (the install of the extra programs did not conflict,docs/BUILD-VM.md).
The base system
- A new release comes as new media (
make release,make iso); sysinst's "Upgrade NetBSD on a hard disk" unpacks the sets over the system and the administrator runspostinstallandetcupdateas the NetBSD documentation describes (src/usr.sbin/postinstall,src/usr.sbin/etcupdate). - Not measured: an upgrade of a Makronix system by sysinst, with or without
the
makronixset, with the three CDs (the Next-CD menu is in the install path only). - On the build VM,
make installputs a new build over a running Makronix (installworld).
An encrypted system: the gap
An encrypted installation (cgdroot.c) has a small boot partition,
cgd.conf (FFS), with the kernel, cgdroot.kmod, boot.cfg and cgd.conf;
the boot loader reads it before the disk is unlocked. /cgdboot in fstab
is that partition (noauto). The kernel the system runs from comes from the
copy on that partition, not from /netbsd of the root file system.
So a kernel update on an encrypted system is not complete until the new
netbsd (and the cgdroot.kmod of the same release) are copied to the boot
partition:
mount /cgdboot
cp /netbsd /cgdboot/netbsd
(cp the cgdroot.kmod of the new release to /cgdboot)
umount /cgdboot
This is the procedure by hand, not measured, and nothing does it for the user. sysinst's upgrade path does not unlock a cgd root at all. What is missing, in order of need:
- a script on the system that does the copy above (and keeps the old kernel as
netbsd.oldfor the loader's menu), run after every kernel install; - sysinst's upgrade for a cgd root: ask for the passphrase, bring up
cgd0, mount, upgrade, and do step 1; - a test: install, upgrade, boot, with the log in
build/logs/.
The update source, and what is checked (2026-11-14, tasksd t0078)
The software update of System Settings (mcde_sys_update_apply, McdeSys)
runs as root: sysupgrade auto URL for the base system, then pkg_add -uu
for the packages. URL is the first line of /etc/makronix/update.
Read in the sources (docs/reference/update-verification.txt):
- Nothing verifies the sets.
sysupgrade-1.5fetches withftpand unpacks withtar -xp;makesumswrites MD5 and SHA512 files, no signature. signify is not in the NetBSD base tree (pkgsrc has it). - The NetBSD binary packages are not signed. None of the 264 downloaded
from the NetBSD CDN has a
+PKG_HASHor signature member, soVERIFIED_INSTALLATION=always(X.509 or OpenPGP,pkg_install.conf(5)) cannot be switched on for them as they are. - What is enforced now: only a directory,
file:///DIRorhttps://HOST/DIRis used (mcde_sys_update_source_ok,ext/src/mcde/lib/McdeSys/common.c, testtest_updatesourceinmake check).http://,ftp://,ssh://and anything with a blank, quote,$,?or&is refused, and the check does not even contact it. Anhttps://source is protected by TLS only; afile:///source is as trusted as its medium. - Not decided (Konrad): who holds a signing key (never in the repository
or a log); signify as a package of the
makronixset, or what the base has, for the sets; and whether the packages we ship are signed with our own X.509 key (pkg_admin x509-sign-package) or the NetBSD ones stay on TLS plus the size check oftools/pkg-binaries.sh. Until then the update does not verify a signature: the check above only closeshttp://.
A different route, not decided
sysutils/sysupgrade (pkgsrc) upgrades a NetBSD system in place from the
project's binary sets. It would not know the makronix set. Whether Makronix
ships its own sysupgrade or relies on media is open.