Re: How does bsd.upgrade work?

2021-10-24 Thread tetrahedra
On Thu, Oct 21, 2021 at 03:46:20PM +0200, Janne Johansson wrote: https://marc.info/?l=openbsd-tech=138829898720574=2 and https://marc.info/?l=openbsd-tech=139013674405106=2 might help. Thanks. This is the critical section:

Re: How does bsd.upgrade work?

2021-10-24 Thread Theo de Raadt
If you don't use all the interlocked openbsd pieces together, and replace some of them with your own, then you take on responsibility for the problems we didn't need to solve because they don't exist in our complete solution. I think that is pretty simple. I hope you understand. As such, I have

Re: How does bsd.upgrade work?

2021-10-21 Thread tetrahedra
On Tue, Oct 19, 2021 at 09:32:21PM +0100, Stuart Henderson wrote: That's intentional. OK. Since you didn't realise this breaks sysupgrade you might also not realise it weakens RNG initialisation, it is not recommended Where can I read more about this?

Re: How does bsd.upgrade work?

2021-10-21 Thread Janne Johansson
https://marc.info/?l=openbsd-tech=138829898720574=2 and https://marc.info/?l=openbsd-tech=139013674405106=2 might help. Den tors 21 okt. 2021 kl 14:26 skrev Raul Miller : > > A couple minutes of looking things up suggest > https://marc.info/?l=openbsd-tech=141807224826859 as a plausible >

Re: How does bsd.upgrade work?

2021-10-21 Thread Raul Miller
A couple minutes of looking things up suggest https://marc.info/?l=openbsd-tech=141807224826859 as a plausible starting point for that kind of inquiry. Take care, -- Raul On Thu, Oct 21, 2021 at 8:15 AM wrote: > > On Tue, Oct 19, 2021 at 09:32:21PM +0100, Stuart Henderson wrote: > >> That's

Re: How does bsd.upgrade work?

2021-10-21 Thread Theo de Raadt
tetrahe...@danwin1210.me wrote: > On Mon, Oct 18, 2021 at 07:41:57PM -, Stuart Henderson wrote: > >> I resolved the problem. The solution was to run `sysupgrade -n` to > >> download all the upgrade files, and leave the `bsd.upgrade` kernel in > >> place, next to the `bsd` kernel I usually

Re: How does bsd.upgrade work?

2021-10-21 Thread Theo de Raadt
tetrahe...@danwin1210.me wrote: > On Mon, Oct 18, 2021 at 05:41:26PM +0200, Florian Obser wrote: > >I wouldn't call this "resolved". You are missing the point that > >bsd.upgrade should run automatically. *shrug* > > My setup is not standard, so it's normal that bsd.upgrade not run >

Re: How does bsd.upgrade work?

2021-10-19 Thread tetrahedra
On Mon, Oct 18, 2021 at 05:41:26PM +0200, Florian Obser wrote: I wouldn't call this "resolved". You are missing the point that bsd.upgrade should run automatically. *shrug* My setup is not standard, so it's normal that bsd.upgrade not run automatically. The solution I used, as far as I know,

Re: How does bsd.upgrade work?

2021-10-19 Thread tetrahedra
On Mon, Oct 18, 2021 at 07:41:57PM -, Stuart Henderson wrote: I resolved the problem. The solution was to run `sysupgrade -n` to download all the upgrade files, and leave the `bsd.upgrade` kernel in place, next to the `bsd` kernel I usually boot. Then, at the next boot, manually boot the

Re: How does bsd.upgrade work?

2021-10-19 Thread Stuart Henderson
On 2021/10/19 19:30, tetrahe...@danwin1210.me wrote: > On Mon, Oct 18, 2021 at 07:41:57PM -, Stuart Henderson wrote: > > > I resolved the problem. The solution was to run `sysupgrade -n` to > > > download all the upgrade files, and leave the `bsd.upgrade` kernel in > > > place, next to the

Re: How does bsd.upgrade work?

2021-10-18 Thread Stuart Henderson
On 2021-10-18, tetrahe...@danwin1210.me wrote: > On Fri, Oct 15, 2021 at 10:14:56PM +, tetrahe...@danwin1210.me wrote: >>My setup is a little bit unusual, and I'm trying to understand why >>`uname -a` is still reporting 6.9 after I successfully booted >>bsd.upgrade and saw the upgrade process

Re: How does bsd.upgrade work?

2021-10-18 Thread tetrahedra
On Fri, Oct 15, 2021 at 10:14:56PM +, tetrahe...@danwin1210.me wrote: My setup is a little bit unusual, and I'm trying to understand why `uname -a` is still reporting 6.9 after I successfully booted bsd.upgrade and saw the upgrade process scroll past. I resolved the problem. The solution

Re: How does bsd.upgrade work?

2021-10-18 Thread Florian Obser
On 2021-10-18 14:38 UTC, tetrahe...@danwin1210.me wrote: > On Fri, Oct 15, 2021 at 10:14:56PM +, tetrahe...@danwin1210.me wrote: >>My setup is a little bit unusual, and I'm trying to understand why >>`uname -a` is still reporting 6.9 after I successfully booted >>bsd.upgrade and saw the

Re: How does bsd.upgrade work?

2021-10-17 Thread Janne Johansson
> >For an unusual setup you may need to look into how the > >install/upgrade script works, see /usr/src/distrib/miniroot. > > /usr/src/ is empty on my machine. > http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/ helps with that, if you don't want to install sources but still need to see them. --

Re: How does bsd.upgrade work?

2021-10-16 Thread tetrahedra
On Sat, Oct 16, 2021 at 10:28:33AM -, Stuart Henderson wrote: The boot loader looks for /bsd.upgrade with 'x' filesystem permissions. If present it removes the x flag and boots. (I think this should be documented in boot(8) for the various arch but is missing). I agree. The install

Re: How does bsd.upgrade work?

2021-10-16 Thread Stuart Henderson
On 2021-10-15, tetrahe...@danwin1210.me wrote: > It's not documented in the `sysupgrade` manpage. sysupgrade(8) only describes what sysupgrade does, not the rest of the mechanism. The boot loader looks for /bsd.upgrade with 'x' filesystem permissions. If present it removes the x flag and boots.

How does bsd.upgrade work?

2021-10-15 Thread tetrahedra
It's not documented in the `sysupgrade` manpage. My setup is a little bit unusual, and I'm trying to understand why `uname -a` is still reporting 6.9 after I successfully booted bsd.upgrade and saw the upgrade process scroll past.

Re: How does bsd.upgrade work?

2021-10-15 Thread Evan Silberman
> On Oct 15, 2021, at 3:19 PM, tetrahe...@danwin1210.me wrote: > > My setup is a little bit unusual, Unfortunately you have uttered the magic words that will dissuade most people on the list from helping you. sysupgrade is only designed to work for people whose setup is not at all unusual.