fix: refresh rebuild, IPv6/DNS policy, ifupdown2 + dhcp-wait boot fix, Ubuntu 24.04/26.04 — LXC 1.6.3→1.6.7 / qemu 0.2.3→0.2.9 #19
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/refresh-security-suites-163"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Package-refresh rebuild of both tracks — LXC 1.6.3 / qemu 0.2.3 (1.6.2 / 0.2.2 were built 2026-07-08; 58–202 packages per artifact had newer versions). The rebuild exposed four pre-existing recipe bugs; a plain rebuild would not have produced good images. Refs ECS-Infrastructure/stalwart-deploy#46.
-updates/-securityand shipped a one-linesources.list; deployed VMs never received security updates via apt (Ubuntu 0.2.2 = April-2024 GA kernel/openssl/openssh)<suite>-updates/<suite>-securityMIRROR args (DEB13_SECURITY_MIRRORfor Debian)mount -t sysfs(EBUSY under noble's mount), sogrub-installnever ran — and the image was published anyway-command), fatal assert ongrub.cfg+core.img,main()returns failed-target count (was always exit 0)ecs-firstboot.serviceAfter=cloud-final+Before=nullmailer= ordering cycle; systemd skipped bothnullmailer.serviceandecs-firstboot.serviceon every Debian/Ubuntu VM bootruncmdstill re-runs the idempotent finaliserapt-get dist-upgradeafter each phase's firstapt-get updateAlso:
CLAUDE.mdstale-fact corrections (separate commit, targeted edits only).Verification (Hclaude01 build host)
zstd -tOK; package-name set unchanged by the dist-upgrade (versions only — Devuan still pure OpenRC); no ssh host keys, no leftover build-time apt sandbox conf,VCS="git",ecs-firstbootinstalled, nullmailer placeholders intact.GRUB_CFG_OK+CORE_IMG_OK, no ordering cycle,nullmailer.servicestarted, three suites in the shippedsources.list, zfs 2.4.4 module built (Devuan/Debian),qemu-img checkclean./boot/grub/has nogrub.cfg/core.img.Not yet run:
test-devuan-template.sh(needspcton a PVE node) and a PVE boot with a real NoCloud drive.Follow-ups (not in this PR)
lxc-templates/1.6.3+qemu-images/0.2.3(then prune 1.6.2 / 0.2.2 files fromlatest/); decide what to do with the unbootable Ubuntu qcow2 inqemu-images/0.2.2/.-updates/-securitysources, and on Debian/Ubuntu nullmailer is not starting — fix by hand or re-provision.networking.serviceshows FAILED on VMs:/etc/network/interfaceshardcodesauto eth0but NICs get predictable names (nonet.ifnames=0). Design call, left alone.stalwart-deployconfig.env_TPL_VERSION→ 1.6.3 once published.Scope since opened
The branch kept going after 1.6.3 / 0.2.3; every version below is built, verified, published to the generic registry and has a Release.
latest/of both packages points at 1.6.7 / 0.2.9. Refs ECS-Infrastructure/stalwart-deploy#46 throughout.23d2f0c,a17c915ecs-resolvconf-pve(LXC); no eth0/lo stanzas in VMinterfaces; ORDER-1: Devuan VM cloud-init-local in sysinit before networking5672d0736e5765networkingfor ifupdown2; UBUNTU-26.04: Ubuntu target → 26.04 Resolute (ubuntu-2604-ecs01)a8faac899_ECS_stuff.cfg(ssh_deletekeys: false); PLIK-1: plik client in VM imagesfdf7360,d9a17cfinet dhcp+inet6 auto(PVEip=dhcp,ip6=auto) hung the boot forever indhclient -6(ifupdown2 squashes stanzas,dhcp-waitdefault yes); fixed withpolicy.d/ecs.jsondhcp-wait: no. SLAAC-2:ecs-slaachook works under ifupdown2's once-per-interface call. TEST-1: smoke-test fixes. DHCP-2 known/not fixed:inet dhcpfirst ⇒ laterinet6 staticaddress not applied0edf3fa,0c20c59ubuntu-2404-ecs01, sharedbuild_ubuntu_ecs01); SHUTDOWN-1 on the Devuan VM (openrc-shutdown wrappers); publisher release notes with links + per-fileforgejo-curl, SHA256SUMS replaced on every publishVerification per version is in the commit messages and the
Version historyheader ofsrc/build-devuan-template.sh(the single changelog, VM entries as0.2.x). 1.6.6/0.2.8 were reproduced and verified in a namespace boot rig on the build host with the failing container's exactinterfacesplus TCG boots of all qcow2s with a dhcp4+slaac NoCloud seed.Follow-ups above: publishing is done (through 1.6.7 / 0.2.9,
latest/pruned). Thestalwart-deploy_TPL_VERSIONitem is dropped — consumers pin their own version (seeCLAUDE.md). Still open on #46: residual backgrounddhclient -6 -nwoninet dhcp+inet6 auto, DHCP-2.🤖 Generated with Claude Code
https://claude.ai/code/session_013U8XziS5kY5uAzvg2q376f
https://claude.ai/code/session_018ZfNrBbAL6NqdfR43ZL3AS
The Devuan VM image only enabled agetty.ttyS0. On a VGA/noVNC console the boot ended after the last service ("Sharing ZFS filesystems .") with no login prompt, which looked like a hang after cloud-init finished. OpenRC does not spawn gettys implicitly, so agetty.tty1 and agetty.tty2 are now linked and added to the default runlevel. systemd images (Debian/Ubuntu) already get getty@tty1 and are unaffected. Verified by mounting the 0.2.5 image: agetty.tty1/tty2/ttyS0 present in /etc/runlevels/default. Not yet boot-tested on PVE. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nk48c3g9RXVCa6WuWGswPMDevuan VM ran openrc-init but kept sysvinit-utils shutdown/reboot, which need /run/initctl ("could not determine runlevel"). Divert to openrc-shutdown wrappers as the LXC builder has since 1.5.2. publish-to-forgejo.sh: release notes link each artifact + the package page and list per-file forgejo-curl commands; existing releases get their notes updated; the versioned SHA256SUMS is replaced on every publish. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nk48c3g9RXVCa6WuWGswPMfix: refresh rebuild + VM security suites, Ubuntu GRUB, systemd cycle (LXC 1.6.3 / qemu 0.2.3)to fix: refresh rebuild, IPv6/DNS policy, ifupdown2 + dhcp-wait boot fix, Ubuntu 24.04/26.04 — LXC 1.6.3→1.6.7 / qemu 0.2.3→0.2.9