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.

-- 
-- "Jonathan Thornburg [remove -color to reply]" <dr.j.thornb...@gmail-pink.com>
   (he/him; on the west coast of Canada)
   "He wakes me up every morning meowing to death because he wants to go
    out, and then when I open the door he stays put, undecided, and then
    glares at me when I put him out"
         -- Nathalie Loiseau (French minister for European Affairs,
                              explaining why she named her cat "Brexit")

Reply via email to