I ran into the same problem (/home and /var/www on separate encrypted
partitions, I avoided full-disk encryption in order to be able to
distant reboot).
For this time, I just unmounted /home before sysupgrade(8) and hoped
I'd remember to do the same next time.
On 2025-05-12 07:09, Jonathan Thornburg wrote:
I have an OpenBSD system for which /home isn't in /etc/fstab. Rather,
/home lives on its own softraid volume. After each multiuser boot I
login as root and run (a shell script which invokes a perl script which
invokes) bioctl to assemble and mount the /home softraid volume.
Today (trying to upgrade from 7.6-stable/amd64 to 7.7/amd64) I
discovered
that this breaks sysupgrade (and autoinstall): sysupgrade downloads the
install sets to /home/_sysupgrade/ just fine (since at the time I type
'sysupgrade' I've already done a normal multiuser boot, including
assembling
and mounting /home), but after the system reboots into /bsd.upgrade,
there's no /home and the upgrade fails (and then times out and reboots
the non-upgraded system).
My question is, would it be useful for the autoinstall system to allow
optional escapes to an interactive shell (maybe triggered by special
lines
in /install.conf)? If such a facility existed, I could have used it to
run bioctl and mount /home after the reboot into /bsd.upgrade, allowing
the upgrade to proceed.
--
Sylvain Saboua
looking for a PDP-11