From nobody Thu Feb 29 13:16:24 2024 X-Original-To: questions@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 4TlsF55JbDz5C9WK for ; Thu, 29 Feb 2024 13:16:41 +0000 (UTC) (envelope-from paulbeard@gmail.com) Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) (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 "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TlsF43Kcrz4Y6Y for ; Thu, 29 Feb 2024 13:16:40 +0000 (UTC) (envelope-from paulbeard@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=SYbB3it1; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of paulbeard@gmail.com designates 2a00:1450:4864:20::62e as permitted sender) smtp.mailfrom=paulbeard@gmail.com Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a28a6cef709so142415666b.1 for ; Thu, 29 Feb 2024 05:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709212597; x=1709817397; darn=freebsd.org; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=TLqaBGMk8RvKE2vwdyfVVrWntktaR0kitGOVCKNRzvE=; b=SYbB3it1sppjHuDEjXLEXvnMkypu5R1zpPacJ+g3fiH9f4rR9o1EEVWdY69TrqIRRW rdWXTLRMhTlN9YkqjqfTO3Pni9JcS4+rJd5uBmMAHhgJeibFMK3kQ+1eQE3/a9khvn5w Y3sCHU5vqAwyrgt6cPGjRwnKa4DXr43ciVNvpfNBSHimfMHE6sRmdnGKDBP9LgoTkE1A /jc5x7im2w6/zuZGA0sgWUgnhCVXO15gk4dYbi5QwfrFu3C6vFpkF+kTGuYMR8LfCe63 AiyezQ0BhNTAePbnE5KGfmGQWNs+xspCsd9dchVqwH++vcqZC0nlkpCB/Rjrh4Tw17V5 vd2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709212597; x=1709817397; h=cc:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TLqaBGMk8RvKE2vwdyfVVrWntktaR0kitGOVCKNRzvE=; b=H4APpw71qFPywbux8vWoQFs4Xp0ecCYAlF0DM20lT0sJf8PX0RvSU0ZolaQSISdzb1 Ws5+5YncoojKoxW61ZLN9UeBvejmZ9CXbaU7GqnCZdrRj8JJEh2zeFzB1kBkrTin/sOU q1EhHmeoODTEyHZPGmBdH91YVE8MoWRaPtEaGJiepRJ+Qk/pn3+pytWRoBxaHkk9XqXC 0x4jjAX4n4hB66T4lqz+oQg0R5Kr79C5U4eJORLMzmyGEYKFql95Djmd/zCAWsxCyGxe XFKRPxJqKmhXmrgnm2Z9mJy5vtCBZbdLhOM4sNsD9I+FlA4Ycf4oKuYqnkK6pwa3hyAH MLLg== X-Gm-Message-State: AOJu0YwADxIR66pOKSVgoN8xdDgos8BKzu70OMmVFuacDgb1qeD1fCiL BTgIyNDYPy4nREFcj87kwEndFA1evozWQg6tB2m+Bb8ZkFkyZd6Qa60gWMK3jBeyWD3rJBlqt1Z CgsWGdf1uCqQAC1mlQFpJUpppBgJpIADS/GE= X-Google-Smtp-Source: AGHT+IETwY1dFxmX73RydphTTP7GIMHgoWE4jJ2lFXysvWYCRxpEFe5BLmgB34o7llG768MwsouZTLc5eoArV1VTvpg= X-Received: by 2002:a17:906:7f12:b0:a3f:da1c:ae4c with SMTP id d18-20020a1709067f1200b00a3fda1cae4cmr1689932ejr.54.1709212597371; Thu, 29 Feb 2024 05:16:37 -0800 (PST) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <86frxbzdd7.fsf@ltc.des.dev> In-Reply-To: <86frxbzdd7.fsf@ltc.des.dev> From: paul beard Date: Thu, 29 Feb 2024 05:16:24 -0800 Message-ID: Subject: Re: freebsd-update: where does it get its target info? Cc: FreeBSD Questions List Content-Type: multipart/alternative; boundary="000000000000b648f60612851119" X-Spamd-Bar: / X-Spamd-Result: default: False [-1.00 / 15.00]; MISSING_TO(2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62e:from] X-Rspamd-Queue-Id: 4TlsF43Kcrz4Y6Y --000000000000b648f60612851119 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable uname -r says 13.2-RELEASE-p10 I checked that, should have mentioned it. freebsd-update fetch does what I expect but not with the cron argument. On Thu, Feb 29, 2024 at 4:03=E2=80=AFAM Dag-Erling Sm=C3=B8rgrav wrote: > paul beard writes: > > I am seeing these messages from a freebsd-update cron job: > > > > Fetching metadata signature for 12.4-RELEASE from > update1.freebsd.org... done. > > > > but I am running 13.2-RELEASE-p10. If I run freebsd-update by hand, it > seems to know what to do: > > > > Fetching metadata signature for 13.2-RELEASE from > update2.freebsd.org... done. > > > > my freebsd-update.conf file is untouched. What is it looking at to > > pull 12.4? > > It uses `uname -r`, which normally does `sysctl -n kern.osrelease` but > can be overridden by the UNAME_r environment variable. > > DES > -- > Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org > --=20 Paul Beard / www.paulbeard.org/ --000000000000b648f60612851119 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
uname -r says
13.2-RELEASE-p10

I= checked that, should have mentioned=C2=A0it.=C2=A0

freebsd-update fetch does what I expect but not with the cron argument.= =C2=A0

On Thu, Feb 29, 2024 at 4:03=E2=80=AFAM Dag-Erling Sm=C3=B8rgra= v <des@freebsd.org> wrote:
=
paul beard <paulbeard@gmail.com> writes:
> I am seeing these messages from a freebsd-update cron job:
>
>=C2=A0 =C2=A0 =C2=A0Fetching metadata signature for 12.4-RELEASE from u= pdate1.freebsd.org... done.
>
> but I am running 13.2-RELEASE-p10. If I run freebsd-update by hand, it= seems to know what to do:
>
>=C2=A0 =C2=A0 =C2=A0Fetching metadata signature for 13.2-RELEASE from u= pdate2.freebsd.org... done.
>
> my freebsd-update.conf file is untouched.=C2=A0 What is it looking at = to
> pull 12.4?

It uses `uname -r`, which normally does `sysctl -n kern.osrelease` but
can be overridden by the UNAME_r environment variable.

DES
--
Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org


--
Pa= ul Beard / www.paul= beard.org/
--000000000000b648f60612851119--