Re: Getting boottime early in booting
Warner Losh <[email protected]>
| Newsgroups | gmane.os.freebsd.current |
|---|---|
| Message-ID | <CANCZdfrS6YbL2JCe=MgQL1==CL-x4hL=AEAvjJRdiK-8URARWg@mail.gmail.com> |
On Fri, Apr 3, 2026, 7:05 PM Rick Macklem <[email protected]> wrote: > Hi, > > I'm fiddling with a NFSv4 diskless root fs setup and I've run > into a couple of challenges. > > 1 - I need a value that will be different each time the machine boots. > I would normally use getboottime(), but for the NFS root fs mount, > it just returns 0. > Any ideas w.r.t. something I can acquire early in booting that will > change each time the system is booted? > We don't have this today. And we can't have it without hardware assist... though you may be ok enough with a value from the rtc. There's work to pass the vale from the monotonicly increasing counter uefi provides. But not on all platforms. Warner 2 - Does anyone know how to fix "could not determine audit condition" > which I get whenever I try and login when it is multiuser? > (I can run single user, but since I can't login once it's multiuser??) > > Thanks for any help with these, rick > >