A Server that runs unattended can now update itself, and a bad update can't strand it. Both halves
are in pengyos-update 0.3.0.
Unattended is opt-in: sudo pengyos-update auto on --at 04:00 --soak 3. In a fixed daily window it
installs the newest release on the machine's channel that has not failed on that machine before and
was first seen at least three days ago, and restarts only after a good install. The unit is
pengyos-update-auto.timer, which ships preset-disabled, so nothing is unattended until you say
so. A version that failed here is remembered and won't be installed again unless you name it with
apply --version, and the login message says which one failed and why.
The safety work is in how a trial boot ends. A staged slot boots once, and it is kept only if the
health checks in /usr/lib/pengyos/update-health.d/ and /etc/pengyos/update-health.d/ pass. The
shipped check 10-critical-units wants nftables, sshd and systemd-networkd active wherever
they are enabled. Before this, a trial whose firewall failed to load was confirmed as soon as the
machine reached multi-user, so a slot with no firewall became permanent. GRUB now marks
trial boots with pengyos.trial=1, and every way a trial can go wrong ends it: emergency or rescue
mode, a kernel panic (CONFIG_PANIC_TIMEOUT=10 in the Server layer), a wedged PID 1 (systemd pets
the iTCO/sp5100 watchdog the Server kernel already had, RuntimeWatchdogSec=60s), or simply
nobody confirming it within 15 minutes (pengyos-update-deadline.service). All of them restart
into the old slot; they used to wait for someone at the power button.
The Server also gained a way to be a router without editing a file the image owns. The Core
firewall now includes /etc/pengyos/nftables.d/forward/*.nft in the forward chain and
/etc/pengyos/nftables.d/table/*.nft at table level, which is where NAT chains, rate-limit sets
and an early input-hook chain go. Previously a router had to replace /etc/nftables.conf whole,
which shadows every later image's firewall. dnsmasq.service moved from the Desktop layer to the
Server layer and ships disabled, because Buildroot's preset-all turns on any unit no preset
names, and 10-pengyos-server.preset names it: without that line every Server and Desktop would
boot as a DHCP server. /usr/share/pengyos/examples/router/ is the worked example, with NICs
named wan0/lan0 by MAC, network files that sort before the image's own, IPv6 prefix
delegation, WireGuard, dnsmasq with bind-dynamic alongside resolved's stub, and the firewall
files. The firewall tests now run the real nft -c over the shipped ruleset, alone and with the
bundle, in a user namespace.
The nightly change was libqalculate 5.12.0 to 5.13.2. The images built in this release are Desktop and Desktop NVIDIA; the Server router and update machinery reached a Server image at 26.11.5, the next Server build.