From nobody Tue Jul 23 04:01:40 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 4WSk480YZnz5R7Kh for ; Tue, 23 Jul 2024 04:02:00 +0000 (UTC) (envelope-from steve@watt.com) Received: from ns.watt.com (mail.watt.com [50.193.5.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.watt.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WSk470WMkz4NZn for ; Tue, 23 Jul 2024 04:01:58 +0000 (UTC) (envelope-from steve@watt.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=watt.com header.s=mail21wn12 header.b="RLp8c/si"; dmarc=pass (policy=reject) header.from=watt.com; spf=pass (mx1.freebsd.org: domain of steve@watt.com designates 50.193.5.5 as permitted sender) smtp.mailfrom=steve@watt.com Received: from neko (23-122-133-171.lightspeed.sntcca.sbcglobal.net [23.122.133.171]) (authenticated bits=0) by ns.watt.com (8.18.1/8.18.1) with ESMTPSA id 46N41lDs037158 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 22 Jul 2024 21:01:49 -0700 (PDT) (envelope-from steve@watt.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=watt.com; s=mail21wn12; t=1721707310; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=ssS8ZOPPlHrZdhfz+KFWT0uzTHCg81OUuZwFZ/7WAtM=; b=RLp8c/siuSNxVEOC6yHbhCxyLeJpMsmryBzufnpFz7BHWZYuEbXgLe/MOR68lhy5LXglZr Q+86Bbf9KW9rjblrRf26s2nnWGopUQ/zrVBDLeirBv+nAS67Dbl3ngL884qAmA4gYdN7mc ju5P5UCDrephiLHnKpZiTx0/UVBEYJBmnkOTau5Vcj7+YG+zZXmKhj46fLUB7S2GPX47jv 9sgRh7cMVaigL+XCSirw6Ms8F8cGojQQLVaLK6wgSlMl5u/EklG/KW88BXaxCLLvQN/vMO GBZAQI55lYf+LB6z08cXv/SVT1BcIYO+qpwQ19UZKDJbYb8OljODxMBxrRJWvw== X-Authentication-Warning: rivendell.watt.com: Host 23-122-133-171.lightspeed.sntcca.sbcglobal.net [23.122.133.171] claimed to be neko From: "Steve Watt" To: Subject: Bizarre setlogin propagation in 14.0/14.1 Date: Mon, 22 Jul 2024 21:01:40 -0700 Message-ID: <053301dadcb5$0aa3cff0$1feb6fd0$@watt.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0534_01DADC7A.5E459430" X-Mailer: Microsoft Outlook 16.0 Thread-Index: Adrcs8w87aBy07FYTNia3ve8wA7nyg== Content-Language: en-us X-Archived: 1721707309.684678185@rivendell X-Spamd-Bar: --- X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[watt.com,reject]; R_DKIM_ALLOW(-0.20)[watt.com:s=mail21wn12]; R_SPF_ALLOW(-0.20)[+a:watt.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:7922, ipnet:50.128.0.0/9, country:US]; FREEFALL_USER(0.00)[steve]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_ONE(0.00)[1]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_HAS_DN(0.00)[]; HAS_XAW(0.00)[]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[watt.com:+] X-Rspamd-Queue-Id: 4WSk470WMkz4NZn This is a multipart message in MIME format. ------=_NextPart_000_0534_01DADC7A.5E459430 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Greetings, I have been slowly chasing a very strange issue that's been bugging me since I upgraded to 14.0 (and now 14.1). The presenting symptom was that the periodic daily and security runs were appearing with random users as the envelope sender. Much poking later (it takes a long time to run experiments if you want to make sure they run in the real cron/periodic environment), I have isolated it down to the daily/300.calendar, which several users on my system use. Somehow, it seems that the setusercontext call in calendar.c is . rather effective. It appears to be setting the login ID for the parent process somehow? Easy-to-demonstrate sample: (root@rivendell) 336# sh # id -p uid root groups users wheel www vboxusers # calendar -a # id -p login jpick3543 uid root groups users wheel www vboxusers # exit (root@rivendell) 337# id -p login jpick3543 uid root (root@rivendell) 338# It's been a lot of years since I dug deeply into a POSIX TTY subsystem (I briefly worked on one for an RTOS in the mid-'90s), but this behavior is rather startling. It also seems to be different from at least 12.4, which was the last production release I was running - I skipped 13.x. Is this somehow expected behavior? Or is there some weird corner case being worked over here? Regards, -- Steve Watt KD6GGD PP-ASEL-IA factories.words.yappy Don't let your schooling get in the way of your education. ------=_NextPart_000_0534_01DADC7A.5E459430 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Greetings,

 

I have been = slowly chasing a very strange issue that’s been bugging me since I = upgraded to 14.0 (and now 14.1).

 

The = presenting symptom was that the periodic daily and security runs were = appearing with random users as the envelope sender.

 

Much poking = later (it takes a long time to run experiments if you want to make sure = they run in the real cron/periodic environment), I have isolated it down = to the daily/300.calendar, which several users on my system = use.

 

Somehow, it seems that the setusercontext call in = calendar.c is … rather effective. It appears to be setting the = login ID for the parent process somehow?

 

Easy-to-demonstrate sample:

 

(root@rivendell) 336# sh

# id -p

uid     root

groups  users wheel www = vboxusers

# calendar = -a

# id -p

login   jpick3543

uid     root

groups  users wheel www = vboxusers

# exit

(root@rivendell) 337# id -p

login   jpick3543

uid     root

(root@rivendell) 338#

 

It’s = been a lot of years since I dug deeply into a POSIX TTY subsystem (I = briefly worked on one for an RTOS in the mid-‘90s), but this = behavior is rather startling. It also seems to be different from at = least 12.4, which was the last production release I was running – = I skipped 13.x.

 

Is this = somehow expected behavior? Or is there some weird corner case being = worked over here?

 

Regards,

 

--

Steve Watt  =  KD6GGD     PP-ASEL-IA  =  factories.words.yappy

Don't let your schooling get in the way of = your education.

 

------=_NextPart_000_0534_01DADC7A.5E459430-- From nobody Tue Jul 23 04:23:59 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 4WSkYY3t9qz5R9KC for ; Tue, 23 Jul 2024 04:24:01 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WSkYY3Rs9z4QlP; Tue, 23 Jul 2024 04:24:01 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721708641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HNrZPHIoeL65TiNyV1lZ6gdz2mtoJVn/tddQpxt8kto=; b=LhnqvO9YBL3KipI28ad6qHScpZnKz5fbVcCe3IYChKjgfJDiPq4LVxS2XtFmVJX+GxgmO+ s0dVDT+JWuFLyzMZpP8KK+0hM1zEEKkxY9ZXDDr6z66f4f1aw43zY/03SCMG8Kynbd0MoM TOPdnrrfZBe3kjLCRN0TFlLry5O8ZTGsRq1iUfm2PQpibyUpRU4riawBsMpA4usd2zyNmC elKKdAGc/HdMCEKXDGIT3044sX1LdmCkZ1xkXKpdvBWV/SVnrP4DdOqeWYPwbeg3a61dyh yq92wl5kpZDD63bZmDXQq41yFi1Ji1wv4uQGSpO9dFwbBxgAKNLo7+bi3BL/Mg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721708641; a=rsa-sha256; cv=none; b=qL5KiyJNiT2aDCNFYtImEJmiG7veLbZWvM9zUFqshAA80J+z9LssHdqMKyGtx41ExtV4cA VhFzo6aEexOhy7F+L41nzfaBpe7Z8TmZ8fzyrjQVnkXwtvpBbCmx4Jz/NycCxhr6lC/Cws gcWUpLI/g3xA4wrFyFfRbGOutmDrFmdxGIfrD7gvu0bZeqfQmnsNhKAh32VARa7caaC9GV jeGxr2Yt05cIk91unqENG5ZulH1Ijx7JgOKYDBl+6IHUfhkk/wIscvgMF6gi/y3Yl1Bigg LDE+mrtAMjlwvmMBdEKk8LmseZef23+/0wdhRE2zRAMJ1JWw36E3F4OSmQFOyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721708641; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HNrZPHIoeL65TiNyV1lZ6gdz2mtoJVn/tddQpxt8kto=; b=w9mSx2/F9BzGaTPilRRIhnu7PhG3A8A0Eycz/4tSaAGH4rHHH1aL4OtNPaAFN8PtzZtPhZ ejCrSTtyIXkA9KtpY6+iZmjR+V93NztwLXfycvPGe9V/85ezAArW6e/ihFmKxbYHLbA/Xf CZM0KjLjtdIUed2Adz3F0Oh0A1Dd72JY5uWL4bX6TYFM7Hv4Lt4r4AYs3G7ZJmdY6umtJQ Y/0vY+/39p89QXk1usWQBCpPafW+jYdotrL/0a4lpy6T819vKIdmablP1NZsmMElIx+sFM iJKngHSYe0SLQ4pecpOnBT0R/pyBvea8h/XZlTEn11UPcXds1wBlzU42QA/D9Q== Received: from [10.9.4.95] (unknown [209.182.120.176]) (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 did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WSkYY0tnXz19lG; Tue, 23 Jul 2024 04:24:01 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: <135ad19c-eb0d-4d29-8f75-968fb0e15e0a@FreeBSD.org> Date: Mon, 22 Jul 2024 23:23:59 -0500 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bizarre setlogin propagation in 14.0/14.1 To: questions@freebsd.org References: <053301dadcb5$0aa3cff0$1feb6fd0$@watt.com> Content-Language: en-US Cc: Gleb Smirnoff From: Kyle Evans In-Reply-To: <053301dadcb5$0aa3cff0$1feb6fd0$@watt.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 7/22/24 23:01, Steve Watt wrote: > Greetings, > > I have been slowly chasing a very strange issue that’s been bugging me > since I upgraded to 14.0 (and now 14.1). > > The presenting symptom was that the periodic daily and security runs > were appearing with random users as the envelope sender. > > Much poking later (it takes a long time to run experiments if you want > to make sure they run in the real cron/periodic environment), I have > isolated it down to the daily/300.calendar, which several users on my > system use. > > Somehow, it seems that the setusercontext call in calendar.c is … rather > effective. It appears to be setting the login ID for the parent process > somehow? > > Easy-to-demonstrate sample: > > (root@rivendell) 336# sh > > # id -p > > uid     root > > groups  users wheel www vboxusers > > # calendar -a > > # id -p > > login   jpick3543 > > uid     root > > groups  users wheel www vboxusers > > # exit > > (root@rivendell) 337# id -p > > login   jpick3543 > > uid     root > > (root@rivendell) 338# > > It’s been a lot of years since I dug deeply into a POSIX TTY subsystem > (I briefly worked on one for an RTOS in the mid-‘90s), but this behavior > is rather startling. It also seems to be different from at least 12.4, > which was the last production release I was running – I skipped 13.x. > > Is this somehow expected behavior? Or is there some weird corner case > being worked over here? > I don't think this is expected, but rather just an oversight. `calendar -a` should almost certainly setsid() after fork() to avoid setlogin(2) clobbering the session login name for the caller. diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c index 7610ad034759..e07dee52403e 100644 --- a/usr.bin/calendar/calendar.c +++ b/usr.bin/calendar/calendar.c @@ -209,6 +209,7 @@ main(int argc, char *argv[]) if (pid == 0) { login_cap_t *lc; + setsid(); lc = login_getpwclass(pw); if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETALL) != 0) From nobody Tue Jul 23 04:55:17 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 4WSlFr3Sbmz5RCcD for ; Tue, 23 Jul 2024 04:55:28 +0000 (UTC) (envelope-from steve@watt.com) Received: from ns.watt.com (mail.watt.com [50.193.5.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.watt.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WSlFr0Kbjz4SlN; Tue, 23 Jul 2024 04:55:27 +0000 (UTC) (envelope-from steve@watt.com) Authentication-Results: mx1.freebsd.org; none Received: from neko (23-122-133-171.lightspeed.sntcca.sbcglobal.net [23.122.133.171]) (authenticated bits=0) by ns.watt.com (8.18.1/8.18.1) with ESMTPSA id 46N4tNhd038902 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 22 Jul 2024 21:55:26 -0700 (PDT) (envelope-from steve@watt.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=watt.com; s=mail21wn12; t=1721710526; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=zY6RmW9g1IZRq8WA4cOOy6SYL+rveDen1lPOkInqfVI=; b=TorMN03cmyTsP2PE4/xIBoFWL+lwpdeLI0V0m/mGLv6UuyO077wMHp93sFkS8ND9RyJ712 YpQdVjOKJMS/d6Jl+Pc2cBn/YwlEeUmoa8FXUh0UH6El2lKqaOTf7OvJzeNA4HHn8E+UrS 7H8kSpSnvW+p1P0uPLmLJSMXUXsKqCkb7I74gesWpdRqw7DA4bjgQFgk9uZYHFmnzXcjRM k0xcmhc3ihIgXVnKLr5LsQOd4+jql99Mz038doLy7bNOwTc7gmquH7f2UJSes/PDj4Uvq2 a1On9mJeL7yu1MvCp8+uG/9gpVyde57QwxQuWEm3mAoziRTwe9p4J3amCxNJpQ== X-Authentication-Warning: rivendell.watt.com: Host 23-122-133-171.lightspeed.sntcca.sbcglobal.net [23.122.133.171] claimed to be neko From: "Steve Watt" To: "'Kyle Evans'" , Cc: "'Gleb Smirnoff'" References: <053301dadcb5$0aa3cff0$1feb6fd0$@watt.com> <135ad19c-eb0d-4d29-8f75-968fb0e15e0a@FreeBSD.org> In-Reply-To: <135ad19c-eb0d-4d29-8f75-968fb0e15e0a@FreeBSD.org> Subject: RE: Bizarre setlogin propagation in 14.0/14.1 Date: Mon, 22 Jul 2024 21:55:17 -0700 Message-ID: <054401dadcbc$87bffe80$973ffb80$@watt.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIgwaMf06/O7Q5f/he34/IOHOIHQAFCDAnLsW3ktrA= Content-Language: en-us X-Archived: 1721710526.054454213@rivendell X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:7922, ipnet:50.128.0.0/9, country:US] X-Rspamd-Queue-Id: 4WSlFr0Kbjz4SlN Yep, that squishes it in my test case. Shall I file a bug against = calendar, or will this make its way in without such? Thanks! It's amazing how easy it is to fix once you figure out the = culprit... Regards, --=20 Steve Watt KD6GGD PP-ASEL-IA factories.words.yappy Don't let your schooling get in the way of your education. -----Original Message----- From: owner-freebsd-questions@FreeBSD.org = On Behalf Of Kyle Evans Sent: Monday, July 22, 2024 21:24 To: questions@freebsd.org Cc: Gleb Smirnoff Subject: Re: Bizarre setlogin propagation in 14.0/14.1 On 7/22/24 23:01, Steve Watt wrote: > Greetings, >=20 > I have been slowly chasing a very strange issue that=E2=80=99s been = bugging me=20 > since I upgraded to 14.0 (and now 14.1). >=20 > The presenting symptom was that the periodic daily and security runs=20 > were appearing with random users as the envelope sender. >=20 > Much poking later (it takes a long time to run experiments if you want = > to make sure they run in the real cron/periodic environment), I have=20 > isolated it down to the daily/300.calendar, which several users on my=20 > system use. >=20 > Somehow, it seems that the setusercontext call in calendar.c is = =E2=80=A6 rather=20 > effective. It appears to be setting the login ID for the parent = process=20 > somehow? >=20 > Easy-to-demonstrate sample: >=20 > (root@rivendell) 336# sh >=20 > # id -p >=20 > uid root >=20 > groups users wheel www vboxusers >=20 > # calendar -a >=20 > # id -p >=20 > login jpick3543 >=20 > uid root >=20 > groups users wheel www vboxusers >=20 > # exit >=20 > (root@rivendell) 337# id -p >=20 > login jpick3543 >=20 > uid root >=20 > (root@rivendell) 338# >=20 > It=E2=80=99s been a lot of years since I dug deeply into a POSIX TTY = subsystem=20 > (I briefly worked on one for an RTOS in the mid-=E2=80=9890s), but = this behavior=20 > is rather startling. It also seems to be different from at least 12.4, = > which was the last production release I was running =E2=80=93 I = skipped 13.x. >=20 > Is this somehow expected behavior? Or is there some weird corner case=20 > being worked over here? >=20 I don't think this is expected, but rather just an oversight. `calendar = -a` should almost certainly setsid() after fork() to avoid setlogin(2)=20 clobbering the session login name for the caller. diff --git a/usr.bin/calendar/calendar.c b/usr.bin/calendar/calendar.c index 7610ad034759..e07dee52403e 100644 --- a/usr.bin/calendar/calendar.c +++ b/usr.bin/calendar/calendar.c @@ -209,6 +209,7 @@ main(int argc, char *argv[]) if (pid =3D=3D 0) { login_cap_t *lc; + setsid(); lc =3D login_getpwclass(pw); if (setusercontext(lc, pw, pw->pw_uid, LOGIN_SETALL) !=3D 0) From nobody Tue Jul 23 10:25:38 2024 X-Original-To: freebsd-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 4WStZw4X0nz5Rh5y for ; Tue, 23 Jul 2024 10:25:44 +0000 (UTC) (envelope-from theromchip@outlook.com) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11olkn2025.outbound.protection.outlook.com [40.92.19.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WStZv448Yz401P for ; Tue, 23 Jul 2024 10:25:43 +0000 (UTC) (envelope-from theromchip@outlook.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=JpvOIVzV; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of theromchip@outlook.com designates 40.92.19.25 as permitted sender) smtp.mailfrom=theromchip@outlook.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=LGLlG6VNZ+8YlTxHFUcPlNZLNvVqVR20OcJEZuXLHk5o7rODOXudnSLk8GjGzo5zpwvfRL9txWni3XfZmNsmyaEd5+odHQ8569/K81Biq3kyXNqpWuM/6JMvogfVDWeyMI1BN4BtOD0Gua273g7+B6sYQsnsjNbV3GrnNkiru4QW2s1jjYVMTb2t+Ba+5Qui7b0ts2GobYIskTGIglA3MGSKXfAordjkxMKxfk2Wdm7UiNloJ+3FZ88hOApzIoBKZnkaKKeX/sBbaAY5Xo/eMcEGtFJBkR7g2G3uUgUS1XWTUgb25gu4HqVcg0NNy5iRzWnam63KLK7jGRso89iQCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=y9Qm/JW9iq1PC/8H9Ji4vrQd94AfXGReOegeJ4zq6Ak=; b=yM1xi6frsxjXbDq76iDdSd6g8/isDFxYl4TW56G99VdA7SQ83j+xqAhdWTJwXxkbD98CC+Kfb2UYT28jr+cybxSDFeWywqbP/sCKfdyM2Y4ED4VuzXJgDuhwFJokf23PoVDQMm4ROAtoLJ7q2Wj0oP2U1/x8GwZ7s39lc1UresrBhx5EwnX/Ypl1a91DyCGfcNs0oUj7h1PRSNV2d5CQphI3rfsfsWUgwyRHLDcbPMofYND3e45AwBKQd5sSTME6LzUf7gqpNtVBKYeUK2OFHzjxmCbkJcr97kAlasAFHAVe/sOhgcsKaCMMRGRe85mpy9iNnSdUONVei78jS3JloA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=y9Qm/JW9iq1PC/8H9Ji4vrQd94AfXGReOegeJ4zq6Ak=; b=JpvOIVzVyxSbAbQr1+H6nZGhQFEBrDS/K59gCp9lShnPHIwHLWhlxpEo9Z1peTKRtMZKD+YilSjwn4e2xyRVaWlxIf7e52tma5MP1KP8e/ddhAsB/Z3iD7bqaCdNXg9J2+PN5iERfhtJYaHuj1gnp8y6c0vDE2zuruUGN1KaDLlSVyJin+iGyGi/xLio4A1Ot9ViQJA16ubkR0m9H4pTfFl7NemUOsyNTFlIB3dl5PnDkfs2CSdF+cY8K3AxWRnHnnC7wUKdfMtgVyXvQNCkXIAW58bueVPerhVL0blz4vs6AnKG2qdxgsAlZwokbClv9MdpY4msV9avUYrAFEMIPQ== Received: from MW5PR19MB5627.namprd19.prod.outlook.com (2603:10b6:303:198::6) by IA1PR19MB7256.namprd19.prod.outlook.com (2603:10b6:208:428::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.17; Tue, 23 Jul 2024 10:25:40 +0000 Received: from MW5PR19MB5627.namprd19.prod.outlook.com ([fe80::89df:1ba0:d9e3:c35c]) by MW5PR19MB5627.namprd19.prod.outlook.com ([fe80::89df:1ba0:d9e3:c35c%4]) with mapi id 15.20.7762.027; Tue, 23 Jul 2024 10:25:39 +0000 From: Thomas Covert To: "freebsd-questions@freebsd.org" Subject: Freebsd 14.1 Kernel Panic Thread-Topic: Freebsd 14.1 Kernel Panic Thread-Index: AQHa3OkD/IGL3Wqedku3+yXNUCaniA== Date: Tue, 23 Jul 2024 10:25:38 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [i0rQckiHo1Sr6TnD4m9A9Voc9pLoinBX] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW5PR19MB5627:EE_|IA1PR19MB7256:EE_ x-ms-office365-filtering-correlation-id: d83bfe5e-4d77-4937-ba1f-08dcab01cc35 x-ms-exchange-slblob-mailprops: UDhyqGRoB4ZcAHfrke+nZoXUwMseAeD3i1EGgVAD277XGADoOIPbtkdQ02S549pBNOC/RIdBOaiu1qIDrnxEW+9sUgLgU9ponnIELHc9Ar+sEsbJscHiCe8w5brsWsRXGxRHIT9VbykoQ731fKHrM7dpTORNR3vMX0q5LMdrUb4kZND+ilUduOY1e/QnSUXzW5HfF+0/3By7iR77BtRe6M2EEB6GDtPv8y/s0EVujcLzH8zAch9uXqXytvt6PYs6RGkXxwevL4Mw6Mx+GQlpzsMwcsiyJI+VfkGDaAVmFWwkd2aNID/UU5Qd07KwQAK9Pt+PqdrHKUla5QiLs2n2tv9T5NfYpmvVpJwwomKv7CZObakoeoaZo4VKcLV+mLE1rKtm56kbqYy/Q21438eD6uQ3Z1iyDKwA3zZVZskljGUmBOu6YDrQF/u/kmSMXvgbXu3a9egcTyUAF9XtO41i7HmYyFurr6SVV99gYgeIRpHbcffoMLXBO/5gv9o02aYtun3WHQQVmMaluZJBPtsHpfxMgdgxSc3Zxi9v931zpPSwIuaqvm7whMLQzlFR561DwW8UnMnDelgGsD3ae0HEOin29QT/w/JD78SKYPLPMxONCnRDXXE0NsTorhBYc7yRxv0+nqBF+R8PKLSnvBgpYQDg9KNXtbMoHwZhdHI7XQ/dtfr27eQpQQ== x-microsoft-antispam: BCL:0;ARA:14566002|461199028|8060799006|19110799003|102099032|440099028|3412199025; x-microsoft-antispam-message-info: MAk6yM2RuuPo3UY2wo0Q2iOs5ciSBNtntmHe9G2gFxEshY6cfy7Q+JoNG+k2oXb0SOTDJZ9w1oNQx0nO5FUy2JVNDN4GxLSeuFtt0wE9xixon2WB4Q7BviUUHkHJeB9Spz8DnBIv0Dycr71w32xVWJSscAqB71oXj2DN4BmPSnTbjs7anfTMBUrUSj8prC03Dy7pwuaTfoLld0JN40oRhytOGXTdkSrrNuwtgMm5JqLFqjqHHeuPxTBTbQxmr2CxztFVkoeKKKXYIdVRVUPLtgL9vMm12BFCay8rJNXKsNcSv6VwRpq13SY902EGf+DEJAs/z/1rwuVG/LxIByFf38u56Gg6QzBpqEkcKQcbLR7Mf7l1ZBDQMnlu+DV/srYb+i2ZrrD3XGXAwVnRMuoult3mw+KaJTyLVF/T8K+bfqlzMTFwko0+gTmfV3dTw5rboLTu2XbwKskEk8igyNnqiTJvDcNjnkqB8zoE1A72xTY1TUF6lRg9gxfeYX70LiSPhUOfnXLxGef5iHrj86ZgwTSfulhuR1e4D13a3AaOn8Q99P5iDMpIP57ZKDTPoX+bEYL5LLCeQg2dyH1TwC2tkvAgmZK/ddUIR/JUX107kIrCoaZUs1qIcFHccWgDiGcxDClXEwuwq72BQ8cyQzmcfQ== x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?mFUeJ4nM2F/RQ+JfJvqEf0yHMRLR2GD9zJ/ktBiHw3DBPlDd8OfKnYE8SM2A?= =?us-ascii?Q?UJxFGbZ463vZ+yOXK6LlMt6qcI2DRQPLo5BXH9zebGy9TA1/J6kyMZAhxkRg?= =?us-ascii?Q?oPsnzafI/AGAIW6zTSvpnthk8T7dlNaDCIclrEraJlBfnzyR08vDVWVIo0GW?= =?us-ascii?Q?axGkdSZyLf8mpA1e96Pd5c38hOiceosKvkisTDUnpldSLmu2IMVz9kjGB/c6?= =?us-ascii?Q?JUL9F49iY7Z+smNV3ZpcDnNuvLYlGGRbRuxZ08mmJ0MO1DlrVXlIIeTjiZTt?= =?us-ascii?Q?/OcMIZIeusAOTFG8DeRjV5K/HnC0ejV5ziPx/839Lo17mCJgWm+u44KCSO4N?= =?us-ascii?Q?R2sYRgMHmUf/6GTZXsnEM9GfH5rxS44Esh6QLjoJ2BgesaIT+1Kij+8ri1kf?= =?us-ascii?Q?b5MRJM0wIbjJPZbp3otCSIs3qZPOy77ilADd2pK65iwScS5g27xlL5Lx8qd3?= =?us-ascii?Q?HYwF0SagfHAKcU/pRxBEllgO9OBh08gb0JzGXkQIKuK/teZdXseOkBXA7K7X?= =?us-ascii?Q?ML8W9jU0aGq/W4q/iqBL3djQid7nxvLybS2Dd3PtbWbZjTdzWqIpYCKaDwvZ?= =?us-ascii?Q?VQuvV1WPm/Opfj+RdYpJ3CvRpdaFgIZeVBQHJhLExnD3vSknLgVTvTR9oJLa?= =?us-ascii?Q?7qSpCwbQ94dUrKiz6Zk2dujObTTO0oKwCV8vP42hVBkrdvvC3aCCIL9zMQd3?= =?us-ascii?Q?OK5V4gKgK/tqqimimXeUm2wBN1B3C7xPDsK/w9Vc5xLrJrZAEktR4cWGla28?= =?us-ascii?Q?Ky0REBrZ60I68HLJ+ftfDeMzDEVZbPmXVmf6KLBv0l8AqXqdHovlN/mKKobd?= =?us-ascii?Q?d4aEavWmcSeB2Tb74slEq/awmJSysODXvThuHsob9O/0fC6yw9MXhO1tMLET?= =?us-ascii?Q?iKCpoaWAiZTu6+EejtdpWc9Qu56aR4CWU6zVs1nJGZbU5SpM4A5DwQNmt9TN?= =?us-ascii?Q?spYeRyRwvWnzVJQl6uv7eHu+wdezxNBaKRnFg99OOqDjHiYq/D1XxGBJQMdS?= =?us-ascii?Q?5HWP51B+Jq7icQLd2L4OEQNbHdphsSovuAeJiUKHPIgYUDY8/8+XiksngXgJ?= =?us-ascii?Q?h3KIiUcEAiWYgSIqgtYHesjPMU+BCVaDQuyg64xFin3PMVNWnpT6T9hFtc+v?= =?us-ascii?Q?5ERNDnp4bBtF6o4Q4D/VKZuOrKvaNK6G1G7S/aD0XWEhGYWytiUUV/1Xu4LU?= =?us-ascii?Q?YveSXfoMUSnne8FydnKK0c8skV0uugQiqIrWoEj15jj2/3dHOpFE6ZuCnsqW?= =?us-ascii?Q?F0KytQHSDyW5COyN0WfT?= Content-Type: multipart/alternative; boundary="_000_MW5PR19MB56270558361BEC68E9DBACEEC7A92MW5PR19MB5627namp_" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR19MB5627.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: d83bfe5e-4d77-4937-ba1f-08dcab01cc35 X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jul 2024 10:25:38.8612 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR19MB7256 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-5.00 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[outlook.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_FROM(0.00)[outlook.com]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_EQ_ADDR_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[40.92.19.25:from]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[outlook.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.19.25:from]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; DWL_DNSWL_NONE(0.00)[outlook.com:dkim] X-Rspamd-Queue-Id: 4WStZv448Yz401P --_000_MW5PR19MB56270558361BEC68E9DBACEEC7A92MW5PR19MB5627namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I've used FreeBSD since the beginning. I know it's either zfs problem or k= ernel src. I've used Arch Linux and Windows 11 and i know it's not a hardwa= re problem. When I update to the 14.1 newest src the world compiles and the= kernel compiles ok. But when I reboot to install the world I get a kernel = panic. But when I go back to the last kernel src I get no panic. The reason= I think it's zfs is because zfs will not auto mount anymore. There's no er= rors on my two zfs pools. It also seams to happen after I export my backup = pool. As soon as I compile the newest src update is when the kernel panic h= appens. I forgot to write down the message when it panics. I have a hp omen= laptop with 16 gigs of memory and a Nvidia 1600ti 6 core 12 threads. I hav= e other zfs backups and they run fine no panics. I use FreeBSD as my main O= S so this is really causing problems for me. I can't give you the panic mes= sage right now cause I'm using a older backup and don't have time to compil= e new source. I will recompile new src tomorrow and if you need it just let= me know. I will help you anyway I can to get this fixed. I've even been us= ing claude 3.5 to try and figure this out. When i compile FreeBSD i normall= y do a zpool set bootfs=3Dtheromchip/ROOT/default theromchip doing this now= it now crashes theres no boot menu with the 10 seconds so im having to jus= t exoort theromchip PLEASE HELP ME. Thank you Thomas Covert --_000_MW5PR19MB56270558361BEC68E9DBACEEC7A92MW5PR19MB5627namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I've = used FreeBSD since the beginning.  I know it's either zfs problem or k= ernel src. I've used Arch Linux and Windows 11 and i know it's not a hardwa= re problem. When I update to the 14.1 newest src the world compiles and the kernel compiles ok. But when I reboot to in= stall the world I get a kernel panic. But when I go back to the last kernel= src I get no panic. The reason I think it's zfs is because zfs will not au= to mount anymore. There's no errors on my two zfs pools. It also seams to happen after I export my backup pool= . As soon as I compile the newest src update is when the kernel panic happe= ns. I forgot to write down the message when it panics. I have a hp omen lap= top with 16 gigs of memory and a Nvidia 1600ti 6 core 12 threads. I have other zfs backups and they run fin= e no panics. I use FreeBSD as my main OS so this is really causing problems= for me. I can't give you the panic message right now cause I'm using a old= er backup and don't have time to compile new source. I will recompile new src tomorrow and if you need it j= ust let me know. I will help you anyway I can to get this fixed. I've even = been using claude 3.5 to try and figure this out. When i compile FreeBSD i = normally do a zpool set bootfs=3Dtheromchip/ROOT/default theromchip doing this now it now crashes theres no boot menu with the 10 s= econds so im having to just exoort theromchip PLEASE HELP ME.

To: "Thomas Covert" Cc: freebsd-questions Subject: Re: Freebsd 14.1 Kernel Panic Content-Type: text/plain X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US] X-Rspamd-Queue-Id: 4WSx1F1PWkz48pj On Tue, 23 Jul 2024, at 10:25, Thomas Covert wrote: > I've used FreeBSD since the beginning. I know it's either zfs problem > or kernel src. I've used Arch Linux and Windows 11 and i know it's not > a hardware problem. When I update to the 14.1 newest src the world > compiles and the kernel compiles ok. But when I reboot to install the > world I get a kernel panic. But when I go back to the last kernel src I > get no panic. It will help to know what the panic is, even just a short title, and how far it got into the boot sequence, as well as what your starting point is (13.x, 14.x etc). Did you also update the boot loader (whether UEFI or MBR ? ) on all drives? > The reason I think it's zfs is because zfs will not auto > mount anymore. There's no errors on my two zfs pools. It also seams to > happen after I export my backup pool. As soon as I compile the newest > src update is when the kernel panic happens. I forgot to write down the > message when it panics. I have a hp omen laptop with 16 gigs of memory > and a Nvidia 1600ti 6 core 12 threads. I have other zfs backups and > they run fine no panics. I use FreeBSD as my main OS so this is really > causing problems for me. I can't give you the panic message right now > cause I'm using a older backup and don't have time to compile new > source. I will recompile new src tomorrow and if you need it just let > me know. I will help you anyway I can to get this fixed. I've even been > using claude 3.5 to try and figure this out. When i compile FreeBSD i > normally do a zpool set bootfs=theromchip/ROOT/default theromchip doing BTW I highly recommend beinstall.sh ( /usr/src/tools/build/beinstall.sh ) which creates a zfs boot environment from your existing system, builds src as you'd usually do, and then installs into the new boot env. So long as you keep the main boot loader updated, this is a very very nice setup. You can select boot environments in the loader prompt and switch quickly between working & not. This may require some alignment with your multi pool setup of course. A+ Dave From nobody Tue Jul 23 13:33:15 2024 X-Original-To: freebsd-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 4WSylv2VBYz5Ry0F for ; Tue, 23 Jul 2024 13:33:47 +0000 (UTC) (envelope-from saken@codered.rmta.org) Received: from girl.rmta.org (girl.rmta.org [67.205.152.131]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "girl.rmta.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WSylt3yDZz4LBW for ; Tue, 23 Jul 2024 13:33:46 +0000 (UTC) (envelope-from saken@codered.rmta.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=codered.rmta.org header.s=default header.b=rCLNH0nC; dmarc=pass (policy=quarantine) header.from=codered.rmta.org; spf=pass (mx1.freebsd.org: domain of saken@codered.rmta.org designates 67.205.152.131 as permitted sender) smtp.mailfrom=saken@codered.rmta.org Received: from codered.rmta.org (codered [IPv6:2601:183:4a81:4540:c23f:d5ff:fe69:dfed]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "codered.rmta.org", Issuer "R3" (verified OK)) by girl.rmta.org (Postfix) with ESMTPSA id D073227307E for ; Tue, 23 Jul 2024 09:33:15 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codered.rmta.org; s=default; t=1721741595; bh=aB4GAQ7Xi+LjJkGEGj9OkaVTCeUXkSoVFortc/bpD1M=; h=Date:From:To:Subject; b=rCLNH0nCvXlqtbWuqMfh625QGa7sqvUrfiSj2hnlNhzVj1+uppNj4vPkORfIdEnpb xxJ9gGzUwCeGZGgg+3xE1moGRwFE4rFymmUOwzaGE6jI2vIUakzWCJ/0hpbeNFDEQs RM9RJn3e46SLe1XPRZ3H83QJAWM25hs1QJgoXhzU= Received: by codered.rmta.org (Postfix, from userid 1001) id 6BC5ADE13ED; Tue, 23 Jul 2024 09:33:15 -0400 (EDT) Date: Tue, 23 Jul 2024 09:33:15 -0400 From: Scott Kenney To: freebsd-questions@freebsd.org Subject: SCTP support with monolithic kernel Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.68 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.981]; DMARC_POLICY_ALLOW(-0.50)[codered.rmta.org,quarantine]; FORGED_SENDER(0.30)[sak@codered.rmta.org,saken@codered.rmta.org]; R_SPF_ALLOW(-0.20)[+mx:c]; R_DKIM_ALLOW(-0.20)[codered.rmta.org:s=default]; MIME_GOOD(-0.10)[text/plain]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:14061, ipnet:67.205.144.0/20, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[sak@codered.rmta.org,saken@codered.rmta.org]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[codered.rmta.org:+] X-Rspamd-Queue-Id: 4WSylt3yDZz4LBW Hello, Is there anyway to get SCTP support build into a monolithic kernel? On Both 14.1-RELEASE-P2 and 15-CURRENT I've tried building kernels with: options SCTP_SUPPORT options SCTP AND Just options SCTP kld -v shows no sign of SCTP and the boot message on both systems shows a: module_register_init: MOD_LOAD (sctp, 0xffffffff805c1570, 0) error 17 Am I missing something? Thank You -- Scott Kenney >|< sak@codered.rmta.org "Let's exchange the experience" - KB From nobody Tue Jul 23 17:51:52 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 4WT4Tk0pPYz5SJjJ for ; Tue, 23 Jul 2024 17:51:54 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WT4Tj6vCNz4nRC; Tue, 23 Jul 2024 17:51:53 +0000 (UTC) (envelope-from kevans@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721757114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FXjUCvKzjZJKeWXWftYwjgj/2+ZkpwfP2OGE3ytDF28=; b=jUod/W6LueeXru0xSgrYPaPQNXv11hIiV4fEZuD/H9nir7bZPMa99y3tV8aJtwWzlseyPO fVYIY+ASFxuAlxJ973PybI99Oa9Znrv07R4kYk4bXe/k3+hReJsc2NChzTBJXzeGCArRcH 3fdh4CGx7MSuHpwV6n6qJ0zRJOqB2AnAcRmOjE5l2pdqnDkV5nGQjlgG0IT+uquL1EVWEh BKnLpRxPZPckDbRUVRI9s1P3kr8x4a42Wwnzy5+y5xyW6WhW7+nN9/G5eKG+CzjqJFAUEB gNYvQSXoXYtk+41+D1dO4o7AkHjkM9f4OLDzprNQVR5g57uPIH732ydUmhK+WQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721757114; a=rsa-sha256; cv=none; b=AauJXVQdmz5MFkQlpy4RNYswLsl40q4n1TeP0xUScFx71Fz6y8+8jzOWHt2z/Oy01cu2xi Nm//tjAqL1g8h5SbFCj/8/xFrAFM1eU+lQwRw50V6ilnfKPaKMlnmlpx2k1u8wRi7SqXGx YmbnJgYw+RXYV25RpZu26rV60X9mdbPt6K00ytPNz4qTV3RPCaV5ro+5cDvy9eO3nxNOkc 9OhSCPPpMknXMn7sKrtn/W6z0lXSfke4j7MLfxmtvk4WOoYdAyf8ets1ToD0RNDbdErCt7 Rvw++6ZIbkTp95ttr2fOpxNXnQTAWJUU0Ip0dWC2g0gM7LmQvvKy1UobOdndrw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721757114; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=FXjUCvKzjZJKeWXWftYwjgj/2+ZkpwfP2OGE3ytDF28=; b=poHkoUTwjlc890OUjMMYATcnG1zOQKKDt2I6IN4y7pexmVXG2y7mtimzkca0xTttbq+dJM 9ja5eODUqpvHrXu1lL2hdac3UMiZx3/DEmoc9aQt+V5St437uAn9mcgJhbxWA5P/eSglqU ntCrN3nSSc38L7RuqixxZosfM2hy5lg0QlsHuspTqNqFiAouFYo/CmplTjrcExkjEAAIzr EcDMQsVXHnqkubaqGZcqLK84SmnX8Z/YLORwRADqPb468eHUU41GsYJuVNqb+2Mj6kEa9e xpkIComIuRjS1MKNz4sTvTaL2mV+qvEHOLZLIVvtj/Qb+Mv4RgwJv60Y+yauhQ== Received: from [10.9.4.95] (unknown [209.182.120.176]) (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 did not present a certificate) (Authenticated sender: kevans/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WT4Tj4jFmz1R8D; Tue, 23 Jul 2024 17:51:53 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Message-ID: <2b7cadab-e6fb-4b6f-869d-898eac3de255@FreeBSD.org> Date: Tue, 23 Jul 2024 12:51:52 -0500 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Bizarre setlogin propagation in 14.0/14.1 To: Steve Watt , questions@freebsd.org References: <053301dadcb5$0aa3cff0$1feb6fd0$@watt.com> <135ad19c-eb0d-4d29-8f75-968fb0e15e0a@FreeBSD.org> <054401dadcbc$87bffe80$973ffb80$@watt.com> Content-Language: en-US From: Kyle Evans In-Reply-To: <054401dadcbc$87bffe80$973ffb80$@watt.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 7/22/24 23:55, Steve Watt wrote: > Yep, that squishes it in my test case. Shall I file a bug against calendar, or will this make its way in without such? > IMO go ahead (and shoot the PR# back this way, please). I'll probably commit it soon-ish either way, but a PR gives you a way to roughly track its motion through the tree into stable/ branches to have some idea as to when it may land in a release. Thanks, Kyle Evans From nobody Tue Jul 23 18:11:39 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 4WT4wj6Rb6z5SLh1 for ; Tue, 23 Jul 2024 18:11:49 +0000 (UTC) (envelope-from steve@watt.com) Received: from ns.watt.com (mail.watt.com [50.193.5.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "*.watt.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WT4wj3k5Dz4sjv; Tue, 23 Jul 2024 18:11:49 +0000 (UTC) (envelope-from steve@watt.com) Authentication-Results: mx1.freebsd.org; none Received: from neko (23-122-133-171.lightspeed.sntcca.sbcglobal.net [23.122.133.171]) (authenticated bits=0) by ns.watt.com (8.18.1/8.18.1) with ESMTPSA id 46NIBjPm056244 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 23 Jul 2024 11:11:47 -0700 (PDT) (envelope-from steve@watt.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=watt.com; s=mail21wn12; t=1721758308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=EnsLMiEiQb+HqneaqHyjfzU1xijgCwrJ9gZwNebZSQ0=; b=L6UkN9xGUNILUnJBKaTbygMHbRXKJPZTCFdN1DZyAZZUye6KPZrNC8CZWXPTocC1tkNI+P Z382Bw/Tmji3NOhfEAAAmk1oMCUQ92sP+ZIcJDCxB6xfIKErf7ACVZRRLV6PpP4g4BgcG0 V8dblb3ZJ/RuHBD3LwLEZIhTS1mnFRRbXNA6YEHYQobjoav/IRWsWf/epNvtRHGWbs7z/s CLjQ0Bp8V64vPNUAV3cBjnmG6CqiC0o4e7LZKstcjM0BVG0/QgFuRV6U5du3iRF9uoOK7r S5djYbwdpcRgbuxS7XP7ShdqkESHnBECdihXI11uREEcsAAeOKVnZcnWqB24NA== X-Authentication-Warning: rivendell.watt.com: Host 23-122-133-171.lightspeed.sntcca.sbcglobal.net [23.122.133.171] claimed to be neko From: "Steve Watt" To: "'Kyle Evans'" , References: <053301dadcb5$0aa3cff0$1feb6fd0$@watt.com> <135ad19c-eb0d-4d29-8f75-968fb0e15e0a@FreeBSD.org> <054401dadcbc$87bffe80$973ffb80$@watt.com> <2b7cadab-e6fb-4b6f-869d-898eac3de255@FreeBSD.org> In-Reply-To: <2b7cadab-e6fb-4b6f-869d-898eac3de255@FreeBSD.org> Subject: RE: Bizarre setlogin propagation in 14.0/14.1 Date: Tue, 23 Jul 2024 11:11:39 -0700 Message-ID: <056401dadd2b$c8359d20$58a0d760$@watt.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIgwaMf06/O7Q5f/he34/IOHOIHQAFCDAnLAUQBirIBvNesSLFWvPKw Content-Language: en-us X-Archived: 1721758307.870149066@rivendell X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:7922, ipnet:50.128.0.0/9, country:US] X-Rspamd-Queue-Id: 4WT4wj3k5Dz4sjv Done. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280418 --=20 Steve Watt KD6GGD PP-ASEL-IA factories.words.yappy Don't let your schooling get in the way of your education. -----Original Message----- From: owner-freebsd-questions@FreeBSD.org = On Behalf Of Kyle Evans Sent: Tuesday, July 23, 2024 10:52 To: Steve Watt ; questions@freebsd.org Subject: Re: Bizarre setlogin propagation in 14.0/14.1 On 7/22/24 23:55, Steve Watt wrote: > Yep, that squishes it in my test case. Shall I file a bug against = calendar, or will this make its way in without such? > IMO go ahead (and shoot the PR# back this way, please). I'll probably=20 commit it soon-ish either way, but a PR gives you a way to roughly track = its motion through the tree into stable/ branches to have some idea as=20 to when it may land in a release. Thanks, Kyle Evans From nobody Wed Jul 24 03:24:13 2024 X-Original-To: freebsd-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 4WTKBC3NQMz5RWZH for ; Wed, 24 Jul 2024 03:24:19 +0000 (UTC) (envelope-from theromchip@outlook.com) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12olkn20829.outbound.protection.outlook.com [IPv6:2a01:111:f403:2c18::829]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WTKBB2McBz513F for ; Wed, 24 Jul 2024 03:24:18 +0000 (UTC) (envelope-from theromchip@outlook.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=CkKg8Lha; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of theromchip@outlook.com designates 2a01:111:f403:2c18::829 as permitted sender) smtp.mailfrom=theromchip@outlook.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=rFT51K0tBau7wrRxZBKjNjxNoh/rsCRK9UGJbHp5JGG+1O6hH2Mjn8Y/zyn21Ub5k97zcUXO56OI+VEwESlgKUlCvgLCTyLJPMjRFWZMqjyK0XribiZmpNaf8N1CTLI49JHcTiDLYoclpPsmV5C0KUsBnbmG/t9rVhq7EkP4qmB+3A1U2Y3RNZckov5anoBM6CFowyeFuETVFamhfFLnCabNB80RVDBaCalT4Uq04qOVTQrn2/UF1x9mkX/Tj4QjiAWlJ7DwGIe3c5QefgtivxxaDtpbCs1LxyTHNUO3QKKQfJ7heXtdCyiWstUu7ycAYuXg6Ct0wf5ESESpYSSTdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wIFOdXyE292Plx4kvhxT482pl8LzkORpu6F0yys+W8o=; b=ATPlCWWoYkuRKtTpS1mO6EYPmC1j1WUzAFDHvM3geEmS/s4wsJ/LYxgDtnG8H4Kj0D0I61p9UvAbMlN6vLW1FGR226XiBbe+H+hU8REyaWyZuOKKMnvnfYe7paJO4WSu9b9MiiHxjYK5TlbVYglz4smmawDoQJDsHIVmzjVNrhPGdaxqgB7eovrZbkyQ2cyasSHXnY4Do9amAhrQgrXgb3jrcBUsCLKCgqTe3KtFf4k0NLg+2SymVwHX09rLK13ueiMC7xOc+/C/XTptA5CM9mADIjks2I5dBaiVoCa1Fi+HGHW2IKfZtsjBoaf93BBJPYxLjX3netKWXPQWzpXfJA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wIFOdXyE292Plx4kvhxT482pl8LzkORpu6F0yys+W8o=; b=CkKg8LhaUtAYlxjyaQ/85Ks3uYFhwTfg+H46j1wmQu68OcJ+X4GP6EceMFr7OMTIpy+awjsJ6yiXhgLJ1Ghr91lDpTboF9xLm8qdbwblqit5ECp/eTnusbrS+RK0rdtNQ1tkBP6A9sMYpWJFRWwn73xXZq+DZKYw4/tBBcEipN3BkVO3HXDFbEOiT7jiSW9uv8lwyEBiI6kEvvP0vernCNpvIGfu/o+Yqw9W/pVVJDqyEnYlyh+mpWrw+Kq0mwFU8jKCSN8NdAkVGr4u/KFi2qmvpGT86IkpeHOrvPbpzxmsQneMVE/MvqM/Caqn9nbzroSyVDZX+W6iHyiglH4xLw== Received: from MW5PR19MB5627.namprd19.prod.outlook.com (2603:10b6:303:198::6) by CH2PR19MB4006.namprd19.prod.outlook.com (2603:10b6:610:a3::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.19; Wed, 24 Jul 2024 03:24:13 +0000 Received: from MW5PR19MB5627.namprd19.prod.outlook.com ([fe80::89df:1ba0:d9e3:c35c]) by MW5PR19MB5627.namprd19.prod.outlook.com ([fe80::89df:1ba0:d9e3:c35c%4]) with mapi id 15.20.7762.027; Wed, 24 Jul 2024 03:24:13 +0000 From: Thomas Covert To: "freebsd-questions@freebsd.org" Subject: Thanks seems fixed Thread-Topic: Thanks seems fixed Thread-Index: AQHa3XjUbUuN1czHWkus0/Jc801Vsg== Date: Wed, 24 Jul 2024 03:24:13 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [OxvrJwzbfPVUNjncdJIYePc9/S4OJGCn] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW5PR19MB5627:EE_|CH2PR19MB4006:EE_ x-ms-office365-filtering-correlation-id: 33250e71-57f9-462d-d2a1-08dcab901769 x-microsoft-antispam: BCL:0;ARA:14566002|8060799006|12050799009|9400799024|19110799003|461199028|1602099012|4302099013|440099028|3412199025|102099032; x-microsoft-antispam-message-info: zRze7ox3AVa1HcTa/tDpkOlTe6ddGLe4zFpW1/5rcQXU/rDyCfyZYIf3w0tYeJlI2PpRj8sKiW4Fuoq6Us2RlrH0BFsc9nzuR6XtRG8sFq4qWWbAqbLF3Vkjif63w2BTVUXnODxzFN0iekYAy6m0Q18VJnSM4kzX2OjdzfN2sLS2wrYYr7EqlBfpj1m8OVBBddnf1Ij/XO4/b4gZhXFA9h/Vy1X9huVD3zeYadomtkMeoDdu5AlrhjxvrRzR+fKOQSFDIECDWp+K/8Vw6i/SvtFCQ+Bo6MsuvIf9jyEIFcmhflQj0SuKK0ib3X/ne9g5cihCKYUDv50KZeEN6QxmkrSlJwUbT3SroIAOElKpZeX4hQZHgQBgmtuWuTE5AMhhDeIOnr+167Egn0qGV7JHuELf2sXFuEF7yDkIA4vGXdEcBfUGXyGNPnv/ktjAYkQH7yscNQKZB3VVrk2eCo84ob+ltyDS3/eV9DVca0rUegMPUOmbnqsnsyP2uIocOH+SuuYyfpIh4H18uEl99ZvWZYFaOzjGrH5KeJRXvQwiIaKN3fMtd9Ia1VM1NTPux3IAT2F5e+A01ICVIdK3LqJjn/QW/GG4ZGBKiSy71b2+JI+TBqT+inxEkcBXrzO3wf92Srn2D2hI/s8o7wRtnYq9V29Ca6rudVXTsxnPObLqjM93pVd/WrcFOhR9Gx/T7VWriBusdX/vUqSN2GoSTJEdwJ3SNr2REQaordAdS8YwGqrRQtbCmRbwY3ihjA8uBzzBZE7F0ee569VMooXm/3lt713KvCCwLkd+RDNtxhj9wN2r3Cl7VKolSeXzBxKU7shk x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?aiyYKIBra/HmumtjUR5rWwll37TEK0n+PcTI8CY2MXhYUUmilOPSJFRN1m/w?= =?us-ascii?Q?n6WZG+fG7fN1h9+09xNJK+7AVeKC2Ig1XYUNCzOmsLLflDhVcoLn+a+OyhyM?= =?us-ascii?Q?Pxq4vTmJuSI03vYcmis+HDne+LrrWu96XkvgFkgfa/e8TAenrrzTh0E95IZB?= =?us-ascii?Q?aIh7sETvxOGkh9jEgQsy6RdwUjadWamdzTO0x5F5MWj2U9nD5LTEgyv+e0qt?= =?us-ascii?Q?fmimIF93dR9zkNTkRH6XArZFZTlR0U2cNY5Mre+u7ORP4j9uDSlC30AoQoDY?= =?us-ascii?Q?5Nw7UgnAgM1eN0xnAaCxbxxkqqlD6UMF6ea5fvnCM8wrej8geLZguMW8AEsL?= =?us-ascii?Q?LrKcpXixBRX3JkX3Cn7IFnueQmyS59A3yHjMfiO/DmcTyY5Scnpvb6+2eOMY?= =?us-ascii?Q?M2Rep7sLL60wCpCqNiRqlAxjA/xKSfuW5AMv9O+6hPE3+BIjK74q7QLeGddd?= =?us-ascii?Q?lh30/sT+4F7q29OQ2FueH3tFFAkO1OM0gge4xjN6iRRLtVgTAPKav0aAhYo2?= =?us-ascii?Q?9LjYRV0QHsLwpL7q4sH4BwRd+zH9mVRXPbtPEKUDhr+RxDa6n/mUdvvmYFmC?= =?us-ascii?Q?E9Tv1sPg7qyvfTlpTjL3N9n4fNG6esFbqNxl8nBE97/OvuOpj1DcRvOkrAR0?= =?us-ascii?Q?vhwS9UpgQBJTxu7gKWhHBHf/FrcnUIFMKu0fH1GJbgBYJRz+laljdEXOHy7w?= =?us-ascii?Q?r88QYnO9uLE94pk2bGcPDXgBxLBxfI9RlIdQ0VQbA1RqruZK6X/orxbJK9B5?= =?us-ascii?Q?sy9kn0V0eosFEtER0GHB3QAM9JJBZ0lWwt552prrsSluc71GvrF39xzMWHHi?= =?us-ascii?Q?tZZ65sOrUgOsyrhVoOFxzLS3vlB/AtjFhRQgirVq9l5/je9OyK3csoTGKT9f?= =?us-ascii?Q?9fg4SxuBdLD5sok9F3JE59xbAzbnPyYvj37tmtEyBBWy/LgS6LiA9mfALzT6?= =?us-ascii?Q?3AmzldyNi2tBIEtBMdkGlUjOxNWOiL5XXLExVn7pJq029lzC96Rd4Q+yNOBo?= =?us-ascii?Q?Ij/L7JxLIgRQwOwpYhY9NHWU2OOQAPulpQfKOeXvV6u65TyqrITSZ7Md0tiv?= =?us-ascii?Q?RZCK2WQ21nawkNxIzX7l39ppmtv+EWIe2+MQ/nb6WyvsmujPTJ5OLF2uL2sC?= =?us-ascii?Q?HGXHjC0bGnJSOuzH+IQ2IvPjqxkjkak4U0y6ATxFCYq7I76kFrLWRubuDmcV?= =?us-ascii?Q?RLRZoWnM0HKT2JlwV8Qo0fKbB6CkE1tXnsICuN+78//jbQcydV9ya+n6pLJT?= =?us-ascii?Q?ZEQzCQ+IqRG/gnVUNY+c?= Content-Type: multipart/alternative; boundary="_000_MW5PR19MB5627FF692D33FB7FD9415085C7AA2MW5PR19MB5627namp_" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR19MB5627.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 33250e71-57f9-462d-d2a1-08dcab901769 X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jul 2024 03:24:13.6107 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR19MB4006 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-5.00 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f403::/49]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[outlook.com:dkim]; FREEMAIL_ENVFROM(0.00)[outlook.com]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[outlook.com]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; DKIM_TRACE(0.00)[outlook.com:+] X-Rspamd-Queue-Id: 4WTKBB2McBz513F --_000_MW5PR19MB5627FF692D33FB7FD9415085C7AA2MW5PR19MB5627namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I want to thank you for your quick response and all your help. I have two s= cripts that pull in the src and compile the world and kernel then I reboot = and run the other script that installs the world so I just updated the src = and compiled it and now there's no panic I'm so happy. I can't believe I ne= ver knew about beinstall.sh I can't wait to try it. I= don't care what people say FreeBSD is the best OS out there. Once again th= anks Sent from my T-Mobile 5G Device Get Outlook for Android --_000_MW5PR19MB5627FF692D33FB7FD9415085C7AA2MW5PR19MB5627namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I want to thank you for your quick response and all your help.= I have two scripts that pull in the src and compile the world and kernel t= hen I reboot and run the other script that installs the world so I just updated the src and compiled it and now = there's no panic I'm so happy. I can't believe I never knew about&nbs= p;beinstall.sh I can't wait to try it. I don't care what people say FreeBSD is the best OS = out there. Once again thanks 



Sent from my T-Mobile 5G Device
Get Outlook for Android
--_000_MW5PR19MB5627FF692D33FB7FD9415085C7AA2MW5PR19MB5627namp_-- From nobody Wed Jul 24 05:58:55 2024 X-Original-To: freebsd-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 4WTNcg1yjCz5RHGq for ; Wed, 24 Jul 2024 05:58:59 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WTNcg18Fgz413X; Wed, 24 Jul 2024 05:58:59 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721800739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=byAJ9h7GrxCCC4VHLnW+3rish+eXooVDtFbZB5WGUfA=; b=Hp+Dc8Oda7YtWJrd7z0ZLfk+eQqJTyCHvoEayFTFx5YKKFz7sKQg14F/zV/1upgRPHD8qK uD2oOMPv0jmthaPGjudWH5BKEWiWP0DJKh1/CQyyRfOSaOPyenfI1z1biB+I2exrUPGs9u sEfSGqXgeYhJ/bJZS9MJfZY8qcQJsbsX57OzLLXAVxrWPtbJF+rNyZeHurHYSAUOdMpgOA iL25VfBtVnTBQVU0FNHqT8+2XCQuFqitQA+MEfye7UlbtYJsDzd/nxCxMw2SvcZbcU5Mdu 81Xi/QqPpH103kr8w2LzG/lGExL/zGBtpn8PjHpbLwGk4pEeoV2mS5NaIxj75Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721800739; a=rsa-sha256; cv=none; b=oVrrxYHHXHzWeccFBW9EU2swnm6RlOAtKnXZ/noTjzZH8oH/ecY+c3bKbybIl/ILzoVOTH tWXk4++9gJ9Y+r0Vr38EJEk4+QMKTTbKg3sioTsVzX8a+su/aVSiCa7j620aD9EYgIskid svMImhIGs2IXo+sAs8O/mSnrSci2urtk2V49kCuJtj4rqFppPD+g5xn9GWXnQlAD/HU0UL q+hzlrXBKObtYpCkIEBHNcyjzU4fSdpsp84qNT+bqEq//uddZAGRT6hCJc5eEdUTzFW+RR eEwlr8gZ/snO3eUxY3ZUtKnqild0c4RhLqgXHgbGxVassc9DYk5EgrxCgI/R4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721800739; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=byAJ9h7GrxCCC4VHLnW+3rish+eXooVDtFbZB5WGUfA=; b=W8QKfE997lb0tIX6WdIdwCNnLyTrLuL05wSxwn0Sdyl9gXn3Tkbr0YS6pe2kxu+L33BYJP x60bGpdP6bWCtVVq12s/cQ8gkDsxLSRboAY4SrZ9yrMxu03k2jc09WN73jmD2XI/ai2+dU q5zyeFe6L7lryGoBkVV/fyulZ01nfQeATZ05Qj7SmXiMdgkhr2TAvqpJFKIMZPsuYvL+2+ O7y1noc8rEHCC4fR9791nqX7r7IWmDLi1dDd9BuilHbPoy9R5p90r9qssZOa+VLz8aaCxw v4F8Cp82jtUhwAH7Lt38TwvWe4s+/VWziCQYuIyJwrzwXuq8r4h7iiu0+GKGOw== Received: from ltc.des.dev (unknown [91.174.26.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WTNcf74DhzSBj; Wed, 24 Jul 2024 05:58:58 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id DED1C102D1; Wed, 24 Jul 2024 07:58:55 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Scott Kenney Cc: freebsd-questions@freebsd.org Subject: Re: SCTP support with monolithic kernel In-Reply-To: (Scott Kenney's message of "Tue, 23 Jul 2024 09:33:15 -0400") References: User-Agent: Gnus/5.13 (Gnus v5.13) Date: Wed, 24 Jul 2024 07:58:55 +0200 Message-ID: <864j8f2uw0.fsf@ltc.des.dev> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Scott Kenney writes: > Is there anyway to get SCTP support build into a monolithic kernel? Yes, see sctp(4). > On Both 14.1-RELEASE-P2 and 15-CURRENT I've tried building kernels > with: > > options SCTP_SUPPORT > options SCTP This is correct. You can also put both on a single line: options SCTP_SUPPORT, SCTP > AND Just > > options SCTP This won't work. > kld -v shows no sign of SCTP Do you mean `kldstat -v`? What, specifically, did you try, what did you expect, and what did you get? > and the boot message on both systems shows a: > > module_register_init: MOD_LOAD (sctp, 0xffffffff805c1570, 0) error 17 Error 17 means you tried to load the sctp module when it was already present. You probably have it listed in kld_list in /etc/rc.conf. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org From nobody Wed Jul 24 19:08:41 2024 X-Original-To: freebsd-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 4WTk8072Yqz5QFvF for ; Wed, 24 Jul 2024 19:08:48 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WTk8002T2z4PFq for ; Wed, 24 Jul 2024 19:08:47 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:1::12 as permitted sender) smtp.mailfrom=mike@sentex.net Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.17.1/8.16.1) with ESMTPS id 46OJ8f0o063585 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL) for ; Wed, 24 Jul 2024 15:08:41 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:103c:e1bc:1633:28ca] ([IPv6:2607:f3e0:0:4:103c:e1bc:1633:28ca]) by pyroxene2a.sentex.ca (8.18.1/8.15.2) with ESMTPS id 46OJ8eUZ089316 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO) for ; Wed, 24 Jul 2024 15:08:40 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: Date: Wed, 24 Jul 2024 15:08:41 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Questions From: mike tancsa Subject: cloud init documentation ? Autocrypt: addr=mike@sentex.net; keydata= xsBNBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAHNHW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+wsCOBBMBCAA4FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAl+pQfkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQeVOEFl5W rMiN6ggAk3H5vk8QnbvGbb4sinxZt/wDetgk0AOR9NRmtTnPaW+sIJEfGBOz47Xih+f7uWJS j+uvc9Ewn2Z7n8z3ZHJlLAByLVLtcNXGoRIGJ27tevfOaNqgJHBPbFOcXCBBFTx4MYMM4iAZ cDT5vsBTSaM36JZFtHZBKkuFEItbA/N8ZQSHKdTYMIA7A3OCLGbJBqloQ8SlW4MkTzKX4u7R yefAYQ0h20x9IqC5Ju8IsYRFacVZconT16KS81IBceO42vXTN0VexbVF2rZIx3v/NT75r6Vw 0FlXVB1lXOHKydRA2NeleS4NEG2vWqy/9Boj0itMfNDlOhkrA/0DcCurMpnpbM7ATQRcsMzk AQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4axtKRSG1 t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1qzAJweEt RdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6cLm0EiHPO l5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5o9KKu4O7 gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQABwsB2BBgB CAAgFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAl+pQfkCGwwACgkQeVOEFl5WrMiVqwf9GwU8 c6cylknZX8QwlsVudTC8xr/L17JA84wf03k3d4wxP7bqy5AYy7jboZMbgWXngAE/HPQU95NM aukysSnknzoIpC96XZJ0okLBXVS6Y0ylZQ+HrbIhMpuQPoDweoF5F9wKrsHRoDaUK1VR706X rwm4HUzh7Jk+auuMYfuCh0FVlFBEuiJWMLhg/5WCmcRfiuB6F59ZcUQrwLEZeNhF2XJV4KwB Tlg7HCWO/sy1foE5noaMyACjAtAQE9p5kGYaj+DuRhPdWUTsHNuqrhikzIZd2rrcMid+ktb0 NvtvswzMO059z1YGMtGSqQ4srCArju+XHIdTFdiIYbd7+jeehg== Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.86 on 64.7.153.18 X-Spamd-Bar: - X-Spamd-Result: default: False [-1.54 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2607:f3e0::/32]; NEURAL_HAM_SHORT(-0.15)[-0.147]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[199.212.134.19:received]; XM_UA_NO_VERSION(0.01)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[mike]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[sentex.net]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4WTk8002T2z4PFq I gave the cloud-init image a spin, but beyond adding some users, I am not able to get packages added or even runcmd or bootcmd to execute.   This is using the FreeBSD-14.1-RELEASE-amd64-BASIC-CLOUDINIT-zfs.raw image from the FreeBSD download directory.  Where can I find documentation on what is supported ? Is there also a way to test the config beyond deploying and seeing if it works or not ?     ---Mike From nobody Thu Jul 25 17:27:19 2024 X-Original-To: freebsd-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 4WVHrV1Jstz5Qvbw for ; Thu, 25 Jul 2024 17:27:22 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVHrT1r4zz4yhs; Thu, 25 Jul 2024 17:27:21 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of mike@sentex.net designates 2607:f3e0:0:1::12 as permitted sender) smtp.mailfrom=mike@sentex.net Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.17.1/8.16.1) with ESMTPS id 46PHRKOm003095 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Thu, 25 Jul 2024 13:27:20 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:d024:4086:da9e:9111] ([IPv6:2607:f3e0:0:4:d024:4086:da9e:9111]) by pyroxene2a.sentex.ca (8.18.1/8.15.2) with ESMTPS id 46PHRITT058910 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Thu, 25 Jul 2024 13:27:19 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <8e3aeff5-11b2-4d9e-9ccb-f5aa8c1f6162@sentex.net> Date: Thu, 25 Jul 2024 13:27:19 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: FreeBSD Questions From: mike tancsa Subject: openssh-portable and tcpwrappers broken Autocrypt: addr=mike@sentex.net; keydata= xsBNBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAHNHW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+wsCOBBMBCAA4FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAl+pQfkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQeVOEFl5W rMiN6ggAk3H5vk8QnbvGbb4sinxZt/wDetgk0AOR9NRmtTnPaW+sIJEfGBOz47Xih+f7uWJS j+uvc9Ewn2Z7n8z3ZHJlLAByLVLtcNXGoRIGJ27tevfOaNqgJHBPbFOcXCBBFTx4MYMM4iAZ cDT5vsBTSaM36JZFtHZBKkuFEItbA/N8ZQSHKdTYMIA7A3OCLGbJBqloQ8SlW4MkTzKX4u7R yefAYQ0h20x9IqC5Ju8IsYRFacVZconT16KS81IBceO42vXTN0VexbVF2rZIx3v/NT75r6Vw 0FlXVB1lXOHKydRA2NeleS4NEG2vWqy/9Boj0itMfNDlOhkrA/0DcCurMpnpbM7ATQRcsMzk AQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4axtKRSG1 t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1qzAJweEt RdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6cLm0EiHPO l5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5o9KKu4O7 gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQABwsB2BBgB CAAgFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAl+pQfkCGwwACgkQeVOEFl5WrMiVqwf9GwU8 c6cylknZX8QwlsVudTC8xr/L17JA84wf03k3d4wxP7bqy5AYy7jboZMbgWXngAE/HPQU95NM aukysSnknzoIpC96XZJ0okLBXVS6Y0ylZQ+HrbIhMpuQPoDweoF5F9wKrsHRoDaUK1VR706X rwm4HUzh7Jk+auuMYfuCh0FVlFBEuiJWMLhg/5WCmcRfiuB6F59ZcUQrwLEZeNhF2XJV4KwB Tlg7HCWO/sy1foE5noaMyACjAtAQE9p5kGYaj+DuRhPdWUTsHNuqrhikzIZd2rrcMid+ktb0 NvtvswzMO059z1YGMtGSqQ4srCArju+XHIdTFdiIYbd7+jeehg== Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.86 on 64.7.153.18 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.79 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.40)[-0.404]; R_SPF_ALLOW(-0.20)[+ip6:2607:f3e0::/32]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[199.212.134.19:received]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_ALL(0.00)[]; TO_DN_ALL(0.00)[]; DMARC_NA(0.00)[sentex.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEFALL_USER(0.00)[mike]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4WVHrT1r4zz4yhs I opened a PR (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280440) but it seems I am no longer able to get the spawn command to work in the latest openssh-portable. Allow and Deny seem to work, but the line sshd : ALL  : spawn /usr/local/bin/geo-check-mmdb.sh %a :  ALLOW is ignored. Its almost like its not able to fork the process. Leading up to it, a working version showed the following in truss ppoll({ 3/POLLIN 4/POLLIN },2,0x0,{ })           = 1 (0x1) sigprocmask(SIG_SETMASK,{ },0x0)                 = 0 (0x0) accept(4,{ AF_INET 192.1.124.126:48085 },0x311843efd870) = 5 (0x5) getpeername(5,{ AF_INET 192.1.124.126:48085 },0x311843efd3cc) = 0 (0x0) getsockname(5,{ AF_INET 64.7.148.55:24 },0x311843efd3cc) = 0 (0x0) sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0) open("/etc/hosts.allow",O_RDONLY,0666)           = 6 (0x6) fstat(6,{ mode=-rwxr-xr-x ,inode=80398,size=2796,blksize=32768 }) = 0 (0x0) read(6,"\nsshd :  ALL : spawn  /usr/loca"...,32768) = 2796 (0xaec) close(6)                                         = 0 (0x0) fork()                                           = 4119 (0x1017) wait4(-1,0x0,0x0,0x0)                            ERESTART SIGNAL 20 (SIGCHLD) code=CLD_EXITED pid=4119 uid=0 status=0 sigprocmask(SIG_SETMASK,{ SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2 },0x0) = 0 (0x0) wait4(-1,{ EXITED,val=0 },WNOHANG,0x0)           = 4119 (0x1017) and the non working version in the ports getsockname(4,{ AF_INET 64.7.148.55:24 },0x82062f85c) = 0 (0x0) sigprocmask(SIG_BLOCK,0x0,{ })                   = 0 (0x0) open("/etc/hosts.allow",O_RDONLY,0666)           = 5 (0x5) fstat(5,{ mode=-rwxr-xr-x ,inode=80398,size=2796,blksize=32768 }) = 0 (0x0) read(5,"\nsshd :  ALL : spawn  /usr/loca"...,32768) = 2796 (0xaec) getpid()                                         = 19884 (0x4dac) issetugid()                                      = 0 (0x0) open("/etc/resolv.conf",O_RDONLY|O_CLOEXEC,0666) = 6 (0x6) it just skips right along.  Any ideas how to work around this ? I am just looking to add IPs to block based on geo location when sshd is invoked on this one server     ---Mike From nobody Thu Jul 25 22:34:33 2024 X-Original-To: freebsd-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 4WVQgN287Zz5RS1J for ; Thu, 25 Jul 2024 22:34:56 +0000 (UTC) (envelope-from dan@langille.org) Received: from fout5-smtp.messagingengine.com (fout5-smtp.messagingengine.com [103.168.172.148]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVQgM41KCz4PZn; Thu, 25 Jul 2024 22:34:55 +0000 (UTC) (envelope-from dan@langille.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm3 header.b=oXP46YNm; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=PBQplTcs; dmarc=pass (policy=none) header.from=langille.org; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 103.168.172.148 as permitted sender) smtp.mailfrom=dan@langille.org Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id D2CB0138016E; Thu, 25 Jul 2024 18:34:53 -0400 (EDT) Received: from wimap24 ([10.202.2.84]) by compute1.internal (MEProxy); Thu, 25 Jul 2024 18:34:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1721946893; x=1722033293; bh=tmaYZNSuqN+HlZhrEKePCgSOTgcvQTqu RB1FZoAWd4Q=; b=oXP46YNmEKrxz1JRSiokZ0YFY+lODUkDHC5NTwjCANNhy7gV PD722r96Fps1dyoWT/RvtbDOJnpfRRwO6ZWLW9j488qo4oiLt+WD4zcyprh8HqAr PFTKc8cu5jgTa0nwHhNFb9jw4Yqdkf1hROpiuNEVuFe6PJtzz2db3m7JSU0inhpr GNs5imAubnO0cRjijrZY2mNffJwUwfTgo7J3vRkiXqu7hy5Df/hcADIGU2mL/U1h HkZ4nshERIRaFXfLjitLpCsarfeXWGPWuCJiPT/gcRhJFAF9X+mvSypzcftcxyAe Nrbj4dnYRjhLcu5r0xZA8WHFI2cOOhttGnalIw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1721946893; x=1722033293; bh=tmaYZNSuqN+HlZhrEKePCgSOTgcvQTquRB1 FZoAWd4Q=; b=PBQplTcsN6sqJg7YKPXSQGAXBGbC0PDr8LMxzRPZIQhzWGfOBBu ZwaO9KCfmowf4htdewkm9O+PecpAH9EZR/zWOJCSNhNofTBb2eywbr0Nr4yTLCez 9PgFV2hp9m7qd+SCDm0W6gQvQZU8/8fKaiOJ8y1gD+mm5qdKCQ1/pkB/ejeuhAqb terhQcLqnVyW6SVKg4XPN+lBjN66fM1UeIP1Lxqkb1pHdNdhQL3TyUGg4tgdxKkE 3ikjgDTWLPT9qLC6hoIRX3ki1KQtbQNBwoAf9cFSBrsYwbNZgjfB9aSCiQfiOEFu qs1LrepkieJQXObrZd2jAcfqXX9VFii+XRg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrieeggddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfffhffvvefutgesthdtredtreertdenucfhrhhomhepfdffrghnucfn rghnghhilhhlvgdfuceouggrnheslhgrnhhgihhllhgvrdhorhhgqeenucggtffrrghtth gvrhhnpeekveejffetudeuuddvudehffekieekieetvdetfefftdffueejheevheehfefg udenucffohhmrghinhepfhhrvggvsghsugdrohhrghenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghnsehlrghnghhilhhlvgdrohhrghdp nhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: ifbf9424e:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 9FE6525E0064; Thu, 25 Jul 2024 18:34:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-582-g5a02f8850-fm-20240719.002-g5a02f885 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Message-Id: <22a4e9ca-0b4b-4192-9e8c-1041aba82fe9@app.fastmail.com> Date: Thu, 25 Jul 2024 18:34:33 -0400 From: "Dan Langille" To: "Baptiste Daroussin" Cc: freebsd-questions@freebsd.org Subject: root shell change to /bin/sh - other associated changes? Content-Type: text/plain X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm3,messagingengine.com:s=fm3]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.148:from]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; FREEFALL_USER(0.00)[dan]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4WVQgM41KCz4PZn Baptitse, I'm trying to understand something which happened at work. The problem is fixed now. I'm trying to understand the possible cause and prepare for the eventual upgrade to 14.1 We unintentionally changed root's shell to /bin/sh on a 13.3 host. It broke one of our internal rc.d scripts. Changing the shell back fixed the script. too much detail: the rc.d script runs a bash script located in /usr/local/sbin/ - that bash script in turn launches N background ruby processes. The main part of the error: Could not find a JavaScript runtime It makes me think the PATH changed to no longer include /usr/local/bin (for example). Which makes me think: this is shell related. Your commit was https://cgit.freebsd.org/src/commit/etc/master.passwd?h=releng/14.0&id=d410b585b6f00a26c2de7724d6576a3ea7d548b7 I intended to ask about other changes made in conjunction with the above, when I realised: it might be as simple as our host having a custom PATH applied to /bin/csh .... I can't check now, I'm at home. Thanks. -- Dan Langille dvl@FreeBSD.org From nobody Thu Jul 25 22:57:17 2024 X-Original-To: freebsd-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 4WVR9w15WMz5RThB for ; Thu, 25 Jul 2024 22:57:56 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fout5-smtp.messagingengine.com (fout5-smtp.messagingengine.com [103.168.172.148]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVR9v2mWWz4TtL for ; Thu, 25 Jul 2024 22:57:54 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=skunkwerks.at header.s=fm1 header.b=dfz4oXpS; dkim=pass header.d=messagingengine.com header.s=fm3 header.b="M J32sDp"; dmarc=pass (policy=none) header.from=skunkwerks.at; spf=pass (mx1.freebsd.org: domain of dch@skunkwerks.at designates 103.168.172.148 as permitted sender) smtp.mailfrom=dch@skunkwerks.at Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.nyi.internal (Postfix) with ESMTP id 13F09138016F; Thu, 25 Jul 2024 18:57:54 -0400 (EDT) Received: from wimap21 ([10.202.2.81]) by compute4.internal (MEProxy); Thu, 25 Jul 2024 18:57:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1721948274; x=1722034674; bh=R8kRZz7hiZLj7rfVRuUgcTBmMzMjqSaa sLT3MpxMLd8=; b=dfz4oXpSrNFp+QQXznHZxLqPhBUrUljGviPcr7JCaBFIfTfi DkPJTDXHJHv37eznDGvBFxqTr2kYi5NNsFLAxsJwpeLB4F0Ag9kNhFNZzi6zZfFc WXgl/ivIPWpEuMKm+5xkGQWczyc1aPN5NMPFZPBtldz+ogDfP+QtpVYJLzJKAAbP aM+AyWpHtzheEybUbT33vLf6BVCrrTVuzmF1uuHQg2EpyWsd6wVLZrvzB/LdgF6g qqMQbs5t997kKNV9LzPIUkseOyd7z7yukPR9yoqKF+vw7jjNvt1QesEU+8befPxY a81YJ6/hQfWr2NpopU4C1WjxjbJpk8OVTmiRRw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1721948274; x= 1722034674; bh=R8kRZz7hiZLj7rfVRuUgcTBmMzMjqSaasLT3MpxMLd8=; b=M J32sDpKBMo2bFJBm+bT3fXbFQzAcMTCplZ/GypJyC5lctOhVBaMW7XUc/Y2e+/O4 TXxQG2WZEkeKwmv6vrmU/wI4rVBUfKz8LLxSPJvTmKXuo1jcbp6xMJZiuyZZrqe3 S3PHnzdxAtJdR1uHOfi4Atk35Pw/ySRvuM7Cd+wKB2DnsmVXKmSCigaQQPGeWNZB kAT7QJ29A0ruywOtVTXzo5etGoS6GockYorkmOTyz9F9pD20KNsKG3Ev/eEx/Wea 0lXVa1KvvnxdurWJhmD+djjLD0Z0JzzuUUXGjmI4bn3Xc/syz/sRjx+ufzqAi4Us mNvOYohE5YXD/15A1yZVg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrieeggddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedfffgr vhgvucevohhtthhlvghhuhgsvghrfdcuoegutghhsehskhhunhhkfigvrhhkshdrrghtqe enucggtffrrghtthgvrhhnpeeiveelgeekgeeufeeuhfefhfduvedthfegfeeugfdtkeef ffevieevheeuheekheenucffohhmrghinheptghlohhuugdqihhnihhtrdhiohdpfhhrvg gvsghsugdrohhrghdpudeiledrvdehgedrudeiledrvdehgedpghhithhhuhgsrdgtohhm necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggthh esshhkuhhnkhifvghrkhhsrdgrthdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id AFA0A37A0084; Thu, 25 Jul 2024 18:57:53 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-582-g5a02f8850-fm-20240719.002-g5a02f885 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Message-Id: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> In-Reply-To: References: Date: Thu, 25 Jul 2024 22:57:17 +0000 From: "Dave Cottlehuber" To: "Mike Tancsa" Cc: freebsd-questions Subject: Re: cloud init documentation ? Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[skunkwerks.at,none]; R_DKIM_ALLOW(-0.20)[skunkwerks.at:s=fm1,messagingengine.com:s=fm3]; R_SPF_ALLOW(-0.20)[+ip4:103.168.172.128/27]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[103.168.172.148:from]; XM_UA_NO_VERSION(0.01)[]; FREEFALL_USER(0.00)[dch]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[messagingengine.com:dkim]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[skunkwerks.at:+,messagingengine.com:+] X-Rspamd-Queue-Id: 4WVR9v2mWWz4TtL On Wed, 24 Jul 2024, at 19:08, mike tancsa wrote: > I gave the cloud-init image a spin, but beyond adding some users, I am=20 > not able to get packages added or even runcmd or bootcmd to execute.=C2= =A0=C2=A0=20 > This is using the FreeBSD-14.1-RELEASE-amd64-BASIC-CLOUDINIT-zfs.raw=20 > image from the FreeBSD download directory.=C2=A0 Where can I find=20 > documentation on what is supported ? > > Is there also a way to test the config beyond deploying and seeing if = it=20 > works or not ? > > =C2=A0=C2=A0=C2=A0 ---Mike hi Mike cloudinit is somewhat cryptic. Please post whatever cloud-config or user-data file you're using, what cloud provider, what cloudinit version is in your freebsd image. With the caveat that I've not specifcally used these CLOUDINIT images, here's what I know about cloudinit itself on FreeBSD. For cloudinit to work, you have to have a DataSource that provides user data to cloudinit. Virtualbox or bhyve don't do this automatically. You can test via qemu, or via jail, but you need to set up a DataSource, either on the network, or on the local filesystem (good for testing). Here's a qemu example: https://docs.cloud-init.io/en/latest/howto/run_cloud_init_locally.html For jails, see https://people.freebsd.org/~dch/posts/2024-07-25-cloudini= t/ for details, and let me know if anything is awry. TLDR: install jail, add cloudinit, add 3 files, zfs snapshot, restart ja= il (or restart both dsidentify, and cloudinit) # /usr/local/etc/cloud/cloud.cfg.d/00_nocloud.cfg datasource_list: ['NoCloud'] datasource: NoCloud: seedfrom: file:///root/cloud/ network: config: disabled timeout: 1 # /root/cloud/meta-data empty file or just copy what your cloud issues # /root/cloud/user-data #cloud-config ... your stuff here I have tested all of these against cloud-init-23.3 from ports quarterly: ```yaml #cloud-config # deploy ssh key to primary user # create a new account, one true shell, sudo, join wheel users: - default - name: ansible groups: wheel shell: /bin/sh sudo: 'ALL=3D(ALL) NOPASSWD:ALL' ssh_authorized_keys: - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJZ0cNlRkFRRleUZhFjIZYJ2p7h7= wNWvODGBLEzfSfvr # touch an arbitrary file very early on write_files: - content: | awesome path: /var/tmp/cloudinit_was_here # run an arbitrary command which happens after that bootcmd: - echo excellent | tee -a /var/tmp/cloudinit_was_here # run an arbitrary command later on runcmd: - echo fantastic | tee -a /var/tmp/cloudinit_was_here packages: - www/gurl ``` this gives the expected (sorted) output in /var/tmp/cloudinit_was_here: awesome excellent fantastic latest cloudinit 24.2 also works, but now bootcmd runs before write_file= s, so the above output is missing 'excellent', and there are some issues in handling datasources, because the dsidentify tool that handles that is written in shell, and cannot process valid yaml. In my experience, every cloudinit release has minor breakage. Mina has made extensive progress over the last couple of years improving FreeBSD support, with upstream. We should actively support nuageinit (merci bapt@) in FreeBSD src, which is missing the following features used above: - bootcmd (early cmd) - runcmd (late cmd) - packages - write_files - fetching metadata from e.g. http://169.254.169.254/ style urls [nuageinit]: https://cgit.freebsd.org/src/commit/?id=3D16a6da44e28d [cloudinit]: https://github.com/canonical/cloud-init/issues?q=3Dfreebsd A+ Dave From nobody Fri Jul 26 01:30:30 2024 X-Original-To: freebsd-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 4WVVZ30qZnz5Rjs5 for ; Fri, 26 Jul 2024 01:30:35 +0000 (UTC) (envelope-from theromchip@outlook.com) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10olkn2080a.outbound.protection.outlook.com [IPv6:2a01:111:f403:2804::80a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVVZ20k5Mz4kbL for ; Fri, 26 Jul 2024 01:30:34 +0000 (UTC) (envelope-from theromchip@outlook.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=outlook.com header.s=selector1 header.b=pC6SYhLu; dmarc=pass (policy=none) header.from=outlook.com; spf=pass (mx1.freebsd.org: domain of theromchip@outlook.com designates 2a01:111:f403:2804::80a as permitted sender) smtp.mailfrom=theromchip@outlook.com; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=tevAKnD+uS+oWwY7kNkmAliY29XfTmH7cBf57qhOWZ+PYR1jBQ5aGTdFN8JgfGQ6uwQKP/qC7pto3yHx6oN6AQPEbW4S4UPMKzK2fWd7ElCESwBQEYg0Mjw5aS2EiYZM9RHuGlROJgjRpiZ5FL88V2i9VaPO6T/QOtqyBEWMpJ6xDgaM306gfIBDyt47HwqR+ALMk5qfTsb2j8hVsKCaUxl9I0Wfon029e2mKRn89qpbhA1kcIps8DT0oxMade2F9qZ4KWDeTlluNyM5/m6/6b5lgpjQMzLhAql7dbQV2ho8Pv/3ltE5YclSa0X+s3L9uagX5Ar7jPz1VYEG5uxazQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DUvmF3QUnMwAL/M15XpJpYvn1Nhm8SN+lw8GmIVjKw8=; b=tvwAi8MCcg05PMvpekPbOGKwfAqrrchySLOI8yL4fQo4+hh0YYydnWx1wG0sr9WBpNOCujJZ4cl2qrvLS022HUN40EIVtnxOAb8N7VPwLp2TQstCv6DPg7DExDs9dRhsGaQQ0SUpdSNm0LPZSUb7aPpV/4paalkl7leajAc4Ib56cr438wwSnkpNSSwj79TPMTR/5/XCg8gLQbDEPFBo/cG0PoeBusSqVzq5ZvuvaYO5B4+3rSIuN9LpH6NYdqYG+SkegfoLsP4T8KD7P5sKZp9JKYdvjMjfe31EKZCD4JAwcztfX99GrmByFxrfDdDnyob12lDVyCmkrQh8DvhalA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DUvmF3QUnMwAL/M15XpJpYvn1Nhm8SN+lw8GmIVjKw8=; b=pC6SYhLuTKzKU8b8G13Xuu19/0zu0NH3e2kwaBNhGFKDEjCt4DVNa2GC+M0cxR8Fen/qSHRNgM/ZbE62yrK0CIGcaxLH1k2ZPQrsrkNiejisxHcVGcmotcFbfZSF/QPgb+6sFJCV4y/nZUrNgmVsXqUdR2FnUFSw8Q4z5zasTCBJM0vkFED8hLuiUABUT9VciVy50JXJakKI8HWlMJYb9izDES9m4HQOcmGcPv3wFm4AcJ8+ibC81WKRmZLs9symOi8bTo2m0Va40emlw6Uxj4Ovih11rYakgc5iKjT0fyql+dTNToxBEs3JQ6mmRlZik26GVbnsH2K5OYfeVRr+gg== Received: from MW5PR19MB5627.namprd19.prod.outlook.com (2603:10b6:303:198::6) by CYXPR19MB8401.namprd19.prod.outlook.com (2603:10b6:930:e2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.18; Fri, 26 Jul 2024 01:30:31 +0000 Received: from MW5PR19MB5627.namprd19.prod.outlook.com ([fe80::89df:1ba0:d9e3:c35c]) by MW5PR19MB5627.namprd19.prod.outlook.com ([fe80::89df:1ba0:d9e3:c35c%4]) with mapi id 15.20.7762.027; Fri, 26 Jul 2024 01:30:30 +0000 From: Thomas Covert To: "freebsd-questions@freebsd.org" Subject: I spoke to soon just updated src and compiled it had a panic attack on reboot to install the world but Thread-Topic: I spoke to soon just updated src and compiled it had a panic attack on reboot to install the world but Thread-Index: AQHa3vpp0u3PZSkMXEeUa3vIMNgApg== Date: Fri, 26 Jul 2024 01:30:30 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [dbHBy4z4V/tGPdhWgY0i/05+gRXhkpmY] x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MW5PR19MB5627:EE_|CYXPR19MB8401:EE_ x-ms-office365-filtering-correlation-id: 3d23c288-03dd-43a1-fe1d-08dcad128973 x-microsoft-antispam: BCL:0;ARA:14566002|8060799006|15030799003|461199028|19110799003|440099028|3412199025|102099032; x-microsoft-antispam-message-info: SxAz442VhNTETXKezR6CqSBv57eCb0Co8y5GH4OJQiVUVlgHjfZo0Rq/7LuIEPe9T5ICLqc3/86ZflXW9OIvyRDEiDbUF7YRt50wh2W3G5nqySsmYOANLVNu03IQy1/l/VPtO/eEob5oc4hunJ6tzlM76D9hB5X+kpq7pTmCI3oUYluTr63wUUk+8avXJWMDMx8hMO399xs9IfJsXIpxWuOUz9QqQFyDmo07LHj3HYo9eLK2qbBUFCcgIfZ/rlSXd8xvUPLDBv6YiWbOk00FOX82GwksrAHl0bbtK4oe6t1f5+2uPgbrB61JJ4erT6UpAy5OWZbcjsvmidwayNv4maXp37MPbrTTp5FNYCi5HONM3vCxOMKyJdjG7m3DMv1lPFaf14R91cQeuOJkO5sJyNhnoud1XejjiyPlw+vt5bw2a0y5AKLFCCwhC2hD0kwCPhBwh/g5GnGpjNUPuDhVz+Bcue/8eupvH/yk5kVrYVHcGEPxxIeXiVS25CeD+BL04of3gdUWnCtYiZMGG1UnamtF6Pff8cuVZeQeVdOY9zW8EtpenRNtJ09xLcCJ8tqgGNwnurbMJU1wbKywGP0MejR3VYDO2l7GpaMhbkjLxcdSRbb9w2kjAH6cKww4jTzAyNhOdnxtRV4TNadsIyp/vzDYK6ZTEwZAUpxwrTF5xOuxoLS5w/1uc1nYP1MZ/qnY x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?zAgXmaiw1w7CArRRrHJwm2n5AZxA5+pFDQBpu/7dkmT8k3FI3t9llM8eKi?= =?iso-8859-1?Q?9DHHsX1yEqtf1oaLnk4Loe521nlWoX8H6//Y1SqIhTw24/PxAx5tr7Iuh4?= =?iso-8859-1?Q?BPbzMmjkeIG4WU5NRqwwCPCQDPKQBs2ii4bo0UvBAP9HmmaRbLXRbN9eYs?= =?iso-8859-1?Q?ZjGe4gkMp+uq0Jf6v1GBmtgEOQmajfqtmn0kNwK8nHsyRzp6YTQze8J66W?= =?iso-8859-1?Q?V3ouG1JXmJc/JyZpbEHW+/5eMCWHF1lnUlvYIn5D7eSBvfx7gb8oUwVDSI?= =?iso-8859-1?Q?IZr94BIIHYmso+1JRP7Djt2LOTB3fncJdIoz+MGWoGD4XCF2GLNdU+ZyJA?= =?iso-8859-1?Q?0qiMWCDrPbpmNqM9AojUOVo+oAQtwhaZ32pxsDA74Mm8+H+aNfSUnj0SfX?= =?iso-8859-1?Q?26US4l1B9C5kgFfnVraK0JlxV18hlF42Guog54hrGfR7cakvLtOK8uLN2y?= =?iso-8859-1?Q?GyVxb9Q8vXEVVQjzKAXtcECadKOIqwYkvkmpYxq5ZsQ6gmxcMpb1U5u2M5?= =?iso-8859-1?Q?d2ChNuJTZZd5ZoIFU54ZGHgR60zmB5TnAN00R94SzMasd5aQdP6CNYXQEi?= =?iso-8859-1?Q?SNd6HXs2b15fCbVVB6GnDf+t6ACAw7BACUd60HqQDXcijfaIwgCA09S0Fa?= =?iso-8859-1?Q?nAx7919Tm2LiHcsA11n9EK4RUt8Tsn+Jg15f3hURj2OF3pYOMONF3VVY9f?= =?iso-8859-1?Q?dIv78SSjZst9hxBehYZsrr7IVxMPR+SJFWk66/axR0hHR8lIMyvzChBYwW?= =?iso-8859-1?Q?6xVPJ+SaUVThZLw0dgxSOZQgDRPiFx+r6mu+l1dXAScd1Ea8j22GooKZeZ?= =?iso-8859-1?Q?+Eh+L4eE0ontR53I51y9GMCiUFMJ2/snh0R8ND/a2yzO8b9k+68t4LBgu0?= =?iso-8859-1?Q?N/3/9Wf2+9Vmts+LoQYe2S5IMAMzWZRPrCBNrg+RHSRgzD3njzQ66MBVkV?= =?iso-8859-1?Q?D24hvf/31Doc9Bye8wmMGCG4IDq/TS32NHCZ7rdYpkmUiQ3QEaK0bSEmm1?= =?iso-8859-1?Q?dQz9K03IeW2mjhYW+9ENpRP1cdRFDHw2x3ySGVAJMTGld4VRUV60HoNVJL?= =?iso-8859-1?Q?w2Fl1KnIYoKAATXu1gi8HKfMjCZA1SsoUJBU47ZNEB0GcQ4tq0ZALGWONY?= =?iso-8859-1?Q?kq4XkFvPjsJguOsQLAjzfhgrOId3F+sOTXfMFkMLLFqoIaJgOf/rATTuh4?= =?iso-8859-1?Q?PtRHd4i9B9JflzV2QDIJae3GeUiksxy7kjcCGA+bUvgcN7HrTZWvdGdt9g?= =?iso-8859-1?Q?CPYcEJGCkojDKwhzw+50+DtFB/PXjOQ/jtVwajOkg=3D?= Content-Type: multipart/alternative; boundary="_000_MW5PR19MB56279C345A40380056E6E618C7B42MW5PR19MB5627namp_" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW5PR19MB5627.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 3d23c288-03dd-43a1-fe1d-08dcad128973 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jul 2024 01:30:30.6491 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR19MB8401 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-5.00 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[outlook.com,none]; R_DKIM_ALLOW(-0.20)[outlook.com:s=selector1]; R_SPF_ALLOW(-0.20)[+ip6:2a01:111:f403::/49]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DWL_DNSWL_NONE(0.00)[outlook.com:dkim]; FREEMAIL_ENVFROM(0.00)[outlook.com]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[outlook.com]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:8075, ipnet:2a01:111:f000::/36, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; DKIM_TRACE(0.00)[outlook.com:+] X-Rspamd-Queue-Id: 4WVVZ20k5Mz4kbL --_000_MW5PR19MB56279C345A40380056E6E618C7B42MW5PR19MB5627namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I spoke to soon just updated src 14.1 and compiled it had a panic attack on= reboot to install the world. --_000_MW5PR19MB56279C345A40380056E6E618C7B42MW5PR19MB5627namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I = spoke to soon just updated src 14.1 and compiled it had a panic attack on r= eboot to install the world.
--_000_MW5PR19MB56279C345A40380056E6E618C7B42MW5PR19MB5627namp_-- From nobody Fri Jul 26 13:38:51 2024 X-Original-To: freebsd-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 4WVpkW0Zpjz5S7p7 for ; Fri, 26 Jul 2024 13:38:59 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVpkV5ksYz4l19 for ; Fri, 26 Jul 2024 13:38:58 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; none Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.17.1/8.16.1) with ESMTPS id 46QDcqww074718 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Fri, 26 Jul 2024 09:38:52 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:4a5:8c0e:b143:bf2b] ([IPv6:2607:f3e0:0:4:4a5:8c0e:b143:bf2b]) by pyroxene2a.sentex.ca (8.18.1/8.15.2) with ESMTPS id 46QDcoMK062221 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 26 Jul 2024 09:38:51 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> Date: Fri, 26 Jul 2024 09:38:51 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: cloud init documentation ? To: Dave Cottlehuber Cc: freebsd-questions References: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> Content-Language: en-US From: mike tancsa Autocrypt: addr=mike@sentex.net; keydata= xsBNBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAHNHW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+wsCOBBMBCAA4FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAl+pQfkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQeVOEFl5W rMiN6ggAk3H5vk8QnbvGbb4sinxZt/wDetgk0AOR9NRmtTnPaW+sIJEfGBOz47Xih+f7uWJS j+uvc9Ewn2Z7n8z3ZHJlLAByLVLtcNXGoRIGJ27tevfOaNqgJHBPbFOcXCBBFTx4MYMM4iAZ cDT5vsBTSaM36JZFtHZBKkuFEItbA/N8ZQSHKdTYMIA7A3OCLGbJBqloQ8SlW4MkTzKX4u7R yefAYQ0h20x9IqC5Ju8IsYRFacVZconT16KS81IBceO42vXTN0VexbVF2rZIx3v/NT75r6Vw 0FlXVB1lXOHKydRA2NeleS4NEG2vWqy/9Boj0itMfNDlOhkrA/0DcCurMpnpbM7ATQRcsMzk AQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4axtKRSG1 t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1qzAJweEt RdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6cLm0EiHPO l5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5o9KKu4O7 gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQABwsB2BBgB CAAgFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAl+pQfkCGwwACgkQeVOEFl5WrMiVqwf9GwU8 c6cylknZX8QwlsVudTC8xr/L17JA84wf03k3d4wxP7bqy5AYy7jboZMbgWXngAE/HPQU95NM aukysSnknzoIpC96XZJ0okLBXVS6Y0ylZQ+HrbIhMpuQPoDweoF5F9wKrsHRoDaUK1VR706X rwm4HUzh7Jk+auuMYfuCh0FVlFBEuiJWMLhg/5WCmcRfiuB6F59ZcUQrwLEZeNhF2XJV4KwB Tlg7HCWO/sy1foE5noaMyACjAtAQE9p5kGYaj+DuRhPdWUTsHNuqrhikzIZd2rrcMid+ktb0 NvtvswzMO059z1YGMtGSqQ4srCArju+XHIdTFdiIYbd7+jeehg== In-Reply-To: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.86 on 64.7.153.18 X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-Rspamd-Queue-Id: 4WVpkV5ksYz4l19 On 7/25/2024 6:57 PM, Dave Cottlehuber wrote: > On Wed, 24 Jul 2024, at 19:08, mike tancsa wrote: >> I gave the cloud-init image a spin, but beyond adding some users, I am >> not able to get packages added or even runcmd or bootcmd to execute. >> This is using the FreeBSD-14.1-RELEASE-amd64-BASIC-CLOUDINIT-zfs.raw >> image from the FreeBSD download directory.  Where can I find >> documentation on what is supported ? >> >> Is there also a way to test the config beyond deploying and seeing if it >> works or not ? >> >>     ---Mike > hi Mike > > support, with upstream. > > We should actively support nuageinit (merci bapt@) in FreeBSD src, which > is missing the following features used above: > > - bootcmd (early cmd) > - runcmd (late cmd) > - packages > - write_files > - fetching metadata from e.g. http://169.254.169.254/ style urls > > [nuageinit]: https://cgit.freebsd.org/src/commit/?id=16a6da44e28d > [cloudinit]: https://github.com/canonical/cloud-init/issues?q=freebsd Hi Dave,     Thanks for the detailed response and information!  I think where I run afoul is what has and what does not have CI support. What I have done so far is grab https://download.freebsd.org/releases/VM-IMAGES/14.1-RELEASE/amd64/Latest/FreeBSD-14.1-RELEASE-amd64-BASIC-CLOUDINIT-zfs.raw.xz Create the files  user-data and meta-data #cloud-config users:   - name: root     lock_passwd: false     hashed_passwd: $6$fhi6IHG7nlYk....     ssh_pwauth: true   - name: mike     lock_passwd: true     ssh_authorized_keys:       - ssh-rsa AAAAB3NzaC1....     groups: wheel   - name: alice     lock_passwd: true     passwd: "\*"     ssh_authorized_keys:       - ssh-rsa AAAAB3NzaC1yc2E....     groups: wheel bootcmd:   - service pf enable and meta-data instance-id: freebsd local-hostname: miketestbox Then create  the seed.iso genisoimage -output ./seed.iso -volid cidata -joliet -rock .cloud-init/meta-data .cloud-init/user-data and then run ./vmrun.sh -t tap0 -d FreeBSD-14.1-RELEASE-amd64-BASIC-CLOUDINIT-zfs.raw -i -E -I ./seed.iso -H vm0/host vm0 The lock_passwd does not seem to work, but the passwd: value for alice works well enough.  But I guess thats where my confusion is. I am making use of nuageinit and not cloudinit here it seems. I guess the step I am missing is download the FreeBSD VM image file. Do *something* to it to make it fully cloudinit capable, and then create my full seed.iso file.  What is that something ?  Is that the net/clould-init package you mention in https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/ ?     ---Mike From nobody Fri Jul 26 13:43:51 2024 X-Original-To: freebsd-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 4WVprB5jvmz5S88F for ; Fri, 26 Jul 2024 13:43:54 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVprB53Z7z4mRJ; Fri, 26 Jul 2024 13:43:54 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722001434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9NyjMPvHuIvvwYRDZgHvhMZKgPexxINnK3661QH5K38=; b=ngMd+2Qf76NhJPgiACuKHVKqnhm838xO/BkLf4xmWbQiufzppeCHCjOLPAn/hhzso9uwB3 nv5npy0O8z6aCs3RgFVm015ID4VoCNogdBmRR/HE99JzFdc6VUvj1WK6d6pBTpyZBR4/Wh UcuDpR9lYaaH/t0lERJazZbmBWzTWpGVQEeMcp15aK0FR+fDso2VS7H34wDPnOD3craQFV lk+N+ZVr/9vfL3EC7swgwbNDqHXLGnS2kioVg6t/seMSvgJuyJ6//0AwlAdN2SsdxKRGsP kLOu52A0c9hGhDUP4O7Q8x5BfNVRpsCpMdzMDwVYWXfy2FG+EPV3rJVtNV4Q3w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722001434; a=rsa-sha256; cv=none; b=xbKl66iOZOQtldjaHQVTq2fYcKq3dEtoDxsau2N5fQlHl78ZBmkFv/3dNvipVk1BUGpDgw N5OkN7caTuHugnppeWrk1igDKn5U+saxhMO0khD8ycLy20oygsHpfRGdx/XPQXnvzG1GxP 7SlhY282qbfDynpMH7u8aYmYuuklehHimj7hCnyExPdXlplywLiXEIftsd8OU8eiqLl2M3 OcdFi+KRnlyupnxgVoJ5QClCIyXfys4sgUfWR+suAj300y2vNjk9pd/nqVfEFdljMWWc5D HLnga1Dx0TqfCNd8X1bYCbMjbpxu81igxwgPQUJ1zIB7rACirvJVEOFjNIclSQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722001434; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9NyjMPvHuIvvwYRDZgHvhMZKgPexxINnK3661QH5K38=; b=PQZqEk3qKH6PPQgsJbVdwOPen9l7d4AaWBuKJKjdhSC9LPtoILF+AJqX7Ho2PGgJujrzck y4VBzQ0rv/1pRml/7vGL+8UpLX2BGYBnul16FgGJ26FDn1iDD65p7Ti8O8Qqie2UD4D4cH rbffte84miPXdooZ+dJBrzpN/iCARlMd4Yvt2eaO3o0zYSaIq9z7YwK39A5ShDahldVcOV h75bk7NU69kQf4uTWxsPU47c0H16P9v6SjkeMgHFeGhR0GzaCkN5vf9iLDMEwTPmVdPnqx NpPjzlTP5HN22uyTZ8c31siutVMAQ10ER1KBgartgQGWK+kpUoTSbjL8Ezk4qg== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WVprB45ntzcRl; Fri, 26 Jul 2024 13:43:54 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 0A2B81848FD; Fri, 26 Jul 2024 15:43:52 +0200 (CEST) Date: Fri, 26 Jul 2024 15:43:51 +0200 From: Baptiste Daroussin To: Dan Langille Cc: freebsd-questions@freebsd.org Subject: Re: root shell change to /bin/sh - other associated changes? Message-ID: <4s6gemkyu7itvu43fozba4afuytbraxafdwkfldihoieju6htg@7il3klkq6w3q> References: <22a4e9ca-0b4b-4192-9e8c-1041aba82fe9@app.fastmail.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22a4e9ca-0b4b-4192-9e8c-1041aba82fe9@app.fastmail.com> On Thu 25 Jul 18:34, Dan Langille wrote: > Baptitse, > > I'm trying to understand something which happened at work. The problem is fixed now. I'm trying to understand the possible cause and prepare for the eventual upgrade to 14.1 > > We unintentionally changed root's shell to /bin/sh on a 13.3 host. It broke one of our internal rc.d scripts. Changing the shell back fixed the script. > > too much detail: the rc.d script runs a bash script located in /usr/local/sbin/ - that bash script in turn launches N background ruby processes. The main part of the error: Could not find a JavaScript runtime > > It makes me think the PATH changed to no longer include /usr/local/bin (for example). > > Which makes me think: this is shell related. > > Your commit was https://cgit.freebsd.org/src/commit/etc/master.passwd?h=releng/14.0&id=d410b585b6f00a26c2de7724d6576a3ea7d548b7 > > I intended to ask about other changes made in conjunction with the above, when I realised: it might be as simple as our host having a custom PATH applied to /bin/csh .... I can't check now, I'm at home. > > Thanks. > Nothing regarding how we set the environment to my knowledge, I would have a look at the default profile, cshrc, shrc. Best regards, Bapt From nobody Fri Jul 26 13:59:25 2024 X-Original-To: freebsd-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 4WVqBW4Sx7z5S9H4 for ; Fri, 26 Jul 2024 13:59:47 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fhigh2-smtp.messagingengine.com (fhigh2-smtp.messagingengine.com [103.168.172.153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVqBW1nJ9z4pHq for ; Fri, 26 Jul 2024 13:59:47 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; none Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id D795C114011F; Fri, 26 Jul 2024 09:59:45 -0400 (EDT) Received: from wimap21 ([10.202.2.81]) by compute4.internal (MEProxy); Fri, 26 Jul 2024 09:59:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1722002385; x=1722088785; bh=0KeqsI7vc9qhmiPlGyPgxlCXZm+k1QFc oNQnaOjQRtc=; b=UyUpyfcS0Q+4WDcK/sX4sRvCga7j6ptc2iv++0tRj1opesfm yS0w3Ps0X6MSzVtIPH4wq4JsaRof4lfAgtRE0MORAOfVKeamRvuTvJsEXxywGMNv L1rBf/Dto/eszIh2Zal1WzFl3v1pcf2h2WFExNdX0dSc8Zos44ZqIV8ZhUAWZ5zL +2/RmWvosML/XiHUZt/2AJqr0UAaEK/Z3isogWSXDaa4BVvrpSiEluhcoGU7/ZZS oo7ZwlTs/gZWCVPi8Q8gpWOj8egUycpRW47ZsIJx7nT3gDlBgKVe4zpr6fGcpdBa vfRSEgV94t+2rYnj0LL1t0lWLUhl+QHocjOB4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1722002385; x= 1722088785; bh=0KeqsI7vc9qhmiPlGyPgxlCXZm+k1QFcoNQnaOjQRtc=; b=N 83OlWKi+bt0IjZiqoPoEBK1pXnXqeEjJfNMvY4rSlszEGq6Ok/3hpXngD+e+T/D+ 16BueF8At0hnKxNpqSL5rBaZRGB5MVu7bVzyvdSk7c7YnDmVH+/P9oSCwM74Evw2 rZGf53dNhzDQFXXjlZ9295vQOw8BOOm2xd8ykZAs+m3dkJJl4lyAPMvqQJXUVXEI FDVtBo7xMUpZE23cw9mhERNbNtwUUTE/lfVvlxMAZH3+u/rgHlP94xNtcV9Cc/5S 4qtIIe5Nu5xiy4SHVQHBeznofJRDWNoUgaMvETdX+6uck5Qm5+q4KXwvXH9qObZG XIAqR7yRwtbMpeLiI85Qw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrieehgdejfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedfffgr vhgvucevohhtthhlvghhuhgsvghrfdcuoegutghhsehskhhunhhkfigvrhhkshdrrghtqe enucggtffrrghtthgvrhhnpeegudefveetudfhgeeutefhtdekteettdejgefhtdffiefh ledvffefgfetjeeuudenucffohhmrghinhepfhhrvggvsghsugdrohhrghdpghhithhhuh gsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhepuggthhesshhkuhhnkhifvghrkhhsrdgrthdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8E0E237A0084; Fri, 26 Jul 2024 09:59:45 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-582-g5a02f8850-fm-20240719.002-g5a02f885 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Message-Id: <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> In-Reply-To: <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> References: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> Date: Fri, 26 Jul 2024 13:59:25 +0000 From: "Dave Cottlehuber" To: "Mike Tancsa" Cc: freebsd-questions Subject: Re: cloud init documentation ? Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:209242, ipnet:103.168.172.0/24, country:US] X-Rspamd-Queue-Id: 4WVqBW1nJ9z4pHq On Fri, 26 Jul 2024, at 13:38, mike tancsa wrote: > Hi Dave, > > =C2=A0=C2=A0=C2=A0 Thanks for the detailed response and information!=C2= =A0 I think where I=20 > run afoul is what has and what does not have CI support. What I have=20 > > https://download.freebsd.org/releases/VM-IMAGES/14.1-RELEASE/amd64/Lat= est/FreeBSD-14.1-RELEASE-amd64-BASIC-CLOUDINIT-zfs.raw.xz Aaah https://cgit.freebsd.org/src/tree/release/tools/basic-cloudinit.con= f yes so these enable nuageinit, so you only have the subset of what's in clou= dinit. > Then create=C2=A0 the seed.iso > genisoimage -output ./seed.iso -volid cidata -joliet -rock=20 > .cloud-init/meta-data .cloud-init/user-data if that matches what the qemu doc has, its probably fine. > and then run > ./vmrun.sh -t tap0 -d FreeBSD-14.1-RELEASE-amd64-BASIC-CLOUDINIT-zfs.r= aw=20 > -i -E -I ./seed.iso -H vm0/host vm0 > > The lock_passwd does not seem to work, but the passwd: value for alice=20 > works well enough.=C2=A0 But I guess thats where my confusion is. I am= making=20 > use of nuageinit and not cloudinit here it seems. I think so too. > I guess the step I am missing is download the FreeBSD VM image file. D= o=20 > *something* to it to make it fully cloudinit capable, and then create = my=20 > full seed.iso file.=C2=A0 What is that something ?=C2=A0 Is that the=20 > net/clould-init package you mention in=20 > https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/ ? yep, the image only needs cloud-init package and the service enabled. However, this adds ~ 350MiB of pythonic garbage into your image. Worth noting are the EC2 configs cperciva built: - cloudinit flavoured https://cgit.freebsd.org/src/tree/release/tools/ec= 2-cloud-init.conf - firstboot flavoured https://cgit.freebsd.org/src/tree/release/tools/ec= 2-base.conf the latter uses ec2-scripts which work quite well on non-ec2 with firstb= oot-freebsd-update and firstboot-pkgs. There is support for executing an= archive or similar, I am hazy on the details but https://github.com/cpe= rciva/ec2-scripts has the sources :-) This might be sufficient. A+ Dave From nobody Fri Jul 26 14:45:07 2024 X-Original-To: freebsd-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 4WVrBs3HBdz5SDWj for ; Fri, 26 Jul 2024 14:45:09 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVrBq2yzhz4tyl; Fri, 26 Jul 2024 14:45:07 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; none Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.17.1/8.16.1) with ESMTPS id 46QEj7Zm098430 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Fri, 26 Jul 2024 10:45:07 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:4a5:8c0e:b143:bf2b] ([IPv6:2607:f3e0:0:4:4a5:8c0e:b143:bf2b]) by pyroxene2a.sentex.ca (8.18.1/8.15.2) with ESMTPS id 46QEj6nW082334 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 26 Jul 2024 10:45:06 -0400 (EDT) (envelope-from mike@sentex.net) Content-Type: multipart/alternative; boundary="------------qMWhTLxYDbzAEtgu4Lpy5gEI" Message-ID: <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> Date: Fri, 26 Jul 2024 10:45:07 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: cloud init documentation ? To: Dave Cottlehuber Cc: freebsd-questions References: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> Content-Language: en-US From: mike tancsa Autocrypt: addr=mike@sentex.net; keydata= xsBNBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAHNHW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+wsCOBBMBCAA4FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAl+pQfkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQeVOEFl5W rMiN6ggAk3H5vk8QnbvGbb4sinxZt/wDetgk0AOR9NRmtTnPaW+sIJEfGBOz47Xih+f7uWJS j+uvc9Ewn2Z7n8z3ZHJlLAByLVLtcNXGoRIGJ27tevfOaNqgJHBPbFOcXCBBFTx4MYMM4iAZ cDT5vsBTSaM36JZFtHZBKkuFEItbA/N8ZQSHKdTYMIA7A3OCLGbJBqloQ8SlW4MkTzKX4u7R yefAYQ0h20x9IqC5Ju8IsYRFacVZconT16KS81IBceO42vXTN0VexbVF2rZIx3v/NT75r6Vw 0FlXVB1lXOHKydRA2NeleS4NEG2vWqy/9Boj0itMfNDlOhkrA/0DcCurMpnpbM7ATQRcsMzk AQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4axtKRSG1 t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1qzAJweEt RdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6cLm0EiHPO l5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5o9KKu4O7 gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQABwsB2BBgB CAAgFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAl+pQfkCGwwACgkQeVOEFl5WrMiVqwf9GwU8 c6cylknZX8QwlsVudTC8xr/L17JA84wf03k3d4wxP7bqy5AYy7jboZMbgWXngAE/HPQU95NM aukysSnknzoIpC96XZJ0okLBXVS6Y0ylZQ+HrbIhMpuQPoDweoF5F9wKrsHRoDaUK1VR706X rwm4HUzh7Jk+auuMYfuCh0FVlFBEuiJWMLhg/5WCmcRfiuB6F59ZcUQrwLEZeNhF2XJV4KwB Tlg7HCWO/sy1foE5noaMyACjAtAQE9p5kGYaj+DuRhPdWUTsHNuqrhikzIZd2rrcMid+ktb0 NvtvswzMO059z1YGMtGSqQ4srCArju+XHIdTFdiIYbd7+jeehg== In-Reply-To: <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> X-Scanned-By: MIMEDefang 2.86 on 64.7.153.18 X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-Rspamd-Queue-Id: 4WVrBq2yzhz4tyl This is a multi-part message in MIME format. --------------qMWhTLxYDbzAEtgu4Lpy5gEI Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 7/26/2024 9:59 AM, Dave Cottlehuber wrote: >> I guess the step I am missing is download the FreeBSD VM image file. Do >> *something* to it to make it fully cloudinit capable, and then create my >> full seed.iso file.  What is that something ?  Is that the >> net/clould-init package you mention in >> https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/ ? > yep, the image only needs cloud-init package and the service enabled. > However, this adds ~ 350MiB of pythonic garbage into your image. > > Worth noting are the EC2 configs cperciva built: > > - cloudinit flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf > - firstboot flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf > > the latter uses ec2-scripts which work quite well on non-ec2 with firstboot-freebsd-update and firstboot-pkgs. There is support for executing an archive or similar, I am hazy on the details buthttps://github.com/cperciva/ec2-scripts has the sources :-) > > This might be sufficient. 350M of python fun.... Hmmm. Gonna probably pass on that for this project :)  As much as I would like to standardize I think I will do some combo of the nuageinit and some manual image modifications. Its too bad nuageinit  oesnt have the ability to just run a script at install time as that would take care of a lot of things.  Are there any plans to extend nuageinit in the future ?     ---Mike --------------qMWhTLxYDbzAEtgu4Lpy5gEI Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 7/26/2024 9:59 AM, Dave Cottlehuber wrote:
I guess the step I am missing is download the FreeBSD VM image file. Do 
*something* to it to make it fully cloudinit capable, and then create my 
full seed.iso file.  What is that something ?  Is that the 
net/clould-init package you mention in 
https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/ ?
yep, the image only needs cloud-init package and the service enabled.
However, this adds ~ 350MiB of pythonic garbage into your image.

Worth noting are the EC2 configs cperciva built:

- cloudinit flavoured https://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf
- firstboot flavoured https://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf

the latter uses ec2-scripts which work quite well on non-ec2 with firstboot-freebsd-update and firstboot-pkgs. There is support for executing an archive or similar, I am hazy on the details but https://github.com/cperciva/ec2-scripts has the sources :-)

This might be sufficient.

350M of python fun.... Hmmm. Gonna probably pass on that for this project :)  As much as I would like to standardize I think I will do some combo of the nuageinit and some manual image modifications. Its too bad nuageinit  oesnt have the ability to just run a script at install time as that would take care of a lot of things.  Are there any plans to extend nuageinit in the future ?

    ---Mike



    
--------------qMWhTLxYDbzAEtgu4Lpy5gEI-- From nobody Fri Jul 26 15:26:09 2024 X-Original-To: freebsd-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 4WVs6B54ZFz5SHhb for ; Fri, 26 Jul 2024 15:26:10 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVs6B4CL9z43nV; Fri, 26 Jul 2024 15:26:10 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722007570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jmiYAL3mfsqV2/BQk0HzuA4GnMfZlZpgzmpTJCe9KjI=; b=Jq5PbIYAX4pvnZZKevzXkj4PIKSWPub3y8YhftDO1xWcHK0f1w8bdhwcQ42EzKtI7gdv0S 8tlsjCnTJNa8GtE0FZXIVvOwGOgonbCMDfMmWhV24fofgotHrmA9qvt/FAGYA4CggkcVpt rweC8DXEVwLNH7Va73fWIlw+HbN5sMkxani2blq0eJcefUpwpiw+QXddjjI7SZ8SRu9RA3 Qvg0SrnO7KrE8iOUTYnvt2DEaPVrVkKDlDkdwHx2VLlsSgvnmurBaAxwOH3mhp/0DhnaUg 76Y858QmPEO+xPJX52rEMu5xEOL+yESP6/zhiQtty8cGZC0xwVLF/VZBWNKzkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722007570; a=rsa-sha256; cv=none; b=h9rx9X9FnPKKFcumrjdb8MectuKGueQbuS+eiH0D8NNV0is56OL8O27GUM+nThlWxVbyHU T+FGTb6yQEJbCL8XALjXpvlf6pnpqaQPj+s1dvFZ4XtqK5pqyLZMzBHWWkzJn7NlDO6o1w Nc7jKHN/EUH96uRgH+qXkMIE0/GTy4wEJ70N8iREr19gan2NvkVanuYe9SDb0mTCaOI9D8 62pMplwRyLCl3VuruRqgQDbZEQiOBsAkL6Auz6m/xdpkIAMppsL6CQoP0OwuWuiqrDQTG9 VaoGFn3q2ZKsWBVZzg8g1fo0GKLKS53Az34nbpefqPq2dqkGQ1iZwRymLHaASg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722007570; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jmiYAL3mfsqV2/BQk0HzuA4GnMfZlZpgzmpTJCe9KjI=; b=GIDtI8iPgaKJ3xGXFMyBdDg+xO1EeuQoLZ3x5Rh/IqDQ4voN3+ZzgSs8wBGOV2Zcc28aJ3 Uaddz/PjljFKizg7RRapxhtKMqjWk9hY1AK6hCyrRO1CZTRfGyC8sK+W6+XdniBiVKSECk ICq1p4mLuCwgXD7Vtuym7UO5sjBaAnts4eJJaCYR2TpASYsC3O4RlzhG9mTGPdChbfuDA1 0fkmPLKVlpkxwB6eSfDdT9dcTxbEnDQmXBa3U+kb0NkPJLli8Edcbr53op9vqKdSyn2rst ZtsBAdnjREMdoN93LG5fO3q5fzSUUE5GyJD+m6KpvNp1vYYbwiDVX6NFVQonvw== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WVs6B36V3zgkj; Fri, 26 Jul 2024 15:26:10 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id 31D74184E95; Fri, 26 Jul 2024 17:26:09 +0200 (CEST) Date: Fri, 26 Jul 2024 17:26:09 +0200 From: Baptiste Daroussin To: mike tancsa Cc: Dave Cottlehuber , freebsd-questions Subject: Re: cloud init documentation ? Message-ID: References: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> On Fri 26 Jul 10:45, mike tancsa wrote: > On 7/26/2024 9:59 AM, Dave Cottlehuber wrote: > > > I guess the step I am missing is download the FreeBSD VM image file. Do > > > *something* to it to make it fully cloudinit capable, and then create my > > > full seed.iso file. What is that something ? Is that the > > > net/clould-init package you mention in > > > https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/ ? > > yep, the image only needs cloud-init package and the service enabled. > > However, this adds ~ 350MiB of pythonic garbage into your image. > > > > Worth noting are the EC2 configs cperciva built: > > > > - cloudinit flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf > > - firstboot flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf > > > > the latter uses ec2-scripts which work quite well on non-ec2 with firstboot-freebsd-update and firstboot-pkgs. There is support for executing an archive or similar, I am hazy on the details buthttps://github.com/cperciva/ec2-scripts has the sources :-) > > > > This might be sufficient. > > 350M of python fun.... Hmmm. Gonna probably pass on that for this project > :) As much as I would like to standardize I think I will do some combo of > the nuageinit and some manual image modifications. Its too bad nuageinit > oesnt have the ability to just run a script at install time as that would > take care of a lot of things. Are there any plans to extend nuageinit in > the future ? I must have missed part of the discussion, so I don't catch what is missing in nuageinit, but nuageinit should be able to work exactly as cloudinit is working, so if something is missing, yes we can extend nuageinit to support it. Best regards, Bapt From nobody Fri Jul 26 15:37:44 2024 X-Original-To: freebsd-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 4WVsMY0f1mz5SJq4 for ; Fri, 26 Jul 2024 15:37:45 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVsMX5swNz45QX; Fri, 26 Jul 2024 15:37:44 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; none Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.17.1/8.16.1) with ESMTPS id 46QFbiWT018206 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Fri, 26 Jul 2024 11:37:45 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:4a5:8c0e:b143:bf2b] ([IPv6:2607:f3e0:0:4:4a5:8c0e:b143:bf2b]) by pyroxene2a.sentex.ca (8.18.1/8.15.2) with ESMTPS id 46QFbhBs098502 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 26 Jul 2024 11:37:43 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <2980ab32-0a58-433b-9bc5-f045917baace@sentex.net> Date: Fri, 26 Jul 2024 11:37:44 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: cloud init documentation ? To: Baptiste Daroussin Cc: Dave Cottlehuber , freebsd-questions References: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> Content-Language: en-US From: mike tancsa Autocrypt: addr=mike@sentex.net; keydata= xsBNBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAHNHW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+wsCOBBMBCAA4FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAl+pQfkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQeVOEFl5W rMiN6ggAk3H5vk8QnbvGbb4sinxZt/wDetgk0AOR9NRmtTnPaW+sIJEfGBOz47Xih+f7uWJS j+uvc9Ewn2Z7n8z3ZHJlLAByLVLtcNXGoRIGJ27tevfOaNqgJHBPbFOcXCBBFTx4MYMM4iAZ cDT5vsBTSaM36JZFtHZBKkuFEItbA/N8ZQSHKdTYMIA7A3OCLGbJBqloQ8SlW4MkTzKX4u7R yefAYQ0h20x9IqC5Ju8IsYRFacVZconT16KS81IBceO42vXTN0VexbVF2rZIx3v/NT75r6Vw 0FlXVB1lXOHKydRA2NeleS4NEG2vWqy/9Boj0itMfNDlOhkrA/0DcCurMpnpbM7ATQRcsMzk AQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4axtKRSG1 t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1qzAJweEt RdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6cLm0EiHPO l5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5o9KKu4O7 gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQABwsB2BBgB CAAgFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAl+pQfkCGwwACgkQeVOEFl5WrMiVqwf9GwU8 c6cylknZX8QwlsVudTC8xr/L17JA84wf03k3d4wxP7bqy5AYy7jboZMbgWXngAE/HPQU95NM aukysSnknzoIpC96XZJ0okLBXVS6Y0ylZQ+HrbIhMpuQPoDweoF5F9wKrsHRoDaUK1VR706X rwm4HUzh7Jk+auuMYfuCh0FVlFBEuiJWMLhg/5WCmcRfiuB6F59ZcUQrwLEZeNhF2XJV4KwB Tlg7HCWO/sy1foE5noaMyACjAtAQE9p5kGYaj+DuRhPdWUTsHNuqrhikzIZd2rrcMid+ktb0 NvtvswzMO059z1YGMtGSqQ4srCArju+XHIdTFdiIYbd7+jeehg== In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.86 on 64.7.153.18 X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-Rspamd-Queue-Id: 4WVsMX5swNz45QX On 7/26/2024 11:26 AM, Baptiste Daroussin wrote: > On Fri 26 Jul 10:45, mike tancsa wrote: >> On 7/26/2024 9:59 AM, Dave Cottlehuber wrote: >>>> I guess the step I am missing is download the FreeBSD VM image file. Do >>>> *something* to it to make it fully cloudinit capable, and then create my >>>> full seed.iso file.  What is that something ?  Is that the >>>> net/clould-init package you mention in >>>> https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/ ? >>> yep, the image only needs cloud-init package and the service enabled. >>> However, this adds ~ 350MiB of pythonic garbage into your image. >>> >>> Worth noting are the EC2 configs cperciva built: >>> >>> - cloudinit flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf >>> - firstboot flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf >>> >>> the latter uses ec2-scripts which work quite well on non-ec2 with firstboot-freebsd-update and firstboot-pkgs. There is support for executing an archive or similar, I am hazy on the details buthttps://github.com/cperciva/ec2-scripts has the sources :-) >>> >>> This might be sufficient. >> 350M of python fun.... Hmmm. Gonna probably pass on that for this project >> :)  As much as I would like to standardize I think I will do some combo of >> the nuageinit and some manual image modifications. Its too bad nuageinit >> oesnt have the ability to just run a script at install time as that would >> take care of a lot of things.  Are there any plans to extend nuageinit in >> the future ? > I must have missed part of the discussion, so I don't catch what is missing in > nuageinit, but nuageinit should be able to work exactly as cloudinit is working, > so if something is missing, yes we can extend nuageinit to support it. Hi,     I was hoping to add packages as well as run custom commands via bootcmd:     ---Mike From nobody Fri Jul 26 15:42:19 2024 X-Original-To: freebsd-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 4WVsSr68jnz5SJgR for ; Fri, 26 Jul 2024 15:42:20 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVsSr5jy2z46gx; Fri, 26 Jul 2024 15:42:20 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722008540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hSV6OwRZGKAcaW2Y+0vkRO++kPK9GZPtIzsLjgrJzWY=; b=fZ7YjHTdx34iiCNc/9kh4T2diTrvcOi9iizOcadbHbbnVR2SHnkxWEmdureiKucXZmyaeq lyqx6OXLBHJcOjbtpOruAtyJGIE4yRyJtilXmvTAcsKtstcq4AQFDqmcBkRVh0uzkSfPxs BKj5rETqG6amxVOmCq7aBhDkAaoP8y6eThBu4V9yRIuHEEM3p+Kz94wpr3gsFhcM+TAX8V Ekvjud/8qZvWKQ4ybaNu0HLlG/VSp7b4BJP6tyda6IS4Wok69z+QI9x2OLLrfEZKkwHdSk AyE1DgWyuIpzpzPCmll+XZgTfbB2a9PUIOS2Yxtw+11978VyxFfVQkfe8XD84w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722008540; a=rsa-sha256; cv=none; b=Pz0iIRr8etXd1f5F6kY8ogBpCIPOQDTNxmcQAo6MlcBbivmWN6/kuDPhy1FAupIw7sbecv FipSzWZRLkBRko8/eADWoYX7t74EhiiG5VmU3gI7/d3RGNWQ1S6RwZHo03p8WEtLJ9CCDb yYl34f6SYckItS5f4rWx0LG6pl64y0ZJRvA/Qid1yoz1d43BEsjYuWnyvHiBsybaVV93BU ngsxD2VjKoFRdN1/Gja2QKaC1JYDoYqULlWKiNN5lqxvvz6MzJx1XImg2kzR2uK2e/0RHM Y0cN28TMwq123/tlD94P1h/T9BYLfyN6cys4HdYaGxPT+/fPzVgYmwxzBNSUtg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722008540; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=hSV6OwRZGKAcaW2Y+0vkRO++kPK9GZPtIzsLjgrJzWY=; b=HM83ZB3pqkhhB3N06HvQPpxqIkF/iePmZsxP4qRAH3JrkCAnm9Q273BDVbG0nClKAqtOWR 4A5xlwq04mCXOauqmIKyOC9l066uA6MXeTuvj8Im3eTo3RP2Z+Wp4lBAiSuZiR8pDe5+PE prne5o1ddQTNz6ZdFhTPTHfT1C3bV1wj2UbP4m0QRVnDNdqafczmDMySZ5+z11ton2P3pa 9MtiNyC41W57+XWHeHd0IjBwC5iHIwwt51iK2VsXUzhBEljda/YgUiQNYulOMGewZMTY+Z OmR2F+5wV4aAZXx8Pw9S1TkqYoIuQwQlqWe/a9iQB7X7ePeOY4v0L+MYqTDFZw== Received: from aniel.nours.eu (nours.eu [176.31.115.77]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4WVsSr4nDkzh42; Fri, 26 Jul 2024 15:42:20 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by aniel.nours.eu (Postfix, from userid 1001) id A8A43184B41; Fri, 26 Jul 2024 17:42:19 +0200 (CEST) Date: Fri, 26 Jul 2024 17:42:19 +0200 From: Baptiste Daroussin To: mike tancsa Cc: Dave Cottlehuber , freebsd-questions Subject: Re: cloud init documentation ? Message-ID: References: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> <2980ab32-0a58-433b-9bc5-f045917baace@sentex.net> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2980ab32-0a58-433b-9bc5-f045917baace@sentex.net> On Fri 26 Jul 11:37, mike tancsa wrote: > On 7/26/2024 11:26 AM, Baptiste Daroussin wrote: > > On Fri 26 Jul 10:45, mike tancsa wrote: > > > On 7/26/2024 9:59 AM, Dave Cottlehuber wrote: > > > > > I guess the step I am missing is download the FreeBSD VM image file. Do > > > > > *something* to it to make it fully cloudinit capable, and then create my > > > > > full seed.iso file. What is that something ? Is that the > > > > > net/clould-init package you mention in > > > > > https://people.freebsd.org/~dch/posts/2024-07-25-cloudinit/ ? > > > > yep, the image only needs cloud-init package and the service enabled. > > > > However, this adds ~ 350MiB of pythonic garbage into your image. > > > > > > > > Worth noting are the EC2 configs cperciva built: > > > > > > > > - cloudinit flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-cloud-init.conf > > > > - firstboot flavouredhttps://cgit.freebsd.org/src/tree/release/tools/ec2-base.conf > > > > > > > > the latter uses ec2-scripts which work quite well on non-ec2 with firstboot-freebsd-update and firstboot-pkgs. There is support for executing an archive or similar, I am hazy on the details buthttps://github.com/cperciva/ec2-scripts has the sources :-) > > > > > > > > This might be sufficient. > > > 350M of python fun.... Hmmm. Gonna probably pass on that for this project > > > :) As much as I would like to standardize I think I will do some combo of > > > the nuageinit and some manual image modifications. Its too bad nuageinit > > > oesnt have the ability to just run a script at install time as that would > > > take care of a lot of things. Are there any plans to extend nuageinit in > > > the future ? > > I must have missed part of the discussion, so I don't catch what is missing in > > nuageinit, but nuageinit should be able to work exactly as cloudinit is working, > > so if something is missing, yes we can extend nuageinit to support it. > > Hi, > > I was hoping to add packages as well as run custom commands via bootcmd: I haven't implemented it yet because it is os per os and nothing standard in cloudinit for packages, but yes this is something that could/should implemented for sure! About the execution of command I have nothing against as well. Best regards, Bapt From nobody Fri Jul 26 15:46:42 2024 X-Original-To: freebsd-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 4WVsYt07ZDz5SJvY for ; Fri, 26 Jul 2024 15:46:42 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smarthost1.sentex.ca", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WVsYs6Z3zz485N; Fri, 26 Jul 2024 15:46:41 +0000 (UTC) (envelope-from mike@sentex.net) Authentication-Results: mx1.freebsd.org; none Received: from pyroxene2a.sentex.ca (pyroxene19.sentex.ca [199.212.134.19]) by smarthost1.sentex.ca (8.17.1/8.16.1) with ESMTPS id 46QFkgmU020954 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Fri, 26 Jul 2024 11:46:42 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4:4a5:8c0e:b143:bf2b] ([IPv6:2607:f3e0:0:4:4a5:8c0e:b143:bf2b]) by pyroxene2a.sentex.ca (8.18.1/8.15.2) with ESMTPS id 46QFkelV001302 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Fri, 26 Jul 2024 11:46:41 -0400 (EDT) (envelope-from mike@sentex.net) Content-Type: multipart/alternative; boundary="------------0KxmoPccxICksD1n8qAfqCST" Message-ID: <5d45ff3f-19fb-46e8-a480-03b128439c37@sentex.net> Date: Fri, 26 Jul 2024 11:46:42 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: cloud init documentation ? To: Baptiste Daroussin Cc: Dave Cottlehuber , freebsd-questions References: <841999d9-7e4a-41c1-93b9-c927f28ed41a@app.fastmail.com> <3a161d6a-8941-4eb9-a532-1f82d3db99f9@sentex.net> <337fe5a5-2af2-41a2-859d-c4a3df64eccf@app.fastmail.com> <94f3d34b-f648-452c-964c-213a4b26e20a@sentex.net> <2980ab32-0a58-433b-9bc5-f045917baace@sentex.net> Content-Language: en-US From: mike tancsa Autocrypt: addr=mike@sentex.net; keydata= xsBNBFywzOMBCACoNFpwi5MeyEREiCeHtbm6pZJI/HnO+wXdCAWtZkS49weOoVyUj5BEXRZP xflV2ib2hflX4nXqhenaNiia4iaZ9ft3I1ebd7GEbGnsWCvAnob5MvDZyStDAuRxPJK1ya/s +6rOvr+eQiXYNVvfBhrCfrtR/esSkitBGxhUkBjOti8QwzD71JVF5YaOjBAs7jZUKyLGj0kW yDg4jUndudWU7G2yc9GwpHJ9aRSUN8e/mWdIogK0v+QBHfv/dsI6zVB7YuxCC9Fx8WPwfhDH VZC4kdYCQWKXrm7yb4TiVdBh5kgvlO9q3js1yYdfR1x8mjK2bH2RSv4bV3zkNmsDCIxjABEB AAHNHW1pa2UgdGFuY3NhIDxtaWtlQHNlbnRleC5uZXQ+wsCOBBMBCAA4FiEEmuvCXT0aY6hs 4SbWeVOEFl5WrMgFAl+pQfkCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AACgkQeVOEFl5W rMiN6ggAk3H5vk8QnbvGbb4sinxZt/wDetgk0AOR9NRmtTnPaW+sIJEfGBOz47Xih+f7uWJS j+uvc9Ewn2Z7n8z3ZHJlLAByLVLtcNXGoRIGJ27tevfOaNqgJHBPbFOcXCBBFTx4MYMM4iAZ cDT5vsBTSaM36JZFtHZBKkuFEItbA/N8ZQSHKdTYMIA7A3OCLGbJBqloQ8SlW4MkTzKX4u7R yefAYQ0h20x9IqC5Ju8IsYRFacVZconT16KS81IBceO42vXTN0VexbVF2rZIx3v/NT75r6Vw 0FlXVB1lXOHKydRA2NeleS4NEG2vWqy/9Boj0itMfNDlOhkrA/0DcCurMpnpbM7ATQRcsMzk AQgA1Dpo/xWS66MaOJLwA28sKNMwkEk1Yjs+okOXDOu1F+0qvgE8sVmrOOPvvWr4axtKRSG1 t2QUiZ/ZkW/x/+t0nrM39EANV1VncuQZ1ceIiwTJFqGZQ8kb0+BNkwuNVFHRgXm1qzAJweEt RdsCMohB+H7BL5LGCVG5JaU0lqFU9pFP40HxEbyzxjsZgSE8LwkI6wcu0BLv6K6cLm0EiHPO l5G8kgRi38PS7/6s3R8QDsEtbGsYy6O82k3zSLIjuDBwA9GRaeigGppTxzAHVjf5o9KKu4O7 gC2KKVHPegbXS+GK7DU0fjzX57H5bZ6komE5eY4p3oWT/CwVPSGfPs8jOwARAQABwsB2BBgB CAAgFiEEmuvCXT0aY6hs4SbWeVOEFl5WrMgFAl+pQfkCGwwACgkQeVOEFl5WrMiVqwf9GwU8 c6cylknZX8QwlsVudTC8xr/L17JA84wf03k3d4wxP7bqy5AYy7jboZMbgWXngAE/HPQU95NM aukysSnknzoIpC96XZJ0okLBXVS6Y0ylZQ+HrbIhMpuQPoDweoF5F9wKrsHRoDaUK1VR706X rwm4HUzh7Jk+auuMYfuCh0FVlFBEuiJWMLhg/5WCmcRfiuB6F59ZcUQrwLEZeNhF2XJV4KwB Tlg7HCWO/sy1foE5noaMyACjAtAQE9p5kGYaj+DuRhPdWUTsHNuqrhikzIZd2rrcMid+ktb0 NvtvswzMO059z1YGMtGSqQ4srCArju+XHIdTFdiIYbd7+jeehg== In-Reply-To: X-Scanned-By: MIMEDefang 2.86 on 64.7.153.18 X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:11647, ipnet:2607:f3e0::/32, country:CA] X-Rspamd-Queue-Id: 4WVsYs6Z3zz485N This is a multi-part message in MIME format. --------------0KxmoPccxICksD1n8qAfqCST Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 7/26/2024 11:42 AM, Baptiste Daroussin wrote: > I haven't implemented it yet because it is os per os and nothing > standard in > cloudinit for packages, but yes this is something that could/should implemented > for sure! > > About the execution of command I have nothing against as well. > That would be most welcome!  To be honest, just having the bootcmd would allow pretty well any scenario at that point, including installing packages etc.     ---Mike --------------0KxmoPccxICksD1n8qAfqCST Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
On 7/26/2024 11:42 AM, Baptiste Daroussin wrote:
I haven't implemented it yet because it is os per os and nothing standard in
cloudinit for packages, but yes this is something that could/should implemented
for sure!

About the execution of command I have nothing against as well.

That would be most welcome!  To be honest, just having the bootcmd would allow pretty well any scenario at that point, including installing packages etc.

    ---Mike



    
--------------0KxmoPccxICksD1n8qAfqCST-- From nobody Sat Jul 27 07:51:12 2024 X-Original-To: freebsd-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 4WWGys0tnCz5Rd3Z for ; Sat, 27 Jul 2024 07:51:17 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WWGyr03Jfz4qH2 for ; Sat, 27 Jul 2024 07:51:15 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de Received: from [62.216.207.7] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sXcCv-00FndJ-BT for freebsd-questions@freebsd.org; Sat, 27 Jul 2024 09:51:13 +0200 Received: from localhost.my.domain (c720-1400094 [127.0.0.1]) by localhost.unixarea.de (8.17.1/8.14.9) with ESMTP id 46R7pCv6002501 for ; Sat, 27 Jul 2024 09:51:12 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.17.1/8.14.9/Submit) id 46R7pCFv002500 for freebsd-questions@freebsd.org; Sat, 27 Jul 2024 09:51:12 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 27 Jul 2024 09:51:12 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Add two RSA keys to ssh-agent Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: freebsd-questions@freebsd.org List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails in HTML will not be read! Please, only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 62.216.207.7 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; RWL_MAILSPIKE_GOOD(-0.10)[178.254.4.101:from]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; ARC_NA(0.00)[]; DMARC_NA(0.00)[unixarea.de]; RCPT_COUNT_ONE(0.00)[1]; HAS_XAW(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; HAS_REPLYTO(0.00)[guru@unixarea.de]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; HAS_XOIP(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4WWGyr03Jfz4qH2 Hello, I have two RSA keys (~/.ssh/id_rsa and ~/.ssh/4kid_rsa) which has to do with the transition from my old (2011) 1024-bits to a now 4096-bits key. During login I add both via ~/.profile to the agent with ... # ssh-agent # test -f ~/.sshrc && . ~/.sshrc # let's see if we really have some ssh-agent, if not launch one # ssh-add -l > /dev/null || { ssh-agent > ~/.sshrc ; . ~/.sshrc ; ssh-add ; ssh-add ~/.ssh/4kid_rsa } ... This asks me twice for the passphrase, i.e. for each of the keys. Both keys have the same passphrase. Is there a way to ask only once and use the same passphrase for both ssh-add calls? Thanks matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland. From nobody Sat Jul 27 11:34:58 2024 X-Original-To: freebsd-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 4WWMx61cYdz5Ryhb; Sat, 27 Jul 2024 11:35:06 +0000 (UTC) (envelope-from alexey@hotmail.fi) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2057.outbound.protection.outlook.com [40.92.90.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WWMx50yBPz57SP; Sat, 27 Jul 2024 11:35:04 +0000 (UTC) (envelope-from alexey@hotmail.fi) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of alexey@hotmail.fi designates 40.92.90.57 as permitted sender) smtp.mailfrom=alexey@hotmail.fi; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Tzi/NXWheclvubsqQalZqwB84V2T4IhcgMgDGZRYjK0khe+5nxssoOvZqrdbTmtpUmpZn/EvfQYhK4jIigUOhzilbdpOPIF6VzCegJ8dJOl0YmAN54TKKWenkJLk3UifTNKxc1pXgU35FeEjojdWI4jrREO6PlrjME0CaD6ATr0AP0UQkYigAnYtTbkqFdyD0DNULm+9PwogpBqR7Rwlcq5b/TF9ek7XoY55a7KuFsZPSoLtDppEm5wr1bEb0jwCJMCh/7mczUQW+fZ9dRv2MgCUxiPrr0UJMWpp6AdEBo6K8Zm8WEWmr0QMYVvROYHiHb41Wj4usYsNX9hE+1S/ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=H2595+vw7Adfh+EO7J9PDqyJ20WFCmfn03qy2sV0scs=; b=WSsVBOv9qKUwlJke32BaYATReTvlq0aU/rnHWMkEIBsowr4ToRrV7GXUoRahjM4YdcAUz1dBtxagrUJJUOCjsRJLe8IaFkepOOevNpvDPSjTapN9vS5ixTgews1jxlX9ZP67Ft4ovXZijSP+Ddg2gR/u4m5TTtb9zMj7N5HFddPPf1/CkEG2uJaUpQUBuHJBrqef9bJPic2FT0d8VnIx1KBfu51oTkNG7lHDXttbgArvM3lzfJnCa4a8eV8VWKhxcPSfRXnEg8qTuI8Sgiq423HKlS2RhD7t45EZOg3u1KSdXjqVZ6WiOTPT3Vxrf8wk2XaEzoNgMbuYNw4zcOjQ8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from PAVPR08MB9506.eurprd08.prod.outlook.com (2603:10a6:102:314::13) by AS2PR08MB8901.eurprd08.prod.outlook.com (2603:10a6:20b:5f0::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.29; Sat, 27 Jul 2024 11:35:01 +0000 Received: from PAVPR08MB9506.eurprd08.prod.outlook.com ([fe80::99ec:e463:6c03:e19e]) by PAVPR08MB9506.eurprd08.prod.outlook.com ([fe80::99ec:e463:6c03:e19e%6]) with mapi id 15.20.7784.020; Sat, 27 Jul 2024 11:35:01 +0000 Date: Sat, 27 Jul 2024 14:34:58 +0300 From: Alexey Vyskubov To: questions@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Add two RSA keys to ssh-agent Message-ID: Mail-Followup-To: questions@freebsd.org, freebsd-questions@freebsd.org References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TMN: [TWf0SVGgp6t/3ElSSN96XIVFBh6soxQp] X-ClientProxiedBy: MM0P280CA0015.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:a::20) To PAVPR08MB9506.eurprd08.prod.outlook.com (2603:10a6:102:314::13) X-Microsoft-Original-Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Sender: Alexey Vyskubov X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAVPR08MB9506:EE_|AS2PR08MB8901:EE_ X-MS-Office365-Filtering-Correlation-Id: fa7efb42-e8af-46cb-2bfc-08dcae302696 X-Microsoft-Antispam: BCL:0;ARA:14566002|461199028|5072599006|8060799006|19110799003|3412199025|440099028; X-Microsoft-Antispam-Message-Info: 43wh/DmvOfTzH5WPHhH/CM5/i+hY2h6o2A0jUUD2mn/WPoT4914SZ84IFP4o1YhIvQ9kE/Y8U0cQGQWz2ZSdMYXnTwiD+xVPmgfkHP+4TCHKaY8f1ZgRw+/qYIU91ocVNT61uNMP39LtAQMYDOF1EyK8cgB8mCcy5dta/ORdiwL/OSkvhNv9BGV4ajfI86W9n5kGMAVjDi67865jRuiN/boo16hbD/cwJxk+NuTeFhH8TvliEX+Cal7fM5s6a3pdnCf/2JUhm9kZNwHRcvWH8YTVt4lrDJeY6RYShI5ixdw+FaZ//jBH6NKARkaR2Dn5NSXZVWMouoxdzD8WH2m8Nd7wFwvIhPrzP/SVBuxqVGm0u/AvIXhS3MnNod/wk6M+kL3BPPSKLY/5h52N1vpHByIqzMD9Ne2txxSy9VKL45Y+XYqJIrvhg6DigehPyVCAOYtLH/zbvHf+9kFl/sRi2/IE4x27yWgnuQP2QRVC8lixdC8G/M5Kn+TTzLNGADxtJgX2rcYonvxRD1f5wGipfjGgds7mThXy0x5JkUI0FNn0nbb476Ezy0Radj2B06aO0VdYT7YfN6+Su1LnPdHM5PnpIaGeshfFlb6KwJXXqsYNGlejSYXLSQ3VE8wIKtr35wksLcM6HF8t0mbfMV1k+ksKyjH1KgUGt2h3fTAD45I= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?0C23zFZAO48Y04cJE9qjx1TBtv8TpWvxcIhiXUH/PjPMJ6BOg6YpVC8kz7cz?= =?us-ascii?Q?CQnK/XO1iA5UWhp6BNzL0msBm/++D/dviZ+vfGK42BXXXTEHbnPi0wGqS3Ru?= =?us-ascii?Q?APAQfOwlASPd3QdUXPMVKbuORcaS9mJF/ozSLX+GjaM5ba5nW6aX7UsKlb2Q?= =?us-ascii?Q?//BKqaNK1I3AzSI4MOJjkZp+d9MD74AENOWfjsj69sta79IIuINJZ1087hRd?= =?us-ascii?Q?ercUcKoWokomQ37MXmuIqbz3pa6ZDL7S+yGPIv/3IiovfullboZ7Cm54cpr0?= =?us-ascii?Q?CJ851s8dYYzKZOA7TsUJY89QTJGDWfTVSgRxoYsBqpDp0dghyLWH0m+hD7eP?= =?us-ascii?Q?p/oQuAju77sJg6WFW0oEwuoOS68xwq1uuSitHwj1rV0rB6k0MzGB3h6UIXPY?= =?us-ascii?Q?yjMJG4mCscGpHdoOepIPXYG/XSCi0tgA3MnQmyKT2o7n5Krcmme2Q3e8Hr89?= =?us-ascii?Q?4SNOBptyW7EBbHyQ8N0bZcMbNroYpWMLzVzAhqsI3uQdCXQkRNsNa2gqdZ9Q?= =?us-ascii?Q?u2WQEAjArh6fimRWwwl3gnoNH38zCWZxWxXHna+pqgBCzhUKskxXa0tAenQQ?= =?us-ascii?Q?EyHML4moEsWVWzjG/clEyynGWzphYtnhZvLVda8hICkm0F3wnVFYpE3nqYoN?= =?us-ascii?Q?wIDtqFkCOxOaKvWauKEz7dGHe4WBG1lB+IySYcaFwCdJXkkkR/N1fav4Mm4U?= =?us-ascii?Q?z6P3wRxO8qZs7BgIZmoHIulwQG+DOvdAXp9ykWYGtDBEGUhSYTdTp1nnkcca?= =?us-ascii?Q?x8vJAOnABrnLkNAjFDEMs/OSClRUincWIIjTbAnYMq/KPswF6LmkHSlS7DF2?= =?us-ascii?Q?TtvDvkLwBd9tEgZaFw7rRxaJPzxqTHlaIKZJZUspot2t2fmMPYUtXYCwx6be?= =?us-ascii?Q?KNJ4SS+gIWxqr9/8fIWuePuvmtUdalTS/QxudiE2Ij5BeDnJBzqYDYezZ9Jn?= =?us-ascii?Q?vHyD5kE+tArOEzo7T+3karxEbGOpKJzB3XeYLNrfl9u+PXhXNJCBHpMD3VZO?= =?us-ascii?Q?+11VFGb1WUq3HewjrsVpEUR4wjpGd59K3wW6F3Vx3HvkwEIlQ/FLo5oLup59?= =?us-ascii?Q?F3aMgHB/QWKv2aW6ENQEfUY9IVfJPUJMaD5/Tqy9F5/pd6h+4sBeYMQqiV2C?= =?us-ascii?Q?QZzuHRvnACxtg2l2A1B97VNWhDtW8x/nb2G+DoYXQ19ltyz8SLdp5g9Dv6PF?= =?us-ascii?Q?dt3fISWE68txFNrpWCJZBhc1ETMCy6nfBKeRdShbXLTRcUh4neyjftHRZj4?= =?us-ascii?Q?=3D?= X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-de33f.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: fa7efb42-e8af-46cb-2bfc-08dcae302696 X-MS-Exchange-CrossTenant-AuthSource: PAVPR08MB9506.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2024 11:35:01.1774 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8901 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.84 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.96)[-0.960]; NEURAL_HAM_MEDIUM(-0.88)[-0.877]; FORGED_SENDER(0.30)[alexey@pentode.fi,alexey@hotmail.fi]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.90.57:from]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[alexey]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[questions@freebsd.org,freebsd-questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[alexey@pentode.fi,alexey@hotmail.fi]; R_DKIM_NA(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[pentode.fi]; RCVD_IN_DNSWL_NONE(0.00)[40.92.90.57:from] X-Rspamd-Queue-Id: 4WWMx50yBPz57SP On Sat, Jul 27, 2024 at 09:51:12AM UTC, Matthias Apitz wrote: > Is there a way to ask only once and use the same passphrase for both > ssh-add calls? Try ssh-add (as one command). -- Alexey I cannot receive HTML mail at this account. Hi, I am a signature virus. Add me to your signature to help me spread. From nobody Sat Jul 27 11:34:58 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 4WWMx61cYdz5Ryhb; Sat, 27 Jul 2024 11:35:06 +0000 (UTC) (envelope-from alexey@hotmail.fi) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2057.outbound.protection.outlook.com [40.92.90.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "DigiCert Cloud Services CA-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WWMx50yBPz57SP; Sat, 27 Jul 2024 11:35:04 +0000 (UTC) (envelope-from alexey@hotmail.fi) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of alexey@hotmail.fi designates 40.92.90.57 as permitted sender) smtp.mailfrom=alexey@hotmail.fi; arc=pass ("microsoft.com:s=arcselector10001:i=1") ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Tzi/NXWheclvubsqQalZqwB84V2T4IhcgMgDGZRYjK0khe+5nxssoOvZqrdbTmtpUmpZn/EvfQYhK4jIigUOhzilbdpOPIF6VzCegJ8dJOl0YmAN54TKKWenkJLk3UifTNKxc1pXgU35FeEjojdWI4jrREO6PlrjME0CaD6ATr0AP0UQkYigAnYtTbkqFdyD0DNULm+9PwogpBqR7Rwlcq5b/TF9ek7XoY55a7KuFsZPSoLtDppEm5wr1bEb0jwCJMCh/7mczUQW+fZ9dRv2MgCUxiPrr0UJMWpp6AdEBo6K8Zm8WEWmr0QMYVvROYHiHb41Wj4usYsNX9hE+1S/ug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=H2595+vw7Adfh+EO7J9PDqyJ20WFCmfn03qy2sV0scs=; b=WSsVBOv9qKUwlJke32BaYATReTvlq0aU/rnHWMkEIBsowr4ToRrV7GXUoRahjM4YdcAUz1dBtxagrUJJUOCjsRJLe8IaFkepOOevNpvDPSjTapN9vS5ixTgews1jxlX9ZP67Ft4ovXZijSP+Ddg2gR/u4m5TTtb9zMj7N5HFddPPf1/CkEG2uJaUpQUBuHJBrqef9bJPic2FT0d8VnIx1KBfu51oTkNG7lHDXttbgArvM3lzfJnCa4a8eV8VWKhxcPSfRXnEg8qTuI8Sgiq423HKlS2RhD7t45EZOg3u1KSdXjqVZ6WiOTPT3Vxrf8wk2XaEzoNgMbuYNw4zcOjQ8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none Received: from PAVPR08MB9506.eurprd08.prod.outlook.com (2603:10a6:102:314::13) by AS2PR08MB8901.eurprd08.prod.outlook.com (2603:10a6:20b:5f0::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7784.29; Sat, 27 Jul 2024 11:35:01 +0000 Received: from PAVPR08MB9506.eurprd08.prod.outlook.com ([fe80::99ec:e463:6c03:e19e]) by PAVPR08MB9506.eurprd08.prod.outlook.com ([fe80::99ec:e463:6c03:e19e%6]) with mapi id 15.20.7784.020; Sat, 27 Jul 2024 11:35:01 +0000 Date: Sat, 27 Jul 2024 14:34:58 +0300 From: Alexey Vyskubov To: questions@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Add two RSA keys to ssh-agent Message-ID: Mail-Followup-To: questions@freebsd.org, freebsd-questions@freebsd.org References: Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TMN: [TWf0SVGgp6t/3ElSSN96XIVFBh6soxQp] X-ClientProxiedBy: MM0P280CA0015.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:a::20) To PAVPR08MB9506.eurprd08.prod.outlook.com (2603:10a6:102:314::13) X-Microsoft-Original-Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Sender: Alexey Vyskubov X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAVPR08MB9506:EE_|AS2PR08MB8901:EE_ X-MS-Office365-Filtering-Correlation-Id: fa7efb42-e8af-46cb-2bfc-08dcae302696 X-Microsoft-Antispam: BCL:0;ARA:14566002|461199028|5072599006|8060799006|19110799003|3412199025|440099028; X-Microsoft-Antispam-Message-Info: 43wh/DmvOfTzH5WPHhH/CM5/i+hY2h6o2A0jUUD2mn/WPoT4914SZ84IFP4o1YhIvQ9kE/Y8U0cQGQWz2ZSdMYXnTwiD+xVPmgfkHP+4TCHKaY8f1ZgRw+/qYIU91ocVNT61uNMP39LtAQMYDOF1EyK8cgB8mCcy5dta/ORdiwL/OSkvhNv9BGV4ajfI86W9n5kGMAVjDi67865jRuiN/boo16hbD/cwJxk+NuTeFhH8TvliEX+Cal7fM5s6a3pdnCf/2JUhm9kZNwHRcvWH8YTVt4lrDJeY6RYShI5ixdw+FaZ//jBH6NKARkaR2Dn5NSXZVWMouoxdzD8WH2m8Nd7wFwvIhPrzP/SVBuxqVGm0u/AvIXhS3MnNod/wk6M+kL3BPPSKLY/5h52N1vpHByIqzMD9Ne2txxSy9VKL45Y+XYqJIrvhg6DigehPyVCAOYtLH/zbvHf+9kFl/sRi2/IE4x27yWgnuQP2QRVC8lixdC8G/M5Kn+TTzLNGADxtJgX2rcYonvxRD1f5wGipfjGgds7mThXy0x5JkUI0FNn0nbb476Ezy0Radj2B06aO0VdYT7YfN6+Su1LnPdHM5PnpIaGeshfFlb6KwJXXqsYNGlejSYXLSQ3VE8wIKtr35wksLcM6HF8t0mbfMV1k+ksKyjH1KgUGt2h3fTAD45I= X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?0C23zFZAO48Y04cJE9qjx1TBtv8TpWvxcIhiXUH/PjPMJ6BOg6YpVC8kz7cz?= =?us-ascii?Q?CQnK/XO1iA5UWhp6BNzL0msBm/++D/dviZ+vfGK42BXXXTEHbnPi0wGqS3Ru?= =?us-ascii?Q?APAQfOwlASPd3QdUXPMVKbuORcaS9mJF/ozSLX+GjaM5ba5nW6aX7UsKlb2Q?= =?us-ascii?Q?//BKqaNK1I3AzSI4MOJjkZp+d9MD74AENOWfjsj69sta79IIuINJZ1087hRd?= =?us-ascii?Q?ercUcKoWokomQ37MXmuIqbz3pa6ZDL7S+yGPIv/3IiovfullboZ7Cm54cpr0?= =?us-ascii?Q?CJ851s8dYYzKZOA7TsUJY89QTJGDWfTVSgRxoYsBqpDp0dghyLWH0m+hD7eP?= =?us-ascii?Q?p/oQuAju77sJg6WFW0oEwuoOS68xwq1uuSitHwj1rV0rB6k0MzGB3h6UIXPY?= =?us-ascii?Q?yjMJG4mCscGpHdoOepIPXYG/XSCi0tgA3MnQmyKT2o7n5Krcmme2Q3e8Hr89?= =?us-ascii?Q?4SNOBptyW7EBbHyQ8N0bZcMbNroYpWMLzVzAhqsI3uQdCXQkRNsNa2gqdZ9Q?= =?us-ascii?Q?u2WQEAjArh6fimRWwwl3gnoNH38zCWZxWxXHna+pqgBCzhUKskxXa0tAenQQ?= =?us-ascii?Q?EyHML4moEsWVWzjG/clEyynGWzphYtnhZvLVda8hICkm0F3wnVFYpE3nqYoN?= =?us-ascii?Q?wIDtqFkCOxOaKvWauKEz7dGHe4WBG1lB+IySYcaFwCdJXkkkR/N1fav4Mm4U?= =?us-ascii?Q?z6P3wRxO8qZs7BgIZmoHIulwQG+DOvdAXp9ykWYGtDBEGUhSYTdTp1nnkcca?= =?us-ascii?Q?x8vJAOnABrnLkNAjFDEMs/OSClRUincWIIjTbAnYMq/KPswF6LmkHSlS7DF2?= =?us-ascii?Q?TtvDvkLwBd9tEgZaFw7rRxaJPzxqTHlaIKZJZUspot2t2fmMPYUtXYCwx6be?= =?us-ascii?Q?KNJ4SS+gIWxqr9/8fIWuePuvmtUdalTS/QxudiE2Ij5BeDnJBzqYDYezZ9Jn?= =?us-ascii?Q?vHyD5kE+tArOEzo7T+3karxEbGOpKJzB3XeYLNrfl9u+PXhXNJCBHpMD3VZO?= =?us-ascii?Q?+11VFGb1WUq3HewjrsVpEUR4wjpGd59K3wW6F3Vx3HvkwEIlQ/FLo5oLup59?= =?us-ascii?Q?F3aMgHB/QWKv2aW6ENQEfUY9IVfJPUJMaD5/Tqy9F5/pd6h+4sBeYMQqiV2C?= =?us-ascii?Q?QZzuHRvnACxtg2l2A1B97VNWhDtW8x/nb2G+DoYXQ19ltyz8SLdp5g9Dv6PF?= =?us-ascii?Q?dt3fISWE68txFNrpWCJZBhc1ETMCy6nfBKeRdShbXLTRcUh4neyjftHRZj4?= =?us-ascii?Q?=3D?= X-OriginatorOrg: sct-15-20-7719-20-msonline-outlook-de33f.templateTenant X-MS-Exchange-CrossTenant-Network-Message-Id: fa7efb42-e8af-46cb-2bfc-08dcae302696 X-MS-Exchange-CrossTenant-AuthSource: PAVPR08MB9506.eurprd08.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jul 2024 11:35:01.1774 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR08MB8901 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.84 / 15.00]; ARC_ALLOW(-1.00)[microsoft.com:s=arcselector10001:i=1]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.96)[-0.960]; NEURAL_HAM_MEDIUM(-0.88)[-0.877]; FORGED_SENDER(0.30)[alexey@pentode.fi,alexey@hotmail.fi]; R_SPF_ALLOW(-0.20)[+ip4:40.92.0.0/15]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_POSSIBLE(0.00)[40.92.90.57:from]; ASN(0.00)[asn:8075, ipnet:40.80.0.0/12, country:US]; MIME_TRACE(0.00)[0:+]; FREEFALL_USER(0.00)[alexey]; MISSING_XM_UA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[questions@freebsd.org,freebsd-questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[alexey@pentode.fi,alexey@hotmail.fi]; R_DKIM_NA(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[pentode.fi]; RCVD_IN_DNSWL_NONE(0.00)[40.92.90.57:from] X-Rspamd-Queue-Id: 4WWMx50yBPz57SP On Sat, Jul 27, 2024 at 09:51:12AM UTC, Matthias Apitz wrote: > Is there a way to ask only once and use the same passphrase for both > ssh-add calls? Try ssh-add (as one command). -- Alexey I cannot receive HTML mail at this account. Hi, I am a signature virus. Add me to your signature to help me spread. From nobody Sat Jul 27 11:55:44 2024 X-Original-To: freebsd-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 4WWNP11t82z5S6g0; Sat, 27 Jul 2024 11:55:49 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WWNP02xsGz420Z; Sat, 27 Jul 2024 11:55:48 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de Received: from [62.216.207.65] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sXg1Z-001AV5-Ft; Sat, 27 Jul 2024 13:55:45 +0200 Received: from localhost.my.domain (c720-1400094 [127.0.0.1]) by localhost.unixarea.de (8.17.1/8.14.9) with ESMTP id 46RBtjUc003252; Sat, 27 Jul 2024 13:55:45 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.17.1/8.14.9/Submit) id 46RBti9g003251; Sat, 27 Jul 2024 13:55:44 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 27 Jul 2024 13:55:44 +0200 From: Matthias Apitz To: questions@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Add two RSA keys to ssh-agent Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: questions@freebsd.org, freebsd-questions@freebsd.org References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails in HTML will not be read! Please, only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 62.216.207.65 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[178.254.4.101:from]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[unixarea.de]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; HAS_XAW(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; HAS_REPLYTO(0.00)[guru@unixarea.de]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; HAS_XOIP(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org,freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4WWNP02xsGz420Z El día sábado, julio 27, 2024 a las 02:34:58p. m. +0300, Alexey Vyskubov escribió: > On Sat, Jul 27, 2024 at 09:51:12AM UTC, Matthias Apitz wrote: > > Is there a way to ask only once and use the same passphrase for both > > ssh-add calls? > > Try ssh-add (as one command). $ ssh-add ~/.ssh/id_rsa ~/.ssh/4kid_rsa Enter passphrase for /home/guru/.ssh/id_rsa: Identity added: /home/guru/.ssh/id_rsa (/home/guru/.ssh/id_rsa) Identity added: /home/guru/.ssh/4kid_rsa (guru@c720-1400094) Thanks, this helped. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland. From nobody Sat Jul 27 11:55:44 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 4WWNP11t82z5S6g0; Sat, 27 Jul 2024 11:55:49 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WWNP02xsGz420Z; Sat, 27 Jul 2024 11:55:48 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of guru@unixarea.de designates 178.254.4.101 as permitted sender) smtp.mailfrom=guru@unixarea.de Received: from [62.216.207.65] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1sXg1Z-001AV5-Ft; Sat, 27 Jul 2024 13:55:45 +0200 Received: from localhost.my.domain (c720-1400094 [127.0.0.1]) by localhost.unixarea.de (8.17.1/8.14.9) with ESMTP id 46RBtjUc003252; Sat, 27 Jul 2024 13:55:45 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.17.1/8.14.9/Submit) id 46RBti9g003251; Sat, 27 Jul 2024 13:55:44 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 27 Jul 2024 13:55:44 +0200 From: Matthias Apitz To: questions@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Add two RSA keys to ssh-agent Message-ID: Reply-To: Matthias Apitz Mail-Followup-To: questions@freebsd.org, freebsd-questions@freebsd.org References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 14.0-CURRENT r1400094 (amd64) X-message-flag: Mails in HTML will not be read! Please, only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 62.216.207.65 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.89 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.995]; MID_RHS_NOT_FQDN(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:178.254.4.101]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[178.254.4.101:from]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[unixarea.de]; RCVD_COUNT_THREE(0.00)[3]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; HAS_XAW(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; HAS_REPLYTO(0.00)[guru@unixarea.de]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; HAS_XOIP(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org,freebsd-questions@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; REPLYTO_EQ_FROM(0.00)[] X-Rspamd-Queue-Id: 4WWNP02xsGz420Z El día sábado, julio 27, 2024 a las 02:34:58p. m. +0300, Alexey Vyskubov escribió: > On Sat, Jul 27, 2024 at 09:51:12AM UTC, Matthias Apitz wrote: > > Is there a way to ask only once and use the same passphrase for both > > ssh-add calls? > > Try ssh-add (as one command). $ ssh-add ~/.ssh/id_rsa ~/.ssh/4kid_rsa Enter passphrase for /home/guru/.ssh/id_rsa: Identity added: /home/guru/.ssh/id_rsa (/home/guru/.ssh/id_rsa) Identity added: /home/guru/.ssh/4kid_rsa (guru@c720-1400094) Thanks, this helped. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub I am not at war with Russia. Я не воюю с Россией. Ich bin nicht im Krieg mit Russland. From nobody Sun Jul 28 16:53:46 2024 X-Original-To: freebsd-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 4WX6yb4rGBz5RGW7 for ; Sun, 28 Jul 2024 16:53:59 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Received: from mail-vk1-xa2a.google.com (mail-vk1-xa2a.google.com [IPv6:2607:f8b0:4864:20::a2a]) (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 4WX6yZ6Jhgz4qCD for ; Sun, 28 Jul 2024 16:53:58 +0000 (UTC) (envelope-from aryeh.friedman@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=R53fyqh8; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of aryeh.friedman@gmail.com designates 2607:f8b0:4864:20::a2a as permitted sender) smtp.mailfrom=aryeh.friedman@gmail.com Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-4f6d35d59ccso677848e0c.1 for ; Sun, 28 Jul 2024 09:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722185637; x=1722790437; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=AkyyYHoFxtQtq9NokUvh+V7y9Yb2NVlvCWEGl6Ie08I=; b=R53fyqh8cOSXJOg88o+lrXxiudwg81NRH895tLo1WZimaoplZYTHLVscGqAy8qrzGu 5uEbDHgTjw6+oIiUe5GqHpCc4/Ynwmk/c7g9mpCZGP3EV7E9P56aqmjg3RDkeCmDIeIT p4NUY10kLaTkVffEwgAPeHBcyyyoaOpB/asE8z/ahlHggisXSw9QhbtQ/UMUIZ3rpdV0 AA5ZQECJ71+7IDY2hDXM/1Pzl3kD8H+tRgthjAShax45L0wVUfDlMYxjOCRTKsx3ODcT cnEJWmyRsgefhRpvKQplHIB40rmsy1xxX91cPpiy2vdJrKRKNMTI5yobADJOkT3xVmBD EYAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722185637; x=1722790437; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=AkyyYHoFxtQtq9NokUvh+V7y9Yb2NVlvCWEGl6Ie08I=; b=vc478kWiALFqTW6U410JyavKuOV5BHVdi9E6QqDaAUR8T9e/dNjSju3mlb37unLagt 0SYd5q3tJruKPb03LUsPXlr/D4rqMW+RZjh2CoB5yXnPxhOXWZF7uS10uAJbrZMZqcrm F11+/y7H+OTTcuLfReYAlaiLxUgaWjXaDcgTmbksq1Df0VcEn/JixYb8cKKhH5Rxjd4B wjMqQXIyUajorscLPS/BFmRAD8MXOmAarKq0rYc4jfOisAvefjR7TSpcmVLYZABSxhcF RRVSuoP/mQj7pdQ8j6mB1+u2hDNTYQQy9kb/reSxbkyvPhuWYAmem3jvODQE8fQ8oR9r 69Lw== X-Gm-Message-State: AOJu0YxCsiLf9DO5hA47jfFxfbPyudUaz3VeGMXadJn76z6ei8vaHF1T D2UHI4hlcAwZ04XC7O65wb4jyRxTrPk0waoMdk0VgzKoYnvAIcImEgt5m9aObBfLRmZtqifx136 lTnNIK29n5/Cbh624t0L7BZ0QusVqRQ== X-Google-Smtp-Source: AGHT+IHyKbpfnYD7pdLoKnYRfNqL5SNsHOlcnNjWTSSdJ98UII8FcS1/EslCNwsNGBmb7g2wdkqejwRRmx/xQExY5k0= X-Received: by 2002:a05:6122:90e:b0:4f2:ec14:3b6 with SMTP id 71dfb90a1353d-4f6e68caadfmr2342982e0c.6.1722185637139; Sun, 28 Jul 2024 09:53:57 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 From: Aryeh Friedman Date: Sun, 28 Jul 2024 12:53:46 -0400 Message-ID: Subject: Passing physical serial port through to bhyve To: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.92 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.92)[-0.918]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; TAGGED_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MISSING_XM_UA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::a2a:from] X-Rspamd-Queue-Id: 4WX6yZ6Jhgz4qCD Background: I am starting work on my PhD thesis in theoretical CS and one of the things I need to do is prove both theoretically and experimentally that a single (dataflowed) NAND is Turing complete (and maps directly onto a lambda machine) and can do useful work (a non-dataflowed one is theoretically Turing complete but can't be used for anything useful [theorem in thesis]). In order to show this I want to set up a breadboard with a single NAND on it with LED's on both inputs and both outputs and then using the serial port of my desktop send longer inputs and receive longer outputs then one bit. Due to the nature of the project I want to do all the development and testing from a bhyve VM (already setup) thus I need to find a way have that VM drive the actual physical serial port so as to conduct various experiments to prove the above. -- Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org From nobody Sun Jul 28 19:59:12 2024 X-Original-To: freebsd-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 4WXC4S09nQz5RYVD for ; Sun, 28 Jul 2024 19:59:20 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [147.160.157.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "A1-48603", Issuer "A1-48603" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXC4Q67pcz47tj for ; Sun, 28 Jul 2024 19:59:18 +0000 (UTC) (envelope-from doug@safeport.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 147.160.157.40 is neither permitted nor denied by domain of doug@safeport.com) smtp.mailfrom=doug@safeport.com Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.17.1/8.17.1) with ESMTPS id 46SJxCue079036 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 28 Jul 2024 19:59:12 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.17.1/8.17.1/Submit) with ESMTP id 46SJxCd3079031; Sun, 28 Jul 2024 19:59:12 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sun, 28 Jul 2024 19:59:12 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: Aryeh Friedman cc: FreeBSD Mailing List Subject: Re: Passing physical serial port through to bhyve In-Reply-To: Message-ID: <83f140eb-7fc9-7016-a6eb-ab20a31a9ec@safeport.com> References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; HAS_XAW(0.00)[]; TAGGED_RCPT(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; RCVD_TLS_LAST(0.00)[]; MISSING_XM_UA(0.00)[]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; MIME_TRACE(0.00)[0:+]; FREEMAIL_TO(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[safeport.com]; HAS_REPLYTO(0.00)[doug@safeport.com] X-Rspamd-Queue-Id: 4WXC4Q67pcz47tj On Sun, 28 Jul 2024, Aryeh Friedman wrote: > Background: I am starting work on my PhD thesis in theoretical CS and > one of the things I need to do is prove both theoretically and > experimentally that a single (dataflowed) NAND is Turing complete (and > maps directly onto a lambda machine) and can do useful work (a > non-dataflowed one is theoretically Turing complete but can't be used > for anything useful [theorem in thesis]). In order to show this I > want to set up a breadboard with a single NAND on it with LED's on > both inputs and both outputs and then using the serial port of my > desktop send longer inputs and receive longer outputs then one bit. > > Due to the nature of the project I want to do all the development and > testing from a bhyve VM (already setup) thus I need to find a way have > that VM drive the actual physical serial port so as to conduct various > experiments to prove the above. > > -- > Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org > > I assume you have seen https://forums.freebsd.org/threads/a-solid-howto-with-bhyve-on-freebsd-14-and-windows-11.92236/ but just in case ... I really hate to answer a question with why not use this, but ... bastille works in a no-brainer fashion without or without zfs. In my setup FreeBSD is the base system and the other systems are jails under that. This may not work for you for reasons I do not see but maybe with will get a discussion going. Doug From nobody Sun Jul 28 22:30:32 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 4WXGR86gsYz5RqDN for ; Sun, 28 Jul 2024 22:30:44 +0000 (UTC) (envelope-from polarian@polarian.dev) Received: from mail.polarian.dev (mail.polarian.dev [IPv6:2001:8b0:57a:2385::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXGR84YJNz4WrZ for ; Sun, 28 Jul 2024 22:30:44 +0000 (UTC) (envelope-from polarian@polarian.dev) Authentication-Results: mx1.freebsd.org; none Received: from PolarianBSD (_gateway [192.168.2.1]) by mail.polarian.dev (Postfix) with ESMTPSA id 543D910A0681; Sun, 28 Jul 2024 22:30:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/relaxed; d=polarian.dev; s=polarian; t=1722205833; bh=3ZAV6roDVDQvnv8OxnFtitvDUn7/aZujWDCAKeXeyk8=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=GdddnEp2iA76jW7SLWkGTxl8louds3NL07qU2XkyWO1VlO/wW9HG4eKw5xGaO1Kdx wY2l3doalr2PDnTgPx+cl5N4S3WLCKG4WQW9o5yuD3NKykm80TvbjlrSrkKQvNDQPL JGRC+Km5zgIEvZljqJcGQbz7Z3vO+OTMuiXELDSI= Date: Sun, 28 Jul 2024 23:30:32 +0100 From: Polarian To: questions@freebsd.org Cc: doug@safeport.com Subject: Re: Passing physical serial port through to bhyve Message-ID: <20240728233032.33a5ebc9@PolarianBSD> In-Reply-To: <83f140eb-7fc9-7016-a6eb-ab20a31a9ec@safeport.com> References: <83f140eb-7fc9-7016-a6eb-ab20a31a9ec@safeport.com> X-Mailer: Claws Mail 3.20.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:20712, ipnet:2001:8b0::/32, country:GB] X-Rspamd-Queue-Id: 4WXGR84YJNz4WrZ Hello, Just a little tip, freebsd-questions@freebsd.org is more for general FreeBSD questions. Bhyve have their own mailing list, which is where the wiki suggests posting questions [1]. You will likely get more support, see [2]. Hope this helps. Take care, -- Polarian GPG signature: 0770E5312238C760 Jabber/XMPP: polarian@icebound.dev [1] https://wiki.freebsd.org/bhyve#Q:_How_can_I_help.3F [2] https://lists.freebsd.org/subscription/freebsd-virtualization From nobody Sun Jul 28 22:54:00 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 4WXGy26hHbz5RsX7 for ; Sun, 28 Jul 2024 22:54:02 +0000 (UTC) (envelope-from doug@safeport.com) Received: from fledge.watson.org (fledge.watson.org [147.160.157.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "A1-48603", Issuer "A1-48603" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WXGy22QXjz4Z4M for ; Sun, 28 Jul 2024 22:54:02 +0000 (UTC) (envelope-from doug@safeport.com) Authentication-Results: mx1.freebsd.org; none Received: from fledge.watson.org (doug@localhost [127.0.0.1]) by fledge.watson.org (8.17.1/8.17.1) with ESMTPS id 46SMs1RU002862 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Sun, 28 Jul 2024 22:54:01 GMT (envelope-from doug@safeport.com) Received: from localhost (doug@localhost) by fledge.watson.org (8.17.1/8.17.1/Submit) with ESMTP id 46SMs0Jc002859; Sun, 28 Jul 2024 22:54:01 GMT (envelope-from doug@safeport.com) X-Authentication-Warning: fledge.watson.org: doug owned process doing -bs Date: Sun, 28 Jul 2024 22:54:00 +0000 (UTC) From: doug Reply-To: doug@safeport.com To: Polarian cc: questions@freebsd.org Subject: Re: Passing physical serial port through to bhyve In-Reply-To: <20240728233032.33a5ebc9@PolarianBSD> Message-ID: References: <83f140eb-7fc9-7016-a6eb-ab20a31a9ec@safeport.com> <20240728233032.33a5ebc9@PolarianBSD> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spamd-Bar: ---- 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)[]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US] X-Rspamd-Queue-Id: 4WXGy22QXjz4Z4M On Sun, 28 Jul 2024, Polarian wrote: > Hello, > > Just a little tip, freebsd-questions@freebsd.org is more for general > FreeBSD questions. > > Bhyve have their own mailing list, which is where the wiki suggests > posting questions [1]. You will likely get more support, see [2]. > > Hope this helps. > > Take care, > -- > Polarian > GPG signature: 0770E5312238C760 > Jabber/XMPP: polarian@icebound.dev > > [1] https://wiki.freebsd.org/bhyve#Q:_How_can_I_help.3F > [2] https://lists.freebsd.org/subscription/freebsd-virtualization > Not true actually. 2015 --> 2020 -- 89 posts 2020 --> 7/28/25 -- 98 posts One of the earlier threads has what appears to be a pretty good tutorial that might address the question in hand. Doug