----- Forwarded message from Jan Stary <h...@stare.cz> ----- Date: Mon, 12 May 2025 08:36:54 +0200 From: Jan Stary <h...@stare.cz> To: Jonathan Thornburg <dr.j.thornb...@gmail.com> Subject: Re: interactive-shell escapes in sysupgrade/autoinstall?
If you are willing to manualy intervene during a sysupgrade, you can just as well boot into bsd.rd and do the upgrade from there. On May 11 22:09:53, dr.j.thornb...@gmail.com 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. That shell script could be /etc/rc.local using bioctl -p; but I'm not sure where in the boot sequence it runs. > 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") > > ----- End forwarded message -----