From nobody Sat Apr 4 06:22:16 2026 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fnlr73Z9nz6Y0xF for ; Sat, 04 Apr 2026 06:22:31 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fnlr70tPJz4G3S for ; Sat, 04 Apr 2026 06:22:31 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-66e8cf72a93so254148a12.0 for ; Fri, 03 Apr 2026 23:22:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775283748; cv=none; d=google.com; s=arc-20240605; b=lj3mRUUMBJxT78oHVYCklQzT4sfT13i7i7sQzNvSsyFsZbukn/2JfT5POcOPkkTyZT MkB0a9y8+FGJ5Gf2j6iGTGPOccsllWL9MFhY1iqpqHkTXiNmd9Uc8Zh3B+iR56CBjgIt MpX4oPrEuGFqQdaB3KY6oNLGosbZ0cCS607KFAnRKlYxy5jnFFAih3grMgXMDapIH+R7 2iMrS0qgFQQ2pEcmNXyFrGOgJ+qI4IRtxQPs2x2LynnK0vb+c5M6EHFDlGR/+2tsf3vs 4Je0ARHhanQBIBnMoNo8/tYHJOogsZJBWOi+yyA0cbXWKinqKn1pqpoyv3EeFBM+Jzn9 7/aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=0DGGDuCatPs60XrG1XUC4xWDIHFAMsdjg5xwPWi1Nwg=; fh=Tg8njALz62pT/BK3P0mLieE2US5vGRentRptzhSvnDE=; b=MC5agx3kn2vyQ78z7CEBJHDbx0NxxtMsCePZowYTaBXogwYpXJx3pncvJCSGUQxXV/ ccktOkQ22SNXnbU+3rzBmZQvAsHZ3bCUnH2g2yrJ2bK4o05eb8hlGgIgohuU3gZ1DAlw t+dEZEdwIX7rUEdHbh+R3Mwc7doFTxmAUlsc1JA++aX5pXX2JjfUwjaZbBlJHNoL7eVd h2B9gpEwDrAcmFyC83whw6O0fOYypRupfitElb3qMqS2ysKKLEVbRwITENyiWv9+hi7v cgRXUE8OKUx11AzTkhehz1rAPpyWp4ZkjltpqffXahLIntrZqqD2T2hRJtDm6WI0UF1j i5VQ==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775283748; x=1775888548; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0DGGDuCatPs60XrG1XUC4xWDIHFAMsdjg5xwPWi1Nwg=; b=XJAxwhuDvHF4sXRkKWefbLuxOZGC+V03yg4K2F/lkpJYb0ZtJsciLpOdGYmxv0ghQw ygI9qCs1HT4AThhw3OmFG9QgtWvNPcOR2XwTsh09DV51YY3qn6UtWlDnjSBR/wI/FxFJ mjgOxQX8maBpvK5CaIJsaF1rywQO1Zq7aNJoBSBmjdQ6OR6f5QQMELTQ3wB5/RsvC4gq RQ79jmCeTXxoMaSa9he5fTmLhWaQJBw0/mGDZ19AsOZforGjani7yr4fORXZnzW8P/tg A/dOfUUNwg+JP2yBgoFzB3emU52YUpaHh+p43+yluYcZDiwrcDtVPcanVgQtGBAjiduS 0nMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775283748; x=1775888548; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=0DGGDuCatPs60XrG1XUC4xWDIHFAMsdjg5xwPWi1Nwg=; b=URijb4E2s349nLLDd73s/xcuisGZ8FVF589n6G573x89peQ6shq69/O/JqMZDh+HIS XUeJLo6EwPq0Zrzhd+9Thzr8gF8t24j/Y3GqsdCPfzMUQxVxegZUKqUfxXzWOT6d0F3Q 7zT3SnSNhZKmbbusPHOZ/oYJ4fVqu7mE61yR63CrtPlSkXDUWs3B9Z0aydjGTmhgWW3t RRlvG6HIQURSUiqltNLLub6l8zvwK4bauWirHlUaGIuNYv28gpd/eDKYH5RK5bE17VUC fpCjVUGmpxySvA8OOdNDLcxD1X3O+q+onQGlEkGT3zG7Ke47H5XrMrE5O2UKq/4IM8b3 V89g== X-Forwarded-Encrypted: i=1; AJvYcCW3zF5DmJ1OvFA8UPyxBFMmkqhDWSCkocOxSW9L2fTDCbjOY+8D6RafIux96taei2m3tKtTjghI2ZnDO9AEHz4=@freebsd.org X-Gm-Message-State: AOJu0YxNICi80j0rDAjl57cXt69/5X6BaaCn6jixGedKLrhxXDzrcdhC A0mNGrTrHwbM3R9v1Wgj3ygAOvF51QwTllD0J6aCjh48kja7OtO0N1kzbRQZ/Kjrzm4NVmpEvjM mxgU2gEP3hQ46zvfBvyG1BiMZyvwAcgZB X-Gm-Gg: AeBDies7qvW0C/7tdkM5/xsCuEBATwyDc/1vyrZWvWjvem6txruRk5vsrJkNFYnhfGq vnjhES7Mq2iQBUYrqo0i9qMsvucMvCHKRF7epfH0uIIqTI3rc1zqf3RIKzkEgajNeTbqtXcC0Rx gtUR2vwFOVqUC8HbooPthOiS2Y6TDwitmyiqZsaIqvLdHLRkVh+VayAzRDcG/YFKRhS4S0zY4jS AN/M7IdMQ3UNby0ZvsU4DS8WibmyYAP5ORTLqSDJfSCLkXFPGlJ3PSV/N9Pmg9TzTN7qjSQlheZ 4zPkLgxR8nXjHRVh2WoJNiMbanrb//hpimTQqLg= X-Received: by 2002:a05:6402:1ed2:b0:66e:6829:cad8 with SMTP id 4fb4d7f45d1cf-66e6829cf99mr1644708a12.19.1775283748166; Fri, 03 Apr 2026 23:22:28 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Rick Macklem Date: Fri, 3 Apr 2026 23:22:16 -0700 X-Gm-Features: AQROBzCod05gOjjOjS6gNpMzWtReiZo4j9oMInQ77BwxCvnqtFMFuztz8MAb2Sg Message-ID: Subject: Re: Getting boottime early in booting To: Konstantin Belousov Cc: Warner Losh , FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Queue-Id: 4fnlr70tPJz4G3S X-Spamd-Bar: ---- On Fri, Apr 3, 2026 at 8:15=E2=80=AFPM Konstantin Belousov wrote: > > On Fri, Apr 03, 2026 at 07:13:02PM -0600, Warner Losh wrote: > > On Fri, Apr 3, 2026, 7:05=E2=80=AFPM Rick Macklem 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 moun= t, > > > it just returns 0. > > > Any ideas w.r.t. something I can acquire early in booting that w= ill > > > 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 u= efi > > provides. But not on all platforms. > > We already have mechanisms to ensure that early entropy is provided on > boot. Do you care if the value used is indeed boot time, or should it > only be unique per boot? Unique per boot should be sufficient. > > With the entropy loading, I believe you would get what you need on any > machine with the persistent storage. > > > > > 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 multiu= ser??) > > > > > > Thanks for any help with these, rick > > > > > > >