From nobody Sun Apr 2 01:16:09 2023 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 4Ppx1j30Bvz43gSf for ; Sun, 2 Apr 2023 01:16:25 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Received: from mail-lj1-x243.google.com (mail-lj1-x243.google.com [IPv6:2a00:1450:4864:20::243]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ppx1h3Cqgz3Jps for ; Sun, 2 Apr 2023 01:16:24 +0000 (UTC) (envelope-from alexmiroslav@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=LcSuzWPk; spf=pass (mx1.freebsd.org: domain of alexmiroslav@gmail.com designates 2a00:1450:4864:20::243 as permitted sender) smtp.mailfrom=alexmiroslav@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x243.google.com with SMTP id e9so11595884ljq.4 for ; Sat, 01 Apr 2023 18:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680398180; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=xvhCd4E4aeOJNMN8iWx1N2UqjREUwRNzOshOvHtY8XM=; b=LcSuzWPkYKm5xb+CKLctS7jGwPKZWN3z3VqiwSsskv4Alsb9lB7qoGVs5gMHMTNoc/ XbMJGWHRLfnFqjegtKon1c4/iKKqfmD6QNGJHevNC3M+UzD0U5TAocyMFiMAY37Wgejc Okr8r6DKjzSArhdKWfqiIusAJRSuMCXubBfNZC/RdfIrNfWxoyIVnZmXtQy5lGWd6sfu TlRHkENVx29m1SsQY8z04IMiL27ByN7ja5SeYb0N0YNAxdX3mVrIG6QMExBkTQx9Upsr KX75LUu0oNHkrGa+Y7dfdqS/uZ/qZdOn2EAL9BRoKBaS4CKbi9uIf1RUsydmb5icBu8e HINw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680398180; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=xvhCd4E4aeOJNMN8iWx1N2UqjREUwRNzOshOvHtY8XM=; b=Hqs/wNkhg9+ypKpJuZdoD+UN64fnQspY3cpgOm1BImgV4+IdiYrqOkG7/EIuEozAeI EerEAg+TsnWopa+qV+7fppo9uzmQucNq2jgbKzxkMkHP3kdrwwtZHGDb6+scyd/XAndm hMOMOemeLc+/IO7wcAKN+5Hv5nSGvwYn6Bdn3zCl4jJHjOcZkskZrtCWTe9gG7PITf6z mbM305OQ/xf9QlXTu4L2JxaZcMcG+7rf8RDJN+CmVuDSzZapQ0n0Gyv7XamylQuZO/Af Lhpy0RMM6TOSTQZHppCxLKU5nthlvxjTV0NZh7KT0NRsB0set5fq63f7gGcwtKSRdrui JNtw== X-Gm-Message-State: AAQBX9dFOdVXQKG/0Kc/kECDycCOAgN4wVnJ2BKkM5xb71CgGf9rlW9d WQjM3ydT5/m3Sfijl7GGtWHRXV2Qo/XB6eJXnOY6XMtEJtTz5H5q0Ai1uJyG9CE= X-Google-Smtp-Source: AKy350bR37XlfPT6Ae4bRSJ6V/UixX/87snutCm8QEL1yAJF9DVHggL2gjbuaGoCKxbMU8YxTW9lQGZpIaC6F4KKN7U= X-Received: by 2002:a2e:3808:0:b0:299:a9db:a4 with SMTP id f8-20020a2e3808000000b00299a9db00a4mr9504580lja.6.1680398180582; Sat, 01 Apr 2023 18:16:20 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: Aleksandr Miroslav Date: Sat, 1 Apr 2023 18:16:09 -0700 Message-ID: Subject: "pkg upgrade foo" installs foo if not already installed, bug? To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-2.99 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::243:from]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_DN_NONE(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Ppx1h3Cqgz3Jps X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Observe the following: $ pkg info|grep -q cowsay && echo installed || echo not installed not installed $ sudo pkg upgrade -q -y cowsay $ pkg info|grep -q cowsay && echo installed || echo not installed installed It looks like when "pkg upgrade" is given an uninstalled package to upgrade, it installs it. (This is on 13.1-RELEASE.) I would think the expected behavior would be to throw an error because the package does not exist, or at least have a switch to control it. Am I misunderstanding how "pkg upgrade" should work, or was this behavior changed recently? (I quickly looked through bugzilla, the pkg src tree, and the GitHub issues for pkg and didn't find anything, but it's possible I may have missed something.) From nobody Sun Apr 2 03:07:50 2023 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 4PpzVX5gf2z43pGD for ; Sun, 2 Apr 2023 03:08:04 +0000 (UTC) (envelope-from pprocacci@gmail.com) Received: from mail-oa1-x29.google.com (mail-oa1-x29.google.com [IPv6:2001:4860:4864:20::29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PpzVX3m4cz3jwb for ; Sun, 2 Apr 2023 03:08:04 +0000 (UTC) (envelope-from pprocacci@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-17ab3a48158so27336568fac.1 for ; Sat, 01 Apr 2023 20:08:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680404883; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0KQSuKFXVqPDaIk6HPh+S/s2JbxSs7UOe/dhba3qspE=; b=I6mdruiB2wmkAlsk/C/DRTXZGx00nPvRb8XSdQyE+ElhsbtBmcYG+UMsukKJ+dX+6i 0kzOi7W3ENCvmog83OUsQR15tXiJyZsbHVF7B/ckRuM2/qPL4jDgkHLGG/bVlulYXk9V ALFr76+1EblcXf4YypdOXBSkAX91KBhAzU4fio1i/2qFpoe0cnCYvIHb2sNtvSd015J5 Y5JV5wt4hxJCHYHF22M8iJQ2r9VXXwX7NfEpcSKVYkZjY60rdF3e+RCTC3Tyiu5h0qTQ 82jmivmK9NFWtpO3q6offkclRkkLQ52qSP4Sa6fRL1ySmiWu+lZEN3KMFgkz/3it5IPQ mIow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680404883; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0KQSuKFXVqPDaIk6HPh+S/s2JbxSs7UOe/dhba3qspE=; b=x9x1igqTWrIEV/X/MYtE7cu3T723e3xsoY5tElNvr7tPhMoLu9QPDPV7gXBuJqknYu GqCG9gAKYLpFnbIujftM5+DfiRNwoHyRwEW7GLCoFu5YV7ZO9Q9AspnkXg8YWgqO8dxb CTlkibFYCj557z5693WBeqpxVRjt3btoASFZu5VdwgqRWuLRN4meP6/p9fkU1JDk63nQ ckPhLcgIWb1D73I7fURO/Sq+NRt7JD5J1EkMxtsHEKgjk/CnCKt6IwSqsnb1zvOKWBpl 3Pg8rWeLglSy4r2xgK15youy31XjGMxSan2RESP82csFamfbwSc4WwI5L828HChg0clT vGSg== X-Gm-Message-State: AO0yUKVgexyj2EgvSqx3IOnYwzP62DOGbvstan4ZBHQiF+gQ3SxNyiVp R79UAA3UOcsfsEobcSeGRdPRCbDt2LipNOEh6Q39RE7HkzG2 X-Google-Smtp-Source: AKy350Z5FTZd2hU5QV2n09CcNUsS2USIEyRdgQ2cwL0MY0qyjJ5ZWl1NEWrF1SzkPp1JGO4q4MLoRMJVV1GdwUIg2V8= X-Received: by 2002:a05:6871:2511:b0:17e:291d:94f3 with SMTP id yx17-20020a056871251100b0017e291d94f3mr10589299oab.6.1680404883068; Sat, 01 Apr 2023 20:08:03 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Paul Procacci Date: Sat, 1 Apr 2023 23:07:50 -0400 Message-ID: Subject: Re: "pkg upgrade foo" installs foo if not already installed, bug? To: Aleksandr Miroslav Cc: freebsd-questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000225b9c05f851c063" X-Rspamd-Queue-Id: 4PpzVX3m4cz3jwb X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000225b9c05f851c063 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Apr 1, 2023 at 9:16=E2=80=AFPM Aleksandr Miroslav wrote: > Observe the following: > > $ pkg info|grep -q cowsay && echo installed || echo not installed > not installed > $ sudo pkg upgrade -q -y cowsay > $ pkg info|grep -q cowsay && echo installed || echo not installed > installed > > It looks like when "pkg upgrade" is given an uninstalled package to > upgrade, it installs it. > > (This is on 13.1-RELEASE.) > > I would think the expected behavior would be to throw an error because th= e > package does not exist, or at least have a switch to control it. > > Am I misunderstanding how "pkg upgrade" should work, or was this > behavior changed recently? > > (I quickly looked through bugzilla, the pkg src tree, and the GitHub > issues for pkg and didn't find anything, but it's possible I may have > missed something.) > > pkg upgrade IS package install w/ the exception that pkg upgrade tries to upgrade dependencies of packages matched. Any packages listed on the command line are added to the list of packages to ensure are available. pkg-upgrade(8) has these details spelt out. ~Paul --=20 __________________ :(){ :|:& };: --000000000000225b9c05f851c063 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Sat, Apr 1, 2023 at 9:16=E2= =80=AFPM Aleksandr Miroslav <a= lexmiroslav@gmail.com> wrote:
Observe the following:

=C2=A0 =C2=A0 $ pkg info|grep -q cowsay && echo installed || echo n= ot installed
=C2=A0 =C2=A0 not installed
=C2=A0 =C2=A0 $ sudo pkg upgrade -q -y cowsay
=C2=A0 =C2=A0 $ pkg info|grep -q cowsay && echo installed || echo n= ot installed
=C2=A0 =C2=A0 installed

It looks like when "pkg upgrade" is given an uninstalled package = to
upgrade, it installs it.

(This is on 13.1-RELEASE.)

I would think the expected behavior would be to throw an error because the<= br> package does not exist, or at least have a switch to control it.

Am I misunderstanding how "pkg upgrade" should work, or was this<= br> behavior changed recently?

(I quickly looked through bugzilla, the pkg src tree, and the GitHub
issues for pkg and didn't find anything, but it's possible I may ha= ve
missed something.)


pkg upgrade IS package inst= all w/ the exception that pkg upgrade tries to upgrade dependencies of pack= ages matched.
Any packages listed on the command line are added t= o the list of packages to ensure are available.

pkg-upgrade(8) has these details spelt out.

~Paul

--
__________________

:(){ :|:&a= mp; };:
--000000000000225b9c05f851c063-- From nobody Sun Apr 2 05:37:36 2023 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 4Pq2qG5B7Fz4323Y for ; Sun, 2 Apr 2023 05:37:46 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) (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 "mx0.riseup.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pq2qF2b0xz3vXq for ; Sun, 2 Apr 2023 05:37:45 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=aMFbX4vz; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.6 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net; dmarc=pass (policy=none) header.from=riseup.net Received: from fews2.riseup.net (fews2-pn.riseup.net [10.0.1.84]) (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 "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4Pq2qC4jVrz9sRp for ; Sun, 2 Apr 2023 05:37:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1680413863; bh=+Sm5fDGZ2gIT1MSFVm/LSM1c3G61m9K/OcV4fwdQMbs=; h=Subject:From:To:Date:In-Reply-To:References:From; b=aMFbX4vzeAcRO3wX6diO1V9DmGI2hznrAqg7tqqTpbvYFtGVAbhhxd256Rg82XgKI pKtLc72QXoSiZn3N2kK2MtNw4VC4yhpSWK1GupsujKcvqeYJ39c+cTJ1GFJwkqsM+1 hDcqwOZYPATfVLDNb4BnfQHKviaZxGsOn7mbDjs0= X-Riseup-User-ID: B915D38CFB3411DF36674E15048CEEAF186C51AD2236233A1A55B633029D2027 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews2.riseup.net (Postfix) with ESMTPSA id 4Pq2qC04stz1yWZ for ; Sun, 2 Apr 2023 05:37:42 +0000 (UTC) Message-ID: Subject: Re: two USB sound cards on the same FreeBSD system with jackd From: Ralf Mardorf To: questions@freebsd.org Date: Sun, 02 Apr 2023 07:37:36 +0200 In-Reply-To: References: <4e4b5e5bbd621955317f54a5943681eb3c4e4d17.camel@blues-softwares.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Spamd-Result: default: False [-4.10 / 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)[riseup.net,none]; R_SPF_ALLOW(-0.20)[+a:mx0.riseup.net]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.6:from]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[riseup.net:+]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DWL_DNSWL_NONE(0.00)[riseup.net:dkim]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4Pq2qF2b0xz3vXq X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N On Sat, 2023-04-01 at 21:28 +0200, Tomek CEDRO wrote: > On Sat, Apr 1, 2023 at 4:35=E2=80=AFPM white-wolf wrote: > > one for connect my guitar by an audiobox USB sound card, no need feedba= ck > > one for my wireless headset microphone >=20 > first of all your audio hardware needs to be supported by a > kernel driver Hi, "All PreSonus USB Audio and MIDI interfaces / controllers work class compliant." [1] This seems to be the driver for class compliant audio devices: https://man.freebsd.org/cgi/man.cgi?snd_uaudio This thread confirms my guess: https://forums.freebsd.org/threads/presonus-audiobox-usb-not-recognized.613= 95/ Regards, Ralf [1] https://support.presonus.com/hc/en-us/articles/360059975732-PreSonus-Hardwa= re-iOS-iPadOS-Compatibility From nobody Sun Apr 2 15:35:33 2023 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 4PqJ554r2qz43nSS for ; Sun, 2 Apr 2023 15:35:37 +0000 (UTC) (envelope-from henrik@morsing.cc) Received: from mail-ed1-x561.google.com (mail-ed1-x561.google.com [IPv6:2a00:1450:4864:20::561]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqJ542BTXz3qwT for ; Sun, 2 Apr 2023 15:35:35 +0000 (UTC) (envelope-from henrik@morsing.cc) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=morsing.cc header.s=201904 header.b=Evadgc7I; spf=pass (mx1.freebsd.org: domain of henrik@morsing.cc designates 2a00:1450:4864:20::561 as permitted sender) smtp.mailfrom=henrik@morsing.cc; dmarc=pass (policy=none) header.from=morsing.cc Received: by mail-ed1-x561.google.com with SMTP id er13so67026610edb.9 for ; Sun, 02 Apr 2023 08:35:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680449733; h=from:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:date:dkim-signature:dkim-filter :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yyLXHF38xwemGEZp8T3YcBCVJ4KdZj1VCTo9ZQpnnfA=; b=j6y7sq+NcX9fQWECZicLfEtN7O2WCSlIBJNuMrQsCytN/FuADeoc6ggOyz4OeREZgH jzOvQC7mZeOtz940L4yjc9+ydJ2uSmWa6rFuo2whLPMzCi2Ti17C7iGd1d+97nciQLuf qW6OssQaWHrtKqJbXYr+/B5uNCgDTHMNcaOC7axxNvqMikgKdMI3ZBwU0f27QWklx30P AYFxJpEin4hIM+ifIFOgPjBSXeAUn/ZqoDHEsL8P03I7tfyPxHfZhT3vkWV9cmoGxVFb p0gyJrDdYQVE+8HC0hlyCDIur1QLBLrKg9NXgG4VSHt1PjmJTx6m9lKbCan2bm2clcqH 0WkA== X-Gm-Message-State: AAQBX9dq89zRXGA4znvOSEWQfVujIGz4g+wmlHtyzOdCVG5SaXaDQo/Q 93ewDF+WsA5nBsxGfJbQY+VvTWI7eUt1OQCHGeLwuRDEaHRP5axV/R6bZ6NbckV7OMjyLNy/OQ= = X-Google-Smtp-Source: AKy350Y6EczxwSVd7x6il8nq5HYqNPc8PPZ+CASHzTLjSy5MRti8EirdkXtOAn4VdnViFNJJTn5zn9Ard57r X-Received: by 2002:a17:906:2606:b0:932:615c:33d4 with SMTP id h6-20020a170906260600b00932615c33d4mr13374005ejc.34.1680449733557; Sun, 02 Apr 2023 08:35:33 -0700 (PDT) Received: from emil.morsing.cc (emil.morsing.cc. [2a01:7e00:e000:a4::1]) by smtp-relay.gmail.com with ESMTP id d15-20020a170906c20f00b00934ebb6655esm2504611ejz.246.2023.04.02.08.35.33 for ; Sun, 02 Apr 2023 08:35:33 -0700 (PDT) X-Relaying-Domain: morsing.cc Received: by emil.morsing.cc (Postfix, from userid 1000) id 0ACD91FFE2; Sun, 2 Apr 2023 16:35:33 +0100 (BST) DKIM-Filter: OpenDKIM Filter v2.11.0 emil.morsing.cc 0ACD91FFE2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=morsing.cc; s=201904; t=1680449733; bh=dTUORooCADakMEglTBowr0LLHylQxoyfLN0FJtlMUZE=; h=Date:To:Cc:Subject:References:In-Reply-To:From:From; b=Evadgc7I4nQA6BXqkSm7ZFeRuziu0zM/Rd6iRX22fbTwAG8kcdXkFLKq3RDxi0R/+ SNZe9VH+eBa6hAD4wHDSwr0oZdoAflHyrIVzl9G/PV/h4aT+ryWMAK4dtvC+NViXe2 prOLJnPKCiTgy+nitr6VolFwrORX9quqkULwyDeFb0946/jvj0ZWHCH95OHQJ6TJGJ g3ArItVUp/L0Fa6gYqGKAw9t3gd/BnY2pQVlLotEfiK7yJuO5kkxWwD+G/azPLyb9H /PF/tT+o+psxhtzL56p/iE82bMfqevOEXq5eg0qVYuquETUjSXZm1487ZMuQsk42A5 aAKyoehZpc2+A== Date: Sun, 2 Apr 2023 16:35:33 +0100 To: Henrik Morsing Cc: questions@freebsd.org Subject: Re: Migrating to new disk Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: From: Henrik Morsing X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[morsing.cc,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[morsing.cc:s=201904]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::561:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[henrik]; DKIM_TRACE(0.00)[morsing.cc:+]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PqJ542BTXz3qwT X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Sat, Apr 01, 2023 at 11:56:51AM +0100, Henrik Morsing wrote: > >Good morning. > >I have a fairly new install of 13.1, root on ZFS. New computer with an ASUS Z690-P motherboard. > >I have migrated to a new disk using zfs send/recv, and ran an EFI update command from the same guide (https://people.freebsd.org/~dch/posts/2021-05-12-nvme-on-freebsd.html). >The disk is now bootable from the UEFI bootlist, but I still end up on the old zroot. I am guessing I need to rename the new zpool? Or is there another way? And is it simple to boot into a live USB and rename, or is it a can of worms? > > I'm fairly certain this is a pure EFI issue. Pulling out the old disk, the disk shows up in the UFEI boot menu, but when booting from it, I get a message saying there is no disk to boot from. Somewhere under /boot/efi, there must be info on which disk/kernel to boot, but it is probably in a binary format. Regards, Henrik Morsing -- From nobody Sun Apr 2 16:49:30 2023 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 4PqKkR2pQ5z43tQh for ; Sun, 2 Apr 2023 16:49:35 +0000 (UTC) (envelope-from dan@langille.org) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 4PqKkQ4S7yz41TH; Sun, 2 Apr 2023 16:49:34 +0000 (UTC) (envelope-from dan@langille.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=langille.org header.s=fm2 header.b=oYHazDXN; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=Af30LtTu; spf=pass (mx1.freebsd.org: domain of dan@langille.org designates 66.111.4.25 as permitted sender) smtp.mailfrom=dan@langille.org; dmarc=pass (policy=none) header.from=langille.org Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7664A5C016A; Sun, 2 Apr 2023 12:49:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 02 Apr 2023 12:49:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; 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:sender:subject:subject:to:to; s=fm2; t= 1680454173; x=1680540573; bh=NRTkHzJLZ6TI3j+nXmJNcXe3qQpfcS6d61h rJjohlTo=; b=oYHazDXNnonQ/UTBv3bTKbQKXQ9zAsEGi4OAyFokB8SGEB7q11F j7K+IvIPR7BVIltIshm7TpMMrAYi1CEwoNe8MYKxobHesxXr1PZnDCoAXI70SyYr UbfpJDL6fpuF2CAU1zkOVgk4gf+13GbmFidO0mZyanK0OZVbsYtfOq54ZmDR3IqS een76i6rFr5OMrBtwoyO4PLK6I10YAVfFT4PU0wIcoKIuOV1Cq3SWUfS/xbLaG8b m5FFE0vGrdDRMXHdWu3tOa+4PEHPypq1zyjDPPD2s2gru+E7vW3LhJkTHQJmouzm tYCXvuDL7ojqSxPvalOKDC94+DIvdzFCUSg== 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:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1680454173; x=1680540573; bh=NRTkHzJLZ6TI3j+nXmJNcXe3qQpfcS6d61h rJjohlTo=; b=Af30LtTuNoLMBhNpchvv4NWNSQ11wz4exsXe9q/3IhFtKZqflQ7 LQeSqqGJO+6PaKdzCdrX0bTUs6FSe9BaQfR1vZXTncqGoYv/0M8rq1itSIXZ30L1 +n9bypGYlPkZe012UDN0L+eDQpdwuqrPcDtVpRordeHPJlA08ucB9DrregCZOKBp oNRfAuxCi/r7mIzrk7YEl5d4Fu+EAApV8q5fZ0bqQ5HnxqZ1QF40fXBAKpb8kMDU A5kY36Sst1HNjJF3/p8Njedy654crGa0hxa+epNvNwBViYo4pRb/yfHKvMyn6h2H DvlK2RjshVaL7R69ihkQSVpnQ62F8ffRcSA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeihedguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfevfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomhepffgr nhcunfgrnhhgihhllhgvuceouggrnheslhgrnhhgihhllhgvrdhorhhgqeenucggtffrrg htthgvrhhnpeehheduffetleeiudehuefgieffueffudduueffvddtgfehfeehteffhfeu ieevieenucffohhmrghinheplhgrnhhgihhllhgvrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepuggrnheslhgrnhhgihhllhgvrdho rhhg X-ME-Proxy: Feedback-ID: ifbf9424e:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 2 Apr 2023 12:49:32 -0400 (EDT) Subject: Re: Security Run Output To: Charlie Li Cc: User Questions , "Gerard E. Seibert" References: <20230326081128.00005b98@seibercom.net> From: Dan Langille Message-ID: <89fee8ce-45db-8224-f3ba-f754caf132cd@langille.org> Date: Sun, 2 Apr 2023 12:49:30 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.59 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spamd-Result: default: False [-5.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[langille.org,none]; R_DKIM_ALLOW(-0.20)[langille.org:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; RWL_MAILSPIKE_GOOD(-0.10)[66.111.4.25:from]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.25:from]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[langille.org:+,messagingengine.com:+]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FREEFALL_USER(0.00)[dan]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PqKkQ4S7yz41TH X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N Charlie Li wrote on 3/26/23 5:48 PM: > Gerard E. Seibert wrote: >> For quite some time now, I have been receiving a warning message of >> 1025 packages with mismatched checksums in the daily "Security Run >> Output" email. They are all prefixed with "py39-" >> > Because Python packages that build using the older method of directly > executing setup.py, aka distutils, have not yet been switched to not > compile bytecode during the build. The trigger to compile/remove > bytecode after all pkg(8) transactions complete had been reverted due > to an overreaction and opportunity to make the process more resilient. > These particular checksum mismatches are completely harmless. I don't wish to debate 'completely harmless'. I will state it was not without causing concern among users use the `pkg check` data. I am happy to hear that it has been reverted. I can confirm that after a few `pkg upgrade`s and `pkg install -f`s, the false positives have gone away. Alert fatigue is a valid concern.  Reverting the change was the right thing to do. Here's hoping that tomorrow's Security Run Output is clean. -- Dan Langille - dan@langille.org https://langille.org/ From nobody Sun Apr 2 19:09:15 2023 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 4PqNql4X2kz444BX for ; Sun, 2 Apr 2023 19:09:23 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqNql2fm0z4Hwv for ; Sun, 2 Apr 2023 19:09:23 +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 332J9GuD093010 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Sun, 2 Apr 2023 15:09:16 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4::29] ([IPv6:2607:f3e0:0:4:0:0:0:29]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 332J9FDS025571 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sun, 2 Apr 2023 15:09:15 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <8657aa62-1405-1d60-1dd7-f64f99da3ab2@sentex.net> Date: Sun, 2 Apr 2023 15:09:15 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: Migrating to new disk Content-Language: en-US To: Henrik Morsing Cc: questions@freebsd.org References: From: mike tancsa In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 X-Rspamd-Queue-Id: 4PqNql2fm0z4Hwv X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 4/2/2023 11:35 AM, Henrik Morsing wrote: > On Sat, Apr 01, 2023 at 11:56:51AM +0100, Henrik Morsing wrote: >> >> Good morning. >> >> I have a fairly new install of 13.1, root on ZFS. New computer with >> an ASUS Z690-P motherboard. >> >> I have migrated to a new disk using zfs send/recv, and ran an EFI >> update command from the same guide >> (https://people.freebsd.org/~dch/posts/2021-05-12-nvme-on-freebsd.html). >> The disk is now bootable from the UEFI bootlist, but I still end up >> on the old zroot. I am guessing I need to rename the new zpool? Or is >> there another way? And is it simple to boot into a live USB and >> rename, or is it a can of worms? >> >> > > I'm fairly certain this is a pure EFI issue. Pulling out the old disk, > the disk shows up in the UFEI boot menu, but when booting from it, I > get a message saying there is no disk to boot from. > > Somewhere under /boot/efi, there must be info on which disk/kernel to > boot, but it is probably in a binary format. > > What does gpart list show on your new disk ? When I do a bare metal restore, I do something like this echo "" echo "# Create zfs boot (512k) and a 220 gig root partition" gpart create -s gpt $DESTDEVICE gpart add -a 4k -s 40M -t efi $DESTDEVICE gpart add -a 4k  -s 8G -t freebsd-swap -l swap1 $DESTDEVICE gpart add -a 4k  -t freebsd-zfs -l $DISKNAME $DESTDEVICE newfs_msdos -F 32 -c 1 /dev/${DESTDEVICE}p1 mkdir -p /mnttmp mount -t msdosfs /dev/${DESTDEVICE}p1 /mnttmp mkdir -p /mnttmp/EFI/BOOT cp /boot/loader.efi /mnttmp/EFI/BOOT/BOOTX64.efi umount /mnttmp echo ""  # Option 1: align to 4K, ashift=12  echo "# Align the Disks for 4K (ashift=12) and create the pool"  gnop create -S 4096 /dev/gpt/$DISKNAME  # Option 2: align to 8k, ashift=13 #echo "# Align the Disks for 8K (ashift=13) and create the pool" #gnop create -S 8192 /dev/gpt/disk0 zpool create -d -f -o altroot=/mnt -o feature@lz4_compress=enabled -o cachefile=/var/tmp/zpool.cache $POOLNAME /dev/gpt/$DISKNAME.nop zpool export $POOLNAME gnop destroy /dev/gpt/$DISKNAME.nop zpool import -o altroot=/mnt -o cachefile=/var/tmp/zpool.cache $POOLNAME echo "" echo "# Set the bootfs property and set options" zpool set listsnapshots=on $POOLNAME zfs set logbias=throughput $POOLNAME zfs set compression=lz4 $POOLNAME zfs set atime=off $POOLNAME #ignore the first one i=0 for snap in ${snapshots[@]} do         if [[ $i -eq 0 ]];then                 i=$i+1                 continue         fi         zfs send -v ${snapshots[$i]} | zfs recv -F ${destination[$i]}         i=$i+1 done set +e zfs set canmount=off $POOLNAME/var zfs set canmount=off $POOLNAME/usr zfs set canmount=off $POOLNAME zfs set mountpoint=none $POOLNAME zfs set mountpoint=none $POOLNAME/ROOT zfs set mountpoint=/ $POOLNAME/ROOT/default zfs set mountpoint=/tmp $POOLNAME/tmp zfs set mountpoint=/usr $POOLNAME/usr zfs set mountpoint=/usr/home $POOLNAME/usr/home zfs set mountpoint=/usr/ports $POOLNAME/usr/ports zfs set mountpoint=/usr/src $POOLNAME/usr/src zfs set mountpoint=/var $POOLNAME/var zfs set mountpoint=/var/crash $POOLNAME/var/crash zfs set mountpoint=/var/log $POOLNAME/var/log zfs set mountpoint=/var/mail $POOLNAME/var/mail zfs set mountpoint=/var/tmp $POOLNAME/var/tmp zpool set bootfs=$POOLNAME/ROOT/default $POOLNAME From nobody Sun Apr 2 21:18:32 2023 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 4PqRhr4htzz430LM for ; Sun, 2 Apr 2023 21:18:36 +0000 (UTC) (envelope-from henrik@morsing.cc) Received: from mail-lf1-x162.google.com (mail-lf1-x162.google.com [IPv6:2a00:1450:4864:20::162]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqRhq3Wygz3N4g for ; Sun, 2 Apr 2023 21:18:35 +0000 (UTC) (envelope-from henrik@morsing.cc) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=morsing.cc header.s=201904 header.b=FH4vYDk7; spf=pass (mx1.freebsd.org: domain of henrik@morsing.cc designates 2a00:1450:4864:20::162 as permitted sender) smtp.mailfrom=henrik@morsing.cc; dmarc=pass (policy=none) header.from=morsing.cc Received: by mail-lf1-x162.google.com with SMTP id h25so35574487lfv.6 for ; Sun, 02 Apr 2023 14:18:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680470313; h=from:in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:date:dkim-signature :dkim-filter:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EY2SN0koxhjuJTIH5caBzoSHzsDWwdxs0gC0tv2kI14=; b=oef4r0ssomUt5MYJaEj3Fl+DMFyMx5lz65Pf80+rfoPY8NBQfZX9sobJ0uASHswrtJ ptQK/GPNSTfjBo6ZgDwzzD/tt95mklogqtwiaTFvaq7hgJ706bI9AYLN+DWnJSD2eP8U JbTAgSkG4gMULjxhbZiCnjQiKhWtN/9DUG5KoW8OM4MBeGIxgu/9BLKn17Fa0hLe7/qW cHAoSyXgH8zM8101Iw3MkyWvalp0kBus+8mdo7VCg5Ox6Dmoi2Z0ElfVmQx/R6ZKSM/U 8f9ISiGE6dBwqrkrdMsLnMrTpfSZnHFv71VNpjGD73kJiB1ByuCi9nCAdZTavjKg+fty 8Ujg== X-Gm-Message-State: AAQBX9fv8z+82dUlADOkCigS1BPe5eSj+IfgwQ6522vOgQkutpC9DqSw VrIFADLSfjzdGkRf/0PLKhR7Joy6xF4OVsaaaMwOZ8ISu5bZ5q4zadqnX1hULiQiKFrdFvHP/A= = X-Google-Smtp-Source: AKy350bsHnnhKwCe+kUjNVXI+aWb9DxDENETcidXQcHKb9iAnbeKzRhPbESIlrtO+GG+gPSQNeWVHab9XLzP X-Received: by 2002:a05:6512:38a9:b0:4b5:7a91:70f5 with SMTP id o9-20020a05651238a900b004b57a9170f5mr10062811lft.63.1680470313511; Sun, 02 Apr 2023 14:18:33 -0700 (PDT) Received: from emil.morsing.cc (emil.morsing.cc. [2a01:7e00:e000:a4::1]) by smtp-relay.gmail.com with ESMTP id x19-20020a2ea993000000b002a62c35703fsm1525866ljq.6.2023.04.02.14.18.33 for ; Sun, 02 Apr 2023 14:18:33 -0700 (PDT) X-Relaying-Domain: morsing.cc Received: by emil.morsing.cc (Postfix, from userid 1000) id E84FF22393; Sun, 2 Apr 2023 22:18:32 +0100 (BST) DKIM-Filter: OpenDKIM Filter v2.11.0 emil.morsing.cc E84FF22393 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=morsing.cc; s=201904; t=1680470312; bh=33fD1HkWVhJgN3m7oMN9B4hjzqcNDHGaTTGn9HD7Kwk=; h=Date:To:Subject:References:In-Reply-To:From:From; b=FH4vYDk7dBZuga1R7T45a+oQ+KXQLl1i9W4gNDXhzU+ab45WyIHcNX3+ZE1HMwqfs Dd2ZvtquGNwfVKiCeDW1le6UDCqBTil1zQAbhCQUBhHjVhB3/Aj2ykY8BbDd76n5rl 950nlwuCIQFruw9oCmFqXpA9lw8w+uzzC5y0hziaYfoLSgdDh7W5QdsbE1E5SbI2kJ vfpn2JLy59xublwrhSzhHorEjIx+LtujiOYHQSAkK8w2azq1o/xeOkRZh7m3pO85lJ d2Oj3SpRIJSz9MSpVVDuitNOISQkzO6j0C3xDYefBcz+bEJTG/68hIo+Zl6H801wj4 IjIjl1E5S6dwg== Date: Sun, 2 Apr 2023 22:18:32 +0100 To: questions@freebsd.org Subject: Re: Migrating to new disk Message-ID: References: <8657aa62-1405-1d60-1dd7-f64f99da3ab2@sentex.net> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8657aa62-1405-1d60-1dd7-f64f99da3ab2@sentex.net> From: Henrik Morsing 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)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[morsing.cc,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[morsing.cc:s=201904]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::162:from]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[morsing.cc:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[henrik]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PqRhq3Wygz3N4g X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Sun, Apr 02, 2023 at 03:09:15PM -0400, mike tancsa wrote: Hi Mike, [...] >> >> >What does > >gpart list > >show on your new disk ? At bottom of this email. > >When I do a bare metal restore, I do something like this > >echo "" >echo "# Create zfs boot (512k) and a 220 gig root partition" >gpart create -s gpt $DESTDEVICE >gpart add -a 4k -s 40M -t efi $DESTDEVICE >gpart add -a 4k  -s 8G -t freebsd-swap -l swap1 $DESTDEVICE >gpart add -a 4k  -t freebsd-zfs -l $DISKNAME $DESTDEVICE >newfs_msdos -F 32 -c 1 /dev/${DESTDEVICE}p1 >mkdir -p /mnttmp >mount -t msdosfs /dev/${DESTDEVICE}p1 /mnttmp >mkdir -p /mnttmp/EFI/BOOT >cp /boot/loader.efi /mnttmp/EFI/BOOT/BOOTX64.efi >umount /mnttmp Exact same steps I have done. When I boot I get this: http://www.aixperts.co.uk/EFI_boot.png gpart list nvd0: root@freebsd:~ # gpart list nvd0 Geom name: nvd0 modified: false state: OK fwheads: 255 fwsectors: 63 last: 976773127 first: 40 entries: 128 scheme: GPT Providers: 1. Name: nvd0p1 Mediasize: 629145600 (600M) Sectorsize: 512 Stripesize: 0 Stripeoffset: 20480 Mode: r0w0e0 efimedia: HD(1,GPT,7720b051-d188-11ed-96b0-581122b5b379,0x28,0x12c000) rawuuid: 7720b051-d188-11ed-96b0-581122b5b379 rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b label: efiboot length: 629145600 offset: 20480 type: efi index: 1 end: 1228839 start: 40 2. Name: nvd0p2 Mediasize: 482298806272 (449G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 17809035264 Mode: r0w0e0 efimedia: HD(2,GPT,e2f387f6-d188-11ed-96b0-581122b5b379,0x212c028,0x38259fe0) rawuuid: e2f387f6-d188-11ed-96b0-581122b5b379 rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b label: zfs length: 482298806272 offset: 17809035264 type: freebsd-zfs index: 2 end: 976773127 start: 34783272 3. Name: nvd0p3 Mediasize: 17179869184 (16G) Sectorsize: 512 Stripesize: 0 Stripeoffset: 629166080 Mode: r0w0e0 efimedia: HD(3,GPT,e19f9a81-d188-11ed-96b0-581122b5b379,0x12c028,0x2000000) rawuuid: e19f9a81-d188-11ed-96b0-581122b5b379 rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b label: swap length: 17179869184 offset: 629166080 type: freebsd-swap index: 3 end: 34783271 start: 1228840 Consumers: 1. Name: nvd0 Mediasize: 500107862016 (466G) Sectorsize: 512 Mode: r0w0e0 efibootmgr -v: root@freebsd:~ # efibootmgr -v Boot to FW : false BootCurrent: 000f Timeout : 1 seconds BootOrder : 000E, 000F Boot000E* UEFI OS HD(1,GPT,7720b051-d188-11ed-96b0-581122b5b379,0x28,0x12c000)/File(\EFI\BOOT\BOOTX64.EFI) nvd0p1:/EFI/BOOT/BOOTX64.EFI (null) +Boot000F* UEFI OS HD(1,GPT,69a5eb60-c03c-11ed-9beb-df2246128862,0x28,0x82000)/File(\EFI\BOOT\BOOTX64.EFI) ada0p1:/EFI/BOOT/BOOTX64.EFI (null) Unreferenced Variables: Boot0002 rEFInd HD(1,GPT,7720b051-d188-11ed-96b0-581122b5b379,0x28,0x12c000)/File(\EFI\REFIND\BOOTX64.EFI) nvd0p1:/EFI/REFIND/BOOTX64.EFI (null) Boot0003* UEFI OS HD(1,GPT,69a5eb60-c03c-11ed-9beb-df2246128862,0x28,0x82000)/File(\EFI\BOOT\BOOTX64.EFI) ada0p1:/EFI/BOOT/BOOTX64.EFI (null) Boot0000* FreeBSD HD(1,GPT,06549b64-d166-11ed-af53-bbccc405f5c1,0x28,0x82000)/File(\EFI\FREEBSD\LOADER.EFI) Boot0001* UEFI: Generic STORAGE DEVICE 0272, Partition 1 PciRoot(0x0)/Pci(0x14,0x0)/USB(0x8,0x0)/USB(0x2,0x0)/HD(1,MBR,0x00000000,0x2000,0x1e1d800) VenHw(2d6447ef-3bc9-41a0-ac19-4d51d01b4ce6,3000300030003000300030003000300030003200370032000000) Boot000D* UEFI OS HD(1,GPT,69a5eb60-c03c-11ed-9beb-df2246128862,0x28,0x82000)/File(\EFI\BOOT\BOOTX64.EFI) ada0p1:/EFI/BOOT/BOOTX64.EFI (null) Regards, Henrik Morsing -- From nobody Mon Apr 3 00:02:48 2023 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 4PqWLL6vSMz43DGL for ; Mon, 3 Apr 2023 00:02:50 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PqWLL4dpZz3sNN for ; Mon, 3 Apr 2023 00:02:50 +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 33302mTe090831 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=FAIL); Sun, 2 Apr 2023 20:02:49 -0400 (EDT) (envelope-from mike@sentex.net) Received: from [IPV6:2607:f3e0:0:4::29] ([IPv6:2607:f3e0:0:4:0:0:0:29]) by pyroxene2a.sentex.ca (8.16.1/8.15.2) with ESMTPS id 33302lUg010077 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NO); Sun, 2 Apr 2023 20:02:48 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <512a2c9c-b5d6-4231-ba93-208d658206bd@sentex.net> Date: Sun, 2 Apr 2023 20:02:48 -0400 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: Migrating to new disk Content-Language: en-US To: Henrik Morsing , questions@freebsd.org References: <8657aa62-1405-1d60-1dd7-f64f99da3ab2@sentex.net> From: mike tancsa In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.84 X-Rspamd-Queue-Id: 4PqWLL4dpZz3sNN X-Spamd-Bar: ---- 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-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 4/2/2023 5:18 PM, Henrik Morsing wrote: > On Sun, Apr 02, 2023 at 03:09:15PM -0400, mike tancsa wrote: > > Hi Mike, > > [...] >>> >>> >> What does >> >> gpart list >> >> show on your new disk ? > > At bottom of this email. > >> >> When I do a bare metal restore, I do something like this >> >> echo "" >> echo "# Create zfs boot (512k) and a 220 gig root partition" >> gpart create -s gpt $DESTDEVICE >> gpart add -a 4k -s 40M -t efi $DESTDEVICE >> gpart add -a 4k  -s 8G -t freebsd-swap -l swap1 $DESTDEVICE >> gpart add -a 4k  -t freebsd-zfs -l $DISKNAME $DESTDEVICE >> newfs_msdos -F 32 -c 1 /dev/${DESTDEVICE}p1 >> mkdir -p /mnttmp >> mount -t msdosfs /dev/${DESTDEVICE}p1 /mnttmp >> mkdir -p /mnttmp/EFI/BOOT >> cp /boot/loader.efi /mnttmp/EFI/BOOT/BOOTX64.efi >> umount /mnttmp > > Exact same steps I have done. When I boot I get this: > What is in /boot/loader.conf ?  And did you set the right pool name ? zpool set bootfs=$POOLNAME/ROOT/default $POOLNAME From nobody Mon Apr 3 21:52:47 2023 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 4Pr4Q35qlMz43MtG for ; Mon, 3 Apr 2023 21:52:59 +0000 (UTC) (envelope-from freebsd-questions-3@voidcaptain.com) Received: from mx3.mx00.net (mx3.mx00.net [IPv6:2600:3c01::f03c:91ff:fe89:a3f5]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "mx3.mx00.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pr4Q272ljz3GYm for ; Mon, 3 Apr 2023 21:52:58 +0000 (UTC) (envelope-from freebsd-questions-3@voidcaptain.com) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-questions-3@voidcaptain.com designates 2600:3c01::f03c:91ff:fe89:a3f5 as permitted sender) smtp.mailfrom=freebsd-questions-3@voidcaptain.com; dmarc=pass (policy=reject) header.from=voidcaptain.com Received: from razz.mx00.net [2600:3c01::f03c:91ff:fed5:a231] by mx3.mx00.net with ESMTP id 20230329-1pjS6c-0002Aj-2V for ; Mon, 03 Apr 2023 21:52:50 +0000 Message-ID: Date: Mon, 3 Apr 2023 14:52:47 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Language: en-US To: questions@freebsd.org From: Pete Subject: Clogged pipe? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-0.75 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.96)[0.956]; NEURAL_HAM_MEDIUM(-0.91)[-0.911]; DMARC_POLICY_ALLOW(-0.50)[voidcaptain.com,reject]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; ASN(0.00)[asn:63949, ipnet:2600:3c01::/32, country:SG]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Pr4Q272ljz3GYm X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N On FreeBSD 13.1-RELEASE-p7 I have a small test file, named testfile, which contains three short lines of text, "one," "two," and "three" without the quotes. This command waits indefinitely without producing any output: tail -f testfile | cat -n | sed -u 's/^/X/' But, these five commands all work as expected, immediately outputting versions of the three lines of text: tail -f testfile | cat -n cat -n testfile | sed -u 's/^/X/' tail -f testfile | sed -u 's/^/X/' tail testfile | cat -n | sed -u 's/^/X/' tail -f testfile | cat | sed -u 's/^/X/' What is it about the first command, that causes it to produce no output, that isn't also the case with any of the last five? It doesn't matter whether the commands are run in sh, csh, or bash, the result is the same. Interestingly (or maybe not), the issue doesn't occur on my Debian box; all six commands produce immediate output there in both dash and bash. Can anyone explain what makes the first command behave differently than the others? From nobody Mon Apr 3 23:01:16 2023 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 4Pr61Q3WhPz43Spr for ; Mon, 3 Apr 2023 23:05:14 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (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 4Pr61Q17R6z3MpH for ; Mon, 3 Apr 2023 23:05:13 +0000 (UTC) (envelope-from naddy@mips.inka.de) Authentication-Results: mx1.freebsd.org; none Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1pjTEX-005nDj-7q; Tue, 04 Apr 2023 01:05:05 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.17.1/8.17.1) with ESMTP id 333N1GtG074733; Tue, 4 Apr 2023 01:01:16 +0200 (CEST) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.17.1/8.17.1/Submit) id 333N1GnZ074732; Tue, 4 Apr 2023 01:01:16 +0200 (CEST) (envelope-from naddy) Date: Tue, 4 Apr 2023 01:01:16 +0200 From: Christian Weisgerber To: Pete Cc: questions@freebsd.org Subject: Re: Clogged pipe? Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4Pr61Q17R6z3MpH X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Pete: > On FreeBSD 13.1-RELEASE-p7 I have a small test file, named testfile, > which contains three short lines of text, "one," "two," and "three" > without the quotes. > > This command waits indefinitely without producing any output: > > tail -f testfile | cat -n | sed -u 's/^/X/' Stdio buffering. See setbuf(3). By default, output using stdio functions is buffered. If it goes to a tty, it is line-buffered, i.e., output is saved up until a whole line terminated by '\n' is complete, then that line is written. Output to files or pipes is block-buffered. Output is saved up until 8 kB or 16 kB or such, and only then is it written. The buffer is also flushed on program exit. > But, these five commands all work as expected, immediately outputting > versions of the three lines of text: > > tail -f testfile | cat -n tail(1) specifically avoids stdio buffering. cat(1) here writes to a tty, so output is only line-buffered. > cat -n testfile | sed -u 's/^/X/' cat(1) terminates, so it writes all its output. The -u option to sed(1) disables buffering, although it would default to line-buffering here anyway if output goes to a tty. > tail -f testfile | sed -u 's/^/X/' tail(1) specifically avoids stdio buffering. The -u option to sed(1) disables buffering, although it would default to line-buffering here anyway if output goes to a tty. > tail testfile | cat -n | sed -u 's/^/X/' tail(1) terminates, so it writes all its output. cat(1) terminates, so it writes all its output. The -u option to sed(1) disables buffering, although it would default to line-buffering here anyway if output goes to a tty. > tail -f testfile | cat | sed -u 's/^/X/' tail(1) specifically avoids stdio buffering. Looks like plain cat(1) also avoids buffering and only introduces buffering when you specify line-oriented filter functions such as -n. The -u option to sed(1) disables buffering, although it would default to line-buffering here anyway if output goes to a tty. > Interestingly (or maybe not), the issue doesn't occur on my Debian box; > all six commands produce immediate output there in both dash and bash. Differences in default buffering behavior. Note that you can explicitly disable cat(1)'s output buffering with the -u option. There is also stdbuf(1). -- Christian "naddy" Weisgerber naddy@mips.inka.de From nobody Tue Apr 4 02:22:49 2023 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 4PrBPZ2KfWz43hn6 for ; Tue, 4 Apr 2023 02:22:58 +0000 (UTC) (envelope-from tim@timpreston.net) Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) (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 4PrBPY35nlz41nc for ; Tue, 4 Apr 2023 02:22:57 +0000 (UTC) (envelope-from tim@timpreston.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=timpreston.net header.s=fm2 header.b="L F5NFPD"; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=ChWO3lhg; spf=pass (mx1.freebsd.org: domain of tim@timpreston.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tim@timpreston.net; dmarc=none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6B9CC3200893; Mon, 3 Apr 2023 22:22:55 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 03 Apr 2023 22:22:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=timpreston.net; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1680574975; x= 1680661375; bh=5GFJCWMtScg/S4bqlLLgatv/oOUaAIUYCEiBLaZhqcY=; b=L F5NFPDVnKzaAwSrCSrCCaondG4wakTTMMkkq9uJNaYTUaMrzcBK/3uXhe5XZ90b3 MFxAI8Wo4r7QU5gTS+quas/CFLd1fxvYiAN8AUZ3jyxlGAWZOMav3u3R5eqE4+zJ YSvJBKXlXzHbn0lWQqsi+E0PN4JrM8d7mIiaXIAv1QcknqzlUqAH3M/+PQiNzv8U eZ3N0AsyUq3GBBMmzYAFEwm2US1sb7C9k3U3AnjS2W5v4oi5PHn9+W1/zYzBMDc0 iGQI14Skiriu8SuqLBSZ+2WUVEnpW2ea4JyWjmpZ/SIgwfIRVodhj38NU1qY9CJS 24pOkZCvcQLpnesN40Nvg== 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:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1680574975; x=1680661375; bh=5GFJCWMtScg/S 4bqlLLgatv/oOUaAIUYCEiBLaZhqcY=; b=ChWO3lhgsbcOnfhLbkD5H0NyyJkLA osPrXofKrHudviacylLmdhfQ6CI+dmlIlMRJyq4E1iQRiG4G3M9MwG5Uk2V0rhi6 peist8f76rEAnUG/K4ngocTAYhAVcFhuHuLkULOeEQSgZy2Rl1p7wr4CljamV6rJ cZ3W9xZb9Im6sENoIiw/Ij/zNImVGBFQOKqg8Xo1CBoKMFHdkG+y5dN308n80tCG LHddjhHbw7UeLUmZF0MiKP1XQqaj2ydRX38kU6NJVg6IjBf43pylOsMVVZR+3sg7 r5p2kk6iPpt89KxnJr93xm4J3kQScp9ts4BknylnLDJOvBRijHvMX2mZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdeikedggeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptgfkffggfgfuvfevfhfhjgesrgdtreertdefjeenucfhrhhomhepvfhimhcu rfhrvghsthhonhcuoehtihhmsehtihhmphhrvghsthhonhdrnhgvtheqnecuggftrfgrth htvghrnhepueffueelffejtdeifffglefhjeekheegveekgffgtefhheehffdutdfftdev hfdunecuffhomhgrihhnpehgihhthhhusgdrtghomhdphhhonhgvhihguhhiuggvrdhnvg htnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhi mhesthhimhhprhgvshhtohhnrdhnvght X-ME-Proxy: Feedback-ID: i1d2040e0:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 3 Apr 2023 22:22:53 -0400 (EDT) Content-Type: multipart/alternative; boundary="------------AZUAt09J05l0S7q1FLmj63aF" Message-ID: <078a1cf8-7ae2-c593-615b-f5f37fa2b3eb@timpreston.net> Date: Tue, 4 Apr 2023 12:22:49 +1000 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: Docker Content-Language: en-AU To: Paul Mather , John Levine Cc: FreeBSD Mailing List , tomek@cedro.info References: <20230329053443.6ADA6B6AFED5@dhcp-8e64.meeting.ietf.org> <8E16D624-2655-4A10-844A-93E4F63E9859@gromit.dlib.vt.edu> From: Tim Preston In-Reply-To: <8E16D624-2655-4A10-844A-93E4F63E9859@gromit.dlib.vt.edu> X-Spamd-Result: default: False [-4.59 / 15.00]; DWL_DNSWL_LOW(-1.00)[messagingengine.com:dkim]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; R_DKIM_ALLOW(-0.20)[timpreston.net:s=fm2,messagingengine.com:s=fm2]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from]; RCPT_COUNT_THREE(0.00)[4]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DMARC_NA(0.00)[timpreston.net]; DKIM_TRACE(0.00)[timpreston.net:+,messagingengine.com:+]; FROM_HAS_DN(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PrBPY35nlz41nc X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------AZUAt09J05l0S7q1FLmj63aF Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit It can be done, with a bit of manual tinkering. Here is a gist which explains how to run Docker in a CentOS 8 VM (under bhyve). https://gist.github.com/tehpeh/7e5329d295eca9539e6462f36b6ce9c0 It's a bit out of date but the general idea would be the same for CentOS stream, Alpine etc: install Docker, enable the service, open firewall/networking, nfs mount a local directory. This is pretty much what Docker for Mac does. If you're looking for the Docker hub image repository equivalent for FreeBSD, take a look at Bastille templates or Potluck (https://potluck.honeyguide.net/). However, and this is only my personal opinion, a pre-baked container image repository is a bad idea. Apart from the security issues and recent drama around Docker shutting down free accounts, container images are often set up with default parameters not useful in a production environment (or even your specific dev environment) and are built against a particular kernel version, so may not run as expected on a different kernel version. Again, only my opinion, but you're much better off building your own, private, images targeting the particular OS/Kernel version you use in dev/staging/production. In summary, prefer Dockerfiles over pre-built images. I think the conversation we really need to have is not about copying Docker, but instead how do we consistently create, run, and scale jails across multiple FreeBSD hosts easily. Tim On 2/4/23 02:54, Paul Mather wrote: > On Mar 29, 2023, at 1:34 AM, John Levine wrote: > >> It appears that Tomek CEDRO said: >>> if there are lots of images for linux docker, and docker is linux only >>> solution, there is no reason to talk about it on bsd or even offer some >>> sort of images of bsd for linux right? >> Docker runs on MacOS with a linux emulation layer. FreeBSD already has >> some linux emulation so in principle one could do the same thing, but >> it'd be a lot of work for dubious benefit. > > I disagree it would be of dubious benefit. MacOS is a Tier 1 platform in the Docker ecosystem. Using Docker Desktop on macOS makes using Docker and Kubernetes for development work very easy on that platform, meaning you can stay in the environment you prefer. MacOS is not Linux, but the implementation on there is to use a shim Linux VM via the built-in macOS hypervisor (which, IIRC, is a derivative of bhyve). > > It would be great if the same thing could be done on FreeBSD. It would be beneficial if there was a supported docker machine driver for bhyve on FreeBSD. Right now, I believe the road to running Linux containers on FreeBSD is to use the VirtualBox docker machine driver, which is a bit heavyweight (in terms of added dependencies) for my liking. It would be nice if bhyve could be used to run the shim Linux VM. > > Other than that, much of the tooling to run Docker and Kubernetes is already in ports. But, those (e.g., in the case of Kubernetes) need to point to non-FreeBSD systems that are running the actual containers, pods, etc. It would be nice to be able to do it all on FreeBSD, at least for development and kicking-the-tyres purposes. > > Cheers, > > Paul. > --------------AZUAt09J05l0S7q1FLmj63aF Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit It can be done, with a bit of manual tinkering.

Here is a gist which explains how to run Docker in a CentOS 8 VM (under bhyve).

https://gist.github.com/tehpeh/7e5329d295eca9539e6462f36b6ce9c0

It's a bit out of date but the general idea would be the same for CentOS stream, Alpine etc: install Docker, enable the service, open firewall/networking, nfs mount a local directory. This is pretty much what Docker for Mac does.

If you're looking for the Docker hub image repository equivalent for FreeBSD, take a look at Bastille templates or Potluck (https://potluck.honeyguide.net/).

However, and this is only my personal opinion, a pre-baked container image repository is a bad idea. Apart from the security issues and recent drama around Docker shutting down free accounts, container images are often set up with default parameters not useful in a production environment (or even your specific dev environment) and are built against a particular kernel version, so may not run as expected on a different kernel version.

Again, only my opinion, but you're much better off building your own, private, images targeting the particular OS/Kernel version you use in dev/staging/production. In summary, prefer Dockerfiles over pre-built images.

I think the conversation we really need to have is not about copying Docker, but instead how do we consistently create, run, and scale jails across multiple FreeBSD hosts easily.

Tim


On 2/4/23 02:54, Paul Mather wrote:
On Mar 29, 2023, at 1:34 AM, John Levine <johnl@iecc.com> wrote:

It appears that Tomek CEDRO <tomek@cedro.info> said:
if there are lots of images for linux docker, and docker is linux only
solution, there is no reason to talk about it on bsd or even offer some
sort of images of bsd for linux right?
Docker runs on MacOS with a linux emulation layer.  FreeBSD already has
some linux emulation so in principle one could do the same thing, but
it'd be a lot of work for dubious benefit.

I disagree it would be of dubious benefit.  MacOS is a Tier 1 platform in the Docker ecosystem.  Using Docker Desktop on macOS makes using Docker and Kubernetes for development work very easy on that platform, meaning you can stay in the environment you prefer.  MacOS is not Linux, but the implementation on there is to use a shim Linux VM via the built-in macOS hypervisor (which, IIRC, is a derivative of bhyve).

It would be great if the same thing could be done on FreeBSD.  It would be beneficial if there was a supported docker machine driver for bhyve on FreeBSD.  Right now, I believe the road to running Linux containers on FreeBSD is to use the VirtualBox docker machine driver, which is a bit heavyweight (in terms of added dependencies) for my liking.  It would be nice if bhyve could be used to run the shim Linux VM.

Other than that, much of the tooling to run Docker and Kubernetes is already in ports.  But, those (e.g., in the case of Kubernetes) need to point to non-FreeBSD systems that are running the actual containers, pods, etc.  It would be nice to be able to do it all on FreeBSD, at least for development and kicking-the-tyres purposes.

Cheers,

Paul.


--------------AZUAt09J05l0S7q1FLmj63aF-- From nobody Tue Apr 4 03:38:15 2023 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 4PrD4X383mz43nXJ for ; Tue, 4 Apr 2023 03:38:20 +0000 (UTC) (envelope-from freebsd-questions-3@voidcaptain.com) Received: from mx3.mx00.net (mx3.mx00.net [IPv6:2600:3c01::f03c:91ff:fe89:a3f5]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "mx3.mx00.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PrD4X0vYyz49ml for ; Tue, 4 Apr 2023 03:38:20 +0000 (UTC) (envelope-from freebsd-questions-3@voidcaptain.com) Authentication-Results: mx1.freebsd.org; none Received: from razz.mx00.net [2600:3c01::f03c:91ff:fed5:a231] by mx3.mx00.net with ESMTP id 20230329-1pjXUv-0002VB-1j; Tue, 04 Apr 2023 03:38:17 +0000 Message-ID: Date: Mon, 3 Apr 2023 20:38:15 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Subject: Re: Clogged pipe? Content-Language: en-US To: Christian Weisgerber Cc: questions@freebsd.org References: From: Pete In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4PrD4X0vYyz49ml X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:63949, ipnet:2600:3c01::/32, country:SG] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Christian Weisgerber wrote on 4/3/23 16:01: > Pete: > >> On FreeBSD 13.1-RELEASE-p7 I have a small test file, named testfile, >> which contains three short lines of text, "one," "two," and "three" >> without the quotes. >> >> This command waits indefinitely without producing any output: >> >> tail -f testfile | cat -n | sed -u 's/^/X/' > > Stdio buffering. See setbuf(3). > > By default, output using stdio functions is buffered. If it goes > to a tty, it is line-buffered, i.e., output is saved up until a > whole line terminated by '\n' is complete, then that line is written. > Output to files or pipes is block-buffered. Output is saved up > until 8 kB or 16 kB or such, and only then is it written. The > buffer is also flushed on program exit. Hi Christian, So, I guess the short answer is that cat -n does block buffering to the pipe, but cat with no options does not. tail -f testfile | cat | sed -u 's/^/X/' tail -f testfile | cat -u | sed -u 's/^/X/' tail -f testfile | cat -nu | sed -u 's/^/X/' all provide immediate output, but tail -f testfile | cat -n | sed -u 's/^/X/' does not and waits. Seems slightly unintuitive that cat -n operates differently in this regard than cat with no parameters, but the behavior makes sense once that is understood. Thank for a clear and complete explanation! Pete From nobody Tue Apr 4 05:36:14 2023 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 4PrGhg3zb4z43xhR for ; Tue, 4 Apr 2023 05:36:19 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PrGhg1pW3z4QWZ for ; Tue, 4 Apr 2023 05:36:19 +0000 (UTC) (envelope-from guru@unixarea.de) Authentication-Results: mx1.freebsd.org; none Received: from [188.174.48.200] (helo=pureos) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjZL6-0002i7-3p; Tue, 04 Apr 2023 07:36:16 +0200 Date: Tue, 4 Apr 2023 07:36:14 +0200 From: Matthias Apitz To: Pete Cc: Christian Weisgerber , questions@freebsd.org Subject: Re: Clogged pipe? Message-ID: Reply-To: Matthias Apitz References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r368166 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.48.200 X-Rspamd-Queue-Id: 4PrGhg1pW3z4QWZ X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N El día lunes, abril 03, 2023 a las 08:38:15 -0700, Pete escribió: > So, I guess the short answer is that cat -n does block buffering to the > pipe, but cat with no options does not. > > tail -f testfile | cat | sed -u 's/^/X/' > tail -f testfile | cat -u | sed -u 's/^/X/' > tail -f testfile | cat -nu | sed -u 's/^/X/' > > all provide immediate output, but > > tail -f testfile | cat -n | sed -u 's/^/X/' > > does not and waits. I fired this up on Linux and used strace to look what the processes are doing: tail -f testfile | cat -n | sed -u 's/^/X/' X 1 11111111111 X 2 22222222222 X 3 33333333333 (hangs) ps ax | egrep ' tail| cat| sed' 25014 pts/2 S+ 0:00 tail -f testfile 25015 pts/2 S+ 0:00 cat -n 25016 pts/2 S+ 0:00 sed -u s/^/X/ srap53dxr1:/home/sisis/install # strace -p 25016 strace: Process 25016 attached read(0, ^C strace: Process 25016 detached srap53dxr1:/home/sisis/install # strace -p 25015 strace: Process 25015 attached read(0, ^C strace: Process 25015 detached srap53dxr1:/home/sisis/install # strace -p 25014 strace: Process 25014 attached select(5, [1 4], NULL, NULL, NULL i.e. the sed(1) and the cat(1) are just reading STDIN waiting for more input to appear. The problem is with the "tail -f" The -f flag let the tail(1) after it has read all the lines of "testfile" just waiting for the file cwto grow which could happen if other processes would write to the file. Nothing magic, wrong usage of -f here. matthias -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub No euro for the war! Keinen Euro für den Krieg! ¡No un Euro por la guerra! From nobody Tue Apr 4 07:25:36 2023 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 4PrK6v2pWBz43786 for ; Tue, 4 Apr 2023 07:25:43 +0000 (UTC) (envelope-from freebsd-questions-3@voidcaptain.com) Received: from mx3.mx00.net (mx3.mx00.net [IPv6:2600:3c01::f03c:91ff:fe89:a3f5]) (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-signature ECDSA (P-256) client-digest SHA256) (Client CN "mx3.mx00.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PrK6v0tFfz3NX1 for ; Tue, 4 Apr 2023 07:25:43 +0000 (UTC) (envelope-from freebsd-questions-3@voidcaptain.com) Authentication-Results: mx1.freebsd.org; none Received: from razz.mx00.net [2600:3c01::f03c:91ff:fed5:a231] by mx3.mx00.net with ESMTP id 20230329-1pjb2v-0002eC-36; Tue, 04 Apr 2023 07:25:37 +0000 Message-ID: <4b563b2a-2c26-8c84-f8db-51e4f17dcaf6@slagle.net> Date: Tue, 4 Apr 2023 00:25:36 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Subject: Re: Clogged pipe? Content-Language: en-US To: Matthias Apitz Cc: Christian Weisgerber , questions@freebsd.org References: From: Pete In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4PrK6v0tFfz3NX1 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:63949, ipnet:2600:3c01::/32, country:SG] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Matthias Apitz wrote on 4/3/23 22:36: > El día lunes, abril 03, 2023 a las 08:38:15 -0700, Pete escribió: > >> So, I guess the short answer is that cat -n does block buffering to the >> pipe, but cat with no options does not. >> >> tail -f testfile | cat | sed -u 's/^/X/' >> tail -f testfile | cat -u | sed -u 's/^/X/' >> tail -f testfile | cat -nu | sed -u 's/^/X/' >> >> all provide immediate output, but >> >> tail -f testfile | cat -n | sed -u 's/^/X/' >> >> does not and waits. > i.e. the sed(1) and the cat(1) are just reading STDIN waiting for > more input to appear. The problem is with the "tail -f" > The -f flag let the tail(1) after it has read all the lines of > "testfile" just waiting for the file cwto grow which > could happen if other processes would write to the file. > > Nothing magic, wrong usage of -f here. Well, I was just showing a simplified example to illustrate the problem; what I was really trying to script is this: /usr/bin/tail -f -n+1 /var/log/exim/main-$(/bin/date -u '+%Y%m%d').log | /bin/cat -n | /usr/bin/sed -Eu 's/^[[:blank:]]*([[:digit:]]*)[[:blank:]]+/\1 /' which prefixes line numbers as it watches today's exim log file scroll along. So, in this case the -f flag is needed on the tail command. What actually fixes the buffering problem on FreeBSD (it already works fine on Linux) is to add the -u flag to the cat command. From nobody Tue Apr 4 12:43:26 2023 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 4PrS9b1HC9z43WVn for ; Tue, 4 Apr 2023 12:43:31 +0000 (UTC) (envelope-from henrik@morsing.cc) Received: from mail-lj1-x263.google.com (mail-lj1-x263.google.com [IPv6:2a00:1450:4864:20::263]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PrS9Z2Jwkz4Mpr for ; Tue, 4 Apr 2023 12:43:29 +0000 (UTC) (envelope-from henrik@morsing.cc) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=morsing.cc header.s=201904 header.b=DCmuVqDE; spf=pass (mx1.freebsd.org: domain of henrik@morsing.cc designates 2a00:1450:4864:20::263 as permitted sender) smtp.mailfrom=henrik@morsing.cc; dmarc=pass (policy=none) header.from=morsing.cc Received: by mail-lj1-x263.google.com with SMTP id e9so18396325ljq.4 for ; Tue, 04 Apr 2023 05:43:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680612207; h=from:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:date:dkim-signature:dkim-filter :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Nnn6WBLzwUyVylljEFWQmn4iOCrBSgdpj8QEDMVsLb8=; b=eQJmH7cPRv0zOpgaJhMH5UF1QasD5L9AL5mqaONAmCnaNvN6yFQnwg18g8HyoD5mvZ 8fAuoBu/m3apaWlf5Td0rilQLwepIO6tns4aL/yhnEH1hjF6bOW/ySJk5jH2VbTwlqjt 9kPlaSfgAqKxXqDJgAdWd++8sX4ZtdE5CIjtGycq7oHvSE08pUVje+r/DNB2udlkyP7l E16JvEWxZMMtE9c5gAENEc6SaEt6GYozyZ28eD6A3Lnx0CsdjW7qqX7v9a4Ng0W/S/RV RTvCOuiLrkrU73PFKm5Jv7f4nY7+6JwUwS9dC7QZ8Rp6azdfojlgiQB4ZqVG4amGU28W kb0Q== X-Gm-Message-State: AAQBX9fVb/MTAbIxV0U8KmVIywLxQKoC+VHFXzfjC/YqyC7ZCd4EiBiP pPtn9fSELIyygdb+flZVvftLka6JvRRLUvdPjk2mmTlyKocCpgVil403LCT1JbLwZMOL7UVScg= = X-Google-Smtp-Source: AKy350Z2Aqlccw/oY4OLwHIG9awJqHiacpVBdt27l02k1txBfbByV90pe0AfFvF9Xlbi4u6d9HcidGdHU2h6 X-Received: by 2002:a2e:9948:0:b0:29a:d4b3:5d75 with SMTP id r8-20020a2e9948000000b0029ad4b35d75mr889064ljj.29.1680612207192; Tue, 04 Apr 2023 05:43:27 -0700 (PDT) Received: from emil.morsing.cc (emil.morsing.cc. [2a01:7e00:e000:a4::1]) by smtp-relay.gmail.com with ESMTP id g9-20020a2ea4a9000000b0029593c7964fsm2519113ljm.16.2023.04.04.05.43.27; Tue, 04 Apr 2023 05:43:27 -0700 (PDT) X-Relaying-Domain: morsing.cc Received: by emil.morsing.cc (Postfix, from userid 1000) id 6550C20584; Tue, 4 Apr 2023 13:43:26 +0100 (BST) DKIM-Filter: OpenDKIM Filter v2.11.0 emil.morsing.cc 6550C20584 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=morsing.cc; s=201904; t=1680612206; bh=87/BQ9UBP5ggkCrCKUxn3MzUr/O527HW681BVvwGmDA=; h=Date:To:Cc:Subject:References:In-Reply-To:From:From; b=DCmuVqDEgS344LFje+0lUB54qtSpeAW0PeZRJV3KFggsLI1dC+Yl9C5WXv2WSUlDm M8GYtbCUIej5fva12Vb78y+z0Foh8EYnrCxvPs1H4vxWTn/Hpe7vtYtTdqcIFo8w4S oc4z2NU6ytVIzf9wiVpG5tmg0kRgf0hZVlTKw6Ykp0rxJc7pgBso3q6MYSBrzpbwMj e4Hw8thA7ebjPXNuiAoqKnaTrJBv098q66D4dqXQ7U9+A65Zxxu0K3gTvdbFOYQEF+ qoRp1cIigJtxldCpJZp6e3lultYTqiF2fqh5LumcA/JZomlGWsboXjvgOtkIrXEUcn R/pRVyhJkBKFw== Date: Tue, 4 Apr 2023 13:43:26 +0100 To: mike tancsa Cc: questions@freebsd.org Subject: Re: Migrating to new disk Message-ID: References: <8657aa62-1405-1d60-1dd7-f64f99da3ab2@sentex.net> <512a2c9c-b5d6-4231-ba93-208d658206bd@sentex.net> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <512a2c9c-b5d6-4231-ba93-208d658206bd@sentex.net> From: Henrik Morsing X-Spamd-Result: default: False [-4.00 / 15.00]; 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)[morsing.cc,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[morsing.cc:s=201904]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::263:from]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_HAS_DN(0.00)[]; FREEFALL_USER(0.00)[henrik]; DKIM_TRACE(0.00)[morsing.cc:+]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PrS9Z2Jwkz4Mpr X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Thanks, you fixed it! On Sun, Apr 02, 2023 at 08:02:48PM -0400, mike tancsa wrote: > >What is in /boot/loader.conf ? kern.geom.label.disk_ident.enable="0" kern.geom.label.gptid.enable="0" cryptodev_load="YES" zfs_load="YES" if_re_load="YES" if_re_name="/boot/modules/if_re.ko" console="vidconsole" # set the maximum data size limit to 1 GB kern.maxdsiz="1073741824" # set the default data size limit to 1 GB kern.dfldsiz="1073741824" cuse_load="YES" > And did you set the right pool name ? > >zpool set bootfs=$POOLNAME/ROOT/default $POOLNAME > root@freebsd:~ # zpool get bootfs NAME PROPERTY VALUE SOURCE zold bootfs zold/ROOT/default local Maybe not? Set the bootfs and it works now! Thanks for your help. Regards, Henrik Morsing -- From nobody Wed Apr 5 10:39:33 2023 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 4Ps1NN0nL4z43Fcj for ; Wed, 5 Apr 2023 10:39:48 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4Ps1NM2Bn6z4P3M for ; Wed, 5 Apr 2023 10:39:47 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 47.181.130.121 as permitted sender) smtp.mailfrom=bc979@lafn.org; dmarc=none Received: from smtpclient.apple (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4Ps1NH4J9gz2fjRM for ; Wed, 5 Apr 2023 03:39:43 -0700 (PDT) From: Doug Hardie Content-Type: multipart/alternative; boundary="Apple-Mail=_77EAC652-7E51-488F-A146-B77F65CC8A45" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: syslog Message-Id: <5748DDF6-66A6-4BF5-83BA-51B08D025F46@sermon-archive.info> Date: Wed, 5 Apr 2023 03:39:33 -0700 To: questions@freebsd.org X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Virus-Scanned: clamav-milter 1.0.1 at mail X-Virus-Status: Clean X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_DKIM_NA(0.00)[]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4Ps1NM2Bn6z4P3M X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_77EAC652-7E51-488F-A146-B77F65CC8A45 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii I am writing a program that I would like to log some messages with = LOG_DEBUG, and others with LOG_INFO and LOG_MAIL. I have tried openlog = before each of them with the right facilities and levels, but some of = the messages are simply dropped. It appears to change between = invocations weather the debug or mail messages are dropped. Is there a = way to do this? -- Doug --Apple-Mail=_77EAC652-7E51-488F-A146-B77F65CC8A45 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii I am writing a program that I would like to log some messages with LOG_DEBUG, and others with LOG_INFO and LOG_MAIL.  I have tried openlog before each of them with the right facilities and levels, but some of the messages are simply dropped.  It appears to change between invocations weather the debug or mail messages are dropped.  Is there a way to do this?

-- Doug

--Apple-Mail=_77EAC652-7E51-488F-A146-B77F65CC8A45-- From nobody Wed Apr 5 12:34:17 2023 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 4Ps3wd6k3Wz43Pbh for ; Wed, 5 Apr 2023 12:34:25 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (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 4Ps3wb5W2Pz3JBx for ; Wed, 5 Apr 2023 12:34:23 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.ait.ac.th header.s=selector1 header.b=C+TlsF20; spf=pass (mx1.freebsd.org: domain of Olivier.Nicole@cs.ait.ac.th designates 192.41.170.16 as permitted sender) smtp.mailfrom=Olivier.Nicole@cs.ait.ac.th; dmarc=pass (policy=none) header.from=cs.ait.ac.th Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 638CF89283; Wed, 5 Apr 2023 19:34:18 +0700 (+07) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:received:received :received; s=selector1; t=1680698058; x=1682512459; bh=L4YEWcPAy +92lI9F8XpYZgPBfnB/y640Hy8GZQTqT1A=; b=C+TlsF20sZOURPJxVsGvfgnYO WbdzE8Bog9+cjVjxsdrnNPxnSaXl3VG5TxDYxAFsN1pSqJXoSknP0nyszsgq5ja+ OP6F8Y7XUc54OtnNr3Ha9FHN8VB4pwG4pFugKMPASdMorTnlVxyDZFFkt3oAA74L OTUBQXGnnG96xqtWXY= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vdiSWEj7R4pi; Wed, 5 Apr 2023 19:34:18 +0700 (+07) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 01E1889282; Wed, 5 Apr 2023 19:34:17 +0700 (+07) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id 335CYHoB082657; Wed, 5 Apr 2023 19:34:17 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier To: Doug Hardie Cc: questions@freebsd.org Subject: Re: syslog In-Reply-To: <5748DDF6-66A6-4BF5-83BA-51B08D025F46@sermon-archive.info> (message from Doug Hardie on Wed, 5 Apr 2023 03:39:33 -0700) Date: Wed, 05 Apr 2023 19:34:17 +0700 Message-ID: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Result: default: False [-4.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.995]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[cs.ait.ac.th,none]; RCVD_IN_DNSWL_MED(-0.20)[192.41.170.16:from]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[cs.ait.ac.th:s=selector1]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[cs.ait.ac.th:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_DN_SOME(0.00)[]; ASN(0.00)[asn:4767, ipnet:192.41.170.0/24, country:TH] X-Rspamd-Queue-Id: 4Ps3wb5W2Pz3JBx X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N Doug Hardie writes: > I am writing a program that I would like to log some messages with LOG_DEBUG, > and others with LOG_INFO and LOG_MAIL. I have tried openlog before each of > them with the right facilities and levels, but some of the messages are > simply dropped. It appears to change between invocations weather the debug or > mail messages are dropped. Is there a way to do this? It may be that the messages are received by syslog, but syslog decides that they are not important enough and just don't save them on disk. If you look at /etc/syslog.conf, you will see that many info messages do not make it to the disk. One solution would be to edit the config of syslog to log *.* You can also test various messages with logger(1) manually, varying the facility and priority. Olivier From nobody Wed Apr 5 13:46:19 2023 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 4Ps5Wt51Fyz43VcS for ; Wed, 5 Apr 2023 13:46:34 +0000 (UTC) (envelope-from danm@prime.gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "prime.gushi.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ps5Ws2y3tz3Nw6; Wed, 5 Apr 2023 13:46:33 +0000 (UTC) (envelope-from danm@prime.gushi.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=joirryyz; spf=pass (mx1.freebsd.org: domain of danm@prime.gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=danm@prime.gushi.org; dmarc=pass (policy=none) header.from=gushi.org Received: from prime.gushi.org (localhost [127.0.0.1]) by prime.gushi.org (8.16.1/8.16.1) with ESMTPS id 335DkK4q097932 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Apr 2023 06:46:21 -0700 (PDT) (envelope-from danm@prime.gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 335DkK4q097932 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1680702381; bh=26MfLDV5GmWvMxst0PPZ3HMgDMIzM3uw7UYKricy3N4=; h=Date:From:To:cc:Subject; z=Date:=20Wed,=205=20Apr=202023=2006:46:19=20-0700=20(PDT)|From:=20 "Dan=20Mahoney=20(Gushi)"=20|To:=20questions@fr eebsd.org|cc:=20cy@freebsd.org|Subject:=20Fixing=20the=20"kdc"=20s tartup=20file.; b=joirryyzVNwxWEWHXWpbVhhx3WsSAVGVqw4nngjw/xqbC+lqoqS3pHFXsOkDC+6FH UQk69dFmRcEJ5HPx1ZwsWHau8veIKYXekueSJOGoVbT6TlqX5ezu2cgNFhGjOFdwop h/0o0W/Ojb2sStimdV5glmKFfSubknQUvff3ijzHO/E5A0w0B0Se8LBotN6iineQOn uQh5wthxGwHqilOD6HUoC+eSEaXpTQuBtTdVKlQF8m9ylCFAVoPWFKjgBpsAB7thM7 uFMw/TwhCNBZKwwGqFAzB+EoSGGrJRR5bejk10wGAgk+DTNVFFZloanCuFsLkudmz5 wkhZ/dUt3bwgw== Received: (from danm@localhost) by prime.gushi.org (8.16.1/8.16.1/Submit) id 335DkKjh097930; Wed, 5 Apr 2023 06:46:20 -0700 (PDT) (envelope-from danm) Date: Wed, 5 Apr 2023 06:46:19 -0700 (PDT) From: "Dan Mahoney (Gushi)" To: questions@freebsd.org cc: cy@freebsd.org Subject: Fixing the "kdc" startup file. Message-ID: <48fa4fc5-76c0-3cd1-eda6-bc71dbcd4db3@prime.gushi.org> X-OpenPGP-Key-ID: 0x624BB249 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (prime.gushi.org [0.0.0.0]); Wed, 05 Apr 2023 13:46:30 +0000 (UTC) X-Spamd-Result: default: False [-6.40 / 15.00]; DWL_DNSWL_MED(-2.00)[gushi.org:dkim]; 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)[gushi.org,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; FORGED_SENDER(0.30)[freebsd@gushi.org,danm@prime.gushi.org]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; R_SPF_ALLOW(-0.20)[+a]; RCVD_IN_DNSWL_MED(-0.20)[2620:137:6000:10::142:from]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; DKIM_TRACE(0.00)[gushi.org:+]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; TO_DN_NONE(0.00)[]; FROM_NEQ_ENVFROM(0.00)[freebsd@gushi.org,danm@prime.gushi.org] X-Rspamd-Queue-Id: 4Ps5Ws2y3tz3Nw6 X-Spamd-Bar: ------ X-ThisMailContainsUnwantedMimeParts: N Hey there all, I'm hitting the issue where we use MIT krb5kdc at work, but the port doesn't provide its own startup file Previously, I'd been told (I think by the maintainer) to just set kdc_program and the like in rc.conf, but that really doesn't solve things: the one in base is sorely lacking (find_proc doesn't work with it, it doesn't restart cleanly, it doesn't give you a way to have krb5kdc specify a pid file). Setting things like: kdc_pidfile=/var/run/krb5kdc.pid kdc_args="-P /var/run/krb5kdc.pid" in rc.conf do nothing because the existing rc.d script doesn't provide a way to override them. For starters: Heimdal has no pidfile support, bit it could get one if launched under daemon(1) -- heimdal doesn't even detach by default -- the rc.d file sets --detach. MIT only creates one if you specify -P, and there's no corresponding kdc.conf knob. While we're at it, ==== There's this very old bug that references this, last touched in 2020, closed unsuccessful. I want to fix it. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197337 ==== I've written a number of startup files for our own services at work (we use puppet, so it relies on the built-in BSD framework to start, stop, and refresh services cleanly). If I supplied startup files for mitkdc, mitkadmin, mitkpropd, would they be useful? I'll note, this is not an "urgent" thing. I'm planning to be at BSDCan. If others want to meet me there and hack on this, I'm a chunky guy with blue hair and am hard to miss. -Dan -- --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC FB: fb.com/DanielMahoneyIV LI: linkedin.com/in/gushi Site: http://www.gushi.org --------------------------- From nobody Wed Apr 5 14:19:58 2023 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 4Ps6Gw5TXhz43XVH for ; Wed, 5 Apr 2023 14:20:24 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "prime.gushi.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ps6Gv6JLxz3hjG; Wed, 5 Apr 2023 14:20:23 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gushi.org header.s=prime2014 header.b=OR1GGZ5B; spf=pass (mx1.freebsd.org: domain of freebsd@gushi.org designates 2620:137:6000:10::142 as permitted sender) smtp.mailfrom=freebsd@gushi.org; dmarc=pass (policy=none) header.from=gushi.org Received: from smtpclient.apple (vpn-us.f.root-servers.org [149.20.8.9]) (authenticated bits=0) by prime.gushi.org (8.16.1/8.16.1) with ESMTPSA id 335EK9VP003063 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 5 Apr 2023 07:20:10 -0700 (PDT) (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 335EK9VP003063 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1680704410; bh=/NuRVmeuBw+5aufVqzLq5duQSjSpwnoT5w5Wt+YDAcE=; h=Subject:From:In-Reply-To:Date:Cc:References:To; z=Subject:=20Re:=20Fixing=20the=20"kdc"=20startup=20file.|From:=20" Dan=20Mahoney=20(Ports)"=20|In-Reply-To:=20<202 30405140916.A74D816F@slippy.cwsent.com>|Date:=20Wed,=205=20Apr=202 023=2007:19:58=20-0700|Cc:=20questions@freebsd.org,=0D=0A=20cy@fre ebsd.org|References:=20<48fa4fc5-76c0-3cd1-eda6-bc71dbcd4db3@prime .gushi.org>=0D=0A=20<20230405140916.A74D816F@slippy.cwsent.com>|To :=20Cy=20Schubert=20; b=OR1GGZ5BES8uz7dbFW3sUy8qmSmkOScHLm5I3Vp9hkOkpCO4Li8a1GeugtzFOCzEN kqXrUzuj5lsbyRrC301MHXn9tpe5zLCEp7kJNaKyS/WJytIMsiT98x8r+KfFolJzAD wYswhNwNu1IQ0Yrr44mvfVRXy0O0w0IW/2Txm4s3yFfM3AT/FcqidLCAKFvivYxeEC izb4A4/S/dJNp17K61M5dqGr8Oo/IOdihDqBkDhVuXpzzTBjVPnSRNPnAID15UpbFd kNPrABqf965W4EjGAHa745KyEKImShDuuAU2/VKjueSutVGrHP9+Smu36wl75Dk5NI pXn4eDVpp4C5A== X-Authentication-Warning: prime.gushi.org: Host vpn-us.f.root-servers.org [149.20.8.9] claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: Fixing the "kdc" startup file. From: "Dan Mahoney (Ports)" In-Reply-To: <20230405140916.A74D816F@slippy.cwsent.com> Date: Wed, 5 Apr 2023 07:19:58 -0700 Cc: questions@freebsd.org, cy@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <48fa4fc5-76c0-3cd1-eda6-bc71dbcd4db3@prime.gushi.org> <20230405140916.A74D816F@slippy.cwsent.com> To: Cy Schubert X-Mailer: Apple Mail (2.3731.500.231) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (prime.gushi.org [149.20.68.142]); Wed, 05 Apr 2023 14:20:19 +0000 (UTC) X-Spamd-Result: default: False [-6.20 / 15.00]; DWL_DNSWL_MED(-2.00)[gushi.org:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; DMARC_POLICY_ALLOW(-0.50)[gushi.org,none]; R_DKIM_ALLOW(-0.20)[gushi.org:s=prime2014]; RCVD_IN_DNSWL_MED(-0.20)[2620:137:6000:10::142:from]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US]; MID_RHS_MATCH_FROM(0.00)[]; HAS_XAW(0.00)[]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[gushi.org:+]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4Ps6Gv6JLxz3hjG X-Spamd-Bar: ------ X-ThisMailContainsUnwantedMimeParts: N > On Apr 5, 2023, at 7:09 AM, Cy Schubert = wrote: >=20 > In message <48fa4fc5-76c0-3cd1-eda6-bc71dbcd4db3@prime.gushi.org>, = "Dan=20 > Mahoney > (Gushi)" writes: >> Hey there all, >>=20 >> I'm hitting the issue where we use MIT krb5kdc at work, but the port=20= >> doesn't provide its own startup file >>=20 >> Previously, I'd been told (I think by the maintainer) to just set=20 >> kdc_program and the like in rc.conf, but that really doesn't solve = things:=20 >> the one in base is sorely lacking (find_proc doesn't work with it, it=20= >> doesn't restart cleanly, it doesn't give you a way to have krb5kdc = specify=20 >> a pid file). >>=20 >> Setting things like: >>=20 >> kdc_pidfile=3D/var/run/krb5kdc.pid >> kdc_args=3D"-P /var/run/krb5kdc.pid" >>=20 >> in rc.conf do nothing because the existing rc.d script doesn't = provide a=20 >> way to override them. >>=20 >> For starters: Heimdal has no pidfile support, bit it could get one if=20= >> launched under daemon(1) -- heimdal doesn't even detach by default -- = the=20 >> rc.d file sets --detach. MIT only creates one if you specify -P, and=20= >> there's no corresponding kdc.conf knob. >>=20 >> While we're at it, >>=20 >> =3D=3D=3D=3D >>=20 >> There's this very old bug that references this, last touched in 2020,=20= >> closed unsuccessful. I want to fix it. >>=20 >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D197337 >=20 > IIRC this bug the resolution was to install the rc files. >=20 > Plans are in the works to replace Heimdal in base with MIT (through a=20= > staged approach). Any new rc scripts will serve to further confuse an=20= > already confusing (for users) situation. >=20 > A possible interim measure might be new port/package which simply = provides=20 > generic rc scripts for MIT, which could be extended when MIT replaces=20= > heimdal in base. >=20 >>=20 >> =3D=3D=3D=3D >>=20 >> I've written a number of startup files for our own services at work = (we=20 >> use puppet, so it relies on the built-in BSD framework to start, = stop, and=20 >> refresh services cleanly). >>=20 >> If I supplied startup files for mitkdc, mitkadmin, mitkpropd, would = they=20 >> be useful? >=20 > We already have one. >=20 > Historically kpropd has been run from inetd. There is a daemon mode = but=20 > IMO running it through inetd takes fewer resources. >=20 > There is also a kdc shell script to be used as a drop-in replacement = for=20 > heimdal's kdc, accepting the same arguments. >=20 >>=20 >> I'll note, this is not an "urgent" thing. I'm planning to be at = BSDCan.=20 >> If others want to meet me there and hack on this, I'm a chunky guy = with=20 >> blue hair and am hard to miss. >=20 > I have no plans to go to BSDCan this year. Maybe next year. >=20 >>=20 >> -Dan >>=20 >> --=20 >>=20 >> --------Dan Mahoney-------- >> Techie, Sysadmin, WebGeek >> Gushi on efnet/undernet IRC >> FB: fb.com/DanielMahoneyIV >> LI: linkedin.com/in/gushi >> Site: http://www.gushi.org >> --------------------------- >=20 > Can you post the relevant lines in your rc.conf, please. The standard ones: kdc_enable=3D"YES" kdc_program=3D"/usr/local/sbin/kdc" ## these don't do anything useful kdc_pidfile=3D/var/run/krb5kdc.pid kdc_args=3D"-P /var/run/krb5kdc.pid" kdc_procname=3D"krb5kdc" root@k1:/etc/rc.d # service kdc status kdc is not running. root@k1:/etc/rc.d # ps auxwww|grep kdc root 60106 0.0 0.1 17960 8484 - Is 14:06 0:00.08 = /usr/local/sbin/krb5kdc root 60214 0.0 0.0 11288 2596 0 S+ 14:14 0:00.00 grep kdc Note that, even without pid file support, adding this to rc.d/kdc at = least gives you a useful =E2=80=9Cstatus=E2=80=9D command: procname=3D${kdc_procname:-/usr/local/sbin/krb5kdc} root@k1:/etc/rc.d # service kdc status kdc is running as pid 60106. Which, when we need puppet runs to be idempotent, matters. -Dan >=20 >=20 > --=20 > Cheers, > Cy Schubert > FreeBSD UNIX: Web: https://FreeBSD.org > NTP: Web: https://nwtime.org >=20 > e^(i*pi)+1=3D0 >=20 >=20 > =C2=80=C2=80=C2=80=C2=80=C2=80=C2=80=C2=80=C2=80=D7=A0 From nobody Wed Apr 5 14:51:14 2023 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 4Ps6yw3yjPz43Zxn for ; Wed, 5 Apr 2023 14:51:36 +0000 (UTC) (envelope-from white-wolf@blues-softwares.net) Received: from mx.franceserv.fr (mx.franceserv.fr [62.4.19.99]) (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 4Ps6yv4lQRz3mSK for ; Wed, 5 Apr 2023 14:51:35 +0000 (UTC) (envelope-from white-wolf@blues-softwares.net) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=blues-softwares.net header.s=fsh1 header.b="r/S1VE7M"; spf=pass (mx1.freebsd.org: domain of white-wolf@blues-softwares.net designates 62.4.19.99 as permitted sender) smtp.mailfrom=white-wolf@blues-softwares.net; dmarc=pass (policy=none) header.from=blues-softwares.net Message-ID: <5f7d103c3aa0a04fc7f378b2606bca90ef9832bb.camel@blues-softwares.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=blues-softwares.net; s=fsh1; t=1680706292; bh=15aJCCVBDtqr2KGxa/DPB8Igw0jD9QuKTw1NAt1Yc6Y=; h=Subject:From:To:Date:In-Reply-To:References:From; b=r/S1VE7MmLGd9dLJ9aNbXjdr4hB6F4HWPaDZosMQQF+aCSBm44XE9o8mpnu0rlj4R sEobrS+baMwUAeWIifc52R11jhvHhB+BfHJVoW9t67GAkd+bluzhqq63JneJb/qSGN YpICHwL0R09K5SxwfvcDeMEwsLD0+MpgR2AuI/cD6brHkGG++xcVyVw+/93H9w1aWs eHgUKhxzu2jDWP5Jpo8/sZHbgUpXVTl8rsSjvW725Jna38HCC8/e9+NMD6KyBYvxIF 0yIaQrxzyrvE71SZrnMcn28DpegJsR625MbXcnpNLE0nt3aQaZLeRQ0P8V95a9NsCp PzYIxgZ8e/z/Q== Subject: Re: two USB sound cards on the same FreeBSD system with jackd From: white-wolf To: questions@freebsd.org Date: Wed, 05 Apr 2023 16:51:14 +0200 In-Reply-To: References: <4e4b5e5bbd621955317f54a5943681eb3c4e4d17.camel@blues-softwares.net> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.44.4 FreeBSD GNOME Team List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Abuse-Reports-To: abuse@franceserv.fr X-Spam-Score: -0.10 X-Spam-Flag: NO X-Spam-Level: X-Spam-Status: NO, score=-0.10 X-Spamd-Result: default: False [-4.09 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.993]; DMARC_POLICY_ALLOW(-0.50)[blues-softwares.net,none]; R_DKIM_ALLOW(-0.20)[blues-softwares.net:s=fsh1]; R_SPF_ALLOW(-0.20)[+mx:franceserv.fr]; RCVD_IN_DNSWL_LOW(-0.10)[62.4.19.99:from]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_COUNT_ZERO(0.00)[0]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:12876, ipnet:62.4.0.0/19, country:FR]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[blues-softwares.net:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4Ps6yv4lQRz3mSK X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N On Sat, 2023-04-01 at 21:28 +0200, Tomek CEDRO wrote: > On Sat, Apr 1, 2023 at 4:35 PM white-wolf wrote: > > hello, > > for learn guitar in video conferences, i need to configure two > > sound cards on my FreeBSD Desktop. > > > > one for connect my guitar by an audiobox USB sound card, no need > > feedback > > one for my wireless headset microphone > > > > to connect ardour and hydrogen with jack and alsa (or else) > > for use my headset to listen and speak and my audiobox to forward > > my electric guitar under zoom or jitsi by pulse (or else) > > Hey there, HPS (CC) created amazing free-and-open-source audio > client-server utility dedicated to high quality low latency multiple > online paths audio jamming together called HPSJAM that you need to > try > out: > > https://github.com/hselasky/hpsjam > > It is already in the ports audio/hpsjam, there is a build for macOS > and Android. > > You need to attach jackd (man jackd) to a selected card first so it > is > visible to hpsjam. You can connect multiple soundcards. ok, no need to rebuild gnome with jack; alsa and pulseaudio support ? > > Personally everyday I use PulseAudio backend for audio because it > allows ongoing stream re-route to a different devices, control > individual applications volume level, etc, your audio application > needs to support PulseAudio though. > > It is possible to have Bluetooth audio on FreeBSD you can do that > with > virtual_oss (man virtual_oss) + bluetooth (man bluetooth-config). > > At the basic level with a bare base system you have SND > infrastructure > (man snd) that creates a /dev/dspX.Y (where X is the card number and > Y > is the audio channel) for each audio device (even if its a > microphone). You can then adjust audio volumes with mixer -f > /dev/mixerX and control card parameters with sysctl. Most > applications > support OSS so you only need to provide /dev/dspX of your interest to > the application. > > But, first of all your audio hardware needs to be supported by a > kernel driver, you can know that by watching dmesg and /dev/dsp* > devices (simplest way of testing what number card use is to make some > noise with cat /dev/random > /dev/dsp0..n) :-) > > Have fun :-) > From nobody Wed Apr 5 14:55:48 2023 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 4Ps7431yy8z43bZ8 for ; Wed, 5 Apr 2023 14:56:03 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-yw1-x112f.google.com (mail-yw1-x112f.google.com [IPv6:2607:f8b0:4864:20::112f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ps7427514z3ntl for ; Wed, 5 Apr 2023 14:56:02 +0000 (UTC) (envelope-from tomek@cedro.info) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-545e907790fso565943657b3.3 for ; Wed, 05 Apr 2023 07:56:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; t=1680706561; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=yE8XQ8plVkjF5v5dw1S/cqWjhsXlJNmySnadwZSttCM=; b=bmeDXYl2tKt3y+xZW7WpQByFaVy3A3akirblVmAwgkOzVegiF5mVgrsXVrtBNQqo67 E08NELRtLunf5C9Z3ibb/tC+y7aFR64Hyxev4ZwQbDfsQWgeAUIftN2pmShnYGbix6OG VJnoKnAttbjdCtES82LGji373q8rVJVOlIxtlmXtdmPJXEYmX84yXailFcqcLgnkhAwJ +vwngO3ehav0Lr49VUOREskjVpc7xUcgiRHJLyhmfxeooPv0TGvwtxSDJK4SenP//woO 21POnptPc+iGgg5XTMy//R/ylP1l/TN0TnOawrtGKjKFKITyOeMz/GEKnsKR4PaAklmg DLtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680706561; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=yE8XQ8plVkjF5v5dw1S/cqWjhsXlJNmySnadwZSttCM=; b=e9p8G8GI0OoaXRNLKF2Vu5BxrrIuCajejD7zvd+mQ50d6vxRo993+7FDcI3wBOidjE vAV+IC9rehhWWfcQeBr0U7kWOYCZAJVkl5PiQbfN9A/NsYYAcv2UChOxPce61kS1AQ5r tc9nFbvgOi0neGltgdZDl9spE4OhyQlC6/eGSc85NnYThhHkFuSRlyFJAT+cl1+DmaXF 6kvfXCyXvnUspwGP25N/Ob00bgjenihbfxxXTo/+P4Yh/omOQt6YvLjNrNFkbhCecLUn fnJtAdPrU132W8+JNezR6/+1MDHsbcvYek8ndUKOcbLrfFtVDPjXXXm6vr4mLnSm4eXR XVBA== X-Gm-Message-State: AAQBX9dmTvUsOFv2AQp2FBhvcJZLBTlEcyAaXO5O+tLhUiltGVjO1UoF TLdm73lucbNOY2jCBbcCWZX9lhM/QzCEWIePG6s= X-Google-Smtp-Source: AKy350aro2j+n4xBHXVWa5A42Nm0AheH380C8/cI06dsxMGqt5NOWCVAWBKjHZUIFizXT8FzjolqMA== X-Received: by 2002:a0d:d8c8:0:b0:544:51de:ffce with SMTP id a191-20020a0dd8c8000000b0054451deffcemr6012672ywe.20.1680706561662; Wed, 05 Apr 2023 07:56:01 -0700 (PDT) Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com. [209.85.219.180]) by smtp.gmail.com with ESMTPSA id 123-20020a810381000000b00545a4ec318dsm3937541ywd.13.2023.04.05.07.56.01 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 05 Apr 2023 07:56:01 -0700 (PDT) Received: by mail-yb1-f180.google.com with SMTP id z83so42872393ybb.2 for ; Wed, 05 Apr 2023 07:56:01 -0700 (PDT) X-Received: by 2002:a25:da02:0:b0:b75:968e:f282 with SMTP id n2-20020a25da02000000b00b75968ef282mr4261467ybf.11.1680706560845; Wed, 05 Apr 2023 07:56:00 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <4e4b5e5bbd621955317f54a5943681eb3c4e4d17.camel@blues-softwares.net> <5f7d103c3aa0a04fc7f378b2606bca90ef9832bb.camel@blues-softwares.net> In-Reply-To: <5f7d103c3aa0a04fc7f378b2606bca90ef9832bb.camel@blues-softwares.net> From: Tomek CEDRO Date: Wed, 5 Apr 2023 16:55:48 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: two USB sound cards on the same FreeBSD system with jackd To: white-wolf Cc: questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Ps7427514z3ntl X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, Apr 5, 2023 at 4:51=E2=80=AFPM white-wolf wrote: > On Sat, 2023-04-01 at 21:28 +0200, Tomek CEDRO wrote: > > https://github.com/hselasky/hpsjam > > It is already in the ports audio/hpsjam, there is a build for macOS > > and Android. > > You need to attach jackd (man jackd) to a selected card first so it > > is visible to hpsjam. You can connect multiple soundcards. > > ok, no need to rebuild gnome with jack; alsa and pulseaudio support ? no need :-) gui is written in qt and audio connects directly to jackd that may be attached to a given oss device thats it.. you just need to launch jack (can be done in terminal) the less disturbing services the better.. you can even run it on twm xfce lxqt whatever :-) --=20 CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From nobody Wed Apr 5 15:09:37 2023 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 4Ps7N641Gpz43cGw for ; Wed, 5 Apr 2023 15:09:58 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ps7N53yH6z3rDW for ; Wed, 5 Apr 2023 15:09:57 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=C2rCSt2d; spf=pass (mx1.freebsd.org: domain of wfdudley@gmail.com designates 2607:f8b0:4864:20::72c as permitted sender) smtp.mailfrom=wfdudley@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qk1-x72c.google.com with SMTP id bs13so11909171qkb.0 for ; Wed, 05 Apr 2023 08:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680707396; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=sISTzy7UT/fJCmLA8GFTb6XFRrmucEhJUMklVQ3hZeU=; b=C2rCSt2djmP9cevJB/jSZKCIcwWQ2md16C1z2lZfOp9QbGuU6zFWF/VLTeUjHzx6Dw rBq6NjLuB/xWRgyRNK4XQwMy40DxsfnIdataHLoIWdnoTLkG+grTN1Qm3r8K187Lui8O e5HfAc1nDZWWdsGef6RRdQpBfMQStW0k3S+AcuGutoiQX+eJQQDfO3GhaqRLA1Wzv3GS 4jZgy0SiaGAph6HS911nWkEA7Bu+whXBfr58hCkWI+rZdLyjenyUYpyJ6XAxL7iQNC8c 3mnxD6HuN5pOoyy2yMUX89oOJMsc0HuUSdK1ivM3ZvIcvBUWFfyY380QK/X7zEBGVTtd oMeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680707396; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=sISTzy7UT/fJCmLA8GFTb6XFRrmucEhJUMklVQ3hZeU=; b=XUaLTqCPV1atLp167MgJId8ETmajYIFELIvuDVqwoaJk5YttbC4Dzha0KjI645xBo6 JB8SbFbgI6DBbNZJYIr+FC9p2cfsYwf5BbTfkEoxJ/RI/qNHOMKQlRNr+sq2h8uem6X3 4tK2nFMi97nGGWuNDh9wXkXKaD7PYLS5dDwBdjUUTh9khCSd0/yMkAs3FhGFadEH9cUN jgGUndKx6UkJZx25DdRgut4SuJ1IVDTFhm//dfT3duP/7GUq/lciaJlCMWVHxQXIys3x PmzXbE0SFxCD7JQVI22Xk5PsLvuYdqX4nwZx6rU+lqfPIaq0oibPzeBbK5X7QX0FqkPn 7xZg== X-Gm-Message-State: AAQBX9dCc4elHC1bOROCJyFxU+iMLyc6vwjxV0nsNkCyFSSu0e3nsrsq InPclQQ0AL17j+zwim7uAfgbCd+b7JtQ06F+2oZGnDQw8GQ= X-Google-Smtp-Source: AKy350YGoGie/w8fL2694M9s4ubtouv5ixDFeEiBb+13MEbcF/NRBusvyLk8a6gG1kCFhZUEuz1GGLx5qd2eT1osNBg= X-Received: by 2002:a05:620a:2482:b0:746:7cf1:d918 with SMTP id i2-20020a05620a248200b007467cf1d918mr1173887qkn.12.1680707395965; Wed, 05 Apr 2023 08:09:55 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 From: William Dudley Date: Wed, 5 Apr 2023 11:09:37 -0400 Message-ID: Subject: updated to 13.1 (i386). Apache won't run if php80 enabled To: freebsd-questions Content-Type: multipart/alternative; boundary="0000000000004eda8905f8982f9a" X-Spamd-Result: default: False [-3.97 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.97)[-0.973]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::72c:from]; DKIM_TRACE(0.00)[gmail.com:+]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4Ps7N53yH6z3rDW X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --0000000000004eda8905f8982f9a Content-Type: text/plain; charset="UTF-8" Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386 system. I had php81 installed (and some web apps used it), but Apache won't run if php is enabled in httpd.conf. I have another machine running 13.1, but it's amd64. It happily runs Apache with php80, so I downgraded the i386 machine to php80 so the two machines would be "the same". Except this didn't fix the problem. Apache won't run with either php80 OR php81 enabled, using this stanza in httpd.conf: LoadModule php_module libexec/apache24/libphp.so pkg info | grep php mod_php80-8.0.28_1 PHP Scripting Language php80-8.0.28_1 PHP Scripting Language pkg info | grep apache apache24-2.4.56 Version 2.4.x of Apache web server uname -a FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386 Am I doing something stupid? (Wouldn't be the first time.) How best to debug this? A web search did not enlighten me. Thanks, Bill Dudley New Jersey, USA This email is free of malware because I run Linux. --0000000000004eda8905f8982f9a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386= system.

I had php81 installed (and some web apps used i= t), but Apache
won't run if php is enabled in httpd.conf.

I have another machine running 13.1, but it's amd= 64.=C2=A0 It happily runs
Apache with php80, so I downgraded the = i386 machine to php80
so the two machines would be "the same= ".

Except this didn't fix the problem.=C2= =A0 Apache won't run with either php80
OR php81 enabled, usin= g this stanza in httpd.conf:

LoadModule php_module= =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.so

<= /div>
pkg info | grep php
mod_php80-8.0.28_= 1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scripting Language
php80= -8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scrip= ting Language

= pkg info | grep apache
apache24-2.4.56 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Version 2.4.x of Apache web= server

<= div dir=3D"ltr" class=3D"gmail_signature show" data-smartmail=3D"gmail_sign= ature">uname -a
FreeBSD dudley 13.1-RELEASE-p3 = FreeBSD 13.1-RELEASE-p3 GENERIC i386


Am I doi= ng something stupid?=C2=A0 (Wouldn't be the first time.)
How best to d= ebug this?=C2=A0 A web search did not enlighten me.

Thanks,
<= div class=3D"gmail_signature show" data-smartmail=3D"gmail_signature">Bill = Dudley
New Jersey, USA
This email is free of malware because I run= Linux.
--0000000000004eda8905f8982f9a-- From nobody Wed Apr 5 16:39:35 2023 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 4Ps9NG5lnGz43kVB for ; Wed, 5 Apr 2023 16:40:14 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x22e.google.com (mail-lj1-x22e.google.com [IPv6:2a00:1450:4864:20::22e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ps9NG2g0Vz42Nd for ; Wed, 5 Apr 2023 16:40:14 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x22e.google.com with SMTP id y7so5484551ljp.2 for ; Wed, 05 Apr 2023 09:40:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680712812; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5UVWbAdys762ELECI/K4UDkJ2p3usZvbkCHHXKy6aqg=; b=qbvkeA2asB8z/s0HW7AncYY9fiG+ffS0LnSehgbFwGesAkLri4HEjp2F5uv2IXQLKy AsWsTTk8KGr7wcuMVdI+zIgQTteFwy86y2P+qzgkwr00RxDI6QBMyqYoDco+F+7R1ZlF 1ZALlx4pBCvqmSKOw3Imo7TguyDo3K1o3JrfiIOaQ0k0iwI/XcAr3eskCtuO9sKAlwS7 ejpnp0bP+z1lzMoX4ZJxOs2+Qu1HOeWCfqJsVZZcQngYIFvNPjgJUm+1kftb9l+ZeLWH ajvqvckrwVPyU7tlmA2fgP8z9Ju9Hh5XC6n5XzEpCaoIxHVYhRu00XtOmb/JORnrHtgu mtFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680712812; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5UVWbAdys762ELECI/K4UDkJ2p3usZvbkCHHXKy6aqg=; b=UMTYgPaVytN2KEjUT/03cnhjehGCvmTSMJXfbVwY/eKcIQws1Wgf1gVBqrjBTecONT 7UxfM58hMe/f17KAdNBH/tQymeyl2moOCykOI/IRZGoEwsLu1cciFJACeh1ymvgqeuSI v7+MjNYypwAcmlJ2YVVYIIYOhJzAviwNLFaE5GNrMwzHd6LjwQyoO3kStMZTWlaE1e/+ t5FsdVR+q6vaavai9RXQHD48V0PFo/SnW0FBaw4NN+FRsCa4g/Z21zfOW9vD53OvI+Sr 7BCQHyN2yFgCE0qBFoKt5Bb/edc11gIWDcYXtPCBQkCNyvLYUXy1QzwgF5z5354Qi/Bx v1Vg== X-Gm-Message-State: AAQBX9fPYGTJ770pcUOOogtcW3sEau3bP091PqxZBoupa/upoaZowj5J t8IYD2Dn5FmSj3/QAzle6+mZj1hPUOn+XHCx6RgsCPglPlAdjQ== X-Google-Smtp-Source: AKy350ZMC6MHJ30L5DV5l2HHEvjE+2Pvhyt+AwWIe6ihrOxkWM+fWUrTSd0g9tI91jfbdl4sj3ZQpaWOa78GT9H9e2I= X-Received: by 2002:a2e:240b:0:b0:2a6:de0:79af with SMTP id k11-20020a2e240b000000b002a60de079afmr2338688ljk.10.1680712812104; Wed, 05 Apr 2023 09:40:12 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Wed, 5 Apr 2023 19:39:35 +0300 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: William Dudley Cc: freebsd-questions Content-Type: multipart/alternative; boundary="0000000000002291b105f8997243" X-Rspamd-Queue-Id: 4Ps9NG2g0Vz42Nd X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000002291b105f8997243 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Apr 5, 2023 at 6:10=E2=80=AFPM William Dudley = wrote: > Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386 system. > > I had php81 installed (and some web apps used it), but Apache > won't run if php is enabled in httpd.conf. > > I have another machine running 13.1, but it's amd64. It happily runs > Apache with php80, so I downgraded the i386 machine to php80 > so the two machines would be "the same". > > Except this didn't fix the problem. Apache won't run with either php80 > OR php81 enabled, using this stanza in httpd.conf: > > LoadModule php_module libexec/apache24/libphp.so > > pkg info | grep php > mod_php80-8.0.28_1 PHP Scripting Language > php80-8.0.28_1 PHP Scripting Language > > pkg info | grep apache > apache24-2.4.56 Version 2.4.x of Apache web server > > uname -a > FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386 > > Am I doing something stupid? (Wouldn't be the first time.) > How best to debug this? A web search did not enlighten me. > What do you have in /var/log/httpd-error.log? That's the clue that you need to look at and share with us so that we can help you. You should actually be running php82 :-) --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --0000000000002291b105f8997243 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Wed, Apr 5, 2023 at 6:10=E2=80=AFP= M William Dudley <wfdudley@gmail.c= om> wrote:
Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i3= 86 system.

I had php81 installed (and some web apps used= it), but Apache
won't run if php is enabled in httpd.conf.

I have another machine running 13.1, but it's a= md64.=C2=A0 It happily runs
Apache with php80, so I downgraded th= e i386 machine to php80
so the two machines would be "the sa= me".

Except this didn't fix the problem.= =C2=A0 Apache won't run with either php80
OR php81 enabled, u= sing this stanza in httpd.conf:

LoadModule php_mod= ule =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.so
pkg info | grep php
mod_php80-8.0.= 28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scripting Language
ph= p80-8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Sc= ripting Language

=
pkg info | grep apache
apache2= 4-2.4.56 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Version 2.4= .x of Apache web server

uname -a<= br>FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386

Am I doing something stupid?=C2= =A0 (Wouldn't be the first time.)
How best to debug this?=C2= =A0 A web search did not enlighten me.
=

What do you have in /var/log/httpd-error.log?
That's the clue that you need to look at and share with us so that we = can help you.
You should actually be running php82 :-)
= =C2=A0


--
Best regards,
Odhiambo WASHINGTON,Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.&quo= t;,=C2=A0egrep -v '^$|^.*#'= =C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.html]
--0000000000002291b105f8997243-- From nobody Wed Apr 5 20:08:16 2023 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 4PsG0j1Jhnz4455X for ; Wed, 5 Apr 2023 20:08:37 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-qv1-xf33.google.com (mail-qv1-xf33.google.com [IPv6:2607:f8b0:4864:20::f33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsG0h5JrGz4Kpf for ; Wed, 5 Apr 2023 20:08:36 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qv1-xf33.google.com with SMTP id x8so26950316qvr.9 for ; Wed, 05 Apr 2023 13:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680725314; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=aw12WpqZT54icN2V1/I3FNBEXdPIWIlo3eDYdoKGN2g=; b=JebliFjxa/j2eOzKvuQz1IbYBpiZxW2kBHzkH5SkQcHRPrI4yVOfHDF5tOI2h9f+iB wYlc3iqxX5wB68+XyKxVe4cIXJUAM+2kfiU7S2jSGyJXR7VJQQknT3TwNeQh2XQNzjJ0 Iu9Dp4nIl5M30OoCCsBsFPeKmA+cAHL/KIVTU9KqtvRHyO8Rs1bDbZla9nmvCzer6ECB RGTQP4Cyz0+vLqbyIK4vLt9n6la+uYko9vlhI3uf6pF2JeFh4mNZ48fkj6h0CgJSyrwB ldzugBxo6JtSVMqDI1VKwxF3OYhpqF9ZXe+74wpJpLNE46yUxun7cnyOsnPyPnA1eqRZ gbYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680725314; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=aw12WpqZT54icN2V1/I3FNBEXdPIWIlo3eDYdoKGN2g=; b=Gvk/8Y+c5aJhg6qFVIRHG7S40zVn3yc8wyzmIp3DsZ/fUkuZL2T7Qcs+ryyNyI51gc 1bHvmLxsOKcWaGVc6VPQiCCCMEr/w/vZEXccUMpo/LJE4X9JCeUE5+B3uC4Yjgcc9e70 +d2xQSC62GFg/NEE0sCL73zud2ThGOknohojG4bu56vozeFdk0kA5funVM+s53D9RCFm qnx0N31iDeIB92TAVipCnDtt7Mnlw5WZ+M8T0DnqwqllPUn4EmUBH1qy0Rt4uP2ZBE/W aqPYT1JAJ4oET3S1hH1YDdM/hrYzZr5F8WWifUoKvkugGhZzFTOH1gcRpbcS6B0LDYvm TSyg== X-Gm-Message-State: AAQBX9dkgGfK3DeIzrD/e+iIBskQqq4r4RvC8BdUtmfxGQmHbxp9/ajo iIxus+6xH2+3nG2ojbxA/ZHB2hr+pHpKiungohOMnN/RCYU= X-Google-Smtp-Source: AKy350bmxgSf7de7yZz+V/BxeyT328C85C62+iPCXXHMRGWT8O3e9I7islChvqDUem4CiooeWTyZOlmz4XiGIwcZlEs= X-Received: by 2002:a05:6214:5617:b0:5a8:6ec7:b5ef with SMTP id mg23-20020a056214561700b005a86ec7b5efmr104646qvb.9.1680725314523; Wed, 05 Apr 2023 13:08:34 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: William Dudley Date: Wed, 5 Apr 2023 16:08:16 -0400 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: Odhiambo Washington Cc: freebsd-questions Content-Type: multipart/alternative; boundary="00000000000056586d05f89c5b82" X-Rspamd-Queue-Id: 4PsG0h5JrGz4Kpf X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000056586d05f89c5b82 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Good question, Odhiambo. The answer is: nothing gets written in the log when I enable php, using this line in httpd.conf: LoadModule php_module libexec/apache24/libphp.so Nothing at all is written in httpd-error.log. When I "start" apache. If I comment out the php line, then I see this normal thing: [Wed Apr 05 16:05:08.154090 2023] [mpm_prefork:notice] [pid 15922] AH00163: Apache/2.4.56 (FreeBSD) OpenSSL/1.1.1o-freebsd configured -- resuming normal operations [Wed Apr 05 16:05:08.155576 2023] [core:notice] [pid 15922] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT' Thanks, Bill Dudley On Wed, Apr 5, 2023 at 12:40=E2=80=AFPM Odhiambo Washington wrote: > > > On Wed, Apr 5, 2023 at 6:10=E2=80=AFPM William Dudley wrote: > >> Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386 system. >> >> I had php81 installed (and some web apps used it), but Apache >> won't run if php is enabled in httpd.conf. >> >> I have another machine running 13.1, but it's amd64. It happily runs >> Apache with php80, so I downgraded the i386 machine to php80 >> so the two machines would be "the same". >> >> Except this didn't fix the problem. Apache won't run with either php80 >> OR php81 enabled, using this stanza in httpd.conf: >> >> LoadModule php_module libexec/apache24/libphp.so >> >> pkg info | grep php >> mod_php80-8.0.28_1 PHP Scripting Language >> php80-8.0.28_1 PHP Scripting Language >> >> pkg info | grep apache >> apache24-2.4.56 Version 2.4.x of Apache web server >> >> uname -a >> FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386 >> >> Am I doing something stupid? (Wouldn't be the first time.) >> How best to debug this? A web search did not enlighten me. >> > > What do you have in /var/log/httpd-error.log? > That's the clue that you need to look at and share with us so that we can > help you. > You should actually be running php82 :-) > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254 7 3200 0004/+254 7 2274 3223 > "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) > [How to ask smart questions: > http://www.catb.org/~esr/faqs/smart-questions.html] > --00000000000056586d05f89c5b82 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Good question, Odhiambo.

The answer is:= nothing gets written in the log when I enable php, using this line
in = httpd.conf:

LoadModule php_module =C2=A0 =C2=A0 = =C2=A0 =C2=A0 libexec/apache24/libphp.so

Nothing a= t all is written in httpd-error.log.=C2=A0 When I "start" apache.=
If I comment out the php line, then I see this normal thing:

[Wed Apr 05 16:05:08.154090 = 2023] [mpm_prefork:notice] [pid 15922] AH00163: Apache/2.4.56 (FreeBSD) Ope= nSSL/1.1.1o-freebsd configured -- resuming normal operations
[Wed Apr 05= 16:05:08.155576 2023] [core:notice] [pid 15922] AH00094: Command line: = 9;/usr/local/sbin/httpd -D NOHTTPACCEPT'


Thanks,
Bill Dudley



On Wed, Apr 5, 2023 at 12:40=E2=80=AFPM Odhiambo Washington <odhiambo@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">


On Wed, Apr 5, 2023 at 6:10=E2=80=AFPM William Dudley <wfdudley@gmail.com&= gt; wrote:
Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386 syst= em.

I had php81 installed (and some web apps used it), b= ut Apache
won't run if php is enabled in httpd.conf.

I have another machine running 13.1, but it's amd64.= =C2=A0 It happily runs
Apache with php80, so I downgraded the i38= 6 machine to php80
so the two machines would be "the same&qu= ot;.

Except this didn't fix the problem.=C2=A0= Apache won't run with either php80
OR php81 enabled, using t= his stanza in httpd.conf:

LoadModule php_module = =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.so

pkg info | grep php
mod_php80-8.0.28_1= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scripting Language
php80-= 8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Script= ing Language

pkg info | grep apache
apache24-2.= 4.56 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Version 2.4.x o= f Apache web server

uname -a
F= reeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386

Am I doing something stupid?=C2=A0 = (Wouldn't be the first time.)
How best to debug this?=C2=A0 A= web search did not enlighten me.
=
What do you have in /var/log/httpd-error.log?
That= 's the clue that you need to look at and share with us so that we can h= elp you.
You should actually be running php82 :-)
=C2= =A0


--
Best regards,
Odhiambo = WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.",=C2=A0egrep -v '= ;^$|^.*#'=C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.h= tml]
--00000000000056586d05f89c5b82-- From nobody Wed Apr 5 20:44:57 2023 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 4PsGpp2hYrz447rg for ; Wed, 5 Apr 2023 20:45:06 +0000 (UTC) (envelope-from possessor.assizer305@aceecat.org) Received: from beesty.loosely.org (beesty.loosely.org [IPv6:2600:3c01:e000:4c0::2]) (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 4PsGpn4sVPz4VGl for ; Wed, 5 Apr 2023 20:45:05 +0000 (UTC) (envelope-from possessor.assizer305@aceecat.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=aceecat.org header.s=rsa header.b=JU9tVRMN; spf=pass (mx1.freebsd.org: domain of possessor.assizer305@aceecat.org designates 2600:3c01:e000:4c0::2 as permitted sender) smtp.mailfrom=possessor.assizer305@aceecat.org; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=aceecat.org ; s=rsa; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=HgDt6osxSbBhtFBQlvtbjhjSPKwKmkXJsPJkPsRQKAU=; b=JU9tVRMNChlZG6q4OjYis1xKhB ROqTcIW9vXaO9Um/Tti9UutyPHPyKGdNBs8N5O7KY43Lie4spDIJYTdDW9xR1xSXjjs/vk16wbp6R FKSv2ygBAWV1lMTsEOqf0KFwyKdu0zrH8EZSYax/ADuajdNZroIK6X9/N/Xr0iZDlMZ2H3Y/bs83S o4G0g7GYBql0srWATfU1hI+4zwON+GHRaUBG3mIgFuhsoxVSVm/IBfVvutOFJRqDn+DH6IlUvtLDZ cVbJb+2CVsk2jt3pFze6mdsX/5s4Sn9tKqmTPR7z2ubdcl/ErCSq7SJjUNMST33vrqaLV4+xzGqOe lwj1pVKA==; Received: from [::1] (port=39108 helo=beesty ident=itz) by beesty.loosely.org with esmtp (Exim 4.96-10-06ec9c57f) (envelope-from ) id 1pkA01-0007Gp-2m for questions@freebsd.org; Wed, 05 Apr 2023 13:44:57 -0700 Date: Wed, 5 Apr 2023 13:44:57 -0700 From: possessor.assizer305@aceecat.org To: questions@freebsd.org Subject: Re: syslog Message-ID: <20230405204457.doj7nz4ulu6aii6f@beesty.loosely.org> Mail-Followup-To: questions@freebsd.org References: <5748DDF6-66A6-4BF5-83BA-51B08D025F46@sermon-archive.info> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5748DDF6-66A6-4BF5-83BA-51B08D025F46@sermon-archive.info> X-Spamd-Result: default: False [-3.49 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.994]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[aceecat.org:s=rsa]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; FROM_NO_DN(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; ASN(0.00)[asn:63949, ipnet:2600:3c01::/32, country:SG]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[aceecat.org:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[aceecat.org]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PsGpn4sVPz4VGl X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Wed, Apr 05, 2023 at 03:39:33AM -0700, Doug Hardie wrote: > I am writing a program that I would like to log some messages with > LOG_DEBUG, and others with LOG_INFO and LOG_MAIL. May be relevant or not, but notice that LOG_DEBUG and LOG_INFO are priorities but LOG_MAIL is a facility. -- Ian From nobody Wed Apr 5 21:12:37 2023 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 4PsHQr5dWnz449bp for ; Wed, 5 Apr 2023 21:12:52 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsHQr3rgMz3DJX for ; Wed, 5 Apr 2023 21:12:52 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-lj1-x235.google.com with SMTP id bx10so20340125ljb.8 for ; Wed, 05 Apr 2023 14:12:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680729170; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=jwXRIzzqqW5vpIzTtwT7m874LIa9zmbiLuCk4ak0Zxw=; b=h8FEJusM5B/8XgZFOc20vyc0q4Vuu5gvLZrWq2SsHCqxg9tE3p5x8/X1zojOl7+Zom LXn0osBGWhCuqPm7kQYN7jmZ12UEy8vfGsDOBqUslnfmrv4ixXET0Uh1sf4cKKIctBgg +TsgrilxAKj56gCM5zgkRqlzMGjcHxceU+0pW7BGmdMxzCQx/NsASFOKBdnwS/bFrXD4 jPok5OJLM/RiMdAx98+IvqJi4t3VatTTxbLXPEw4+BvxUNvC9sGlNpAzmLdeYwTJSS+L 4Uxxpxe+VT7lJt1UnJ8vLg/fwf06ebEe7DbS5OEZ5wCPGJLAYxwQsM0/v1hpIWkNr9km KF6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680729170; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jwXRIzzqqW5vpIzTtwT7m874LIa9zmbiLuCk4ak0Zxw=; b=hXZ0dW65Bcqquy5we/ZuuaGt8MNJb2YNHzdUZmlh8vjkPaSX5GH9fEKb03ksJricDQ f/UwUKQBmPjMzT7BUJkYPzvmNKiraS+uT0xTEjf9y9mN1l46csfx7ojlDDoyvxOwYBhL MUYmU8iK8Yckuirgjo6oeFx8CjFQOstviz4q2TiQQTh1U4DamaK9JbdMgsjxpTRLJ1e1 Vi8Jb3pMSw/fdGjeZSffCSxQECshbpauBNmeGUXGe6n3/u2EN7xfgiL5XVspkgdmNOzt VFReJKedywUqRGdbdXcNzweeda5cwuQGDqWRNf8yPKRIC/e29Ux6IfViXhAIDQ4fE8uY PKRw== X-Gm-Message-State: AAQBX9dOP2EhnYK4JhtyNEWbYuka9+ndYcchoJaTsOFI5nnKLBl4G46Q DVSpyrPd2z09iZyy4sCVgoRKQ7pf91tOzxxj1gM= X-Google-Smtp-Source: AKy350aAO85hLqgYxCbkRZEDLM+z9d4e1mBKyL34yGTEaD85QefYcNavKTuvLRAubTK9DND/Hvdx6C889AV9U78391w= X-Received: by 2002:a05:651c:8a:b0:2a4:c1fc:9722 with SMTP id 10-20020a05651c008a00b002a4c1fc9722mr2640858ljq.10.1680729169253; Wed, 05 Apr 2023 14:12:49 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Odhiambo Washington Date: Thu, 6 Apr 2023 00:12:37 +0300 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: William Dudley Cc: freebsd-questions Content-Type: multipart/alternative; boundary="00000000000018dbf305f89d41c1" X-Rspamd-Queue-Id: 4PsHQr3rgMz3DJX X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --00000000000018dbf305f89d41c1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This is not possible. Httpd will try to start and log the reason why it can't. And what do you have in /var/log/messages? Can you please sidebar? On Wed, Apr 5, 2023, 23:08 William Dudley wrote: > Good question, Odhiambo. > > The answer is: nothing gets written in the log when I enable php, using > this line > in httpd.conf: > > LoadModule php_module libexec/apache24/libphp.so > > Nothing at all is written in httpd-error.log. When I "start" apache. > If I comment out the php line, then I see this normal thing: > > [Wed Apr 05 16:05:08.154090 2023] [mpm_prefork:notice] [pid 15922] > AH00163: Apache/2.4.56 (FreeBSD) OpenSSL/1.1.1o-freebsd configured -- > resuming normal operations > [Wed Apr 05 16:05:08.155576 2023] [core:notice] [pid 15922] AH00094: > Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT' > > Thanks, > Bill Dudley > > > > On Wed, Apr 5, 2023 at 12:40=E2=80=AFPM Odhiambo Washington > wrote: > >> >> >> On Wed, Apr 5, 2023 at 6:10=E2=80=AFPM William Dudley wrote: >> >>> Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386 system. >>> >>> I had php81 installed (and some web apps used it), but Apache >>> won't run if php is enabled in httpd.conf. >>> >>> I have another machine running 13.1, but it's amd64. It happily runs >>> Apache with php80, so I downgraded the i386 machine to php80 >>> so the two machines would be "the same". >>> >>> Except this didn't fix the problem. Apache won't run with either php80 >>> OR php81 enabled, using this stanza in httpd.conf: >>> >>> LoadModule php_module libexec/apache24/libphp.so >>> >>> pkg info | grep php >>> mod_php80-8.0.28_1 PHP Scripting Language >>> php80-8.0.28_1 PHP Scripting Language >>> >>> pkg info | grep apache >>> apache24-2.4.56 Version 2.4.x of Apache web server >>> >>> uname -a >>> FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386 >>> >>> Am I doing something stupid? (Wouldn't be the first time.) >>> How best to debug this? A web search did not enlighten me. >>> >> >> What do you have in /var/log/httpd-error.log? >> That's the clue that you need to look at and share with us so that we ca= n >> help you. >> You should actually be running php82 :-) >> >> >> >> -- >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254 7 3200 0004/+254 7 2274 3223 >> "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) >> [How to ask smart questions: >> http://www.catb.org/~esr/faqs/smart-questions.html] >> > --00000000000018dbf305f89d41c1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is not possible. Httpd will try to start and log the= reason why it can't.=C2=A0
And what do you have in /v= ar/log/messages?

Can you= please sidebar?=C2=A0

On Wed, Apr 5, 2023, 23:08 William Dudley <= ;wfdudley@gmail.com> wrote:
Good question, Odhia= mbo.

The answer is: nothing gets written in the log when= I enable php, using this line
in httpd.conf:

= LoadModule php_module =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.s= o

Nothing at all is written in httpd-error.log.=C2= =A0 When I "start" apache.
If I comment out the php lin= e, then I see this normal thing:

[Wed Apr 05 16:05:08.154090 2023] [mpm_prefork:notice] [pid 15922] = AH00163: Apache/2.4.56 (FreeBSD) OpenSSL/1.1.1o-freebsd configured -- resum= ing normal operations
[Wed Apr 05 16:05:08.155576 2023] [core:notice] [p= id 15922] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT= '


Thanks,
Bill Dudley



=
On Wed, Apr 5, 2023 at 12:40=E2=80=AF= PM Odhiambo Washington <odhiambo@gmail.com> wrote:


On Wed, Apr 5, 2023 at 6:10=E2=80=AFPM William Dudley <wfdudle= y@gmail.com> wrote:
Since 12.3 is EOL, I upgraded to 13.1 yesterday= on an i386 system.

I had php81 installed (and some web = apps used it), but Apache
won't run if php is enabled in http= d.conf.

I have another machine running 13.1, but i= t's amd64.=C2=A0 It happily runs
Apache with php80, so I down= graded the i386 machine to php80
so the two machines would be &qu= ot;the same".

Except this didn't fix the = problem.=C2=A0 Apache won't run with either php80
OR php81 en= abled, using this stanza in httpd.conf:

LoadModule= php_module =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apache24/libphp.so

pkg info | grep php
mod_ph= p80-8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scripting Langua= ge
php80-8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 PHP Scripting Language

pkg info | grep apache<= br>apache24-2.4.56 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0V= ersion 2.4.x of Apache web server

uname -a
FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC= i386


Am I doing something = stupid?=C2=A0 (Wouldn't be the first time.)
How best to debug= this?=C2=A0 A web search did not enlighten me.

What do you have in /var/log/httpd-error.log?<= /div>
That's the clue that you need to look at and share with us so= that we can help you.
You should actually be running php82 :-)
=C2=A0


--
Best regards,<= br>Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223<= br>"Oh, the cruft.",=C2=A0= egrep -v '^$|^.*#'=C2=A0=C2=AF\_(=E3=83= =84)_/=C2=AF=C2=A0:-)
<= div>[How to ask smart questions:=C2=A0http://www.cat= b.org/~esr/faqs/smart-questions.html]
--00000000000018dbf305f89d41c1-- From nobody Wed Apr 5 21:22:54 2023 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 4PsHfn6zXmz44BT1 for ; Wed, 5 Apr 2023 21:23:13 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-qk1-x733.google.com (mail-qk1-x733.google.com [IPv6:2607:f8b0:4864:20::733]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsHfn5BHRz3JsH for ; Wed, 5 Apr 2023 21:23:13 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x733.google.com with SMTP id u4so5776334qkp.11 for ; Wed, 05 Apr 2023 14:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680729793; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=YtiBqaUqEIsWAo3pLAWiutnK4bTLcG7704TUXyUYvZA=; b=J/7HmvEtAf2jl08hBCvXiFwD57tk3LnpPQlMDii95k+9JnH8MjCMTNSrAsaDAzBJOB ApkT5tB5uioU+W4YF3phJiSwz1Ob7QXpaCRK6tj+FqYoGmYRd2sBE/qrDcsQuG4Lb47n akhCMJFbuEB03/7HS80eqLv2ngB3WzTgk41TSl7OiKl7T/C/BMbJRyGrvr1GMBvObcr4 I+2UV/qC5vpaIPlrCwmPk8KqfjsH6D2m4ydI37Wx1eMYgYCrM7+/ySPLUCaNtCppJvEj oYF7IxNZV2HYIV3k1NLz7c77Mj3uHwVL11ELdLmExl0Wry2grWJ383M/4Hj4C5IPUcir P69g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680729793; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YtiBqaUqEIsWAo3pLAWiutnK4bTLcG7704TUXyUYvZA=; b=DOJC3P0hcUVyP4zYvpP5tgANc/AxNy1bf9YaGZbRUPpqQbOhjKbA022RVFh1EX/vw/ BBZq1mXyUz/8UVoRbva47Sb9GVXSCFQvo4Y4u0/14qLCDSK4KchFMLZfkSSkf4FbseGM IzVfISthgR5UK3caZ5HM21vouwz8JT5TyZoByAM28SLzU+b8EX8eZdQQgrrYUtHCBbwK jQFYLUv1OcLQbTDaP4jN+FlQW53t8FUytphZOn4xQWeCt4S2S6D6rCLILFz2QiZtBL8A prXyaURbcBg9+EZI32JP5+CsZSMOs+fmGzhUE4+NnrusRMwh8nZsgxnYPoA9gfKOFHuR EisA== X-Gm-Message-State: AAQBX9eiKg8eZKAwHXeEzuFH/Enn6xUH3355Kt1WmZEiRbG0fjXucBOc o2sy5DLjG+AhKxq70QqserS8hw38NMFvS0q9/Nw= X-Google-Smtp-Source: AKy350btOvBXY5Lv+vut907fvsMzHP8Xtvpjok+T8awZf97Euv50grPH3KoHei0IM1JWW3LZQYY8Sp12zLYa/A1feDk= X-Received: by 2002:a05:620a:2482:b0:746:7cf1:d918 with SMTP id i2-20020a05620a248200b007467cf1d918mr1567619qkn.12.1680729792794; Wed, 05 Apr 2023 14:23:12 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: William Dudley Date: Wed, 5 Apr 2023 17:22:54 -0400 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: Odhiambo Washington Cc: freebsd-questions Content-Type: multipart/alternative; boundary="0000000000004355f505f89d6633" X-Rspamd-Queue-Id: 4PsHfn5BHRz3JsH X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000004355f505f89d6633 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable This is what is in messages at the times (3) that I tried to start apache: Apr 5 16:04:41 dudley kernel: pid 15855 (httpd), jid 0, uid 0: exited on signal 11 (core dumped) Apr 5 16:04:50 dudley kernel: pid 15872 (httpd), jid 0, uid 0: exited on signal 11 (core dumped) Apr 5 16:04:55 dudley kernel: pid 15889 (httpd), jid 0, uid 0: exited on signal 11 (core dumped) What does "sidebar" mean? Bill Dudley On Wed, Apr 5, 2023 at 5:12=E2=80=AFPM Odhiambo Washington wrote: > This is not possible. Httpd will try to start and log the reason why it > can't. > And what do you have in /var/log/messages? > > Can you please sidebar? > > On Wed, Apr 5, 2023, 23:08 William Dudley wrote: > >> Good question, Odhiambo. >> >> The answer is: nothing gets written in the log when I enable php, using >> this line >> in httpd.conf: >> >> LoadModule php_module libexec/apache24/libphp.so >> >> Nothing at all is written in httpd-error.log. When I "start" apache. >> If I comment out the php line, then I see this normal thing: >> >> [Wed Apr 05 16:05:08.154090 2023] [mpm_prefork:notice] [pid 15922] >> AH00163: Apache/2.4.56 (FreeBSD) OpenSSL/1.1.1o-freebsd configured -- >> resuming normal operations >> [Wed Apr 05 16:05:08.155576 2023] [core:notice] [pid 15922] AH00094: >> Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT' >> >> Thanks, >> Bill Dudley >> >> >> >> On Wed, Apr 5, 2023 at 12:40=E2=80=AFPM Odhiambo Washington >> wrote: >> >>> >>> >>> On Wed, Apr 5, 2023 at 6:10=E2=80=AFPM William Dudley >>> wrote: >>> >>>> Since 12.3 is EOL, I upgraded to 13.1 yesterday on an i386 system. >>>> >>>> I had php81 installed (and some web apps used it), but Apache >>>> won't run if php is enabled in httpd.conf. >>>> >>>> I have another machine running 13.1, but it's amd64. It happily runs >>>> Apache with php80, so I downgraded the i386 machine to php80 >>>> so the two machines would be "the same". >>>> >>>> Except this didn't fix the problem. Apache won't run with either php8= 0 >>>> OR php81 enabled, using this stanza in httpd.conf: >>>> >>>> LoadModule php_module libexec/apache24/libphp.so >>>> >>>> pkg info | grep php >>>> mod_php80-8.0.28_1 PHP Scripting Language >>>> php80-8.0.28_1 PHP Scripting Language >>>> >>>> pkg info | grep apache >>>> apache24-2.4.56 Version 2.4.x of Apache web server >>>> >>>> uname -a >>>> FreeBSD dudley 13.1-RELEASE-p3 FreeBSD 13.1-RELEASE-p3 GENERIC i386 >>>> >>>> Am I doing something stupid? (Wouldn't be the first time.) >>>> How best to debug this? A web search did not enlighten me. >>>> >>> >>> What do you have in /var/log/httpd-error.log? >>> That's the clue that you need to look at and share with us so that we >>> can help you. >>> You should actually be running php82 :-) >>> >>> >>> >>> -- >>> Best regards, >>> Odhiambo WASHINGTON, >>> Nairobi,KE >>> +254 7 3200 0004/+254 7 2274 3223 >>> "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) >>> [How to ask smart questions: >>> http://www.catb.org/~esr/faqs/smart-questions.html] >>> >> --0000000000004355f505f89d6633 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is what is in messages at the times (3) that I tried = to start apache:

Apr =C2=A05 16= :04:41 dudley kernel: pid 15855 (httpd), jid 0, uid 0: exited on signal
= =C2=A011 (core dumped)
Apr =C2=A05 16:04:50 dudley kernel: pid 15872 (ht= tpd), jid 0, uid 0: exited on signal
=C2=A011 (core dumped)
Apr =C2= =A05 16:04:55 dudley kernel: pid 15889 (httpd), jid 0, uid 0: exited on sig= nal
=C2=A011 (core dumped)


Wh= at does "sidebar" mean?

Bill Dudley



On Wed, Apr 5, 2023 at 5:12=E2=80=AFPM Odhiambo Washington= <odhiambo@gmail.com> wrote= :
This is not possible. Httpd will try to start and log the reason why it= can't.=C2=A0
And what do you have in /var/log/message= s?

Can you please sideba= r?=C2=A0

On Wed, Apr 5, 2023, 23:08 William Dudley <wfdudley@gmail.com> wrote= :
Good question, Odhiambo.

The answer is: nothing gets = written in the log when I enable php, using this line
in httpd.conf:

LoadModule php_module =C2=A0 =C2=A0 =C2=A0 =C2=A0 li= bexec/apache24/libphp.so

Nothing at all is written= in httpd-error.log.=C2=A0 When I "start" apache.
If I = comment out the php line, then I see this normal thing:

[Wed Apr 05 16:05:08.154090 2023] [mpm_prefo= rk:notice] [pid 15922] AH00163: Apache/2.4.56 (FreeBSD) OpenSSL/1.1.1o-free= bsd configured -- resuming normal operations
[Wed Apr 05 16:05:08.155576= 2023] [core:notice] [pid 15922] AH00094: Command line: '/usr/local/sbi= n/httpd -D NOHTTPACCEPT'


Thanks,
Bill Dudley



On Wed, Apr 5,= 2023 at 12:40=E2=80=AFPM Odhiambo Washington <odhiambo@gmail.com>= ; wrote:


On Wed, Apr 5, 2023 at 6:10=E2=80=AFPM Willi= am Dudley <wfdudley@gmail.com> wrote:
Since 12.3 is EOL, I upgr= aded to 13.1 yesterday on an i386 system.

I had php81 in= stalled (and some web apps used it), but Apache
won't run if = php is enabled in httpd.conf.

I have another machi= ne running 13.1, but it's amd64.=C2=A0 It happily runs
Apache= with php80, so I downgraded the i386 machine to php80
so the two= machines would be "the same".

Except th= is didn't fix the problem.=C2=A0 Apache won't run with either php80=
OR php81 enabled, using this stanza in httpd.conf:
LoadModule php_module =C2=A0 =C2=A0 =C2=A0 =C2=A0 libexec/apach= e24/libphp.so

pkg inf= o | grep php
mod_php80-8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 PHP Scripting Language
php80-8.0.28_1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 PHP Scripting Language

pkg info | grep apache
apache24-2.4.56 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0Version 2.4.x of Apache web server
=

uname -a
FreeBSD dudley 13.1-RELEASE-p3 FreeBS= D 13.1-RELEASE-p3 GENERIC i386


<= div>Am I doing something stupid?=C2=A0 (Wouldn't be the first time.)
How best to debug this?=C2=A0 A web search did not enlighten me.

What do you have in /= var/log/httpd-error.log?
That's the clue that you need to loo= k at and share with us so that we can help you.
You should actual= ly be running php82 :-)
=C2=A0

=
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 32= 00 0004/+254 7 2274 3223
"Oh, the = cruft.",=C2=A0egrep -v '^$|^.*#'=C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF= =C2=A0:-)
[How to ask sma= rt questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.html]
--0000000000004355f505f89d6633-- From nobody Thu Apr 6 00:21:57 2023 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 4PsMdJ53l3z44NMT for ; Thu, 6 Apr 2023 00:22:12 +0000 (UTC) (envelope-from bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl) Received: from e2i954.smtp2go.com (e2i954.smtp2go.com [103.2.143.186]) (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 4PsMdH0wW9z42hZ for ; Thu, 6 Apr 2023 00:22:10 +0000 (UTC) (envelope-from bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smtpservice.net header.s=a1-4 header.b=fwXTBXPy; dkim=pass header.d=vernuftiger.nl header.s=s773646 header.b=B1ewipQ9; spf=pass (mx1.freebsd.org: domain of "bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl" designates 103.2.143.186 as permitted sender) smtp.mailfrom="bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl"; dmarc=none Received: from [10.87.208.57] (helo=mail.pub.vernuftiger.nl) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96-S2G) (envelope-from ) id 1pkDO5-bMRTwD-0W for freebsd-questions@freebsd.org; Thu, 06 Apr 2023 00:22:01 +0000 Received: from mail.vernuftiger.nl (localhost [127.0.0.1]) by mail.pub.vernuftiger.nl (Postfix) with SMTP id E6DCD9567F9 for ; Thu, 6 Apr 2023 02:21:58 +0200 (CEST) Received: (qmail 38380 invoked from network); 6 Apr 2023 00:21:58 -0000 Received: from unknown (HELO ?192.168.111.24?) (192.168.111.24) by mail.vernuftiger.nl with SMTP; 6 Apr 2023 00:21:58 -0000 Message-ID: <08927381-e37c-0ec6-2b9e-25241cf38dd9@vernuftiger.nl> Date: Thu, 6 Apr 2023 02:21:57 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 To: freebsd-questions Content-Language: en-US From: ICT builder Subject: sshd (base system) and openssh portable (ports) on different ports disables other Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-smtpcorp-track: 1pkDO5PuRTwD0W.LsCoJd6nrVnIz DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpservice.net; i=@smtpservice.net; q=dns/txt; s=a1-4; t=1680740528; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe; bh=Jfdq8l7I20AmZ7P51FJrCUZxYxGdt9XCIkMy+kkuFiA=; b=fwXTBXPyez7DZ0KYFGBiL0zVoNYwRl5n7voUsoCTDxLv/UZLbJkXMRSdOgl8CeFs5BmRf be1EDjiW794fX+dizF1B56DIVRzj3gbykudCH5iKzNtJ3uz0CF5X1HyuyvlgMg80n0ON/Gy nemODaQaBh63+EOp0l3ki0Exyw4bkizvuHw9UwY+XN8TLxoBgw/wQc2ao1r3sVsVhSkTdDP M7qriXoo7ZZxwdr3/wXp7japr3Bop77ZSIe7XQg8wHhxS4KwGlF6lnN5hJXzirP9mpyNGuK aots5sUIc+atkxSO3n/A/05ZX2CM76RmQZaxHRaYofleeVGzQE3oTYfGNJfw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vernuftiger.nl; i=@vernuftiger.nl; q=dns/txt; s=s773646; t=1680740528; h=from : subject : to : message-id : date; bh=Jfdq8l7I20AmZ7P51FJrCUZxYxGdt9XCIkMy+kkuFiA=; b=B1ewipQ9YA2t4qYSf6/uZuTq/kGsOxRGzSnmxYRGrCks5apz+hMuGcxugtuhnN7pgSvak V+w1GwGWBrhc+jrSoK/CxGw1CewK4QZlo16sAauO7YW/kGqP5yJFboXeBF6ADiSbo7Y3Y6d O+iD98ABb3EnkGsGvdnxIgJnE38TzYYEs9C659UsqyLiPTvLwMcUQdKuU95C4o9tY2Wh9YH mOVosVkpSFehyZJm4X2oUmq/ZCAhYcV2KleMx4S0do3Q7NqpjMVFdPiPcDycLs1fL3nEFmo cIVG5iDLX9PsHQqYOXMnWIycIw+BZNMRRtdmNuqe903diwDB6d8jNqTGjPIA== X-Spamd-Result: default: False [-3.20 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; FORGED_SENDER(0.30)[builder@vernuftiger.nl,bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl]; R_SPF_ALLOW(-0.20)[+ip4:103.2.140.0/22]; R_DKIM_ALLOW(-0.20)[smtpservice.net:s=a1-4,vernuftiger.nl:s=s773646]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:23352, ipnet:103.2.140.0/22, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[smtpservice.net:+,vernuftiger.nl:+]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[builder@vernuftiger.nl,bounce.cwcojpnd30=bp24tof5ra5d=p6lkjg9yci@em773646.vernuftiger.nl]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[vernuftiger.nl]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PsMdH0wW9z42hZ X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Hello, Im trying to setup (in a jail) sshd from base system on port 22, this works. For remote sftp I added openssh portable trough ports and set it up on a different port. Goal is to run both at same time but as soon as i start or restart openssh portable port 22 sshd base system gets closed. Once I restart base sshd port 22 is back but then the port set for openssh portable gets closed. Goggling didn't turn up anything useful so I hope someone here can tell me how I can run both ssh servers (on different ports) at the same time. Thanks for reading so far From nobody Thu Apr 6 00:35:53 2023 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 4PsMxD0JnSz44PCH for ; Thu, 6 Apr 2023 00:36:00 +0000 (UTC) (envelope-from kpn@neutralgood.org) Received: from gunsight1.neutralgood.org (gunsight1.neutralgood.org [IPv6:2607:f758:2280:1:d6be:d9ff:feac:a1e9]) (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 "gunsight1.neutralgood.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsMxC5FxWz4D5l for ; Thu, 6 Apr 2023 00:35:59 +0000 (UTC) (envelope-from kpn@neutralgood.org) Authentication-Results: mx1.freebsd.org; none Received: from gunsight1.NeutralGood.ORG (localhost [127.0.0.1]) by gunsight1.neutralgood.org (8.16.1/8.15.2) with ESMTPS id 3360ZrNI092770 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 5 Apr 2023 20:35:53 -0400 (EDT) (envelope-from kpn@gunsight1.NeutralGood.ORG) Received: (from kpn@localhost) by gunsight1.NeutralGood.ORG (8.16.1/8.15.2/Submit) id 3360ZrTx092766; Wed, 5 Apr 2023 20:35:53 -0400 (EDT) (envelope-from kpn) Date: Wed, 5 Apr 2023 20:35:53 -0400 From: "Kevin P. Neal" To: William Dudley Cc: freebsd-questions Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-No-archive: Yes X-Rspamd-Queue-Id: 4PsMxC5FxWz4D5l X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:13649, ipnet:2607:f758::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, Apr 05, 2023 at 05:22:54PM -0400, William Dudley wrote: > This is what is in messages at the times (3) that I tried to start > apache: > Apr  5 16:04:41 dudley kernel: pid 15855 (httpd), jid 0, uid 0: exited > on signal >  11 (core dumped) > Apr  5 16:04:50 dudley kernel: pid 15872 (httpd), jid 0, uid 0: exited > on signal >  11 (core dumped) > Apr  5 16:04:55 dudley kernel: pid 15889 (httpd), jid 0, uid 0: exited > on signal >  11 (core dumped) Best guess: Apache's idea of PHP and PHP proper are different and one of the two goes off the rails because of the difference. Did you build then yourself or did you use FreeBSD's packages and/or ports? After downgrading to php 8.0 did you rebuild Apache? > What does "sidebar" mean? > Bill Dudley Unknown to me. -- Kevin P. Neal http://www.pobox.com/~kpn/ "Nonbelievers found it difficult to defend their position in \ the presense of a working computer." -- a DEC Jensen paper From nobody Thu Apr 6 02:29:47 2023 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 4PsQSv6MWYz43HDp for ; Thu, 6 Apr 2023 02:30:07 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsQSv3TNgz4625 for ; Thu, 6 Apr 2023 02:30:07 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qk1-x729.google.com with SMTP id f11so4258533qka.5 for ; Wed, 05 Apr 2023 19:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680748206; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/q5UXjsa67gmPw5hLzK3TYqsdgdx0gkN+HE8V4O49R8=; b=hUiu0ofZSfgZUo2a1FZtSodMlCZbRv95RzL+klKcAxeSOsUt5fTXKPjAnwWyE8IFjh v4nNI4TUFLy3NbHrrPkyN0smvojy+MYzcdrWi2I2llY4ChM2DP3XGEz98buw6j+EeAkk dGaydLQd75SZproNHazuzF0Scdf/kltEN9BuyXZl9Tk96hkAFODLcYjV3/wGNa1LG08r 2YaMO2rQiFuJm+c6A6j/Wy52ufgjtZrMqOwM/k4XM+GL7H2ouG5ZaLL9FN12/xIElYuE WSgF4u4uJOc/tLfYuq7QeXZ2oKh5dU2PyOqT9TKBUR5uPYVqAoMsSwGvyxG9/Cu4DkbC L2NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680748206; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/q5UXjsa67gmPw5hLzK3TYqsdgdx0gkN+HE8V4O49R8=; b=Iea4HU9NnCkcFk3LAG+DhMpPB5E6oe9RkEl3jdVsEEHNiqA/HuUN/h7yu6rb8iQgfZ CrZ3IZhU6nnn0sKkhsFeNwlujcIcJx0aFK+trj9zao26wlY8ZaAW01Rqf7fn07NtxmvW dX9SwiJxE3O+Ja7YR9p/Vma8UInCregiIF0/7imkRyIlFis7IO0pJEgzz4lyp0aelmhZ bwYHj+0cjzJVk3gOL7gSDFL7JG44oVd6EfsvKWFmvZoAVJieKDXObfAvAQm1AAklNbHP DYq6fZdUvQ8bY9LBOo1Vv5BizodOA7XzHY9WclbB75oEDstXJDpFVoLvMU6ysBml3tKO 5GMg== X-Gm-Message-State: AAQBX9foPWr/0qdAWlsVqmqQxXc8P8Ul6jHW/aXF1qxhgwceQVt8QrrB OI+pQzHZDboLswrCXXZqkHtFzrQEXXyLST2C3DeiNV5+ X-Google-Smtp-Source: AKy350bSs0SrFYJGcOjKCGGJsC4Y3TChfHdgb42H5TLNjmlYeZNpHnrokxRXv0KeWmrD8xA9e7IJuQsXWOXXdUM90/Y= X-Received: by 2002:a05:620a:4708:b0:745:da3d:cd0a with SMTP id bs8-20020a05620a470800b00745da3dcd0amr2044886qkb.12.1680748206094; Wed, 05 Apr 2023 19:30:06 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: William Dudley Date: Wed, 5 Apr 2023 22:29:47 -0400 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: "Kevin P. Neal" Cc: freebsd-questions Content-Type: multipart/alternative; boundary="000000000000c7fe0705f8a1af37" X-Rspamd-Queue-Id: 4PsQSv3TNgz4625 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000c7fe0705f8a1af37 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable All installed from packages. I like to keep things simple. Bill Dudley This email is free of malware because I run Linux. On Wed, Apr 5, 2023 at 8:36=E2=80=AFPM Kevin P. Neal = wrote: > On Wed, Apr 05, 2023 at 05:22:54PM -0400, William Dudley wrote: > > This is what is in messages at the times (3) that I tried to start > > apache: > > Apr =C3=82 5 16:04:41 dudley kernel: pid 15855 (httpd), jid 0, uid 0= : > exited > > on signal > > =C3=82 11 (core dumped) > > Apr =C3=82 5 16:04:50 dudley kernel: pid 15872 (httpd), jid 0, uid 0= : > exited > > on signal > > =C3=82 11 (core dumped) > > Apr =C3=82 5 16:04:55 dudley kernel: pid 15889 (httpd), jid 0, uid 0= : > exited > > on signal > > =C3=82 11 (core dumped) > > Best guess: Apache's idea of PHP and PHP proper are different and one of > the two goes off the rails because of the difference. Did you build then > yourself or did you use FreeBSD's packages and/or ports? After downgradin= g > to php 8.0 did you rebuild Apache? > > > What does "sidebar" mean? > > Bill Dudley > > Unknown to me. > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > > "Nonbelievers found it difficult to defend their position in \ > the presense of a working computer." -- a DEC Jensen paper > --000000000000c7fe0705f8a1af37 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
All installed from packages.=C2=A0 I like to keep things s= imple.

Bill Dudley

T= his email is free of malware because I run Linux.


On W= ed, Apr 5, 2023 at 8:36=E2=80=AFPM Kevin P. Neal <kpn@neutralgood.org> wrote:
On Wed, Apr 05, 2023 at 05:22:54PM -040= 0, William Dudley wrote:
>=C2=A0 =C2=A0 This is what is in messages at the times (3) that I tried= to start
>=C2=A0 =C2=A0 apache:
>=C2=A0 =C2=A0 Apr =C3=82 5 16:04:41 dudley kernel: pid 15855 (httpd), j= id 0, uid 0: exited
>=C2=A0 =C2=A0 on signal
>=C2=A0 =C2=A0 =C3=82 11 (core dumped)
>=C2=A0 =C2=A0 Apr =C3=82 5 16:04:50 dudley kernel: pid 15872 (httpd), j= id 0, uid 0: exited
>=C2=A0 =C2=A0 on signal
>=C2=A0 =C2=A0 =C3=82 11 (core dumped)
>=C2=A0 =C2=A0 Apr =C3=82 5 16:04:55 dudley kernel: pid 15889 (httpd), j= id 0, uid 0: exited
>=C2=A0 =C2=A0 on signal
>=C2=A0 =C2=A0 =C3=82 11 (core dumped)

Best guess: Apache's idea of PHP and PHP proper are different and one o= f
the two goes off the rails because of the difference. Did you build then yourself or did you use FreeBSD's packages and/or ports? After downgrad= ing
to php 8.0 did you rebuild Apache?

>=C2=A0 =C2=A0 What does "sidebar" mean?
>=C2=A0 =C2=A0 Bill Dudley

Unknown to me.
--
Kevin P. Neal=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.pobox.com/~kp= n/

"Nonbelievers found it difficult to defend their position in \
=C2=A0 =C2=A0 the presense of a working computer." -- a DEC Jensen pap= er
--000000000000c7fe0705f8a1af37-- From nobody Thu Apr 6 02:32:18 2023 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 4PsQWR6b7jz43HkC for ; Thu, 6 Apr 2023 02:32:19 +0000 (UTC) (envelope-from kpn@neutralgood.org) Received: from gunsight1.neutralgood.org (gunsight1.neutralgood.org [IPv6:2607:f758:2280:1:d6be:d9ff:feac:a1e9]) (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 "gunsight1.neutralgood.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsQWR5Mb5z49Zt for ; Thu, 6 Apr 2023 02:32:19 +0000 (UTC) (envelope-from kpn@neutralgood.org) Authentication-Results: mx1.freebsd.org; none Received: from gunsight1.NeutralGood.ORG (localhost [127.0.0.1]) by gunsight1.neutralgood.org (8.16.1/8.15.2) with ESMTPS id 3362WIwa093565 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 5 Apr 2023 22:32:19 -0400 (EDT) (envelope-from kpn@gunsight1.NeutralGood.ORG) Received: (from kpn@localhost) by gunsight1.NeutralGood.ORG (8.16.1/8.15.2/Submit) id 3362WI2q093562; Wed, 5 Apr 2023 22:32:18 -0400 (EDT) (envelope-from kpn) Date: Wed, 5 Apr 2023 22:32:18 -0400 From: "Kevin P. Neal" To: William Dudley Cc: freebsd-questions Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled Message-ID: References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-No-archive: Yes X-Rspamd-Queue-Id: 4PsQWR5Mb5z49Zt X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:13649, ipnet:2607:f758::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Wed, Apr 05, 2023 at 10:29:47PM -0400, William Dudley wrote: > All installed from packages. I like to keep things simple. > Bill Dudley And you are sure that the Apache package and the PHP 8.0 package were built together? Did you reinstall the Apache package after downgrading PHP? > This email is free of malware because I run Linux. > > On Wed, Apr 5, 2023 at 8:36â¯PM Kevin P. Neal <[1]kpn@neutralgood.org> > wrote: > > On Wed, Apr 05, 2023 at 05:22:54PM -0400, William Dudley wrote: > >  This is what is in messages at the times (3) that I tried to > start > >  apache: > >  Apr à 5 16:04:41 dudley kernel: pid 15855 (httpd), jid 0, uid > 0: exited > >  on signal > >  à 11 (core dumped) > >  Apr à 5 16:04:50 dudley kernel: pid 15872 (httpd), jid 0, uid > 0: exited > >  on signal > >  à 11 (core dumped) > >  Apr à 5 16:04:55 dudley kernel: pid 15889 (httpd), jid 0, uid > 0: exited > >  on signal > >  à 11 (core dumped) > Best guess: Apache's idea of PHP and PHP proper are different and > one of > the two goes off the rails because of the difference. Did you build > then > yourself or did you use FreeBSD's packages and/or ports? After > downgrading > to php 8.0 did you rebuild Apache? > >  What does "sidebar" mean? > >  Bill Dudley > Unknown to me. > -- > Kevin P. Neal                > [2]http://www.pobox.com/~kpn/ > "Nonbelievers found it difficult to defend their position in \ >   the presense of a working computer." -- a DEC Jensen paper > > References > > 1. mailto:kpn@neutralgood.org > 2. http://www.pobox.com/~kpn/ -- Kevin P. Neal http://www.pobox.com/~kpn/ "Nonbelievers found it difficult to defend their position in \ the presense of a working computer." -- a DEC Jensen paper From nobody Thu Apr 6 03:12:26 2023 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 4PsRPy5vWwz43LgB for ; Thu, 6 Apr 2023 03:12:38 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [47.181.130.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4PsRPy2JM9z3y4r for ; Thu, 6 Apr 2023 03:12:38 +0000 (UTC) (envelope-from bc979@lafn.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4PsRPw5DKpz2gGMM; Wed, 5 Apr 2023 20:12:36 -0700 (PDT) Content-Type: text/plain; charset=us-ascii List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: syslog From: Doug Hardie In-Reply-To: <20230405204457.doj7nz4ulu6aii6f@beesty.loosely.org> Date: Wed, 5 Apr 2023 20:12:26 -0700 Cc: possessor.assizer305@aceecat.org Content-Transfer-Encoding: quoted-printable Message-Id: <27852D8E-B83C-47FB-8339-0DF158D28954@sermon-archive.info> References: <5748DDF6-66A6-4BF5-83BA-51B08D025F46@sermon-archive.info> <20230405204457.doj7nz4ulu6aii6f@beesty.loosely.org> To: questions@freebsd.org X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Virus-Scanned: clamav-milter 1.0.1 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4PsRPy2JM9z3y4r X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:5650, ipnet:47.181.128.0/18, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On Apr 5, 2023, at 13:44, possessor.assizer305@aceecat.org wrote: >=20 > On Wed, Apr 05, 2023 at 03:39:33AM -0700, Doug Hardie wrote: >=20 >> I am writing a program that I would like to log some messages with >> LOG_DEBUG, and others with LOG_INFO and LOG_MAIL. >=20 > May be relevant or not, but notice that LOG_DEBUG and LOG_INFO are > priorities but LOG_MAIL is a facility. Right. I knew that, but thought it might be the best way to describe = the situation. i have tried a few more combinations, but none of them = seem to work, but to have only one or the other per invocation. It's = not a great solution, but workable. -- Doug From nobody Thu Apr 6 03:57:07 2023 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 4PsSPh6q2hz43PJq for ; Thu, 6 Apr 2023 03:57:28 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-qt1-x834.google.com (mail-qt1-x834.google.com [IPv6:2607:f8b0:4864:20::834]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsSPg2f4Xz3xsK for ; Thu, 6 Apr 2023 03:57:27 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x834.google.com with SMTP id n14so37007432qta.10 for ; Wed, 05 Apr 2023 20:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680753446; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=U4qtvAbhblo7vDtfwg7WJX0klAaXPNPA2d4nL5i0FcE=; b=RonUe1/sF4hpd46LxS5oJ/C6XtHDcdPd4nY7w+beKRySSMDOBviY7WhKpzfUS25AMl az2q3gM7MbtVjdecTFM1+XA56JfD1dHDYOMpd7rU/Zmieqmz9Snr2jQg8/Hk06HwQBnH 4mQO0uzgtKGbAoLWAvRhv9LIUR11RETqDbA9ATgcTJv0EUC6Jbak4QBPUNTyKYKgPBR9 1b1vOeP4eYh9WtoRwxt9SdNEwI9o25YjGW0R0JbsYB0+/zULzgwsS72X6MWINRtdn/fS D57E0ITlSQ5KEE70/4ZE0IU1BnCvorlfpF5+UHPUeHvgWI/ToRC4IJQq/pPQQXDU+Zis 3Hjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680753446; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=U4qtvAbhblo7vDtfwg7WJX0klAaXPNPA2d4nL5i0FcE=; b=DNT9QODErxxzBL7j+rhQz75EZeOjlcWhZ7X5eeIlgpkfpmwRD17hFZNq41QFiGuyYN MCxlA8qL4yTOXrvFedjhTBCS3sr4pqHdLDrQOnzKHUKmTP3aNHUZzdyk8S/SDgbaVmrz bUuwA7w3YZ6aYNg+Ou4teotTS1BjWPtK0LPjSdKyu+mapc+p4W+7mM3Pg1cWfkxUXyPl Ey8CawSeWiinJ4EgbUB+eHajavGjpQNW6EzgU18Ba41ZqjcmFTbl0r9CkR+hazzLr3lU sRrLjRlXwItnYq3vgxUigRf6ucFaU+vQMNd3vX0JkYCunArNZ1WP45h/zgI7IwuML+5a z7Gg== X-Gm-Message-State: AAQBX9cZbUtWwX5f1PQO3vxyN7VqzJLVOTnEwNncWnC4Y/Z0wPEs3IRT uuKJZMBmy70rrZumkXlHpx737kdm0EnnjLNf77CSBQZ/aHc= X-Google-Smtp-Source: AKy350bi1va1+ZvBKs9ZkF8GSHno22Kod8g7LY8qeqDJSyflF5m/D0WJ2u6mt4sMunmxVsgazaFztS1bfpyg1mXVqIs= X-Received: by 2002:a05:622a:144d:b0:3db:2d18:3f84 with SMTP id v13-20020a05622a144d00b003db2d183f84mr2135434qtx.11.1680753446181; Wed, 05 Apr 2023 20:57:26 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: William Dudley Date: Wed, 5 Apr 2023 23:57:07 -0400 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: "Kevin P. Neal" Cc: freebsd-questions Content-Type: multipart/alternative; boundary="0000000000001d5d2605f8a2e89a" X-Rspamd-Queue-Id: 4PsSPg2f4Xz3xsK X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000001d5d2605f8a2e89a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I don't know when Apache and PHP were built; I only use "pkg install php80"; pkg install mod_php80; pkg install apache24" However, there was just an update pushed out today, and so apache24-2.4.56 was re-installed due to shared lib change. This did nothing to improve the situation with mod_php. Still core dumps immediately when starting apache. Bill Dudley This email is free of malware because I run Linux. On Wed, Apr 5, 2023 at 10:32=E2=80=AFPM Kevin P. Neal = wrote: > On Wed, Apr 05, 2023 at 10:29:47PM -0400, William Dudley wrote: > > All installed from packages.=C3=82 I like to keep things simple. > > Bill Dudley > > And you are sure that the Apache package and the PHP 8.0 package were > built together? > > Did you reinstall the Apache package after downgrading PHP? > > > This email is free of malware because I run Linux. > > > > On Wed, Apr 5, 2023 at 8:36=C3=A2=C2=AFPM Kevin P. Neal <[1]kpn@neut= ralgood.org > > > > wrote: > > > > On Wed, Apr 05, 2023 at 05:22:54PM -0400, William Dudley wrote: > > >=C3=82 =C3=82 This is what is in messages at the times (3) that= I tried to > > start > > >=C3=82 =C3=82 apache: > > >=C3=82 =C3=82 Apr =C3=83 5 16:04:41 dudley kernel: pid 15855 (h= ttpd), jid 0, uid > > 0: exited > > >=C3=82 =C3=82 on signal > > >=C3=82 =C3=82 =C3=83 11 (core dumped) > > >=C3=82 =C3=82 Apr =C3=83 5 16:04:50 dudley kernel: pid 15872 (h= ttpd), jid 0, uid > > 0: exited > > >=C3=82 =C3=82 on signal > > >=C3=82 =C3=82 =C3=83 11 (core dumped) > > >=C3=82 =C3=82 Apr =C3=83 5 16:04:55 dudley kernel: pid 15889 (h= ttpd), jid 0, uid > > 0: exited > > >=C3=82 =C3=82 on signal > > >=C3=82 =C3=82 =C3=83 11 (core dumped) > > Best guess: Apache's idea of PHP and PHP proper are different and > > one of > > the two goes off the rails because of the difference. Did you buil= d > > then > > yourself or did you use FreeBSD's packages and/or ports? After > > downgrading > > to php 8.0 did you rebuild Apache? > > >=C3=82 =C3=82 What does "sidebar" mean? > > >=C3=82 =C3=82 Bill Dudley > > Unknown to me. > > -- > > Kevin P. Neal=C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3= =82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 =C3=82 > > [2]http://www.pobox.com/~kpn/ > > "Nonbelievers found it difficult to defend their position in \ > > =C3=82 =C3=82 the presense of a working computer." -- a DEC Jens= en paper > > > > References > > > > 1. mailto:kpn@neutralgood.org > > 2. http://www.pobox.com/~kpn/ > -- > Kevin P. Neal http://www.pobox.com/~kpn/ > > "Nonbelievers found it difficult to defend their position in \ > the presense of a working computer." -- a DEC Jensen paper > --0000000000001d5d2605f8a2e89a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't know when Apache and PHP were built; I only us= e "pkg install php80"; pkg install=C2=A0mod_php80; pkg install ap= ache24"

However, there was just an update pushed ou= t today, and so apache24-2.4.56 was re-installed due to shared lib change.<= /div>
This did nothing to improve the situation with mod_php.=C2=A0 Sti= ll core dumps immediately when starting apache.

Bill= Dudley

This email is free of malware b= ecause I run Linux.


On Wed, Apr 5, 2023 at 10:32= =E2=80=AFPM Kevin P. Neal <kpn@ne= utralgood.org> wrote:
On Wed, Apr 05, 2023 at 10:29:47PM -0400, William Dudley wrote= :
>=C2=A0 =C2=A0 All installed from packages.=C3=82=C2=A0 I like to keep t= hings simple.
>=C2=A0 =C2=A0 Bill Dudley

And you are sure that the Apache package and the PHP 8.0 package were
built together?

Did you reinstall the Apache package after downgrading PHP?

>=C2=A0 =C2=A0 This email is free of malware because I run Linux.
>
>=C2=A0 =C2=A0 On Wed, Apr 5, 2023 at 8:36=C3=A2=C2=AFPM Kevin P. Neal &= lt;[1]kpn@neutralg= ood.org>
>=C2=A0 =C2=A0 wrote:
>
>=C2=A0 =C2=A0 =C2=A0 On Wed, Apr 05, 2023 at 05:22:54PM -0400, William = Dudley wrote:
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 This is what is in m= essages at the times (3) that I tried to
>=C2=A0 =C2=A0 =C2=A0 start
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 apache:
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 Apr =C3=83 5 16:04:4= 1 dudley kernel: pid 15855 (httpd), jid 0, uid
>=C2=A0 =C2=A0 =C2=A0 0: exited
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 on signal
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 =C3=83 11 (core dump= ed)
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 Apr =C3=83 5 16:04:5= 0 dudley kernel: pid 15872 (httpd), jid 0, uid
>=C2=A0 =C2=A0 =C2=A0 0: exited
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 on signal
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 =C3=83 11 (core dump= ed)
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 Apr =C3=83 5 16:04:5= 5 dudley kernel: pid 15889 (httpd), jid 0, uid
>=C2=A0 =C2=A0 =C2=A0 0: exited
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 on signal
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 =C3=83 11 (core dump= ed)
>=C2=A0 =C2=A0 =C2=A0 Best guess: Apache's idea of PHP and PHP prope= r are different and
>=C2=A0 =C2=A0 =C2=A0 one of
>=C2=A0 =C2=A0 =C2=A0 the two goes off the rails because of the differen= ce. Did you build
>=C2=A0 =C2=A0 =C2=A0 then
>=C2=A0 =C2=A0 =C2=A0 yourself or did you use FreeBSD's packages and= /or ports? After
>=C2=A0 =C2=A0 =C2=A0 downgrading
>=C2=A0 =C2=A0 =C2=A0 to php 8.0 did you rebuild Apache?
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 What does "side= bar" mean?
>=C2=A0 =C2=A0 =C2=A0 >=C3=82=C2=A0 =C3=82=C2=A0 Bill Dudley
>=C2=A0 =C2=A0 =C2=A0 Unknown to me.
>=C2=A0 =C2=A0 =C2=A0 --
>=C2=A0 =C2=A0 =C2=A0 Kevin P. Neal=C3=82=C2=A0 =C3=82=C2=A0 =C3=82=C2= =A0 =C3=82=C2=A0 =C3=82=C2=A0 =C3=82=C2=A0 =C3=82=C2=A0 =C3=82=C2=A0 =C3=82= =C2=A0 =C3=82=C2=A0 =C3=82=C2=A0 =C3=82=C2=A0 =C3=82=C2=A0 =C3=82=C2=A0 =C3= =82=C2=A0 =C3=82
>=C2=A0 =C2=A0 =C2=A0 [2]http://www.pobox.com/~kpn/
>=C2=A0 =C2=A0 =C2=A0 "Nonbelievers found it difficult to defend th= eir position in \
>=C2=A0 =C2=A0 =C2=A0 =C3=82=C2=A0 =C3=82=C2=A0 the presense of a workin= g computer." -- a DEC Jensen paper
>
> References
>
>=C2=A0 =C2=A0 1. mailto:kpn@neutralgood.org
>=C2=A0 =C2=A0 2. http://www.pobox.com/~kpn/
--
Kevin P. Neal=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.pobox.com/~kp= n/

"Nonbelievers found it difficult to defend their position in \
=C2=A0 =C2=A0 the presense of a working computer." -- a DEC Jensen pap= er
--0000000000001d5d2605f8a2e89a-- From nobody Thu Apr 6 03:57:46 2023 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 4PsSQR26vQz43PMN for ; Thu, 6 Apr 2023 03:58:07 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsSQQ13kMz40NH for ; Thu, 6 Apr 2023 03:58:06 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=fF6I4Te6; spf=pass (mx1.freebsd.org: domain of wfdudley@gmail.com designates 2607:f8b0:4864:20::836 as permitted sender) smtp.mailfrom=wfdudley@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qt1-x836.google.com with SMTP id g19so36986243qts.9 for ; Wed, 05 Apr 2023 20:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680753485; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=Xb755fxBPVYUCNP1OppgoLWSMaOpy6/+GG0IRh03DDU=; b=fF6I4Te68WqSMVmP1sk21TC2A7cpWHQ183I4Qvw5iml/GG7UisLA9qDpam9lPpO1If IzHcJiJJIiwWAKd0u1V9ifuOTob0D+OeLRO7krC8jxlql9fb0oj+QY4xHbTrarysMMFC D/s3ebEFeAtMK0ifgygzNpB3wcIxvEoAnXxW+oB51cCVWJrXxrpu0UMg1DBJXiV+qqow iCpVjF9c2GZ3hmjUetrpJj6aD+bcejtFBkE6GmlDdf7Gt8VhH/oEkvFPVoF52nyuDGbM Ow/pkybsvxVjBLsCPXego5arUy+XEIHOaDmU7OIVulCcE0bAsRG6kJhNcJUeVCajN/SK WweA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680753485; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Xb755fxBPVYUCNP1OppgoLWSMaOpy6/+GG0IRh03DDU=; b=FVNXOyHaRhbEli+TIUqExQllTpwSBstKu9/xVGijJ6IGTXMlf9TRvRNQhgDCZCVjGL V4Oems0ZLWeuqhdsgnGJz4KN2PeNz4yPVycTDJvVCfuJk/pAedLC6yU7yqLC+VxFPotA tAF4TYdeI7lPGFnxaLST87B4GZcRlqaoE47QynGCoWX7hh6A79Mmlc7Xh1l3KSYL4wrf UVN2OSPyS6V+hinlFpctodbv+F0Gdz4ZKWv0KXIIdiqUrUCnyWQPX70M5+gjpgHfAh8W RALqhJmUlElge0w2qKttw0KanXAAnA9QCEXeNRzQ+n0IlkHjqJr4MUwDcQ60VB/ZtDV7 YwIA== X-Gm-Message-State: AAQBX9c8i+EHVw6kXpHsqbdXhp2gjM+CJKbcW0XyCWlyWHAHkCiT5Sh5 4hW2ZQb1XGh8aPFBdA76PgMpUKF+JVlisUEUokOVROWO X-Google-Smtp-Source: AKy350an1BEtzv7r2foWwlwzvh9U7okWc62D1rbvtFDW7sxyZrY8/24d+X2X7KOSEKx9l0Tc4IVQNy+05iDdpPdk2J0= X-Received: by 2002:a05:622a:1895:b0:3e1:e1ae:9d5c with SMTP id v21-20020a05622a189500b003e1e1ae9d5cmr1943973qtc.11.1680753484724; Wed, 05 Apr 2023 20:58:04 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: William Dudley Date: Wed, 5 Apr 2023 23:57:46 -0400 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: Scott Ballantyne , freebsd-questions Content-Type: multipart/alternative; boundary="000000000000697de705f8a2ea10" X-Spamd-Result: default: False [-3.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.990]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::836:from]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com,freebsd.org]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PsSQQ13kMz40NH X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --000000000000697de705f8a2ea10 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Yes, php command line functions normally. Bill Dudley On Wed, Apr 5, 2023 at 10:40=E2=80=AFPM Scott Ballantyne wrote: > On Wed, Apr 5, 2023 at 10:30=E2=80=AFPM William Dudley wrote: > >> All installed from packages. I like to keep things simple. >> >> Bill Dudley >> >> This email is free of malware because I run Linux >> > > Can you run PHP from the command line without it core dumping? > > > --000000000000697de705f8a2ea10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Yes, php command line functions normally.

Bill Dudley



<= div class=3D"gmail_quote">
On Wed, Apr= 5, 2023 at 10:40=E2=80=AFPM Scott Ballantyne <boyvalue@gmail.com> wrote:
On Wed, Apr 5, 2023 at 10:30=E2=80=AFPM= William Dudley <wfdudley@gmail.com> wrote:
All installed from packages.=C2=A0 I like to keep things simple= .

Bill Dudley

This email is free of malware because I run Linux

Can you run PHP from the command li= ne without it core dumping?=C2=A0


=
--000000000000697de705f8a2ea10-- From nobody Thu Apr 6 06:08:31 2023 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 4PsWK70Kxwz43ZKt for ; Thu, 6 Apr 2023 06:08:43 +0000 (UTC) (envelope-from 4250.82.1d4fe0002eed990.cfa517348b86fb9b6b46a4b6e2ea8e63@email-od.com) Received: from s1-b0c6.socketlabs.email-od.com (s1-b0c6.socketlabs.email-od.com [142.0.176.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsWK54W2lz4PY4 for ; Thu, 6 Apr 2023 06:08:41 +0000 (UTC) (envelope-from 4250.82.1d4fe0002eed990.cfa517348b86fb9b6b46a4b6e2ea8e63@email-od.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=OvtH8ge4; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4fe0002eed990.cfa517348b86fb9b6b46a4b6e2ea8e63@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4fe0002eed990.cfa517348b86fb9b6b46a4b6e2ea8e63@email-od.com; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1680761322; x=1683353322; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info:subject:to:from:cc:reply-to; bh=2HOlsUGpBkBAUnfIcAVkfTztrBYfn+FzOzyfPnycN6Y=; b=OvtH8ge4k3v7DQgdTRF2pix71TdsH+Br5iQ3wLszP3Nmr6xNCDMajK+K9fOK/MamQ1sOrY2wv9np0Jzjk94jqsmbuJHaNZCcn1l0AgBlK18vcuqHSm1iekwiC8FVb5grJnSVhgvnB9fRe+aP0nLqtvUiArSrfhIFTjcj/9b/pR8= X-Thread-Info: NDI1MC4xMi4xZDRmZTAwMDJlZWQ5OTAucXVlc3Rpb25zPWZyZWVic2Qub3Jn Received: from r2.h.in.socketlabs.com (r2.h.in.socketlabs.com [142.0.180.12]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 6 Apr 2023 02:08:34 -0400 Received: from smtp.lan.sohara.org (86-42-20-118-dynamic.b-ras1.bdt.dublin.eircom.net [86.42.20.118]) by r2.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Thu, 6 Apr 2023 02:08:33 -0400 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1pkInP-000CPv-Ol for questions@freebsd.org; Thu, 06 Apr 2023 07:08:31 +0100 Date: Thu, 6 Apr 2023 07:08:31 +0100 From: Steve O'Hara-Smith To: questions@freebsd.org Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled Message-Id: <20230406070831.a6f09f389baed2a6ff4dbbbb@sohara.org> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.0) X-Clacks-Overhead: "GNU Terry Pratchett" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.70 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MV_CASE(0.50)[]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4fe0002eed990.cfa517348b86fb9b6b46a4b6e2ea8e63@email-od.com]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; RCVD_TLS_LAST(0.00)[]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4fe0002eed990.cfa517348b86fb9b6b46a4b6e2ea8e63@email-od.com]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[email-od.com:+]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[sohara.org]; DWL_DNSWL_NONE(0.00)[email-od.com:dkim] X-Rspamd-Queue-Id: 4PsWK54W2lz4PY4 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Wed, 5 Apr 2023 11:09:37 -0400 William Dudley wrote: > I have another machine running 13.1, but it's amd64. It happily runs > Apache with php80, so I downgraded the i386 machine to php80 > so the two machines would be "the same". > > Except this didn't fix the problem. Apache won't run with either php80 > OR php81 enabled, using this stanza in httpd.conf: Two possibilities spring to mind - the two machines are not "the same", check all relevant package versions right down the dependency tree. - The code depends on a feature not in one CPU or something of that order. Given that PHP and Apache work independently the glue is the prime suspect, I'd try building mod-php from ports. -- Steve O'Hara-Smith From nobody Thu Apr 6 06:18:54 2023 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 4PsWYg1h7Sz43Ztd for ; Thu, 6 Apr 2023 06:19:35 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-lj1-x230.google.com (mail-lj1-x230.google.com [IPv6:2a00:1450:4864:20::230]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsWYf20ZFz3NdX for ; Thu, 6 Apr 2023 06:19:34 +0000 (UTC) (envelope-from odhiambo@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=Ck3fKu0O; spf=pass (mx1.freebsd.org: domain of odhiambo@gmail.com designates 2a00:1450:4864:20::230 as permitted sender) smtp.mailfrom=odhiambo@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-lj1-x230.google.com with SMTP id o20so36743308ljp.3 for ; Wed, 05 Apr 2023 23:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680761972; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=eFFEweKB4ffP1UzHi3iDaFPd+27k8btEutLcpFn9yFo=; b=Ck3fKu0OgGh5EDeCLYMjeznA7KJlmrHGVtJvZRhdlQbvRcEfKYpc44WxAIWNXapvxM JgCvvxpEnZX3Dqqa7LcZBSgWey1k8yBqURQXEAclvIDOwFutdEg0V/UI1HER8FHM1Cro b25vKp/LNM+kBtNB1W8mkxeCF9MCh7LLWql5rbWnud5bumBzy7my9Lq7vbP2r5jYagDG MrlMS25oOQ31D84uirSDDFzYfDJk98sqUQYKgtoeWXnyb9hHedCy9zLRaicbcvuf3DEt a2Kyq10Ykf92W/EGxJvJ11pfWVssrkSwMwyXQMG5/V3yyZNceyJVVzKkh+cH0E46EujW 4jMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680761972; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eFFEweKB4ffP1UzHi3iDaFPd+27k8btEutLcpFn9yFo=; b=U2+edEELHn8n7Jvh74RDHldnP9JwaBF1OIrAZMVvUCpDBD4k/U/o/a/uSqmAquVfYg wbN4axjGhFIJb86W+ZTNPX5vPoLBhxsHM4O1wJpIlD5fVlN0if+SXJm4D66IgXu2Bcay 4XxJcnjBtio6JmjeUaDWHu3Zka5hrzv+Hj7ZLJCZCTnjUCAlGljyCv1iZG5kk+6ZOYLZ CukxqythPeur+iNmqrRk3jCQa5UDksOqiU5tJ+5xXMQWWqZHu9I2m60Q2GF8nMcp9F9g GmTyMfSv1lB9BqJ0wqERq9O6zEvxhcIOI6wKL76zrtgjxg9+Nd8bTjo/L7WiguIudx1J 9OBQ== X-Gm-Message-State: AAQBX9cD7zAmjVaLdyx89GLW598OsKfBgkK1/nQr29UfWx5204B3B1Mp +HQhfuVg8Oc7Hy2mTFMm8nJjEZHuxydh7YHx55bVjKdgSRgRGw== X-Google-Smtp-Source: AKy350Y3we6DghwsYnC/h/nT8FAEWooFyo22F3nwiO6F5ggr/7ZPbbwhMicfv4DNDeiBBKAGIqxpLXZGI9oJ4riNuHQ= X-Received: by 2002:a2e:7e09:0:b0:295:bb34:9c2 with SMTP id z9-20020a2e7e09000000b00295bb3409c2mr3030656ljc.10.1680761971567; Wed, 05 Apr 2023 23:19:31 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20230406070831.a6f09f389baed2a6ff4dbbbb@sohara.org> In-Reply-To: <20230406070831.a6f09f389baed2a6ff4dbbbb@sohara.org> From: Odhiambo Washington Date: Thu, 6 Apr 2023 09:18:54 +0300 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: questions@freebsd.org Content-Type: multipart/alternative; boundary="00000000000044718a05f8a4e438" X-Spamd-Result: default: False [-3.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.897]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::230:from]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4PsWYf20ZFz3NdX X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N --00000000000044718a05f8a4e438 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Apr 6, 2023 at 9:09=E2=80=AFAM Steve O'Hara-Smith wrote: > On Wed, 5 Apr 2023 11:09:37 -0400 > William Dudley wrote: > > > I have another machine running 13.1, but it's amd64. It happily runs > > Apache with php80, so I downgraded the i386 machine to php80 > > so the two machines would be "the same". > > > > Except this didn't fix the problem. Apache won't run with either php80 > > OR php81 enabled, using this stanza in httpd.conf: > > Two possibilities spring to mind > > - the two machines are not "the same", check all relevant package > versions right down the dependency tree. > > - The code depends on a feature not in one CPU or something of th= at > order. Given that PHP and Apache work independently the glue is the prime > suspect, I'd try building mod-php from ports. > He wants to keep things simple, so he prefers pkg install... no ports. --=20 Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) [How to ask smart questions: http://www.catb.org/~esr/faqs/smart-questions.html] --00000000000044718a05f8a4e438 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, Apr 6, 2023 at 9:09=E2=80=AFA= M Steve O'Hara-Smith <steve@soha= ra.org> wrote:
On Wed, 5 Apr 2023 11:09:37 -0400
William Dudley <= wfdudley@gmail.com> wrote:

> I have another machine running 13.1, but it's amd64.=C2=A0 It happ= ily runs
> Apache with php80, so I downgraded the i386 machine to php80
> so the two machines would be "the same".
>
> Except this didn't fix the problem.=C2=A0 Apache won't run wit= h either php80
> OR php81 enabled, using this stanza in httpd.conf:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Two possibilities spring to mind

=C2=A0 =C2=A0 =C2=A0 =C2=A0 - the two machines are not "the same"= , check all relevant package
versions right down the dependency tree.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 - The code depends on a feature not in one CPU = or something of that
order. Given that PHP and Apache work independently the glue is the prime suspect, I'd try building mod-php from ports.

He wants to keep things simple, so he prefers pkg in= stall... no ports.

--
Best regards,
Odhiambo WASHINGTON,Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.&quo= t;,=C2=A0egrep -v '^$|^.*#'= =C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.html]
--00000000000044718a05f8a4e438-- From nobody Thu Apr 6 06:56:05 2023 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 4PsXMt5FGJz43d7D for ; Thu, 6 Apr 2023 06:56:10 +0000 (UTC) (envelope-from matthew@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsXMt3gzXz4VGl for ; Thu, 6 Apr 2023 06:56:10 +0000 (UTC) (envelope-from matthew@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680764170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZqQPx0MPj1SUUsDreBgxFHdRnQ1gBnrfKBrC9bCxtF4=; b=vb1+egGmJvhKiLzGmURjmPLJcKH0XyFSeTQ9ENTJPQa1rWRlA/tGvzLB4QqsoFaTlueqmC PY7acEP9Gp62nTR1hlh+QqSNiYlz/NaZPvmmHEg4lgwsmPFpMN6QU0/D7TVenYRzgvEvYh kSfWGaHBIyfgVoPVtkCpXdFk8votOhodggvemjaCPcb+X2Cg6RJ+7Cts8BS6rwwgwuKaY7 Fh2tSLYMtNAwS28ODvmdRTVPIvgdz6ln58iTIR4yTeyMGftZKqOFqLYLLDl8aLgTWSqeQf rsrV5XeDNpxI+4IRqxNS2sEs0e2Mc5uDWS/exB67zwdI8DUYO7nBNr2ZwhHXvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680764170; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ZqQPx0MPj1SUUsDreBgxFHdRnQ1gBnrfKBrC9bCxtF4=; b=SpuYveFWEF9fcCbx6IY85QolBWN4xM2dyLAkdxVJwQW8bSwg9Z4UG3LJdRtz52S9dpT+Av gmfnY45tgI7KRC+slzatdBXNNjvhBrbvGjw2ESmVO68Vc8sitNe/T8lAmSQuzdxYSZ9gRB Orx8/3O4HEWy+81Tg17P6mZzk/Om2jT8mC9PK9TVePyGYh8Ij+ZyzjqNHc/VvodWKke3zk tHv/DK+3S+NQ4f/GpxVvlv25faUA1t7PFSD8CtAwwarYD2xAX1mqfQDJT2ls/Tf5ewY58y e81iSw20/wkQRAl0NANuPXXLjLDw78POQ8HyHS+O2C4DLv9rVo7FdBhG1mKDVw== ARC-Authentication-Results: i=1; smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680764170; a=rsa-sha256; cv=none; b=rhlJ6BLEG8IKn2bD/x9FKAxdf+zAYlFDLwa2WZks5VQZoMzUyWVP315IsNHgG2Vs3+NKZQ L1Wj2v8B9T54CmaIWfUlzvMG2lM0+i5Zkc0+NYWJq2/pe/WziQwLi/h+0Ju7GRGRBILVhB hgmBSb/8jiG8GeG9d4rVdLsmvb6D5lqxFnD0Dg5hGW2oZzu6XTPvpj/nlFs1SCWgllMBbd kLg+CRkWj+7VpMLaQY+zEr6pKi6MO8jyeRliFFXaAVDnUYcVZvaijPDhEnZw/Z4HHpFh3a JmLtrE4XrBsdz2P6jvqxz3fvbeTJoABj5NYmFvPp7enEt492todrfbelSI3G4Q== Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PsXMt0x7jzV6n for ; Thu, 6 Apr 2023 06:56:10 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [IPV6:2001:8b0:151:1:d941:a576:66e3:9ae0] (unknown [IPv6:2001:8b0:151:1:d941:a576:66e3:9ae0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 2B6181674 for ; Thu, 6 Apr 2023 07:56:06 +0100 (BST) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/2B6181674; dkim=none; dkim-atps=neutral Message-ID: <00e5dfc2-702b-4838-ba55-49794e20152e@FreeBSD.org> Date: Thu, 6 Apr 2023 07:56:05 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 To: questions@freebsd.org References: <08927381-e37c-0ec6-2b9e-25241cf38dd9@vernuftiger.nl> From: Matthew Seaman Subject: Re: sshd (base system) and openssh portable (ports) on different ports disables other In-Reply-To: <08927381-e37c-0ec6-2b9e-25241cf38dd9@vernuftiger.nl> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------WG3KxkXh4CFhn1I6DPnfFHCa" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------WG3KxkXh4CFhn1I6DPnfFHCa Content-Type: multipart/mixed; boundary="------------VgEBEymNfhnCkGBpHOH4nJfJ"; protected-headers="v1" From: Matthew Seaman To: questions@freebsd.org Message-ID: <00e5dfc2-702b-4838-ba55-49794e20152e@FreeBSD.org> Subject: Re: sshd (base system) and openssh portable (ports) on different ports disables other References: <08927381-e37c-0ec6-2b9e-25241cf38dd9@vernuftiger.nl> In-Reply-To: <08927381-e37c-0ec6-2b9e-25241cf38dd9@vernuftiger.nl> --------------VgEBEymNfhnCkGBpHOH4nJfJ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMDYvMDQvMjAyMyAwMToyMSwgSUNUIGJ1aWxkZXIgd3JvdGU6DQoNCj4gSW0gdHJ5aW5n IHRvIHNldHVwIChpbiBhIGphaWwpIHNzaGQgZnJvbSBiYXNlIHN5c3RlbSBvbiBwb3J0IDIy LCB0aGlzIA0KPiB3b3Jrcy4NCj4gDQo+IEZvciByZW1vdGUgc2Z0cCBJIGFkZGVkIG9wZW5z c2ggcG9ydGFibGUgdHJvdWdoIHBvcnRzIGFuZCBzZXQgaXQgdXAgb24gYSANCj4gZGlmZmVy ZW50IHBvcnQuDQo+IA0KPiBHb2FsIGlzIHRvIHJ1biBib3RoIGF0IHNhbWUgdGltZSBidXQg YXMgc29vbiBhcyBpIHN0YXJ0IG9yIHJlc3RhcnQgDQo+IG9wZW5zc2ggcG9ydGFibGUgcG9y dCAyMiBzc2hkIGJhc2Ugc3lzdGVtIGdldHMgY2xvc2VkLg0KPiANCj4gT25jZSBJIHJlc3Rh cnQgYmFzZSBzc2hkIHBvcnQgMjIgaXMgYmFjayBidXQgdGhlbiB0aGUgcG9ydCBzZXQgZm9y IA0KPiBvcGVuc3NoIHBvcnRhYmxlIGdldHMgY2xvc2VkLg0KPiANCj4gR29nZ2xpbmcgZGlk bid0IHR1cm4gdXAgYW55dGhpbmcgdXNlZnVsIHNvIEkgaG9wZSBzb21lb25lIGhlcmUgY2Fu IHRlbGwgDQo+IG1lIGhvdyBJIGNhbiBydW4gYm90aCBzc2ggc2VydmVycyAob24gZGlmZmVy ZW50IHBvcnRzKSBhdCB0aGUgc2FtZSB0aW1lLg0KDQpUaGUgc3RhcnR1cCBzY3JpcHRzIGZv ciBvcGVuc3NoIGdvIHRvIGdyZWF0IGxlbmd0aHMgdG8gY2hlY2sgdGhhdCBiYXNlIA0Kc3lz dGVtIHNzaGQgYW5kIG9wZW5zc2ggYXJlbid0IGNvbmZpZ3VyZWQgdG8gbGlzdGVuIG9uIHRo ZSBzYW1lIHBvcnRzIG9yIA0KbGlzdGVuIGFkZHJlc3Nlcy4gIEhvd2V2ZXIgaXQgc2VlbXMg dGhhdCBib3RoIHZhcmlhbnRzIGRlZmF1bHQgdG8gdXNpbmcgDQp0aGUgc2FtZSAvdmFyL3J1 bi9zc2hkLnBpZCBmb3IgdGhlaXIgcGlkZmlsZS4gIFVubGVzcyB5b3Ugb3ZlcnJpZGUgdGhh dCANCmZyb20geW91ciBvcGVuc3NoIGNvbmZpZyBhbmQgc2V0ICRvcGVuc3NoX3BpZGZpbGUg YXBwcm9wcmlhdGVseSBpbiANCnJjLmNvbmYgdGhhdCdzIGdvaW5nIHRvIGNhdXNlIHByb2Js ZW1zLCBzaW5jZSB0aGUgcmMgc2NyaXB0IGZvciBvbmUgd2lsbCANCmVuZCB1cCBzZW5kaW5n IHNpZ25hbHMgdG8gdGhlIG90aGVyIHByb2Nlc3MuDQoNClRoZSB0d28gZGlmZmVyZW50IHBy b2Nlc3NlcyB3b3VsZCBhbHNvIGxpa2VseSB1c2UgdGhlIHNhbWUgU1NIX0FVVEhfU09DSyAN CnVuaXggZG9tYWluIHNvY2tldCB0byBjb21tdW5pY2F0ZSB3aXRoIHNzaC1hZ2VudCgxKSB1 bmxlc3Mgc3BlY2lpY2FsbHkgDQpjb25maWd1cmVkIG90aGVyd2lzZSwgYnV0IHRoYXQgc2hv dWxkbid0IGNhdXNlIHRoZSBzb3J0IG9mIHN5bXB0b21zIA0KeW91J3JlIHNlZWluZyBhbmQg bWF5IHdlbGwgYmUgd2hhdCB5b3Ugd2FudCBhbnl3YXkuDQoNCklzIHRoZSBqYWlsIHlvdSdy ZSB1c2luZyBhIHRyYWRpdGlvbmFsIGphaWwsIG9yIGEgVk5FVCBqYWlsPyAgVk5FVCBqYWls cyANCmFyZSBwcmVmZXJhYmxlIGluIGFsbW9zdCBhbGwgY2FzZXMsIGFuZCBpdCdzIGxhcmdl bHkgYSBtYXR0ZXIgb2YgDQpoaXN0b3JpY2FsIGJhY2t3YXJkcyBjb21wYXRpYmlsaXR5IHRo YXQgdGhleSBhcmVuJ3QgdGhlIGRlZmF1bHQuDQoNCldpdGggYSB0cmFkaXRpb25hbCBqYWls IHRoYXQgc2hhcmVzIHRoZSBuZXR3b3JrIGludGVyZmFjZSBvZiB0aGUgbWFpbiANCmhvc3Qg eW91IG5lZWQgdG8gd29ycnkgYWJvdXQgY29uZmxpY3Rpbmcgd2l0aCB0aGUgc3NoZCBpbiB0 aGUgbWFpbiBob3N0LiANCiAgQWxzbywgaW4gYSB0cmFkaXRpb25hbCBqYWlsIHRoZXJlIGlz bid0IGEgbm9ybWFsIGxvb3BiYWNrIGludGVyZmFjZSAtLSANCmFueSBhdHRlbXB0cyB0byBj b25uZWN0IHZpYSBsbzAgd2lsbCBiZSB0cmFuc3BhcmVudGx5IHJlZGlyZWN0ZWQgdG8gdGhl IA0KZXh0ZXJuYWwgbmV0d29yayBpbnRlcmZhY2UuDQoNCkFsc28sIG5vdGUgdGhhdCB0aGUg c3NoZCBpbiB0aGUgYmFzZSBzeXN0ZW0gaXMgYWxyZWFkeSBvcGVuc3NoLXBvcnRhYmxlIA0K ZnJvbSBleGFjdGx5IHRoZSBzYW1lIGNvZGUtYmFzZSBhcyB0aGUgcG9ydHMgb25lLCBhbmQg Ym90aCBoYXZlIHNpbWlsYXIgDQpzZXRzIG9mIHBhdGNoZXMgYXBwbGllZC4gKEFsdGhvdWdo IHBvcnRzIGlzIGN1cnJlbnRseSB2ZXJzaW9uIDkuMnAxIGJ1dCANCmJhc2UgaW4gU1RBQkxF LzEzIGlzIHZlcnNpb24gOS4xKQ0KDQpUaGUgZGlmZmVyZW5jZSBiZXR3ZWVuIHRoZSBwb3J0 cyB2ZXJzaW9uIG9mIG9wZW5zc2gtcG9ydGFibGUgYW5kIHRoZSANCmJhc2Ugb25lIGlzIHRo YXQgaXQgY2FuIGJlIGxpbmtlZCBhZ2FpbnN0IHNvbWUgYWx0ZXJuYXRlIEtlcmJlcm9zIA0K cGFja2FnZXMgYW5kIGl0IGhhcyBzb21lIGV4cGVyaW1lbnRhbCBjYXBhYmlsaXRpZXMgdG8g ZG8gd2l0aCB1c2Ugb2YgZWcuIA0KaGFyZHdhcmUga2V5IHRva2VucyB0aGF0IGNhbiBiZSBl bmFibGVkLg0KDQpJZiBhbGwgeW91IG5lZWQgaXMgdG8gZW5hYmxlIHNmdHAsIHlvdSBjYW4g anVzdCB0dXJuIGl0IG9uIGluIHRoZSBiYXNlIA0Kc3lzdGVtIC9ldGMvc3NoL3NzaGRfY29u ZmlnLiBUbyBhbGxvdyBzZnRwLCBidXQgcmVzdHJpY3Qgd2hhdCBjYW4gYmUgDQphY2Nlc3Nl ZCBieSBkaWZmZXJlbnQgdXNlcnMsIHNlZSBlZy4gDQpodHRwczovL3dpa2kuYXJjaGxpbnV4 Lm9yZy90aXRsZS9TRlRQX2Nocm9vdCBvciBtYW55IG90aGVyIHNpbWlsYXIgDQphcnRpY2xl cyAtLSB5b3UgbmVlZCBzbGlnaHRseSBkaWZmZXJlbnQgY29tbWFuZHMgdG8gbWFuYWdlIHVz ZXJzIGFuZCANCmdyb3VwcyBvbiBGcmVlQlNELCBidXQgYWxsIHRoZSBzc2hkIGNvbmZpZyBz dHVmZiBpcyB0aGUgc2FtZS4NCg0KCUNoZWVycywNCg0KCU1hdHRoZXcNCg0KDQo= --------------VgEBEymNfhnCkGBpHOH4nJfJ-- --------------WG3KxkXh4CFhn1I6DPnfFHCa Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAmQubQUFAwAAAAAACgkQAFE/EOCp5Oc3 6w/7B6c8YuAYqiiadLeUOlB3t5b1n4YPuzrVFQ4epzC9iibGSc2rKKNFSgKRkINKNkVYWIdwwlPp CiReUGbxwghqoGBosFChi7yuMUdIHLa9opS8aDkmgxvKWfC0UhoZhP76tCM7m6kvUtsl95zCHPAk DpQu46xLjHl5CB67erFomKfmMpguafw+EeJMyyaIuKXnCviMXZykO0Mkgo9fL71EGsd83bo0u8BC U7zBRXQlQiEqqfKBFsVfLsamP2srr6noXYw/Hque+dytc0govAwMe9QtR2W6yblKAqQEeyeby5A3 Kz5JaOmb92N1N0/w/RCezE3qnKCsYV/oiFLtR4JtNmDqY2WjS4htkoKInSCOH0aYmD4dzbWyNDcX FYQ3WM4eVIOI5lfILQaarr6q0TJGr2lCC/ectl0EVa2j56IhfR6NEK9wuOYTpv1A85fHDuBfV9Yu lE838HwQcq1OXFaCjHVGicmKmrQzRRHChp4aq2obLqlNi9nc02qXH7Vd5IAenN2nQvSstkVcjL1/ Fk23uCwFEDlPblVbBfvL30/VHIhxQ74YD/UcQW2NGt8/M9rW+l7o7TaI/Or+3o4XArz4DTbZ1Li9 il60eKZ+CMcna2kSINrt7sm61nSlAUw4IIfSE0i6XagZgvGpYy50/skHSPHVx75RwLfSNXuOXKW1 DT8= =7Uku -----END PGP SIGNATURE----- --------------WG3KxkXh4CFhn1I6DPnfFHCa-- From nobody Thu Apr 6 07:08:50 2023 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 4PsXfc5hKFz43f5t for ; Thu, 6 Apr 2023 07:08:56 +0000 (UTC) (envelope-from matthew@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsXfc5Bn1z3H4h for ; Thu, 6 Apr 2023 07:08:56 +0000 (UTC) (envelope-from matthew@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680764936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=F1VZaNnPQSzISAYCOdLlnJ7sKnUDuc2dZux94ccTqow=; b=XgEIIwBqhCtO0Y/Zz9EKaGBKi5o7TbKd9nv/CHiUCv7Xv/WhYOWfsRFsHmcLx4WevyPJvo +MgKHMUUDacpaTbB8ZV28Ly437L1bLbwofkf278B/XeSV2A4JNL/PiiAFQsXqQ2Yp+z46v vYSA0X6oUGxFKbH9af86zg+E9gGTthMjwd0alyzBAXL3Zzjolsig+q+xeyOqZg5VQOUmjf zgz9hZxFbCoD8xTlwm8QTnlWdv1YbALQHUOo7r1Ey8IKc74GBo7nwsrwUgKTR/dszl7RCc Dnes+gHb+nV1zHzDyc1oXEppqmUhtML4LOpmDYhSgVURNKapGuKS+G223kUkZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680764936; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=F1VZaNnPQSzISAYCOdLlnJ7sKnUDuc2dZux94ccTqow=; b=eLsNzFeekPkT36TfIlD4YZSZddJF3tmN52bPttkqiCrKTI4d2pM3CX/r9e7U05AHHTWkVI ny2atwndsfRLwCZW8/StjUm1W4rW3UVd3bCxtdegCEpk63GdkloqR0pFJbsEP7Yq/2p98k TulOeWjn/Z76n1kmT86tuUc//DX2Fm77MqiYy88s5JMHE6J9dkVvzjiJrxBQPmqaiEaMX8 fFwUrI1id6rvGUFMTYtP6dmG0Y2HXabpaEwZ+mPcvMUesxWmWUSLOMrpCO0uoX/uC5UJZo 9R0x+VBhTGz+hytohMpnobAckduf5FtVYGnyzRQbTgKApl2mfzyL7OYzgEOsQQ== ARC-Authentication-Results: i=1; smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680764936; a=rsa-sha256; cv=none; b=sT+O6tgPpmB5eHwD9cNbpa58d1k8mkRSNZ3qf/aEBi/5r7R8XbGeEFnrHY6S27ybjlbAYs smHPttXKuthLO+YamaILLWEQmLF9DlwPUdFRReWW0DiJtnyCHx382v/elL+p2k3jypQN/b g0VWW7DOiy6iH8n1nxm6sdYNjh80fvdGcwg6hMiMJqNryifXZ02YD9nFesfx90f9e9whDN Ebl1M9tbE246eBNRzjERJwGjpjUh7Ckg/9RJAxfPDCXBwpNz9DClo13it4or1rpRfzYho1 VwQCIUsNyulg44/tT4xWmecEVvk32PsU3JfJUq1mrjc1+Lb6+E6IEQB0LQBUZw== Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PsXfc3BNQzVFL for ; Thu, 6 Apr 2023 07:08:56 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [IPV6:2001:8b0:151:1:d941:a576:66e3:9ae0] (unknown [IPv6:2001:8b0:151:1:d941:a576:66e3:9ae0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id DAC00167E for ; Thu, 6 Apr 2023 08:08:54 +0100 (BST) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/DAC00167E; dkim=none; dkim-atps=neutral Message-ID: <22bb0a77-30e3-846f-0f43-573d6697c40b@FreeBSD.org> Date: Thu, 6 Apr 2023 08:08:50 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 To: questions@freebsd.org References: <20230406070831.a6f09f389baed2a6ff4dbbbb@sohara.org> From: Matthew Seaman Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------M6KKO4BxhTcpQa37OnIBosKS" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------M6KKO4BxhTcpQa37OnIBosKS Content-Type: multipart/mixed; boundary="------------WDOFK2P4aO5xExg6aEofDKOH"; protected-headers="v1" From: Matthew Seaman To: questions@freebsd.org Message-ID: <22bb0a77-30e3-846f-0f43-573d6697c40b@FreeBSD.org> Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled References: <20230406070831.a6f09f389baed2a6ff4dbbbb@sohara.org> In-Reply-To: --------------WDOFK2P4aO5xExg6aEofDKOH Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMDYvMDQvMjAyMyAwNzoxOCwgT2RoaWFtYm8gV2FzaGluZ3RvbiB3cm90ZToNCj4gT24g VGh1LCBBcHIgNiwgMjAyMyBhdCA5OjA54oCvQU0gU3RldmUgTydIYXJhLVNtaXRoIDxzdGV2 ZUBzb2hhcmEub3JnPiB3cm90ZToNCj4gDQo+PiBPbiBXZWQsIDUgQXByIDIwMjMgMTE6MDk6 MzcgLTA0MDANCj4+IFdpbGxpYW0gRHVkbGV5IDx3ZmR1ZGxleUBnbWFpbC5jb20+IHdyb3Rl Og0KPj4NCj4+PiBJIGhhdmUgYW5vdGhlciBtYWNoaW5lIHJ1bm5pbmcgMTMuMSwgYnV0IGl0 J3MgYW1kNjQuICBJdCBoYXBwaWx5IHJ1bnMNCj4+PiBBcGFjaGUgd2l0aCBwaHA4MCwgc28g SSBkb3duZ3JhZGVkIHRoZSBpMzg2IG1hY2hpbmUgdG8gcGhwODANCj4+PiBzbyB0aGUgdHdv IG1hY2hpbmVzIHdvdWxkIGJlICJ0aGUgc2FtZSIuDQo+Pj4NCj4+PiBFeGNlcHQgdGhpcyBk aWRuJ3QgZml4IHRoZSBwcm9ibGVtLiAgQXBhY2hlIHdvbid0IHJ1biB3aXRoIGVpdGhlciBw aHA4MA0KPj4+IE9SIHBocDgxIGVuYWJsZWQsIHVzaW5nIHRoaXMgc3RhbnphIGluIGh0dHBk LmNvbmY6DQo+Pg0KPj4gICAgICAgICAgVHdvIHBvc3NpYmlsaXRpZXMgc3ByaW5nIHRvIG1p bmQNCj4+DQo+PiAgICAgICAgICAtIHRoZSB0d28gbWFjaGluZXMgYXJlIG5vdCAidGhlIHNh bWUiLCBjaGVjayBhbGwgcmVsZXZhbnQgcGFja2FnZQ0KPj4gdmVyc2lvbnMgcmlnaHQgZG93 biB0aGUgZGVwZW5kZW5jeSB0cmVlLg0KPj4NCj4+ICAgICAgICAgIC0gVGhlIGNvZGUgZGVw ZW5kcyBvbiBhIGZlYXR1cmUgbm90IGluIG9uZSBDUFUgb3Igc29tZXRoaW5nIG9mIHRoYXQN Cj4+IG9yZGVyLiBHaXZlbiB0aGF0IFBIUCBhbmQgQXBhY2hlIHdvcmsgaW5kZXBlbmRlbnRs eSB0aGUgZ2x1ZSBpcyB0aGUgcHJpbWUNCj4+IHN1c3BlY3QsIEknZCB0cnkgYnVpbGRpbmcg bW9kLXBocCBmcm9tIHBvcnRzLg0KPj4NCj4gDQo+IEhlIHdhbnRzIHRvIGtlZXAgdGhpbmdz IHNpbXBsZSwgc28gaGUgcHJlZmVycyBwa2cgaW5zdGFsbC4uLiBubyBwb3J0cy4NCg0KSW4g dGhhdCBjYXNlLCBoZSBuZWVkcyB0byB1c2UgbW9kX3BocCBmcm9tIHBocDgxIHdoaWNoIGlz IHRoZSBjdXJyZW50IA0KZGVmYXVsdCB2ZXJzaW9uIG9mIFBIUCB1c2VkIGJ5IHRoZSBGcmVl QlNEIHBrZyBzeXN0ZW0uICBUaGUgd2F5IGFwYWNoZSANCndvcmtzIGJ5IGxvYWRpbmcgYSBi aW5hcnkgbW9kdWxlIHdpdGggYW4gZW1iZWRkZWQgcGhwIGludGVycHJldGVyIGludG8gDQp0 aGUgYXBhY2hlIHByb2Nlc3MgaXRzZWxmIGlzIHF1aXRlIHJlc3RyaWN0aXZlIGluIHRoYXQg cmVnYXJkLg0KDQpQZXJzb25hbGx5LCBJJ2QgY29uZmlndXJlIGEgcGhwIHdlYiBhcHAgdG8g dXNlIGEgc2VwYXJhdGUgcGhwLWZwbSBkYWVtb24gDQphbmQgZnJvbnQgdGhhdCB3aXRoIG5n aW54IHByb3h5aW5nIHRocm91Z2ggdG8gdGhlIGZwbSBwb3J0OiBhIHNpbWlsYXIgDQphcHBy b2FjaCBpcyBwb3NzaWJsZSB3aXRoIGFwYWNoZSB3aGljaCBtaWdodCBwcm92ZSB1c2VmdWwu DQoNCglDaGVlcnMsDQoNCglNYXR0aGV3DQoNCg0K --------------WDOFK2P4aO5xExg6aEofDKOH-- --------------M6KKO4BxhTcpQa37OnIBosKS Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAmQucAIFAwAAAAAACgkQAFE/EOCp5Odc mA//SFsTHdrSgXdR3e7sM3Waq0xrE/0CIxAD/zeA0N1RUC0LevwydIeH+zcaTyJxt5kmzU1Wc4uS BNJIF/E7Exi4P+eAXVNvMOktPon4eRPJDdcY+g8h2HkKHUGYoSN9fAtUhtuPuPakS5napy0hhLZ8 3x09S2ZN2VrKX8Pk41eC/JiphCXUP1GlvBgKylGKcSEZBEwjxy20EdbZ6j33X2MooU3oO0/9BqsK LMZTbnpnjArch013R9KpKm26SjOS2gXBx3fZAzVwn2FbBP1Af/+I0rplNM4cvJnsF6rCaEohLE/M NJfYcT+OrdFoYZIZ5vUSb5RM98WavB2ywfN0AslWvVR8F+nyu6ApKDCkUMN0QTAJ3ajQ55LX8uPO pul2rbm0/fH7lmO9zPNSpxPTtTeU6qG07/PSm55Z/IPM3fhCTj7ZKVXKDF51eSRnLvEH725v2UTR gwSamklHp9Xk/z+w7LVXKOsqfKezAwuArrF43tHoUykQuqnDQACuwR9Xu4axaEc9w3zsOs+2oWMb HLwjwa3iPJSghlq/cuOOUEyU6KBbDXyTHhxmSmvUCX7S4V/Q0bO/xFjoQLguV18Dcy0u7S9Crjlv qk2bseIsNCkQ+VoC5pjhKqnYLsOHzxDPM+zmk2CGB1Gg//qgqfgV9AFLJ0HNgMEBO4PL/m/4rftc 9mA= =dmgE -----END PGP SIGNATURE----- --------------M6KKO4BxhTcpQa37OnIBosKS-- From nobody Thu Apr 6 09:54:35 2023 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 4PscL60831z446Rj for ; Thu, 6 Apr 2023 09:54:54 +0000 (UTC) (envelope-from bounce.xluvt3od30=l7nces3g76yk=afmmrrd2hb@em773646.vernuftiger.nl) Received: from e2i954.smtp2go.com (e2i954.smtp2go.com [103.2.143.186]) (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 4PscL43JXHz419y for ; Thu, 6 Apr 2023 09:54:51 +0000 (UTC) (envelope-from bounce.xluvt3od30=l7nces3g76yk=afmmrrd2hb@em773646.vernuftiger.nl) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=smtpservice.net header.s=a1-4 header.b=2Rzf3sF1; dkim=pass header.d=vernuftiger.nl header.s=s773646 header.b=d77hoXtF; spf=pass (mx1.freebsd.org: domain of "bounce.xluvt3od30=l7nces3g76yk=afmmrrd2hb@em773646.vernuftiger.nl" designates 103.2.143.186 as permitted sender) smtp.mailfrom="bounce.xluvt3od30=l7nces3g76yk=afmmrrd2hb@em773646.vernuftiger.nl"; dmarc=none Received: from [10.87.208.57] (helo=mail.pub.vernuftiger.nl) by smtpcorp.com with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96-S2G) (envelope-from ) id 1pkMKG-g372lY-2F for questions@freebsd.org; Thu, 06 Apr 2023 09:54:40 +0000 Received: from mail.vernuftiger.nl (localhost [127.0.0.1]) by mail.pub.vernuftiger.nl (Postfix) with SMTP id CAE229567F9 for ; Thu, 6 Apr 2023 11:54:36 +0200 (CEST) Received: (qmail 40184 invoked from network); 6 Apr 2023 09:54:35 -0000 Received: from unknown (HELO ?192.168.111.24?) (192.168.111.24) by mail.vernuftiger.nl with SMTP; 6 Apr 2023 09:54:35 -0000 Message-ID: <69f0dac5-7cc2-0114-17b9-5b5c7f40a2b4@vernuftiger.nl> Date: Thu, 6 Apr 2023 11:54:35 +0200 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: sshd (base system) and openssh portable (ports) on different ports disables other Content-Language: en-US To: questions@freebsd.org References: <08927381-e37c-0ec6-2b9e-25241cf38dd9@vernuftiger.nl> <00e5dfc2-702b-4838-ba55-49794e20152e@FreeBSD.org> From: ICT builder In-Reply-To: <00e5dfc2-702b-4838-ba55-49794e20152e@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-smtpcorp-track: 1pkuKGg372_Y2F.LkPhJVMIGPpNE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=smtpservice.net; i=@smtpservice.net; q=dns/txt; s=a1-4; t=1680774888; h=feedback-id : x-smtpcorp-track : date : message-id : to : subject : from : reply-to : sender : list-unsubscribe; bh=wPBvS5ndTLU5mbHGZBvgm8kjoSV0s0MGWMTVDMJx85c=; b=2Rzf3sF1fSIGUkzU/Hbg679A3XiTpEu6EAlNYo+n65JYQFofrKCZzPZ8Zaxo4263SDUdB 3xGL84cCWF7w6e4xmMEuA5DoczaV+klqJJDmpjjau9S9QmPIwLU4tmODbyiOVzlvETUOWpv k3ULWZWVrvixnKEkna4LWWE6Far1w7GPsKO4KbtXtnLokv9TLKYBUaJ7D21Si5GFv3cPT6u eNHlPL9qMh5edpK1u2mU9Rr/PLxdwJipH18XJYu54YFy7jviRyCqhB/gvPpOC5R7R8z9A8o 7c+PXUCS8zpepzNEn8/XpjYJ9CWAtBYB58qoKEWYiMhIirfnBR5U+gSgGppA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vernuftiger.nl; i=@vernuftiger.nl; q=dns/txt; s=s773646; t=1680774888; h=from : subject : to : message-id : date; bh=wPBvS5ndTLU5mbHGZBvgm8kjoSV0s0MGWMTVDMJx85c=; b=d77hoXtFnwvn//NeHSQme3fXd9M8TBD9mwwhmE8F1uYSg+3ouvXYbZFx6kUJaIO5toTFP uySZ+ZaeBNcZdqX6UKzrLJxAUZyxvoSrEKJkhWqqo+P5EnImBVYrEV8l9D/EsNk41OAphXU WvSHht3X1W14ZcCjSGZLB1kCYRxNUUSLM42oM3qZctMdTk38P9evVGDAl83yOicMbsDItx8 T3wVXGX/hLlaC54bAIE0eoWZllA8fVnZcDDoAvl6fLN13D0D0tWL8n6sJHkMNi9yvKcw/m7 SSMMAInHjD9oR+04nHyH46t3gKvnFbtqaYEVaNmxUqRb+qyoB5kQfQkwu8bQ== X-Spamd-Result: default: False [-3.19 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.988]; FORGED_SENDER(0.30)[builder@vernuftiger.nl,bounce.xluvt3od30=l7nces3g76yk=afmmrrd2hb@em773646.vernuftiger.nl]; R_SPF_ALLOW(-0.20)[+ip4:103.2.140.0/22]; R_DKIM_ALLOW(-0.20)[smtpservice.net:s=a1-4,vernuftiger.nl:s=s773646]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:23352, ipnet:103.2.140.0/22, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[smtpservice.net:+,vernuftiger.nl:+]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[vernuftiger.nl]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_NEQ_ENVFROM(0.00)[builder@vernuftiger.nl,bounce.xluvt3od30=l7nces3g76yk=afmmrrd2hb@em773646.vernuftiger.nl]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PscL43JXHz419y X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 06-04-2023 08:56, Matthew Seaman wrote: > On 06/04/2023 01:21, ICT builder wrote: > >> Im trying to setup (in a jail) sshd from base system on port 22, this >> works. >> >> For remote sftp I added openssh portable trough ports and set it up on >> a different port. >> >> Goal is to run both at same time but as soon as i start or restart >> openssh portable port 22 sshd base system gets closed. >> >> Once I restart base sshd port 22 is back but then the port set for >> openssh portable gets closed. >> >> Goggling didn't turn up anything useful so I hope someone here can >> tell me how I can run both ssh servers (on different ports) at the >> same time. > The startup scripts for openssh go to great lengths to check that base > system sshd and openssh aren't configured to listen on the same ports or > listen addresses.  However it seems that both variants default to using > the same /var/run/sshd.pid for their pidfile.  Unless you override that > from your openssh config and set $openssh_pidfile appropriately in > rc.conf that's going to cause problems, since the rc script for one will > end up sending signals to the other process. [snip great extra info] Thanks for taking the time to answer this (and explaining more). with a openssh_pidfile entry in rc.conf it works as aspected. Much apreciated. From nobody Thu Apr 6 13:19:37 2023 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 4PshtN49lMz44LfM for ; Thu, 6 Apr 2023 13:19:40 +0000 (UTC) (envelope-from kpn@neutralgood.org) Received: from gunsight1.neutralgood.org (gunsight1.neutralgood.org [IPv6:2607:f758:2280:1:d6be:d9ff:feac:a1e9]) (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 "gunsight1.neutralgood.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PshtM2vgSz4785 for ; Thu, 6 Apr 2023 13:19:39 +0000 (UTC) (envelope-from kpn@neutralgood.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of kpn@neutralgood.org designates 2607:f758:2280:1:d6be:d9ff:feac:a1e9 as permitted sender) smtp.mailfrom=kpn@neutralgood.org; dmarc=none Received: from gunsight1.NeutralGood.ORG (localhost [127.0.0.1]) by gunsight1.neutralgood.org (8.16.1/8.15.2) with ESMTPS id 336DJbcY099698 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 6 Apr 2023 09:19:37 -0400 (EDT) (envelope-from kpn@gunsight1.NeutralGood.ORG) Received: (from kpn@localhost) by gunsight1.NeutralGood.ORG (8.16.1/8.15.2/Submit) id 336DJbt9099695; Thu, 6 Apr 2023 09:19:37 -0400 (EDT) (envelope-from kpn) Date: Thu, 6 Apr 2023 09:19:37 -0400 From: "Kevin P. Neal" To: William Dudley Cc: questions@freebsd.org Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled Message-ID: References: <20230406070831.a6f09f389baed2a6ff4dbbbb@sohara.org> <22bb0a77-30e3-846f-0f43-573d6697c40b@FreeBSD.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <22bb0a77-30e3-846f-0f43-573d6697c40b@FreeBSD.org> X-No-archive: Yes X-Spamd-Result: default: False [-3.28 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; R_DKIM_NA(0.00)[]; ARC_NA(0.00)[]; ASN(0.00)[asn:13649, ipnet:2607:f758::/32, country:US]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[neutralgood.org]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4PshtM2vgSz4785 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Thu, Apr 06, 2023 at 08:08:50AM +0100, Matthew Seaman wrote: > On 06/04/2023 07:18, Odhiambo Washington wrote: > > On Thu, Apr 6, 2023 at 9:09 AM Steve O'Hara-Smith wrote: > > > >> On Wed, 5 Apr 2023 11:09:37 -0400 > >> William Dudley wrote: > >> > >>> I have another machine running 13.1, but it's amd64. It happily runs > >>> Apache with php80, so I downgraded the i386 machine to php80 > >>> so the two machines would be "the same". > >>> > >>> Except this didn't fix the problem. Apache won't run with either php80 > >>> OR php81 enabled, using this stanza in httpd.conf: > >> > >> Two possibilities spring to mind > >> > >> - the two machines are not "the same", check all relevant package > >> versions right down the dependency tree. > >> > >> - The code depends on a feature not in one CPU or something of that > >> order. Given that PHP and Apache work independently the glue is the prime > >> suspect, I'd try building mod-php from ports. > >> > > > > He wants to keep things simple, so he prefers pkg install... no ports. > > In that case, he needs to use mod_php from php81 which is the current > default version of PHP used by the FreeBSD pkg system. The way apache > works by loading a binary module with an embedded php interpreter into > the apache process itself is quite restrictive in that regard. Right, and if he's running the latest package of Apache but a backlevel php80 then that's a problem. > Personally, I'd configure a php web app to use a separate php-fpm daemon > and front that with nginx proxying through to the fpm port: a similar > approach is possible with apache which might prove useful. I'm a fan of Apache and I use it with php-fpm to run NextCloud. It works well. I'm not sure what is harder to get running, though, php inside of Apache (with mod_php) or Apache+php-fpm. I tried Apache with mod_php first but switched away because it didn't support HTTP/2. Using Apache+php-fpm does give me HTTP/2 and once I got that running I left it alone. -- Kevin P. Neal http://www.pobox.com/~kpn/ 'Concerns about "rights" and "ownership" of domains are inappropriate. It is appropriate to be concerned about "responsibilities" and "service" to the community.' -- RFC 1591, page 4: March 1994 From nobody Thu Apr 6 14:15:02 2023 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 4Psk6d4qFpz44PHQ for ; Thu, 6 Apr 2023 14:15:21 +0000 (UTC) (envelope-from wfdudley@gmail.com) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Psk6d3GXvz4Gbh for ; Thu, 6 Apr 2023 14:15:21 +0000 (UTC) (envelope-from wfdudley@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82a.google.com with SMTP id cr18so34321957qtb.0 for ; Thu, 06 Apr 2023 07:15:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680790521; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=d/ZTpl448gO3VPKIMpK4ZgWE4gHDEXNiAKx2dtIvRSw=; b=NmV0KW2vyJUeY3QTB69jZyA7Xuxuke9apsGCk+9qM+wc8ZpxFh4q0CudTIzY+oSKmH a5ifwvlzFruEBzNLQFn6pPp+Y7TWh1xzzHwr+LFcWPM78+9nHDxQosXI19qD3CkGzkcD 8HcQG7VoU1ZRWMHBSreI+pYB+Wg1ErGTtLL6MOspJzVtPJi5CrUJ5cTz71wMO+JMfQr9 K9irfJ8DiLBXzsc8iez7WgcY7vhrykMtjYIQOhndvinafvknyPnYsmfsXAv1Vp+2Nt76 xLScvBjo5hjTc+Gr0+BhmYL7TvEJpfabUp5hZl01rIvLB05/morLWLlFuAWA7bxIKxto NUVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680790521; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=d/ZTpl448gO3VPKIMpK4ZgWE4gHDEXNiAKx2dtIvRSw=; b=R8mWxyvzCZNztA7nQeqEuJsgjLex6VcjNYH2H54cxNCnfy8TbBDax6ECrYwtsAHbrZ nlJinRUeMluAug4hNZVS/TZQlbTqq1Rbaoe/8CNh5LE+3iRlhQ68ny7theyML0CaZoZu o50FGqsjdgVeCHelGmHXDNRXgZ1yEN109enmU906K86xlgV7LcAVZJ7n9tSRAWTtK0xo ZD4gEaT2IKCo21rzSXg3ix6SQScp+07cLZaao22yLq5u+oaRc6Ad3Kpy9xrD3Nojlz/o bgAnKxxiBLxJxGCSI/qVx5e9EpqtG0H4nlMf5BsPg+KEuhPaIfpVAu+IdF+PigkMg5Yk 90cw== X-Gm-Message-State: AAQBX9cKHwM/MiNUArOm9XIUxzV8S2L2UHgFTAcMYelzCeAKnl1zY9Yt g7CJ7jhAqtxG5PR2rVyb7XD4yBlTaE9DdIqVUAH1hBd6 X-Google-Smtp-Source: AKy350YYB61npl/X6dMaHQ+0qTCHLUE05TmjXMk3O0HWuW+vBz274fHVsKRtx/fPpqmwwNk94n/hgUIrG7pteUXUN0A= X-Received: by 2002:a05:622a:1a14:b0:3e3:9041:3f6c with SMTP id f20-20020a05622a1a1400b003e390413f6cmr2701873qtb.11.1680790521054; Thu, 06 Apr 2023 07:15:21 -0700 (PDT) List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 References: <20230406070831.a6f09f389baed2a6ff4dbbbb@sohara.org> In-Reply-To: From: William Dudley Date: Thu, 6 Apr 2023 10:15:02 -0400 Message-ID: Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled To: Odhiambo Washington Cc: questions@freebsd.org Content-Type: multipart/alternative; boundary="000000000000f3092805f8ab8977" X-Rspamd-Queue-Id: 4Psk6d3GXvz4Gbh X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --000000000000f3092805f8ab8977 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable my reply below. On Thu, Apr 6, 2023 at 2:20=E2=80=AFAM Odhiambo Washington wrote: > > > On Thu, Apr 6, 2023 at 9:09=E2=80=AFAM Steve O'Hara-Smith > wrote: > >> On Wed, 5 Apr 2023 11:09:37 -0400 >> William Dudley wrote: >> >> > I have another machine running 13.1, but it's amd64. It happily runs >> > Apache with php80, so I downgraded the i386 machine to php80 >> > so the two machines would be "the same". >> > >> > Except this didn't fix the problem. Apache won't run with either php8= 0 >> > OR php81 enabled, using this stanza in httpd.conf: >> >> Two possibilities spring to mind >> >> - the two machines are not "the same", check all relevant packag= e >> versions right down the dependency tree. >> >> - The code depends on a feature not in one CPU or something of >> that >> order. Given that PHP and Apache work independently the glue is the prim= e >> suspect, I'd try building mod-php from ports. >> > > He wants to keep things simple, so he prefers pkg install... no ports. > I'm not averse to trying the port to see what happens. I'm using the port of sendmail so STARTTLS will work. Bill Dudley > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254 7 3200 0004/+254 7 2274 3223 > "Oh, the cruft.", egrep -v '^$|^.*#' =C2=AF\_(=E3=83=84)_/=C2=AF :-) > [How to ask smart questions: > http://www.catb.org/~esr/faqs/smart-questions.html] > --000000000000f3092805f8ab8977 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

my reply below.

On Thu, Apr 6, 2023 at 2= :20=E2=80=AFAM Odhiambo Washington <odhiambo@gmail.com> wrote:


On Thu, Apr 6, 20= 23 at 9:09=E2=80=AFAM Steve O'Hara-Smith <steve@sohara.org> wrote:
On Wed, 5 Apr 2023 11:09:37 -04= 00
William Dudley <= wfdudley@gmail.com> wrote:

> I have another machine running 13.1, but it's amd64.=C2=A0 It happ= ily runs
> Apache with php80, so I downgraded the i386 machine to php80
> so the two machines would be "the same".
>
> Except this didn't fix the problem.=C2=A0 Apache won't run wit= h either php80
> OR php81 enabled, using this stanza in httpd.conf:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 Two possibilities spring to mind

=C2=A0 =C2=A0 =C2=A0 =C2=A0 - the two machines are not "the same"= , check all relevant package
versions right down the dependency tree.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 - The code depends on a feature not in one CPU = or something of that
order. Given that PHP and Apache work independently the glue is the prime suspect, I'd try building mod-php from ports.

He wants to keep things simple, so he prefers pkg in= stall... no ports.

= I'm not averse to trying the port to see what happens.=C2=A0 I'm us= ing the port of sendmail
so STARTTLS will work.

Bill Dudley
=C2=A0

--
Best regards,
Odhiambo= WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.",=C2=A0egrep -v = 9;^$|^.*#'=C2=A0=C2=AF\_(=E3=83=84)_/=C2=AF=C2=A0:-)
[How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-questions.h= tml]
--000000000000f3092805f8ab8977-- From nobody Thu Apr 6 14:26:04 2023 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 4PskMD3P4xz44QSC for ; Thu, 6 Apr 2023 14:26:16 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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 "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PskM945rDz3GW4 for ; Thu, 6 Apr 2023 14:26:13 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=nomadlogic.org header.s=04242021 header.b=mEFDIjTQ; spf=pass (mx1.freebsd.org: domain of pete@nomadlogic.org designates 66.165.241.226 as permitted sender) smtp.mailfrom=pete@nomadlogic.org; dmarc=pass (policy=quarantine) header.from=nomadlogic.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1680791165; 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=oB7+P4b1wgLqoxo1rowvG+cUScvYaMW44M/dLfPwhqM=; b=mEFDIjTQ0FlEBmq3YdHjOZgwnPxLabUCbomRAnqNvkslUaEnUqKoCsWCAK3aJIQ4HgbAN7 ql8ILnda6jCH99OBkwIw32rU/DbTbGviAZOnt3y6msBUyfYx4lAlXiPpADrhj+gScTBG2B jN6ZHbOeCINoE3KWs6uBZEcImkKMYes= Received: from shelly.nomadlogic.org (66-165-241-229.static.hvvc.us [66.165.241.229]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 1ef0face (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 6 Apr 2023 14:26:05 +0000 (UTC) Date: Thu, 6 Apr 2023 14:26:04 +0000 From: Pete Wright To: Pete Cc: Matthias Apitz , Christian Weisgerber , questions@freebsd.org Subject: Re: Clogged pipe? Message-ID: <20230406142604.dug4liknps2zuvvz@shelly.nomadlogic.org> References: <4b563b2a-2c26-8c84-f8db-51e4f17dcaf6@slagle.net> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4b563b2a-2c26-8c84-f8db-51e4f17dcaf6@slagle.net> X-Spamd-Result: default: False [-3.00 / 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.998]; DMARC_POLICY_ALLOW(-0.50)[nomadlogic.org,quarantine]; R_DKIM_ALLOW(-0.20)[nomadlogic.org:s=04242021]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[nomadlogic.org:+]; RCPT_COUNT_THREE(0.00)[4]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PskM945rDz3GW4 X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Tue, Apr 04, 2023 at 12:25:36AM -0700, Pete wrote: > Matthias Apitz wrote on 4/3/23 22:36: > > Well, I was just showing a simplified example to illustrate the problem; > what I was really trying to script is this: > > /usr/bin/tail -f -n+1 /var/log/exim/main-$(/bin/date -u '+%Y%m%d').log | > /bin/cat -n | > /usr/bin/sed -Eu 's/^[[:blank:]]*([[:digit:]]*)[[:blank:]]+/\1 /' > > which prefixes line numbers as it watches today's exim log file scroll > along. So, in this case the -f flag is needed on the tail command. > > What actually fixes the buffering problem on FreeBSD (it already works fine > on Linux) is to add the -u flag to the cat command. > > Jan Schaumann had a great blog post on pipes buffer sizes a while back that may be interesting: https://www.netmeister.org/blog/ipcbufs.html It dives into the internals and does a pretty great break down of how various OS's handle buffering. -pete -- Pete Wright pete@nomadlogic.org From nobody Thu Apr 6 16:00:47 2023 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 4PsmSW6QWdz44WnQ for ; Thu, 6 Apr 2023 16:00:59 +0000 (UTC) (envelope-from alex@alexburke.ca) Received: from out-23.mta0.migadu.com (out-23.mta0.migadu.com [91.218.175.23]) (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 4PsmSW4NBPz3MW3 for ; Thu, 6 Apr 2023 16:00:59 +0000 (UTC) (envelope-from alex@alexburke.ca) Authentication-Results: mx1.freebsd.org; none Date: Thu, 6 Apr 2023 18:00:47 +0200 (GMT+02:00) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alexburke.ca; s=key1; t=1680796852; 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=0G31Qy9+yx+WAVPksBReEdCVogq+0RQx150bzPWVq8A=; b=ipjDpfiXYcqQCyPg/kqCKCd98Ti9/D6iBqEbzrbk371kkc/ES1jTaKBkyDMAclsYwoy4+m zMVJ02nmJO/WgJQKkd2iHygJgWAqOJ1TynYke4qdq9mgpM4fkfmZEJu4hlJM3LaCoxcrmV 2vemn3utVo62sDzAIjBrN5yQCI7x+B0= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Alexander Burke To: William Dudley Cc: questions@freebsd.org Message-ID: In-Reply-To: References: <20230406070831.a6f09f389baed2a6ff4dbbbb@sohara.org> Subject: Re: updated to 13.1 (i386). Apache won't run if php80 enabled List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_45_122276321.1680796849377" X-Correlation-ID: X-Migadu-Flow: FLOW_OUT X-Rspamd-Queue-Id: 4PsmSW4NBPz3MW3 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:202172, ipnet:91.218.175.0/24, country:CH] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N ------=_Part_45_122276321.1680796849377 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Bill, > I'm using the port of sendmail so STARTTLS will work. I recommend in the strongest possible terms that you not use STARTTLS in an= y way, and that you use TLS-enforced SMTPS (port 465) and IMAPS (port 993) = exclusively with clients. [1,2] When your sendmail can't reach other MTAs on 465 to deliver mail to them, i= t can and should drop back to using port 25 with no TLS, but clients (MUAs)= accessing it should use only 465 and 993. Cheers, Alex [1] https://www.eff.org/deeplinks/2014/11/starttls-downgrade-attacks [2] https://nostarttls.secvuln.info/ ---------------------------------------- Apr 6, 2023 16:15:33 William Dudley : >=20 > my reply below. >=20 > On Thu, Apr 6, 2023 at 2:20=E2=80=AFAM Odhiambo Washington wrote: >>=20 >>=20 >> On Thu, Apr 6, 2023 at 9:09=E2=80=AFAM Steve O'Hara-Smith wrote: >>> On Wed, 5 Apr 2023 11:09:37 -0400 >>> William Dudley wrote: >>>=20 >>>> I have another machine running 13.1, but it's amd64.=C2=A0 It happily = runs >>>> Apache with php80, so I downgraded the i386 machine to php80 >>>> so the two machines would be "the same". >>>> >>>> Except this didn't fix the problem.=C2=A0 Apache won't run with either= php80 >>>> OR php81 enabled, using this stanza in httpd.conf: >>>=20 >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 Two possibilities spring to mind >>>=20 >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 - the two machines are not "the same", chec= k all relevant package >>> versions right down the dependency tree. >>>=20 >>> =C2=A0 =C2=A0 =C2=A0 =C2=A0 - The code depends on a feature not in one = CPU or something of that >>> order. Given that PHP and Apache work independently the glue is the pri= me >>> suspect, I'd try building mod-php from ports. >>=20 >> He wants to keep things simple, so he prefers pkg install... no ports. >=20 > I'm not averse to trying the port to see what happens.=C2=A0 I'm using th= e port of sendmail > so STARTTLS will work. >=20 > Bill Dudley > =C2=A0 >>=20 >> --=20 >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254 7 3200 0004/+254 7 2274 3223 >> "Oh, the cruft.",=C2=A0egrep -v '^$|^.*#'=C2=A0=C2=AF\_(=E3=83=84)_/=C2= =AF=C2=A0:-) >> [How to ask smart questions:=C2=A0http://www.catb.org/~esr/faqs/smart-qu= estions.html] ------=_Part_45_122276321.1680796849377 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Bill,

I'm using th= e port of sendmail so STARTTLS will work.

I recommend in the strongest possible terms that you not use STARTTLS= in any way, and that you use TLS-enforced SMTPS (port 465) and IMAPS (port= 993) exclusively with clients. [1,2]

When your sendmail can't reach other= MTAs on 465 to deliver mail to them, it can and should drop back to using = port 25 with no TLS, but clients (MUAs) accessing it should use only 465 an= d 993.

Cheers,
Alex

[1] https://www.eff.org/deeplinks/2014/11/starttls-downgr= ade-attacks

[2] https://nostarttls.secvuln.info/


Apr 6, 2023 16:15:33 William Dudley <wfdudley@gmail.com>:


my reply below.

On Thu, Apr 6, 2023 at 2:20=E2=80=AFAM Odhiambo Washington <odhiambo@gmail.com> wrote:


On Thu, Apr 6, 2023 at 9:09=E2=80=AFAM Steve O'Hara-Smith <steve@sohara.org>= wrote:
On Wed, 5 Apr 2023 11:09:37 -0400
William Dudley <wfdudley@gmail.com>= wrote:

> I have another machine running 13.1, but it's amd64.&= nbsp; It happily runs
> Apache with php80, so I downgraded the i386 = machine to php80
> so the two machines would be "the same".
>=
> Except this didn't fix the problem.  Apache won't run with = either php80
> OR php81 enabled, using this stanza in httpd.conf:
        Two possibilities spring to mind
        - the two machines are not "the same", check = all relevant package
versions right down the dependency tree.

=         - The code depends on a feature not in one CPU = or something of that
order. Given that PHP and Apache work independentl= y the glue is the prime
suspect, I'd try building mod-php from ports.

He wants to keep things simple, so he prefers pkg install... = no ports.

I'm not averse to trying the port to see what happens.  I'm usi= ng the port of sendmail
so STARTTLS will work.

Bill Dudley
 

--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3= 200 0004/+254 7 2274 3223
"Oh, the cruf= t.", egrep -v '^$|^.*#' =C2=AF\_(= =E3=83=84)_/=C2=AF :-)
------=_Part_45_122276321.1680796849377-- From nobody Thu Apr 6 19:04:35 2023 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 4PsrY05nNxz44jNS for ; Thu, 6 Apr 2023 19:05:08 +0000 (UTC) (envelope-from naddy@mips.inka.de) Received: from mail.inka.de (mail.inka.de [IPv6:2a04:c9c7:0:1073:217:a4ff:fe3b:e77c]) (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 4PsrY03P1hz4F5f for ; Thu, 6 Apr 2023 19:05:08 +0000 (UTC) (envelope-from naddy@mips.inka.de) Authentication-Results: mx1.freebsd.org; none Received: from mips.inka.de (naddy@[127.0.0.1]) by mail.inka.de with uucp (rmailwrap 0.5) id 1pkUuu-008Hd5-O1; Thu, 06 Apr 2023 21:05:04 +0200 Received: from lorvorc.mips.inka.de (localhost [127.0.0.1]) by lorvorc.mips.inka.de (8.17.1/8.17.1) with ESMTP id 336J4Z40027385; Thu, 6 Apr 2023 21:04:35 +0200 (CEST) (envelope-from naddy@lorvorc.mips.inka.de) Received: (from naddy@localhost) by lorvorc.mips.inka.de (8.17.1/8.17.1/Submit) id 336J4Z5a027384; Thu, 6 Apr 2023 21:04:35 +0200 (CEST) (envelope-from naddy) Date: Thu, 6 Apr 2023 21:04:35 +0200 From: Christian Weisgerber To: Pete Wright Cc: questions@freebsd.org Subject: Re: Clogged pipe? Message-ID: References: <4b563b2a-2c26-8c84-f8db-51e4f17dcaf6@slagle.net> <20230406142604.dug4liknps2zuvvz@shelly.nomadlogic.org> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230406142604.dug4liknps2zuvvz@shelly.nomadlogic.org> X-Rspamd-Queue-Id: 4PsrY03P1hz4F5f X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:202113, ipnet:2a04:c9c7::/32, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Pete Wright: > > What actually fixes the buffering problem on FreeBSD (it already works fine > > on Linux) is to add the -u flag to the cat command. > > Jan Schaumann had a great blog post on pipes buffer sizes a while back > that may be interesting: > https://www.netmeister.org/blog/ipcbufs.html That is an entirely different issue. Your problem was due to buffering in libc's stdio implementation. Again: See the DESCRIPTION section of setbuf(3) for a terse summary. -- Christian "naddy" Weisgerber naddy@mips.inka.de From nobody Thu Apr 6 19:57:00 2023 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 4Pssj41pPxz43HVf for ; Thu, 6 Apr 2023 19:57:12 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from cp160176.hpdns.net (cp160176.hpdns.net [91.238.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pssj26stfz4bRZ for ; Thu, 6 Apr 2023 19:57:10 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milibyte.co.uk header.s=default header.b="d+0qcZ/k"; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 91.238.160.176 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=milibyte.co.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KBXx9pWE1w8gWpiOz812KnA944D6MVtEiHmDIVuRqvU=; b=d+0qcZ/kLuRBCWjA81ToD9zVKX qRXniTBqIpau+phLi+xNNjf3UD9pGkbSfEYDQ4e6s2zcsJ/tF02r91CNbZp5WFnTv5DjzXeJr0Uqb Uu7WKmOf3FFoeRPhATNb0LGkW0WHvwFQyOAG+RkS/SYX+vzFETgEK71+uiiTEFPfsi4GDeIjLTdnB 1UStkJqq+tEwVkOY85y6iqRz0RMrd8bPn+xRXZsN56zocvneVqOuK6AOX/T9ll7NfHAIqbqglAUA8 BrTSucHU2EcsfXVqYhLlZ5SmoxSadL/L2yiKF9lZf6iEIg/10wk0pugmY0P454j3ESWW9RFI6Nfxh 97a4oUrw==; Received: from [149.86.189.206] (port=44014 helo=[192.168.1.23]) by cp160176.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pkVjC-000GTK-35 for questions@freebsd.org; Thu, 06 Apr 2023 20:57:01 +0100 To: questions@freebsd.org From: Mike Clarke Subject: Problems creating a zpool Message-ID: <2f21436e-1f5b-f6b6-0624-ed87a9a84f34@milibyte.co.uk> Date: Thu, 6 Apr 2023 20:57:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-YourOrg-MailScanner-Information: Please contact the ISP for more information X-YourOrg-MailScanner-ID: 1pkVjC-000GTK-35 X-YourOrg-MailScanner: Found to be clean X-YourOrg-MailScanner-SpamCheck: X-YourOrg-MailScanner-From: jmc-freebsd2@milibyte.co.uk X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp160176.hpdns.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - milibyte.co.uk X-Get-Message-Sender-Via: cp160176.hpdns.net: authenticated_id: mailpool@milibyte.co.uk X-Authenticated-Sender: cp160176.hpdns.net: mailpool@milibyte.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Spamd-Result: default: False [-2.22 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.87)[-0.867]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; R_SPF_ALLOW(-0.20)[+a]; NEURAL_SPAM_SHORT(0.15)[0.147]; MIME_GOOD(-0.10)[text/plain]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; MLMMJ_DEST(0.00)[questions@freebsd.org]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[milibyte.co.uk:+]; ASN(0.00)[asn:52148, ipnet:91.238.160.0/22, country:GB]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[milibyte.co.uk]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; HAS_X_SOURCE(0.00)[]; ARC_NA(0.00)[]; HAS_X_AS(0.00)[mailpool@milibyte.co.uk] X-Rspamd-Queue-Id: 4Pssj26stfz4bRZ X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N I'm trying to restore my 13.1 system from an external drive. So far I've booted into a livefs from a 13.1 bootable memory stick and am attempting to create a new zpool with the command: root@:~ # zpool create -m none -O compress=on atime=off wdssd gpt/wdsys2 but I get this error message: "cannot open 'wdssd': no such device in /dev must be a full path or shorthand device name" I've also tried /dev/gpt/wdsys2 and /dev/ada1p3 but with the same error. The device appears to have been created OK: root@:~ # gpart show -l ada1 =>        40  1953525088  ada1  GPT  (932G)           40        1024     1  wdboot2  (512K)         1064        3032     2  wdefi2  (1.5M)         4096  1953521032     3  wdsys2  (932G) root@:~ # gpart show  ada1 =>        40  1953525088  ada1  GPT  (932G)           40        1024     1  freebsd-boot  (512K)         1064        3032     2  efi  (1.5M)         4096  1953521032     3  freebsd-zfs  (932G) root@:~ # ls -l /dev/gpt/wdsys2 crw-r-----  1 root  operator  0xcd Apr  6 18:37 /dev/gpt/wdsys2 root@:~ # ls -l /dev/ada1p3 crw-r-----  1 root  operator  0x9d Apr  6 18:37 /dev/ada1p3 But I'm unable to use it to create a pool named wdssd, what am I missing? From nobody Thu Apr 6 20:01:57 2023 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 4Psspg6VCCz43JFc for ; Thu, 6 Apr 2023 20:02:03 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from cp160176.hpdns.net (cp160176.hpdns.net [91.238.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Psspg0SXrz3GFk for ; Thu, 6 Apr 2023 20:02:03 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milibyte.co.uk header.s=default header.b=EQezY7iX; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 91.238.160.176 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=milibyte.co.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=KBXx9pWE1w8gWpiOz812KnA944D6MVtEiHmDIVuRqvU=; b=EQezY7iXmFr5C92PGXlY8pykWY Kx/CKSrNavpKgEU7ZVfAcLzCsR/0cc40YgM4cVqbwcjX6Tsc1gDFMTDMfPlCM3atLw0HFIZtqOrJ1 ORJLkpVszN7/JSYQGwvvgXVQ0zg0QZxMDGwZbl+tmq912XGWXPHjgprkklYk00KUUhlQayZSluH9o zFEnshdmmt0A0EwN5do0gtt4L5wDVoMTpucL+rA6St/gGzD0zgBJscO/bGx5F1TDLYdtniTOvs3j2 dJ1fJHORSuAyzpfmnn0oEDVP0oNElCJqvFDkv7azF94ZlXaApsrWWa4XIEiycpPSsJA2a/oH3k1g8 Y88e0bpw==; Received: from [149.86.189.206] (port=35684 helo=[192.168.1.23]) by cp160176.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pkVnz-000Lpk-2H for questions@freebsd.org; Thu, 06 Apr 2023 21:01:57 +0100 To: questions@freebsd.org From: Mike Clarke Subject: Problems creating a zpool Message-ID: <7e74cac6-7724-65bb-e3ef-20b73a825a99@milibyte.co.uk> Date: Thu, 6 Apr 2023 21:01:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-YourOrg-MailScanner-Information: Please contact the ISP for more information X-YourOrg-MailScanner-ID: 1pkVnz-000Lpk-2H X-YourOrg-MailScanner: Found to be clean X-YourOrg-MailScanner-SpamCheck: X-YourOrg-MailScanner-From: jmc-freebsd2@milibyte.co.uk X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp160176.hpdns.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - milibyte.co.uk X-Get-Message-Sender-Via: cp160176.hpdns.net: authenticated_id: mailpool@milibyte.co.uk X-Authenticated-Sender: cp160176.hpdns.net: mailpool@milibyte.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Spamd-Result: default: False [-2.22 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.87)[-0.867]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; R_SPF_ALLOW(-0.20)[+a:c]; NEURAL_SPAM_SHORT(0.15)[0.147]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:52148, ipnet:91.238.160.0/22, country:GB]; DKIM_TRACE(0.00)[milibyte.co.uk:+]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; HAS_X_SOURCE(0.00)[]; DMARC_NA(0.00)[milibyte.co.uk]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_X_AS(0.00)[mailpool@milibyte.co.uk] X-Rspamd-Queue-Id: 4Psspg0SXrz3GFk X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N I'm trying to restore my 13.1 system from an external drive. So far I've booted into a livefs from a 13.1 bootable memory stick and am attempting to create a new zpool with the command: root@:~ # zpool create -m none -O compress=on atime=off wdssd gpt/wdsys2 but I get this error message: "cannot open 'wdssd': no such device in /dev must be a full path or shorthand device name" I've also tried /dev/gpt/wdsys2 and /dev/ada1p3 but with the same error. The device appears to have been created OK: root@:~ # gpart show -l ada1 =>        40  1953525088  ada1  GPT  (932G)           40        1024     1  wdboot2  (512K)         1064        3032     2  wdefi2  (1.5M)         4096  1953521032     3  wdsys2  (932G) root@:~ # gpart show  ada1 =>        40  1953525088  ada1  GPT  (932G)           40        1024     1  freebsd-boot  (512K)         1064        3032     2  efi  (1.5M)         4096  1953521032     3  freebsd-zfs  (932G) root@:~ # ls -l /dev/gpt/wdsys2 crw-r-----  1 root  operator  0xcd Apr  6 18:37 /dev/gpt/wdsys2 root@:~ # ls -l /dev/ada1p3 crw-r-----  1 root  operator  0x9d Apr  6 18:37 /dev/ada1p3 But I'm unable to use it to create a pool named wdssd, what am I missing? From nobody Thu Apr 6 21:07:00 2023 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 4PsvFr74NTz43N8C for ; Thu, 6 Apr 2023 21:07:12 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [IPv6:2001:470:0:19b::b869:801b]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "holgerdanske.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PsvFq65Wjz49kk for ; Thu, 6 Apr 2023 21:07:11 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=holgerdanske.com header.s=nov-20210719-112354 header.b=OE2L+U+R; spf=pass (mx1.freebsd.org: domain of dpchrist@holgerdanske.com designates 2001:470:0:19b::b869:801b as permitted sender) smtp.mailfrom=dpchrist@holgerdanske.com; dmarc=pass (policy=none) header.from=holgerdanske.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=holgerdanske.com; s=nov-20210719-112354; t=1680815220; bh=n2biKQAlqpX3eZKZTPbJ53t0723VzyZ/HbMzxeLhsok=; h=Received:Message-ID:Date:MIME-Version:User-Agent:Subject:To: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding; b=OE2L+U+RBZlMAFjG9tD+ZPqAwJit2FoqEoFppTIQjNKfJ+UUpWdhZj0pQjKwD7G5X lMIrVFmk1+sTO6OqfQAHF69ZIHucr3829jdaGBshs6egLkgo+2jD2AKFM+beWymU+u XZkTKD8ScjtQEfQJqCL5p1l03UxG6dM0JpIhgbacjyZziglXqJxpiwgJKFotYXCElY zZv5vb+ra0MSCeaub/whax22CbG8kQ5hnGyAxY9HdtD0xupAykrsB9dOnn+l3a7dF4 0bKUyWypMGc77JTNJTv/k2DFuHz2brNZ0uSr3rVnz313blYaLAMI/+jwC8/l6wqVFt FWRmTZC/OgEWRN9zdcgIuviWL4/u/KBfyH7ARt7uhKahkNgjN2eboYpTl2HxNEH6it K5Cm1dk5Ym6qDMRs+AFdGnf/BKhxTGdRA7KIbbD/omm3A+D61/ovT/hjG58NollLZS F0Q/n2hTgmg5CJZFrV6t+aP/FYWHmNEqWQi4IRXKCpoTKjVkJJNDSFqErkSCbCF+wk AGhPaCDOKwxSJZoxHQxtLuR5LldYqGHZimctE46VfquiW372yBtqUhvuvxdYkG4zRl bHEAqTNylFhtpmCLT4EeoqBkfuCALmF7gkuzCc7OPZURpvHEmTqjeNOYT/bC+dk89Y 1RU44pDCajHGTSAFIMAxnY0E= Received: from 99.100.19.101 (99-100-19-101.lightspeed.frokca.sbcglobal.net [99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Thu, 6 Apr 2023 14:07:00 -0700 Message-ID: <606cdaab-24f7-b0b5-6e4c-01072069bb14@holgerdanske.com> Date: Thu, 6 Apr 2023 14:07:00 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: Problems creating a zpool To: questions@freebsd.org References: <7e74cac6-7724-65bb-e3ef-20b73a825a99@milibyte.co.uk> Content-Language: en-US From: David Christensen In-Reply-To: <7e74cac6-7724-65bb-e3ef-20b73a825a99@milibyte.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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)[holgerdanske.com,none]; R_SPF_ALLOW(-0.20)[+a:november.he.net]; R_DKIM_ALLOW(-0.20)[holgerdanske.com:s=nov-20210719-112354]; MIME_GOOD(-0.10)[text/plain]; DKIM_TRACE(0.00)[holgerdanske.com:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PsvFq65Wjz49kk X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On 4/6/23 12:57, Mike Clarke wrote: > I'm trying to restore my 13.1 system from an external drive. On 4/6/23 13:01, Mike Clarke wrote: > I'm trying to restore my 13.1 system from an external drive. > > So far I've booted into a livefs from a 13.1 bootable memory stick and > am attempting to create a new zpool with the command: > > root@:~ # zpool create -m none -O compress=on atime=off wdssd gpt/wdsys2 > > but I get this error message: > > "cannot open 'wdssd': no such device in /dev > must be a full path or shorthand device name" > > I've also tried /dev/gpt/wdsys2 and /dev/ada1p3 but with the same error. > > The device appears to have been created OK: > > root@:~ # gpart show -l ada1 > =>        40  1953525088  ada1  GPT  (932G) >           40        1024     1  wdboot2  (512K) >         1064        3032     2  wdefi2  (1.5M) >         4096  1953521032     3  wdsys2  (932G) > > root@:~ # gpart show  ada1 > =>        40  1953525088  ada1  GPT  (932G) >           40        1024     1  freebsd-boot  (512K) >         1064        3032     2  efi  (1.5M) >         4096  1953521032     3  freebsd-zfs  (932G) > > root@:~ # ls -l /dev/gpt/wdsys2 > crw-r-----  1 root  operator  0xcd Apr  6 18:37 /dev/gpt/wdsys2 > root@:~ # ls -l /dev/ada1p3 > crw-r-----  1 root  operator  0x9d Apr  6 18:37 /dev/ada1p3 > > But I'm unable to use it to create a pool named wdssd, what am I missing? The two posts above appear to be duplicates (?). When you say "restore", that implies backup. Please describe how you backed up your system. When you say "booted into a livefs from a 13.1 bootable memory stick", I assume you mean your computer is running a FreeBSD 13.1 RELEASE amd64 instance that is contained on a USB flash drive. Please describe the origin of the FreeBSD instance on the USB flash drive. That said, the `zfs create` command, above, appears to be missing an '-O' option identifier: # zpool create -m none -O compress=on -O atime=off wdssd gpt/wdsys2 ^^ (Programs can get confused when parsing options and arguments, and produce misleading error messages. Sometimes you have to look for other errors and fix them to get an accurate error message.) David From nobody Fri Apr 7 02:08:07 2023 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 4Pt1xG1tG6z43hvJ for ; Fri, 7 Apr 2023 02:08:18 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (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 "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Pt1xF5xj1z3wVp for ; Fri, 7 Apr 2023 02:08:17 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1680833292; 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=7ZZOAt0YYHUJY3cL6OYAIWkWrxXHEIYZuDiAm7pFZQQ=; b=VVVvtkk84iN19K8MEzcc8DDVlsAGf2Go2TxnDde/vYw0Z7+mlWINPDag3uAt7AEfK1CC7c ERsNY0i3vB14uqE8EJzpnW1B4upwY+A5rwCoeGoJeybtJa9J45h+btohZARCUE+j8TGkiH RfdsBbyhqgZJeo/yHi+sg4yHbR5S0Ak= Received: from [192.168.4.23] (c-66-176-247-235.hsd1.fl.comcast.net [66.176.247.235]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 29c75179 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Fri, 7 Apr 2023 02:08:09 +0000 (UTC) Message-ID: Date: Thu, 6 Apr 2023 19:08:07 -0700 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: Clogged pipe? To: Christian Weisgerber Cc: questions@freebsd.org References: <4b563b2a-2c26-8c84-f8db-51e4f17dcaf6@slagle.net> <20230406142604.dug4liknps2zuvvz@shelly.nomadlogic.org> Content-Language: en-US From: Pete Wright In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Pt1xF5xj1z3wVp X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On 4/6/23 12:04 PM, Christian Weisgerber wrote: > Pete Wright: > >>> What actually fixes the buffering problem on FreeBSD (it already works fine >>> on Linux) is to add the -u flag to the cat command. >> Jan Schaumann had a great blog post on pipes buffer sizes a while back >> that may be interesting: >> https://www.netmeister.org/blog/ipcbufs.html > That is an entirely different issue. Your problem was due to > buffering in libc's stdio implementation. Again: See the DESCRIPTION > section of setbuf(3) for a terse summary. > I'm a different Pete than the OP, but considering the general confusion around this thought it would be a helpful article. -p From nobody Fri Apr 7 09:40:47 2023 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 4PtCzV74shz44Pn5 for ; Fri, 7 Apr 2023 09:40:54 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Received: from hekla.abc.se (hekla.abc.se [158.174.61.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtCzS69ryz3mtC for ; Fri, 7 Apr 2023 09:40:52 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=abc.se header.s=default header.b=W4mKOH4s; spf=pass (mx1.freebsd.org: domain of andreas.kahari@abc.se designates 158.174.61.227 as permitted sender) smtp.mailfrom=andreas.kahari@abc.se; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=default; bh=izhfWy7CzO 7S8nCkjaXDlgLdU463wSYsOxeAQeHfqto=; h=subject:to:from:date; d=abc.se; b=W4mKOH4slneZfGdfqZ2/+8l2PPuCJugWkMtaUALKTyMb+9avTg1ZXyE0/e7qlUYqKewr sK5Y+XRVkG101KgXFi64V/MLmyDr+nALgabTQIU9lAX3IGuicO44PNtdhHS5clm1sdJrpr 74bWc49AvTC2Kk5lxhWQ3+vLkDUrUqtCTgnM9bH94p+3tcAhflvDWs4GvWose9Tr8bFHad svKbnu1zUPFI5yjrF9qfVIl0ZOMUh4cxfJSvaEPuoMbtwgZsLV6xt26OST3G8o9tvBCYc3 D76N35/t7wLAgBmRSbmwo+oGYn4tzoMlKss1k8vQ+R8chzt0FW0r+9YD6xBFlanA== Received: from harpo.local (83-233-144-251.cust.bredband2.com [83.233.144.251]) by hekla.abc.se (OpenSMTPD) with ESMTPSA id 0135bc8e (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 7 Apr 2023 11:40:48 +0200 (CEST) Date: Fri, 7 Apr 2023 11:40:47 +0200 From: Andreas Kusalananda =?utf-8?B?S8OkaMOkcmk=?= To: questions@freebsd.org Subject: Can not boot without monitor attached Message-ID: Mail-Followup-To: questions@freebsd.org List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.39 / 15.00]; R_MIXED_CHARSET(1.11)[subject]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; R_SPF_ALLOW(-0.20)[+ip4:158.174.61.227]; R_DKIM_ALLOW(-0.20)[abc.se:s=default]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[questions@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:8473, ipnet:158.174.0.0/16, country:SE]; MIME_TRACE(0.00)[0:+]; DKIM_TRACE(0.00)[abc.se:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[abc.se]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PtCzS69ryz3mtC X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N Hi, I'm trying to set up a headless FreeBSD 13.1 system. I've done so successfully before on this particular machine, but for whatever reason, after a complete reinstall, it doesn't want to boot without a monitor attached via HDMI. Since it never shows up on the network I'm assuming it never even gets past the boot prompt. If I plug in a HDMI cable to a monitor before booting, it boots as expected. Plugging in a monitor after unsuccessfully trying to boot without a monitor does not work (black display). I tried adding -P to /boot.config, but this had no effect. The system is, apart from that, fairly vanilla. The system is a fan-less Chinese(?) "Basoaro" system with an American Megatrends BIOS, but I can't find anything in the BIOS that seems relevant, and since it *used* to be possible to boot the system without an attached monitor, I'm assuming it's not a BIOS-related issue. Whatever I did before to get it to boot headless, I've forgotten what it was and need a reminder and/or pointers from you guys. Regards, -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden . From nobody Fri Apr 7 10:32:30 2023 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 4PtF774m0Nz44Slc for ; Fri, 7 Apr 2023 10:32:35 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Received: from hekla.abc.se (hekla.abc.se [158.174.61.227]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtF763fX7z3v0G for ; Fri, 7 Apr 2023 10:32:34 +0000 (UTC) (envelope-from andreas.kahari@abc.se) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=abc.se header.s=default header.b="dKKM/u8i"; spf=pass (mx1.freebsd.org: domain of andreas.kahari@abc.se designates 158.174.61.227 as permitted sender) smtp.mailfrom=andreas.kahari@abc.se; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=default; bh=n0Xx/TTxY/ mzoVRGMBiR2IYpZI+hAN4t/grals4ijuc=; h=in-reply-to:references:subject: to:from:date; d=abc.se; b=dKKM/u8iKqn2WqO/BSUFNf1Y9GKe4rKPSKbJqenfmg4A 6YpbPQl2hLwMkJIRw2n3O86TgMa7QVO0YLPN60y0a6lrOVd9GjF6gIi4sONKVDNjbrfBu5 LGio1V/BT6y5xI3lbtmPDiQaAqpsuFT9qO5WlbAxN8H0qyRb5ywxDXXNy4SKLeynmEL8hz T82bMyUjIswAoN0qVZO/PWYTLU0+xWLDsiE/AOlQ0dG3AWTP6R79JkE00SuCm6rrZ41lss U8wcy2p2Exw2nrXchb2ZQsdi5KNkQHhYYY9Rc8nMMTSYUVB+WQiGqaZSq5w0moujSX0pcq HbGW0Lf2D2ziXhxSCg== Received: from harpo.local (83-233-144-251.cust.bredband2.com [83.233.144.251]) by hekla.abc.se (OpenSMTPD) with ESMTPSA id 5ab9b541 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Fri, 7 Apr 2023 12:32:31 +0200 (CEST) Date: Fri, 7 Apr 2023 12:32:30 +0200 From: Andreas Kusalananda =?utf-8?B?S8OkaMOkcmk=?= To: questions@freebsd.org Subject: Re: Can not boot without monitor attached Message-ID: Mail-Followup-To: 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: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: 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-Spamd-Result: default: False [-2.50 / 15.00]; R_MIXED_CHARSET(1.00)[subject]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[abc.se:s=default]; R_SPF_ALLOW(-0.20)[+ip4:158.174.61.227:c]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8473, ipnet:158.174.0.0/16, country:SE]; FROM_EQ_ENVFROM(0.00)[]; DKIM_TRACE(0.00)[abc.se:+]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[abc.se]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PtF763fX7z3v0G X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On Fri, Apr 07, 2023 at 11:40:47AM +0200, Kusalananda Kähäri wrote: > Hi, > > I'm trying to set up a headless FreeBSD 13.1 system. I've done so > successfully before on this particular machine, but for whatever reason, > after a complete reinstall, it doesn't want to boot without a monitor > attached via HDMI. Since it never shows up on the network I'm assuming > it never even gets past the boot prompt. > > If I plug in a HDMI cable to a monitor before booting, it boots as > expected. Plugging in a monitor after unsuccessfully trying to boot > without a monitor does not work (black display). > > I tried adding -P to /boot.config, but this had no effect. The system > is, apart from that, fairly vanilla. > > The system is a fan-less Chinese(?) "Basoaro" system with an American > Megatrends BIOS, but I can't find anything in the BIOS that seems > relevant, and since it *used* to be possible to boot the system without > an attached monitor, I'm assuming it's not a BIOS-related issue. > > Whatever I did before to get it to boot headless, I've forgotten what it > was and need a reminder and/or pointers from you guys. > I believe my issue might have been solved by simply setting console="efi" ... in /boot/loader.conf This seems to not block the boot process when there's no attached video or serial console. I was initially afraid of setting a value to this setting as I didn't want to get locked out completely with no way of accessing the system, but I don't know whether that's even a possible risk. Thanks for reading, -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden . From nobody Fri Apr 7 11:18:01 2023 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 4PtG7v5rXQz44Vsh for ; Fri, 7 Apr 2023 11:18:19 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from cp160176.hpdns.net (cp160176.hpdns.net [91.238.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtG7s5D5lz41w7 for ; Fri, 7 Apr 2023 11:18:17 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=milibyte.co.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=n6cVbdfSG3V113h7u4NAkR1axlDkAgg1c9SUWBhgUW4=; b=a4HhDATve90uPLpqYlOQoMylDE 2Bank70iRXlcPIw0VDJDNhuj442LYcs4ia/P8tZVi5uy/yNfiW9E2SNWyfonDAx0t/hzmvPstf2nN sVT64J5fLWfpltjul0XnzAdNo0qKjvLpGgQv4GIGI4ftiiaFEZMX+n9O0YpVI9PTk2ORwC7Rz0Ea8 ajgB92tFqIKTZZiPlIjQCDxXBa4TamMrwjTllncDVRCZTHLkRkjTeDBv6yDFCum45fnnoOolJJGoQ eEG9lchaf0UM/U68Gb2csvMYGFKegaNY589UCke0ClPr987yzBw2qLQwnIHaAONZKAJZKsyr+4Tn2 eRHvPXZQ==; Received: from [149.86.189.206] (port=30130 helo=curlew.milibyte.co.uk) by cp160176.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pkk6V-000WEe-1U; Fri, 07 Apr 2023 12:18:01 +0100 Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.95) (envelope-from ) id 1pkk6S-000182-IU; Fri, 07 Apr 2023 12:18:01 +0100 From: Mike Clarke To: questions@freebsd.org Cc: David Christensen Subject: Re: Problems creating a zpool Date: Fri, 07 Apr 2023 12:18:01 +0100 Message-ID: <3866859.kAAoriTUSa@curlew> In-Reply-To: <606cdaab-24f7-b0b5-6e4c-01072069bb14@holgerdanske.com> References: <7e74cac6-7724-65bb-e3ef-20b73a825a99@milibyte.co.uk> <606cdaab-24f7-b0b5-6e4c-01072069bb14@holgerdanske.com> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart2744832.iL6vRArjjl" Content-Transfer-Encoding: 7Bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-YourOrg-MailScanner-Information: Please contact the ISP for more information X-YourOrg-MailScanner-ID: 1pkk6V-000WEe-1U X-YourOrg-MailScanner: Found to be clean X-YourOrg-MailScanner-SpamCheck: X-YourOrg-MailScanner-From: jmc-freebsd2@milibyte.co.uk X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp160176.hpdns.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - milibyte.co.uk X-Get-Message-Sender-Via: cp160176.hpdns.net: authenticated_id: mailpool@milibyte.co.uk X-Authenticated-Sender: cp160176.hpdns.net: mailpool@milibyte.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4PtG7s5D5lz41w7 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:52148, ipnet:91.238.160.0/22, country:GB] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --nextPart2744832.iL6vRArjjl Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Thursday, 6 April 2023 22:07:00 BST David Christensen wrote: > The two posts above appear to be duplicates (?). Yes, sorry about that. Result of trying to post from a laptop I don't normally use for email and which wrongly appeared to not have sent the first copy > That said, the `zfs create` command, above, appears to be missing an > '-O' option identifier: > > # zpool create -m none -O compress=on -O atime=off wdssd gpt/wdsys2 Yes it was my stupid mistake. Sorry about this, I should have avoided trying to fix things under pressure late in the day. Everything ran fine after I fixed that. -- Mike Clarke --nextPart2744832.iL6vRArjjl Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="UTF-8"

On Thursday, 6 April 2023 22:07:00 BST David Christensen wrote:

> The two posts above appear to be duplicates (?).


Yes, sorry about that. Result of trying to post from a laptop I don't normally use for email and which wrongly appeared to not have sent the first copy


> That said, the `zfs create` command, above, appears to be missing an

> '-O' option identifier:

>

> # zpool create -m none -O compress=on -O atime=off wdssd gpt/wdsys2


Yes it was my stupid mistake. Sorry about this, I should have avoided trying to fix things under pressure late in the day. Everything ran fine after I fixed that.


--

Mike Clarke

--nextPart2744832.iL6vRArjjl-- From nobody Fri Apr 7 11:21:10 2023 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 4PtGCJ4hwHz44W26 for ; Fri, 7 Apr 2023 11:21:16 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from cp160176.hpdns.net (cp160176.hpdns.net [91.238.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtGCH3rhYz47Gf for ; Fri, 7 Apr 2023 11:21:15 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milibyte.co.uk header.s=default header.b=BqFBTRnp; spf=pass (mx1.freebsd.org: domain of jmc-freebsd2@milibyte.co.uk designates 91.238.160.176 as permitted sender) smtp.mailfrom=jmc-freebsd2@milibyte.co.uk; dmarc=none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=milibyte.co.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:To:From:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2PzlacTVlMeqP9J1io4e8LfJhUcVFJgpgLKoBZJtzvQ=; b=BqFBTRnpLla8Lnss1WCPSPH3gt ZyXkclgGCYslztRs8FqR8TAtmZnXtEjiNlT0ibcD2uShVu7126s/wyzmWiPWqUObvORXahYYrTsD1 6uOPYl20Fz69GY8Fi0mT0VsHdXFs7ojCqhKI9fRD9Y+r+o8Y29oSfH+L/zqLJB6X2F1Rx/dTZmBKB YQhdvA9FYNSNc0Lnaj5scwzihQC/XBUCLKEn/CSrEpRZa28DYIG3mQFX4wUpsstE5Q6nKyEQxriKQ zEJMuOUPSp1qpKEcEuh6A0IY9FbFpKF2rlqO+eCO1JOzoXptzVxvIayFN37QcYMqkImDt+COQSsoj DGfYcrpA==; Received: from [149.86.189.206] (port=22884 helo=curlew.milibyte.co.uk) by cp160176.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1pkk9Z-000ZwP-0Y for freebsd-questions@freebsd.org; Fri, 07 Apr 2023 12:21:11 +0100 Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.95) (envelope-from ) id 1pkk9W-00018Q-BM for freebsd-questions@freebsd.org; Fri, 07 Apr 2023 12:21:10 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Subject: Re: Problems creating a zpool Date: Fri, 07 Apr 2023 12:21:10 +0100 Message-ID: <7894190.iDzAj6rjnq@curlew> In-Reply-To: <2f21436e-1f5b-f6b6-0624-ed87a9a84f34@milibyte.co.uk> References: <2f21436e-1f5b-f6b6-0624-ed87a9a84f34@milibyte.co.uk> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart2030382.x0N0T6uNKo" Content-Transfer-Encoding: 7Bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-YourOrg-MailScanner-Information: Please contact the ISP for more information X-YourOrg-MailScanner-ID: 1pkk9Z-000ZwP-0Y X-YourOrg-MailScanner: Found to be clean X-YourOrg-MailScanner-SpamCheck: X-YourOrg-MailScanner-From: jmc-freebsd2@milibyte.co.uk X-Spam-Status: No X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cp160176.hpdns.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - milibyte.co.uk X-Get-Message-Sender-Via: cp160176.hpdns.net: authenticated_id: mailpool@milibyte.co.uk X-Authenticated-Sender: cp160176.hpdns.net: mailpool@milibyte.co.uk X-Source: X-Source-Args: X-Source-Dir: X-Spamd-Result: default: False [-2.49 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.998]; NEURAL_HAM_SHORT(-0.99)[-0.992]; CTE_CASE(0.50)[]; MID_RHS_NOT_FQDN(0.50)[]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[milibyte.co.uk]; FROM_HAS_DN(0.00)[]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-questions@freebsd.org]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; HAS_X_SOURCE(0.00)[]; HAS_X_AS(0.00)[mailpool@milibyte.co.uk]; DKIM_TRACE(0.00)[milibyte.co.uk:+]; FROM_EQ_ENVFROM(0.00)[]; HAS_X_ANTIABUSE(0.00)[]; ASN(0.00)[asn:52148, ipnet:91.238.160.0/22, country:GB]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PtGCH3rhYz47Gf X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --nextPart2030382.x0N0T6uNKo Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Thursday, 6 April 2023 20:57:00 BST Mike Clarke wrote: > I'm trying to restore my 13.1 system from an external drive. > > So far I've booted into a livefs from a 13.1 bootable memory stick and > am attempting to create a new zpool with the command: > > root@:~ # zpool create -m none -O compress=on atime=off wdssd gpt/wdsys2 > > but I get this error message: > > "cannot open 'wdssd': no such device in /dev > must be a full path or shorthand device name" Sorry about the accidental duplicate post. The problem is solved. I'd made a careless mistake and omitted -O before atime=off. -- Mike Clarke --nextPart2030382.x0N0T6uNKo Content-Transfer-Encoding: 7Bit Content-Type: text/html; charset="UTF-8"

On Thursday, 6 April 2023 20:57:00 BST Mike Clarke wrote:

> I'm trying to restore my 13.1 system from an external drive.

>

> So far I've booted into a livefs from a 13.1 bootable memory stick and

> am attempting to create a new zpool with the command:

>

> root@:~ # zpool create -m none -O compress=on atime=off wdssd gpt/wdsys2

>

> but I get this error message:

>

> "cannot open 'wdssd': no such device in /dev

> must be a full path or shorthand device name"


Sorry about the accidental duplicate post.


The problem is solved. I'd made a careless mistake and omitted -O before atime=off.


--

Mike Clarke

--nextPart2030382.x0N0T6uNKo-- From nobody Fri Apr 7 11:32:58 2023 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 4PtGTW4FYmz44XBZ for ; Fri, 7 Apr 2023 11:33:35 +0000 (UTC) (envelope-from freebsd@gushi.org) Received: from prime.gushi.org (prime.gushi.org [IPv6:2620:137:6000:10::142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "prime.gushi.org", Issuer "RapidSSL Global TLS RSA4096 SHA256 2022 CA1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtGTV3LcWz3Gck for ; Fri, 7 Apr 2023 11:33:34 +0000 (UTC) (envelope-from freebsd@gushi.org) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (vpn-us.f.root-servers.org [149.20.8.9]) (authenticated bits=0) by prime.gushi.org (8.16.1/8.16.1) with ESMTPSA id 337BX9bC062035 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 7 Apr 2023 04:33:10 -0700 (PDT) (envelope-from freebsd@gushi.org) DKIM-Filter: OpenDKIM Filter v2.10.3 prime.gushi.org 337BX9bC062035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gushi.org; s=prime2014; t=1680867190; bh=x8NghfGcIninetVIq/tYiHVxRXSFgxt4QA62R3K68nY=; h=From:Subject:Date:In-Reply-To:Cc:To:References; z=From:=20"Dan=20Mahoney=20(Ports)"=20|Subject:= 20Re:=20Can=20not=20boot=20without=20monitor=20attached|Date:=20Fr i,=207=20Apr=202023=2004:32:58=20-0700|In-Reply-To:=20|Cc:=20questions@freebsd.org|To:=20=3D?utf-8?Q?A ndreas_Kusalananda_K=3DC3=3DA4h=3DC3=3DA4ri?=3D=20|References:=20=20; b=rM3Y1+wesVRZBbRqZxm3H455JILzUNChhdxsFrSXyxODCifbpn/2lAxR607spcbru 0QRACwXnhmt00ixFAv/W82bDBCcYqDMJR5H84txtBkn7jqvI8mqEZUQrklr3+ThHMn crvrdLcUNcDteV/kkU96ro9nkyGaF6kxbPws8AhkwH8WO5xs+5QatGAm0e0Un3iwlK eLpLIlPLe618e+AVSHsQ/yW11rnpBscE9dSy2jT7q65RkYdtODAsoFvfOglqpnl4s5 FSMHWkXZDKh8NMFjXtryLZWK4gfY+i/n1+XpHCcX8vPLarX8+QulUpsIe28gnq4TZh XKhjoHuqG2TAg== X-Authentication-Warning: prime.gushi.org: Host vpn-us.f.root-servers.org [149.20.8.9] claimed to be smtpclient.apple From: "Dan Mahoney (Ports)" Message-Id: <84F23B71-9094-468E-BE0C-4690AE530BD5@gushi.org> Content-Type: multipart/alternative; boundary="Apple-Mail=_EF8095CC-807B-4584-BFF0-1DD822F29AB9" List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: Can not boot without monitor attached Date: Fri, 7 Apr 2023 04:32:58 -0700 In-Reply-To: Cc: questions@freebsd.org To: =?utf-8?Q?Andreas_Kusalananda_K=C3=A4h=C3=A4ri?= References: X-Mailer: Apple Mail (2.3731.500.231) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (prime.gushi.org [149.20.68.142]); Fri, 07 Apr 2023 11:33:19 +0000 (UTC) X-Rspamd-Queue-Id: 4PtGTV3LcWz3Gck X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:393507, ipnet:2620:137:6000::/44, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_EF8095CC-807B-4584-BFF0-1DD822F29AB9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Apr 7, 2023, at 3:32 AM, Andreas Kusalananda K=C3=A4h=C3=A4ri = wrote: >=20 > On Fri, Apr 07, 2023 at 11:40:47AM +0200, Kusalananda K=C3=A4h=C3=A4ri = wrote: >> Hi, >>=20 >> I'm trying to set up a headless FreeBSD 13.1 system. I've done so >> successfully before on this particular machine, but for whatever = reason, >> after a complete reinstall, it doesn't want to boot without a monitor >> attached via HDMI. Since it never shows up on the network I'm = assuming >> it never even gets past the boot prompt. >>=20 >> If I plug in a HDMI cable to a monitor before booting, it boots as >> expected. Plugging in a monitor after unsuccessfully trying to boot >> without a monitor does not work (black display). >>=20 >> I tried adding -P to /boot.config, but this had no effect. The = system >> is, apart from that, fairly vanilla. >>=20 >> The system is a fan-less Chinese(?) "Basoaro" system with an American >> Megatrends BIOS, but I can't find anything in the BIOS that seems >> relevant, and since it *used* to be possible to boot the system = without >> an attached monitor, I'm assuming it's not a BIOS-related issue. >>=20 >> Whatever I did before to get it to boot headless, I've forgotten what = it >> was and need a reminder and/or pointers from you guys. >>=20 >=20 > I believe my issue might have been solved by simply setting >=20 > console=3D"efi" >=20 > ... in /boot/loader.conf >=20 > This seems to not block the boot process when there's no attached = video > or serial console. >=20 > I was initially afraid of setting a value to this setting as I didn't > want to get locked out completely with no way of accessing the system, > but I don't know whether that's even a possible risk. I will say that, in the past, when dealing with MacOS and working at a = dentist=E2=80=99s office, where our software providers needed to log in = via remote desktop and the like, or VNC, our consultants needed us to = buy a cheap hdmi dummy console plug. We left it connected all the time = and it, made our system think there was a monitor there when there = wasn=E2=80=99t (and supported/assumed some nominal display size). If you don=E2=80=99t find another option in the bios/uefi = configs/loader.conf, this is always one.= --Apple-Mail=_EF8095CC-807B-4584-BFF0-1DD822F29AB9 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

On Apr = 7, 2023, at 3:32 AM, Andreas Kusalananda K=C3=A4h=C3=A4ri = <andreas.kahari@abc.se> wrote:

On Fri, Apr 07, 2023 at 11:40:47AM +0200, = Kusalananda K=C3=A4h=C3=A4ri wrote:
Hi,

I'm trying to set up a headless = FreeBSD 13.1 system.  I've done so
successfully before on this = particular machine, but for whatever reason,
after a complete = reinstall, it doesn't want to boot without a monitor
attached via = HDMI.  Since it never shows up on the network I'm assuming
it = never even gets past the boot prompt.

If I plug in a HDMI cable = to a monitor before booting, it boots as
expected.  Plugging in = a monitor after unsuccessfully trying to boot
without a monitor does = not work (black display).

I tried adding -P to /boot.config, but = this had no effect.  The system
is, apart from that, fairly = vanilla.

The system is a fan-less Chinese(?) "Basoaro" system = with an American
Megatrends BIOS, but I can't find anything in the = BIOS that seems
relevant, and since it *used* to be possible to boot = the system without
an attached monitor, I'm assuming it's not a = BIOS-related issue.

Whatever I did before to get it to boot = headless, I've forgotten what it
was and need a reminder and/or = pointers from you guys.


I = believe my issue might have been solved by simply setting

console=3D"efi"

... in /boot/loader.conf

This seems to not block the boot process = when there's no attached video
or = serial console.

I was = initially afraid of setting a value to this setting as I = didn't
want to get locked out = completely with no way of accessing the system,
but I don't know whether that's even a = possible risk.


I will say = that, in the past, when dealing with MacOS and working at a dentist=E2=80=99= s office, where our software providers needed to log in via remote = desktop and the like, or VNC, our consultants needed us to buy a cheap = hdmi dummy console plug.   We left it connected all the time and = it, made our system think there was a monitor there when there wasn=E2=80=99= t (and supported/assumed some nominal display = size).

If you don=E2=80=99t find another option in = the bios/uefi configs/loader.conf, this is always = one.
= --Apple-Mail=_EF8095CC-807B-4584-BFF0-1DD822F29AB9-- From nobody Fri Apr 7 11:52:00 2023 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 4PtGtz5VxPz44Y1H for ; Fri, 7 Apr 2023 11:52:11 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4PtGtw0vtCz45rq for ; Fri, 7 Apr 2023 11:52:08 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of "SRS0=9/qU=76=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=9/qU=76=perdition.city=julien@bebif.be"; dmarc=none Received: from belspo (unknown [10.209.1.137]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id F3D1438619 for ; Fri, 7 Apr 2023 13:52:00 +0200 (CEST) Date: Fri, 7 Apr 2023 13:52:00 +0200 From: Julien Cigar To: questions@freebsd.org Subject: Poudriere and Python FLAVORS Message-ID: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r6unwc4ntgijleyg" Content-Disposition: inline X-Spamd-Result: default: False [-4.50 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=9/qU=76=perdition.city=julien@bebif.be]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx]; RCVD_NO_TLS_LAST(0.10)[]; MLMMJ_DEST(0.00)[questions@freebsd.org]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; DMARC_NA(0.00)[perdition.city]; TO_DN_NONE(0.00)[]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[questions@freebsd.org]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=9/qU=76=perdition.city=julien@bebif.be]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PtGtw0vtCz45rq X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N --r6unwc4ntgijleyg Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello,=20 I'm building 2023Q2 through Poudriere with: DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11 python=3D3.11 pgsql=3D13 = php=3D8.1 I'm getting tons of "Ignored: Unknown flavor 'py39', possible flavors: py311" (see (1)) for my Python ports (I didn't specified any flavor=20 @pyxx)=20 I don't understand why: - Why does Poudriere tries to build @py39 flavor by default when 3.11 is the default? - Why py39 flavor is unknown althoug the default Python version for 2023Q2 is 3.9? Any idea ? :) Thanks, Julien (1) https://gist.githubusercontent.com/silenius/ea5f202ae151e063952da8cae8b= 423f6/raw/9a018abf3bd73db289958c4a02f2ed838624d7a8/gistfile1.txt --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --r6unwc4ntgijleyg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwA+AACgkQCLYqJMpB HmlXEQ/+LOFCFVtpccsa9UY8mcN8uPoJ2JkxJCcahAz8lkyt052Upyeah8BjBMJd Do+uZscUZ6pGJhGPrl7E233IgIwdBegHDOujIQwMisuJO8Vpm9nCsF2L7Qhv5rLH nW7pZfYinXfPXcMcrkgiXU2vaXZBTANxEThcPYC2Oe6kx2q59fHLjM/9/zdbciq3 JLKK/hpB5cg/34tQUz4aWa9aUpmlXovyoKORd9vvn86fZM0aEFDK0E4zlqqmFcsP KfnO7yOUmFcX6fe0EA1sHY3kteimGMujhi+cYqaKosfmbXbu3aCJOAltL3W8wY04 BwXE05rgKt6RNEGo/NQKHECBIx4GKndTvFkFAAHNTx60GGXnDD98j87cG5JybqdM eXow8vgtUJC4XYmo0/J86Xr7dEzByuM9RuGsrvPkdc4EhDV6vVGuSp7tbY1i0EX4 c0Ev1J7Lg+g9l+Tws9KnEJm1Zlro5QfiOFJnnLaU9WAxF7m9C/MkyMTY6NMFyGlV YiutYG9O37DW0s0c0UOaUFWuqbM12IU8erNGO9BWTmSTi6+ATTxXNuObliZ5UI+B Vr1zDW9vHG+e16tfn7T6xsAl8QBWW0hxIJVWvwO+mYKNKBkbceuiLyALW+ZBdQrN qQKn/Z0oLcWO+Sn3xMf1eVOarKWXImrd1Spp4abMPx1zYnh5lBE= =Q6d+ -----END PGP SIGNATURE----- --r6unwc4ntgijleyg-- From nobody Fri Apr 7 13:07:59 2023 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 4PtJZp6fTMz44cj7 for ; Fri, 7 Apr 2023 13:08:18 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.vt.edu [128.173.126.123]) (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 4PtJZp33x7z3nD9 for ; Fri, 7 Apr 2023 13:08:18 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id DFE23556F3; Fri, 7 Apr 2023 09:08:09 -0400 (EDT) Content-Type: text/plain; charset=us-ascii List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: Poudriere and Python FLAVORS From: Paul Mather In-Reply-To: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> Date: Fri, 7 Apr 2023 09:07:59 -0400 Cc: questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> To: Julien Cigar X-Mailer: Apple Mail (2.3731.500.231) X-Rspamd-Queue-Id: 4PtJZp33x7z3nD9 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1312, ipnet:128.173.0.0/16, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Apr 7, 2023, at 7:52 AM, Julien Cigar wrote: > Hello,=20 >=20 > I'm building 2023Q2 through Poudriere with: > DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11 python=3D3.11 = pgsql=3D13 php=3D8.1 >=20 > I'm getting tons of "Ignored: Unknown flavor 'py39', possible flavors: > py311" (see (1)) for my Python ports (I didn't specified any flavor=20 > @pyxx)=20 >=20 > I don't understand why: > - Why does Poudriere tries to build @py39 flavor by default when 3.11 = is the > default? > - Why py39 flavor is unknown althoug the default Python version for > 2023Q2 is 3.9? >=20 > Any idea ? :) I don't know whether this is the issue in your case, but I found when = setting the default Python flavour to 3.10 myself I would get the same = problems: ports would not build due to an "unknown" flavour. I discovered that in some cases, "USES=3D ... python:" in = a port Makefile would make it impossible to build with the default = flavour I had set in /etc/make.conf. A case in point: I wanted to build = sysutils/py-salt via Poudriere with a default Python flavour of 3.10. = It failed. Looking in the Makefile, I saw "USES=3D cpe python:3.6-3.9". = Most other ports tend to have "... python:3.6+", but this one said it = only worked with 3.6 to 3.9. Hence, trying to build it with 3.10 = failed. I knew that version of py-salt would build under 3.10, so ultimately = (after carrying my own local change to the Makefile for a while) = submitted a Bugzilla asking for it to be changed to "USES=3D cpe = python:3.6-3.10", which solved the building problem. So, you may have some similar Python ports or dependent ports that = specify they aren't compatible with Python 3.11, and that is causing the = warnings and errors. Cheers, Paul. From nobody Fri Apr 7 13:34:44 2023 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 4PtK9L49rhz44f8B for ; Fri, 7 Apr 2023 13:34:46 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4PtK9L3Jhwz4bms for ; Fri, 7 Apr 2023 13:34:46 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; none Received: from belspo (unknown [10.209.1.137]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id C53B1385D9; Fri, 7 Apr 2023 15:34:44 +0200 (CEST) Date: Fri, 7 Apr 2023 15:34:44 +0200 From: Julien Cigar To: Paul Mather Cc: questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Message-ID: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3doelptfct4gv2iu" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4PtK9L3Jhwz4bms X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --3doelptfct4gv2iu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 07, 2023 at 09:07:59AM -0400, Paul Mather wrote: > On Apr 7, 2023, at 7:52 AM, Julien Cigar wrote: >=20 > > Hello,=20 > >=20 > > I'm building 2023Q2 through Poudriere with: > > DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11 python=3D3.11 pgsql= =3D13 php=3D8.1 > >=20 > > I'm getting tons of "Ignored: Unknown flavor 'py39', possible flavors: > > py311" (see (1)) for my Python ports (I didn't specified any flavor=20 > > @pyxx)=20 > >=20 > > I don't understand why: > > - Why does Poudriere tries to build @py39 flavor by default when 3.11 i= s the > > default? > > - Why py39 flavor is unknown althoug the default Python version for > > 2023Q2 is 3.9? > >=20 > > Any idea ? :) >=20 >=20 > I don't know whether this is the issue in your case, but I found when set= ting the default Python flavour to 3.10 myself I would get the same problem= s: ports would not build due to an "unknown" flavour. Thanks for those hints, but I don't think it's the issue in my case. If I take net/py-pysocks for example it is marked USES=3Dpython:3.6+ .. but it fails with [00:02:18] [04] [00:00:00] Finished net/py-pysocks@py39 | py3= 9-pysocks-1.7.1: Ignored: Unknown flavor 'py39', possible flavors: py311 >=20 > I discovered that in some cases, "USES=3D ... python:" in = a port Makefile would make it impossible to build with the default flavour = I had set in /etc/make.conf. A case in point: I wanted to build sysutils/p= y-salt via Poudriere with a default Python flavour of 3.10. It failed. Lo= oking in the Makefile, I saw "USES=3D cpe python:3.6-3.9". Most other port= s tend to have "... python:3.6+", but this one said it only worked with 3.6= to 3.9. Hence, trying to build it with 3.10 failed. >=20 > I knew that version of py-salt would build under 3.10, so ultimately (aft= er carrying my own local change to the Makefile for a while) submitted a Bu= gzilla asking for it to be changed to "USES=3D cpe python:3.6-3.10", which = solved the building problem. >=20 > So, you may have some similar Python ports or dependent ports that specif= y they aren't compatible with Python 3.11, and that is causing the warnings= and errors. >=20 > Cheers, >=20 > Paul. >=20 --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --3doelptfct4gv2iu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwG/QACgkQCLYqJMpB HmlOaRAAtuSiE+6pj2kz+dxzCd1ynduHKjRqwtWsof9nvbsVKjk2x+aSBvPiavmV KXzJzBYGku3WTxUKtwjqkg3J6PjTtiLbvk6KMuOlrRRZoaniS9Sp7Ua/phNBPOEE fSU8M1XSMU0AZl7KsBu1mkOxRrRUrCNARmwLhX0A9OpMO6gO4RIuz3rJ6qDrZMh9 BwuNRytDCibFlDjGaEaw1YYL9W/OXGWicdJ3Kl1Na7KSKcymZ3FVWv+tXtbiQWdU U2Kum8VbDgA3LJ/TEx9UPfJP6CPPmTNw1q11Reg7PhVfFFc5lafERJe/1E0dUA+1 azfuM0rcpMgYayG5zRbcTCpIGWB4LdfMz3lAe4zFU4CXwc1dlSD/Dhc2ZAx6pZ9g FdWhNmsKhurXOpJNNSNCLCsn+dDhhVExdH8691aSegDvfuXMgufuDzAcMfBGydZJ Jgj2M32bms9At0GVV7C7naT8HhBdrpq0DuWA58NckHSGP1piSyArrhjh22IvmLyc 4ABC99WLBqgmcxCU+Gs2v09tE7UPkEgQg34D0zgfAso/o7q7cInCjmWkEARKZ+iO VVUrIr9/YUNYkg++2sqlnfXALg87dz7tqDnyX17rmpnFSIUG0xwKyGihlibP2ots Zoen8/X/q9aQBaCIrbUlhRtSDwkt/1qA2GCBpmMJy6uiuqDqwR4= =UrPg -----END PGP SIGNATURE----- --3doelptfct4gv2iu-- From nobody Fri Apr 7 13:44:54 2023 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 4PtKPF16GWz44fVS for ; Fri, 7 Apr 2023 13:45:05 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (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 4PtKPD64C9z3jBn for ; Fri, 7 Apr 2023 13:45:04 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Authentication-Results: mx1.freebsd.org; none Received: from ravel.localnet (unknown [90.118.140.172]) (Authenticated sender: olivier.freebsd@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id EF4F220040F; Fri, 7 Apr 2023 15:44:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1680875097; bh=JDY84cSjJ3TqJP+PYqIN/bthDMBCM3Wcj4Bus6LDk58=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hYaADluYCuYYYbmbthQ70gEkeSZL91+3qVNoC4/eYeo4HrB38qPfbAiezyPgGD99n MFMWNwrRyYoFxHvvGPBdJc57to8BRRZMVcpWfKgO4zDmwhGFr2NdCT8lb60VD5rWsi uiiI2R57b5VbMEpYOL//lvmAVSckjt7f5BhpyoYvKhUDAI0cvBS596C/7ew2lIrb0J YGONE21skk3J6xlOuo/tz8R92ZdTe6i7FY8G9P8NiVijgz2a9/NnpdY7AI3D/M+qUv zUOQfyTMtrUSoflS7Io4rLRi+EQjLDL4dA1qVzKpvK3AXlOIhH182haJ8BSZw97Ycj cphrQPbEvFPvw== From: Olivier Certner To: questions@freebsd.org Cc: Julien Cigar Subject: Re: Poudriere and Python FLAVORS Date: Fri, 07 Apr 2023 15:44:54 +0200 Message-ID: <2870221.hLbyOCDNA1@ravel> In-Reply-To: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4PtKPD64C9z3jBn X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12322, ipnet:212.27.32.0/19, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Hi, Just add: BUILD_ALL_PYTHON_FLAVORS=t in your /etc/make.conf or equivalent. Without the knob, only default pythons ("python2=2.7 python3=3.11 python=3.11" in your example) are allowed flavors. As to why this knob exists, I'm only guessing that it is to ensure that there are no packages depending on now default versions? Regards. -- Olivier Certner From nobody Fri Apr 7 14:04:13 2023 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 4PtKqR6nSvz44gZl for ; Fri, 7 Apr 2023 14:04:19 +0000 (UTC) (envelope-from matthew@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PtKqR6DYPz4DtK for ; Fri, 7 Apr 2023 14:04:19 +0000 (UTC) (envelope-from matthew@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680876259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ierSB4ci9vyTn0N94OjWLQibqnR3jogb8mEDUdW6xtA=; b=j/KzKBdK6h3JnXiysL1YodMhZgjO9mgia9RFXcrQKc7O8OWNQTWiPEZLmz37W/Vt4aZhQv bGQi6uOR/tw3UDlOQJ9tr87pOSrqeZQaGU3xqbnei/Mr7q34YDcCLxRTkLVql2GDXR4xg4 nqmiavDit04Mm9o3GLlKJe19y18eoBSed6PFeqEHSgcy19xgh6QphXjeLt04SThJARnPtV 5kjDoUA80xvpcoIjLGoAGgYXquHNgF55UC6mq9xequbgvyyXsYzosPtU079PA/RErSi7sb CB8IzQlFBR/YsSsIYI2fBS3ckLL3M5XX4+1Qi8hhScobL1mauDrnkoThCJXduA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680876259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ierSB4ci9vyTn0N94OjWLQibqnR3jogb8mEDUdW6xtA=; b=fI5qwh9xDjQbz3T2R7uiQGQR4295QLR+3OdIiYo7sDQvChdiEop1VWBhyE5QHZp7RcwRW3 f1xjHFikJ0K+uw1bKGEhCb4RA6Juvo3jEHAcvu1mrLW3w1gYYp1ykX8Io45U5c0FDsJbac NjpTf7GRWhEKnvsVcOOLgZa/hq7lkhC0r9kaJYwRNF4qLwkf/nsz1LUpHJXjFLwUhABvmY Jk/BCJmvWa+o2X1eThNOYZeQRphxx+6b/w4gp3leaDdqcuHrYD8gLlpf6XuGu1qv+3l96I hPY49CxK+ZESNlvKPrZ2KK0/kHi+pt4Vxc3fieFRZvXSU80oqDoFc5nnzLvMeg== ARC-Authentication-Results: i=1; smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680876259; a=rsa-sha256; cv=none; b=FPQER8SD3IAwqjYt3Gwk99iIjoWWON7T/5wRE+D+MO0P+IcQEPi6MgYrvAg8qYF3DHuezQ BXuAfPPQ/dIE71zt8SCt0y3Hi7cZ3ZbJF+x6dDME03+CYd53PjtZZN+CtEFPhIwYI6YZyO WifPN5Cqz1RQO88Wb/H3ivnYKpI5FV3jP38xVhZ0vdLbvlwPwF6NjaSMKqq4/mX2QQIbqz FxE0hH40jZEHOMu5iln3KXQ0wLy4CtkOnjobrd83CH0NVHeLxniQFpGhdKq+HS6F+FZYd+ 0ZTSpZWo1ibTz7pLNHgCXPb2Uscxr1+7q8il1Azr2R6npEbj6tPnbSSBNrsTNg== Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (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: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4PtKqR30pPz16RP for ; Fri, 7 Apr 2023 14:04:19 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from [IPV6:2001:8b0:151:1:3800:7a3:6bc6:6c79] (unknown [IPv6:2001:8b0:151:1:3800:7a3:6bc6:6c79]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 7AE361A6D for ; Fri, 7 Apr 2023 15:04:14 +0100 (BST) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/7AE361A6D; dkim=none; dkim-atps=neutral Message-ID: Date: Fri, 7 Apr 2023 15:04:13 +0100 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 To: questions@freebsd.org References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> From: Matthew Seaman Subject: Re: Poudriere and Python FLAVORS In-Reply-To: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------a0UW9ctouWtKJTfIXe08l3iu" X-ThisMailContainsUnwantedMimeParts: N This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------a0UW9ctouWtKJTfIXe08l3iu Content-Type: multipart/mixed; boundary="------------4ZIa0pl03e9uGlStFKlw8evI"; protected-headers="v1" From: Matthew Seaman To: questions@freebsd.org Message-ID: Subject: Re: Poudriere and Python FLAVORS References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> In-Reply-To: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> --------------4ZIa0pl03e9uGlStFKlw8evI Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: base64 T24gMDcvMDQvMjAyMyAxMjo1MiwgSnVsaWVuIENpZ2FyIHdyb3RlOg0KPiBIZWxsbywNCj4g DQo+IEknbSBidWlsZGluZyAyMDIzUTIgdGhyb3VnaCBQb3VkcmllcmUgd2l0aDoNCj4gREVG QVVMVF9WRVJTSU9OUys9IHB5dGhvbjI9Mi43IHB5dGhvbjM9My4xMSBweXRob249My4xMSBw Z3NxbD0xMyBwaHA9OC4xDQo+IA0KPiBJJ20gZ2V0dGluZyB0b25zIG9mICJJZ25vcmVkOiBV bmtub3duIGZsYXZvciAncHkzOScsIHBvc3NpYmxlIGZsYXZvcnM6DQo+IHB5MzExIiAoc2Vl ICgxKSkgZm9yIG15IFB5dGhvbiBwb3J0cyAoSSBkaWRuJ3Qgc3BlY2lmaWVkIGFueSBmbGF2 b3INCj4gQHB5eHgpDQo+IA0KPiBJIGRvbid0IHVuZGVyc3RhbmQgd2h5Og0KPiAtIFdoeSBk b2VzIFBvdWRyaWVyZSB0cmllcyB0byBidWlsZCBAcHkzOSBmbGF2b3IgYnkgZGVmYXVsdCB3 aGVuIDMuMTEgaXMgdGhlDQo+ICAgIGRlZmF1bHQ/DQo+IC0gV2h5IHB5MzkgZmxhdm9yIGlz IHVua25vd24gYWx0aG91ZyB0aGUgZGVmYXVsdCBQeXRob24gdmVyc2lvbiBmb3INCj4gICAg MjAyM1EyIGlzIDMuOT8NCg0KRG8geW91IGhhdmU6DQoNCkJVSUxEX0FMTF9QWVRIT05fRkxB Vk9SUz0geWVzDQoNCnNldCBpbiBhIG1ha2UuY29uZiBmaWxlIGFueXdoZXJlIHRoYXQgcG91 ZHJpZXJlIGNvdWxkIHJlYWQ/IGllLiANCnNvbWV3aGVyZSB1bmRlciAvdXNyL2xvY2FsL2V0 Yy9wb3VkcmllcmUuZCA/DQoNCkVxdWl2YWxlbnRseSBzb21lIHBvcnRzIGhhdmUgYQ0KDQpV U0VfUFlUSE9OPSBhbGxmbGF2b3JzDQoNCnNldHRpbmcgd2hpY2ggcHJvZHVjZXMgdGhlIHNh bWUgZWZmZWN0IGZvciBqdXN0IHRoYXQgcG9ydC4gIFRoZXJlJ3Mgb25seSANCmFib3V0IGEg ZG96ZW4gcG9ydHMgdGhhdCBkbyB0aGF0IGluIHRoZSB3aG9sZSB0cmVlLCBidXQgdGhleSBp bmNsdWRlIA0Kc29tZSByZWFsbHkgY29tbW9ubHkgdXNlZCBvbmVzIGxpa2UgcHktc2V0dXB0 b29scy4NCg0KRWl0aGVyIG9mIHRob3NlIHNldHRpbmdzIG1lYW5zIHBvdWRyaWVyZSB3aWxs IGRlZmF1bHQgdG8gYnVpbGRpbmcgDQptb2R1bGVzIGZvciBhbGwgcHl0aG9uIHZlcnNpb25z IGZyb20gMy43IHRvIDMuMTEgdGhhdCBhcmUgc3VwcG9ydGVkIGJ5IA0KdGhlIG1vZHVsZS4N Cg0KSWYgeW91IG9ubHkgd2FudCB2ZXJzaW9uIDMuMTEgb2Ygc29tZSBtb2R1bGVzLCB0aGVu IHlvdSBjYW4gYWRkIEAzLjExIHRvIA0KYW4gaW5kaXZpZHVhbCBwb3J0J3MgcGF0aCBpbiB0 aGUgbGlzdCB5b3Ugc3BlY2lmeSwgYW5kIG9ubHkgdGhhdCBmbGF2b3VyIA0Kd2lsbCBiZSBi dWlsdC4NCg0KTm90ZSB0aGF0IGlmIGEgcG9ydCBpcyBub3Qgc3BlY2lmaWVkIGV4cGxpY2l0 bHkgaW4geW91ciBsaXN0IG9mIHBvcnRzIHRvIA0KYnVpbGQsIGJ1dCBpcyBhdXRvbWF0aWNh bGx5IGJvdWdodCBpbiB0byByZXNvbHZlIGRlcGVuZGVuY2llcyBmb3Igc29tZSANCm90aGVy IHBvcnQsIHRoZW4gaXQgZWZmZWN0aXZlbHkgaGFzIHRoZSBAMy4xMSB0aGluZyBidWlsdCBp biwgZXZlbiBpZiANCnRoZSBwb3J0IGhhcyBVU0VfUFlUSE9OPWFsbGZsYXZvcnMgc2V0Lg0K DQpJIGRvbid0IHNlZSBob3cgeW91IGFyZSBnZXR0aW5nICJVbmtub3duIGZsYXZvciAncHkz OSciIHRob3VnaC4gIFRoYXQgDQptZWFucyBzb21lIHBvcnQgaGFzIHNvbWVob3cgZW5kZWQg dXAgd2l0aCBhIGRlcGVuZGVuY3kgb24gZWcuIA0KbmV0L3B5LXB5c29ja3NAcHkzOSB3aGlj aCBzaG91bGRuJ3QgaGFwcGVuLiAgQXJlIHlvdSB1c2luZyBhIG1vZGlmaWVkIA0KcG9ydHMg dHJlZSBlZy4gd2l0aCBvdmVybGFpZCBvciBsb2NhbGx5IG1vZGlmaWVkIHBvcnRzPw0KDQoJ Q2hlZXJzLA0KDQoJTWF0dGhldw0KDQoNCg0KDQoNCg0KDQo= --------------4ZIa0pl03e9uGlStFKlw8evI-- --------------a0UW9ctouWtKJTfIXe08l3iu Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAmQwIt0FAwAAAAAACgkQAFE/EOCp5Oes xg/8DPBYmyJxkjYqGPqQCu9omxJxuMgcxF2cxpfMpXX6NL1vuYQ1wk4GvBKT8LMansjj8Xx9Gc6Q 6bgqQA/B6fRt20C06ubVSestgKaR51zBI5VGaRWsWj+jmJQKrogcggoLA8DzIpXRgXLTWz/KAv9+ yl9lQz0fXe+2e3WZolYF91BKt/c1P27CiNFjQQ6cOPEkItk9Ckg/JxcuF9D05SsqkM1SxOoj9QIU gMQwfNpQHx50r3dxwHetfiYKbGmcZXPKWPGMmyEDdCeCSWQ73afSvfW+D0NlAzfFzY0ev9LloCCl L2n3/2PAmbBaU0JA5BGzinTfJhZumVutFRCiG8UY4X8UyEHkxOicrYSydUiIa6XZ+lbGnJbdY4kc BFXVtBDqqacbEYMj298lMyRjhY5crRHyy1Ob+gDf7JGB3Yo46fR1ey3OgeqjLEXhlYrTShxw8bGw YhBYCKlVVnYKFqQAmkSIolRYUR/krBMz5qReztGszF4Lf3AHXvg3FbSFE6ZrGBqOj1mOUz3wsnxp bvvMDSxhaQTcXxCmgQw0nHdvQ2sVrzpI/kVJn0TCs5MLzgshnmYAW4KnQxBPV3PkdrOnwCYf9Whe zC1xp+PHrQKLiTdJ0XtAgXsVDpGdaeQID8YIL+o3ntMcY8lFqbdKBFhd4SCwbeVXldDkCJoLWFoc vWE= =okc9 -----END PGP SIGNATURE----- --------------a0UW9ctouWtKJTfIXe08l3iu-- From nobody Fri Apr 7 14:07:07 2023 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 4PtKtj4qSrz44gfQ for ; Fri, 7 Apr 2023 14:07:09 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4PtKtj2sJVz4JZk for ; Fri, 7 Apr 2023 14:07:09 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; none Received: from belspo (unknown [10.209.1.137]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id 418CF38576; Fri, 7 Apr 2023 16:07:08 +0200 (CEST) Date: Fri, 7 Apr 2023 16:07:07 +0200 From: Julien Cigar To: Olivier Certner Cc: questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Message-ID: <347y3d6okbkbd5r67ykxyfyxhjfrajsykpzygswtmesghugwo6@rvws5u4jtwtz> References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> <2870221.hLbyOCDNA1@ravel> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="k7j3w3hsgqmobtil" Content-Disposition: inline In-Reply-To: <2870221.hLbyOCDNA1@ravel> X-Rspamd-Queue-Id: 4PtKtj2sJVz4JZk X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --k7j3w3hsgqmobtil Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 07, 2023 at 03:44:54PM +0200, Olivier Certner wrote: > Hi, >=20 > Just add: > BUILD_ALL_PYTHON_FLAVORS=3Dt > in your /etc/make.conf or equivalent. >=20 > Without the knob, only default pythons ("python2=3D2.7 python3=3D3.11 pyt= hon=3D3.11" in your example) are allowed flavors. Thank you! Is this BUILD_ALL_PYTHON_FLAVORS documented somewhere? =20 >=20 > As to why this knob exists, I'm only guessing that it is to ensure that t= here are no packages depending on now default versions? >=20 > Regards. >=20 > --=20 > Olivier Certner >=20 >=20 --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --k7j3w3hsgqmobtil Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwI4sACgkQCLYqJMpB Hmnwxg//QGchXV1kGRM3YLZHkJ+LZ1b3TdpBdvOdaYoEpAcKNgvqEBzqM9KUplLu Ae/EVEFX9sE04jm3kzQlAaByHxVqvffKqft33QWjXEIiaBDRxi79oLLTPKFJGKNh 9IO5831W4RB/Vpj1x7ff1ppFGGNI1h5HyFbRIqQ/mg2Hmlur/M/4hU3W+yC88kTx AvfQPSSOueWN9rd+SqbFOyLltmN2j60gYTMU4qdmbOV1vuIFzDDcl/rtDcW1tMy4 hfScM0jIwttjwCcaKTWK/bBJvx2uLwrnYyg3rIeFTR8Nkc7N3vyeMZdbF/OxR78H 5sgbCD5t+SwPZ8g0w5U8ZhkQ4YY4iFjXMqGvrMV24rIxxzY6wEyd/aJBpqiYyTIF +UJnbwWuk7q7UK808AJE7f+lRZB0TD4wtCzFZavwvhjoQMisAAseTjbpX50/bsgJ OGwO343ORkYlKcYA4WyOd7HZ//NgZAP6uHppzeQU2boJyZLsbvORc+jevWikR/RE urOKn62j4O9X8zinLD33nfjnznBkB0dc0vwYxPmzHzkHq/mZ169vUplTg1RDWC7s rUQYX91+hCKq7O870oOm9v/OAsvxPg1+7wcmOzh6psV1R+0wkGSouT6u1vFGl7Y+ Jz/BVI2YXrtu+dzMdujqS4MUPCYN7XToG4JdR5W1o0CUTMr5ZOs= =EwHD -----END PGP SIGNATURE----- --k7j3w3hsgqmobtil-- From nobody Fri Apr 7 14:09:42 2023 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 4PtKxf67yCz44gkb for ; Fri, 7 Apr 2023 14:09:42 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4PtKxf5T5bz4NyD; Fri, 7 Apr 2023 14:09:42 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; none Received: from belspo (unknown [10.209.1.137]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id 4E5B2385E5; Fri, 7 Apr 2023 16:09:42 +0200 (CEST) Date: Fri, 7 Apr 2023 16:09:42 +0200 From: Julien Cigar To: Matthew Seaman Cc: questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Message-ID: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="m4cnpl5xzzybp6pb" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4PtKxf5T5bz4NyD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --m4cnpl5xzzybp6pb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 07, 2023 at 03:04:13PM +0100, Matthew Seaman wrote: > On 07/04/2023 12:52, Julien Cigar wrote: > > Hello, > >=20 > > I'm building 2023Q2 through Poudriere with: > > DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11 python=3D3.11 pgsql= =3D13 php=3D8.1 > >=20 > > I'm getting tons of "Ignored: Unknown flavor 'py39', possible flavors: > > py311" (see (1)) for my Python ports (I didn't specified any flavor > > @pyxx) > >=20 > > I don't understand why: > > - Why does Poudriere tries to build @py39 flavor by default when 3.11 i= s the > > default? > > - Why py39 flavor is unknown althoug the default Python version for > > 2023Q2 is 3.9? >=20 > Do you have: >=20 > BUILD_ALL_PYTHON_FLAVORS=3D yes no, I don't remember having read something about this knob.. is it documented somewhere? >=20 > set in a make.conf file anywhere that poudriere could read? ie. somewhere > under /usr/local/etc/poudriere.d ? >=20 > Equivalently some ports have a >=20 > USE_PYTHON=3D allflavors >=20 > setting which produces the same effect for just that port. There's only > about a dozen ports that do that in the whole tree, but they include some > really commonly used ones like py-setuptools. >=20 > Either of those settings means poudriere will default to building modules > for all python versions from 3.7 to 3.11 that are supported by the module. >=20 > If you only want version 3.11 of some modules, then you can add @3.11 to = an > individual port's path in the list you specify, and only that flavour will > be built. >=20 > Note that if a port is not specified explicitly in your list of ports to > build, but is automatically bought in to resolve dependencies for some ot= her > port, then it effectively has the @3.11 thing built in, even if the port = has > USE_PYTHON=3Dallflavors set. >=20 > I don't see how you are getting "Unknown flavor 'py39'" though. That mea= ns > some port has somehow ended up with a dependency on eg. net/py-pysocks@py= 39 > which shouldn't happen. Are you using a modified ports tree eg. with > overlaid or locally modified ports? no, it's the pristine clone of the 2023Q2 branch through git >=20 > Cheers, >=20 > Matthew >=20 >=20 >=20 >=20 >=20 >=20 >=20 --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --m4cnpl5xzzybp6pb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwJCYACgkQCLYqJMpB HmmuMA/9GJOR29I34V5Ap2EHcA61rmDo36Qet9U2X2xrMCQH1alayVotMz9eRURB tP+TZzVVG+QThYtcXpzDuDMRMf0ojoZOdhkoV+R4HD9Zu85nhxc0b/r5HWS9fY+x buAJ0keU8PROhUgkyUeUDJqhnfZ0QJ7emz1m9mViTB+Cv1bpdBzf0qgousqOtT/b RYjtLQesNVqrGvPVkkgd7q2w37nMShd7WsaanchXsb0fgEl0b0g+0cHx1R9Kk0Hq tqanXjFJnBTPdBwb/8Cjk0MYS3r4PgXiJYkCOHOvlobMEFnTSBiUg1faVhvxa3M1 vYe9Om6b125VtBsIBxIOLRzjQPOvhLUsg1xj53wMfpvEtXOWdf9vKnoK5zyle92Q 0jzZPhtO1Sg/QDTX9tLAp4RNyhQlpAAlQ2xi9qE5UJXdzUt8Us0+o6Y23kZ4DWkp OlAhEjzLOS27IiII1ki1V7GKaCaVZXAa0c7cPBVKcuwsjJjpffE9Rql60OMsmWVD P3CASyiC80DmR1eGv5fcaItr+YEIe6mq63s74Gg22oOWiYUfJARo25g7kcGmgZqH UggJ46ZkxwCYBMZGQV2sG0PdPst1PiPThX5owC7/O7sdYnIJ380CBAUobgM86YcV 8SrfUUSPKcC05/pwqUWuqicSaspaj5fkUTnyOXSgLp1ThZ71OfU= =doDt -----END PGP SIGNATURE----- --m4cnpl5xzzybp6pb-- From nobody Fri Apr 7 14:22:55 2023 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 4PtLDx6FVlz44hd5 for ; Fri, 7 Apr 2023 14:22:57 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4PtLDw5Fwpz3q9N; Fri, 7 Apr 2023 14:22:56 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of "SRS0=9/qU=76=perdition.city=julien@bebif.be" designates 193.191.208.90 as permitted sender) smtp.mailfrom="SRS0=9/qU=76=perdition.city=julien@bebif.be"; dmarc=none Received: from belspo (unknown [10.209.1.137]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id 28C943862B; Fri, 7 Apr 2023 16:22:56 +0200 (CEST) Date: Fri, 7 Apr 2023 16:22:55 +0200 From: Julien Cigar To: Matthew Seaman Cc: questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Message-ID: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6vpax2y2x2t6akpp" Content-Disposition: inline In-Reply-To: X-Spamd-Result: default: False [-4.33 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.83)[-0.826]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[julien@perdition.city,SRS0=9/qU=76=perdition.city=julien@bebif.be]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; RCVD_NO_TLS_LAST(0.10)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE]; MLMMJ_DEST(0.00)[questions@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; DMARC_NA(0.00)[perdition.city]; TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[julien@perdition.city,SRS0=9/qU=76=perdition.city=julien@bebif.be]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PtLDw5Fwpz3q9N X-Spamd-Bar: ---- X-ThisMailContainsUnwantedMimeParts: N --6vpax2y2x2t6akpp Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 07, 2023 at 04:09:42PM +0200, Julien Cigar wrote: > On Fri, Apr 07, 2023 at 03:04:13PM +0100, Matthew Seaman wrote: > > On 07/04/2023 12:52, Julien Cigar wrote: > > > Hello, > > >=20 > > > I'm building 2023Q2 through Poudriere with: > > > DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11 python=3D3.11 pgsql= =3D13 php=3D8.1 > > >=20 > > > I'm getting tons of "Ignored: Unknown flavor 'py39', possible flavors: > > > py311" (see (1)) for my Python ports (I didn't specified any flavor > > > @pyxx) > > >=20 > > > I don't understand why: > > > - Why does Poudriere tries to build @py39 flavor by default when 3.11= is the > > > default? > > > - Why py39 flavor is unknown althoug the default Python version for > > > 2023Q2 is 3.9? > >=20 > > Do you have: > >=20 > > BUILD_ALL_PYTHON_FLAVORS=3D yes >=20 > no, I don't remember having read something about this knob.. is it > documented somewhere? with BUILD_ALL_PYTHON_FLAVORS=3D yes Poudriere builds the py39 flavours of the packages (although the default version is 3.11) if no flavour is specified for a port. So it looks like I have to @py311 all my Python ports if I'm having a DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11 pyt= hon=3D3.11 >=20 > >=20 > > set in a make.conf file anywhere that poudriere could read? ie. somewhe= re > > under /usr/local/etc/poudriere.d ? > >=20 > > Equivalently some ports have a > >=20 > > USE_PYTHON=3D allflavors > >=20 > > setting which produces the same effect for just that port. There's only > > about a dozen ports that do that in the whole tree, but they include so= me > > really commonly used ones like py-setuptools. > >=20 > > Either of those settings means poudriere will default to building modul= es > > for all python versions from 3.7 to 3.11 that are supported by the modu= le. > >=20 > > If you only want version 3.11 of some modules, then you can add @3.11 t= o an > > individual port's path in the list you specify, and only that flavour w= ill > > be built. > >=20 > > Note that if a port is not specified explicitly in your list of ports to > > build, but is automatically bought in to resolve dependencies for some = other > > port, then it effectively has the @3.11 thing built in, even if the por= t has > > USE_PYTHON=3Dallflavors set. > >=20 > > I don't see how you are getting "Unknown flavor 'py39'" though. That m= eans > > some port has somehow ended up with a dependency on eg. net/py-pysocks@= py39 > > which shouldn't happen. Are you using a modified ports tree eg. with > > overlaid or locally modified ports? >=20 > no, it's the pristine clone of the 2023Q2 branch through git >=20 > >=20 > > Cheers, > >=20 > > Matthew > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 >=20 >=20 >=20 >=20 > --=20 > Julien Cigar > Belgian Biodiversity Platform (http://www.biodiversity.be) > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --6vpax2y2x2t6akpp Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwJz8ACgkQCLYqJMpB HmmXOA//ZZHRuRkHTY+2cQJoLsY9pfwKek4eFWKfti4/qMFCHfM4ax+brywwDXqu 9Ai10COn5QZ7VstD+J8qj6hHBquObNQ7DBtOXHCSbuQ+w3oo6pk7k52D+8ynXFa2 gca26YA2pDuUcGOX6w9VNtujF9dxLGIHtiseuQ1MsVBS5dV1sN9EbGAHWnxUhrUK KY2Y3RiCkDiVX7q/td2PF7LOSXnZG2cOves2/kK3AYuMkA4DUzwxQ+8EXOJJwZZ7 sOCRPoTMgpk8PUPsX6G/KNWyjFZkuI02m3LkYjzRdHKIYiovii2YYvgyllBbGzmS 6gTYDHrS0VlnCeFjjsapXovKMjXgtK4QVRrOaPynpZZWg2DirnmgbDCVUauXzv8q u3MDKOkw5GEZPYTiS3/cZqnAV0DJoiAt04K8CJluSYd1/l/ZxmXWNBKenPDK+iFQ gY0KneWBJ8NAc3HE+eWtYd0Wn/CBKuFzjyvrlPgdlNsm6Qtf+BsoqKTjNPdajB4i UK7zU97H5LDcHwccPg1LXY1fnFOoyA5NuVNDaIecRSDOmovG5HWl7iSj18kcwiLj mYeYpasu2XR8BJ1M7wFANjIByGVIEjM1L30uIXEh096jZvdE3g1hExEj1iXEWXgY Zf1DSN7DQk6GN6V+mikMMy70ndKbcaop+d44ZNNwjh/TATpn6cY= =WAg2 -----END PGP SIGNATURE----- --6vpax2y2x2t6akpp-- From nobody Fri Apr 7 14:26:55 2023 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 4PtLKZ2qf1z44hLN for ; Fri, 7 Apr 2023 14:26:58 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (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 4PtLKZ0T1nz3y14 for ; Fri, 7 Apr 2023 14:26:58 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Authentication-Results: mx1.freebsd.org; none Received: from ravel.localnet (unknown [90.118.140.172]) (Authenticated sender: olivier.freebsd@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id AEDC52003DA; Fri, 7 Apr 2023 16:26:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1680877616; bh=MHNpkIu71rH+abZRhz2ELRVDNIIKXR6xhFkcv+lgnf4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ABbVKWOKBHrxoMyXHGiuaOTHZRKz8o1MnAaPa+8k8eyJuODPvmcXxysXs9eF0nXJX KRxb75GiqnXfRepNt8xqObGmcb/evMgBfoAMKbeSmXmfpMcn2I9QxlotErJNyDy69a +Gdnx9uQiUjoLTqIFAR+5AGxPoTBRyaw2Xd4eDLctwCFaWjKGrQQXeJC7ur+TBaNIy O8db4luzPHbKgterfh46hJrPGQytoPFBSvBNAxQPlSgADtAdcdA7zeYrwpiET/uhos slmg1TEcFMYpoOWF0CcvpRSZM7UytNpWr9YDmwNM4tybD7anHW/cTw1Lm6YJJu+Jnx A42ZUpysJSeow== From: Olivier Certner To: Julien Cigar Cc: questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Date: Fri, 07 Apr 2023 16:26:55 +0200 Message-ID: <2187630.8h9vi1sBED@ravel> In-Reply-To: <347y3d6okbkbd5r67ykxyfyxhjfrajsykpzygswtmesghugwo6@rvws5u4jtwtz> References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> <2870221.hLbyOCDNA1@ravel> <347y3d6okbkbd5r67ykxyfyxhjfrajsykpzygswtmesghugwo6@rvws5u4jtwtz> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4PtLKZ0T1nz3y14 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12322, ipnet:212.27.32.0/19, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > Is this BUILD_ALL_PYTHON_FLAVORS documented somewhere? Not that I know of. It's not mentioned in ports(7), nor the Porters Handbook. Experienced gained a long time ago while changing default Python versions from the sources of the port machinery. See Uses/python.mk. Regards. -- Olivier Certner From nobody Fri Apr 7 14:36:16 2023 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 4PtLXV3lpRz44j9v for ; Fri, 7 Apr 2023 14:36:26 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [IPv6:2a01:e0c:1:1599::11]) (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 4PtLXV19C7z4K3Q; Fri, 7 Apr 2023 14:36:26 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Authentication-Results: mx1.freebsd.org; none Received: from ravel.localnet (unknown [90.118.140.172]) (Authenticated sender: olivier.freebsd@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 346D920042B; Fri, 7 Apr 2023 16:36:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1680878179; bh=6YW8ln5YmC60h22M5KinD9ymwGzzkqOexePZ3LH5uy0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qybLrGadzlP9RyPVVKkMVuhX0QuY7ZtIA/aP+jU/7Yme7MmigyRDPMBc7qT+R5h14 +XXqQzo7K/D7i6UK8EUmDdU6G0SKn2Afz/PY1eGysK1V+hMf91LZrOPyp8mr+pYwAa 2JL1WEqjUQA1xV77c6INwt88o+rCTmsFsA0pfZgL8Tg7ixB8FuH01+fFrvsMUSnoUd iWxk40Y/vkYCZh8TDHMFJavCbwRNAiiWJfSLwk7naCbTdUTaRrsubdI6WBrJJ7X5d6 LVHw4eiddLculrPSnJxjXbJxCOxtteP6Q2oZjxGAKMR7gPS/Ltt1X8a41L2/LzRIMo FCDjdgLMRn6vw== From: Olivier Certner To: Julien Cigar Cc: Matthew Seaman , questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Date: Fri, 07 Apr 2023 16:36:16 +0200 Message-ID: <2210609.NtcAQq7lVP@ravel> In-Reply-To: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4PtLXV19C7z4K3Q X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12322, ipnet:2a01:e00::/26, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > with BUILD_ALL_PYTHON_FLAVORS= yes Poudriere builds the py39 flavours of > the packages (although the default version is 3.11) if no flavour is > specified for a port. So it looks like I have to @py311 all my Python > ports if I'm having a DEFAULT_VERSIONS+= python2=2.7 python3=3.11 python=3.11 Then most probably your 'make.conf' is not taken into account by poudriere. That said, some ports explicitly require Python 3.9 or less (e.g., openjdk11 => llvm12 => python39), but according to what you're saying, this is not the problem you're facing right now. -- Olivier Certner From nobody Fri Apr 7 14:45:10 2023 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 4PtLkc4SG6z43Tj0 for ; Fri, 7 Apr 2023 14:45:12 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Received: from orval.bbpf.belspo.be (orval.bbpf.belspo.be [193.191.208.90]) by mx1.freebsd.org (Postfix) with ESMTP id 4PtLkc2Fxrz3LX5; Fri, 7 Apr 2023 14:45:12 +0000 (UTC) (envelope-from SRS0=9/qU=76=perdition.city=julien@bebif.be) Authentication-Results: mx1.freebsd.org; none Received: from belspo (unknown [10.209.1.137]) by orval.bbpf.belspo.be (Postfix) with ESMTPS id CD64338699; Fri, 7 Apr 2023 16:45:10 +0200 (CEST) Date: Fri, 7 Apr 2023 16:45:10 +0200 From: Julien Cigar To: Olivier Certner Cc: Matthew Seaman , questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Message-ID: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> <2210609.NtcAQq7lVP@ravel> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="z3lkzyxr2dmmnub5" Content-Disposition: inline In-Reply-To: <2210609.NtcAQq7lVP@ravel> X-Rspamd-Queue-Id: 4PtLkc2Fxrz3LX5 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:2611, ipnet:193.191.192.0/19, country:BE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --z3lkzyxr2dmmnub5 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 07, 2023 at 04:36:16PM +0200, Olivier Certner wrote: > > with BUILD_ALL_PYTHON_FLAVORS=3D yes Poudriere builds the py39 flavours= of > > the packages (although the default version is 3.11) if no flavour is > > specified for a port. So it looks like I have to @py311 all my Python > > ports if I'm having a DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11= python=3D3.11 >=20 > Then most probably your 'make.conf' is not taken into account by poudrier= e. It looks like it is taken into account (if I can trust Poudriere output), see (1) (1) https://gist.github.com/silenius/3291e4bb5439a59d7684e9fe9a537ed7 >=20 > That said, some ports explicitly require Python 3.9 or less (e.g., openjd= k11 =3D> llvm12 =3D> python39), but according to what you're saying, this i= s not the problem you're facing right now. >=20 > --=20 > Olivier Certner >=20 >=20 >=20 --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --z3lkzyxr2dmmnub5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmQwLHYACgkQCLYqJMpB HmkPkA//UgwuimmcFnbSrsRN2kCf6kF0p87FyfSKfruF747Fc3niv32dL4PuAbwC VVpLRzFQPfb+UArPLf+YFxQCW+ZRx/U/0vnw4QPLbCHsJvzQa58WlAZuAf/uW72m qj/++fzco06IbtxElerN2mF3pJFSoniPezUIgJyyI6itJmN5VC+veEcqPVZ2O1nF /wgMMnRQJ5o/s8L0Xpezu6cg2qOgkCwniDQ9Pn/607xZM0euGRUkci/SgimCGWUW O/JncheA/ksP99R3YHHqssT407diQA288Py+E4hhMxPmZjqjbHJPjQD8B5XAVoY0 ztcmdy584OkE9oBQWzEVX3bSweCQSHuaLkNWuOoUEsxZxbfu+OfPELxhOQvg9+rQ w37iDbAFUgfVJF71z1d71f9f5uB8TuOkK39/8VEKRWo/8JXK/ERi7p2XR0+hs3fH fj+QwBTeL7tngc4E1jltkOe4ZgByyhBjS9BkaC413uwW+Epz+ll9UR5lzQDn+adF DKs2RUvuImWJ1ErTD2bOWnZrT0tn2Fd8mEsypakWiwNRan7IJzuCLMtLyONzOgA0 8l2WtgAHdt5tZ5AUnwT3/HfKpjl4At6vY0swAcod0X+dKkPXm5zC2A6LWeaxxhWa 3GqQLJujn3WZo9tVcmLLlo5iOYtUD4cx7t6nv4prwb5vMxFTo5o= =nZv4 -----END PGP SIGNATURE----- --z3lkzyxr2dmmnub5-- From nobody Fri Apr 7 17:34:14 2023 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 4PtQV63BLQz43hDT for ; Fri, 7 Apr 2023 17:34:38 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.ipv6.vt.edu [IPv6:2001:468:c80:a103:2:5000:5555:5555]) (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 4PtQV60BwJz3wdV; Fri, 7 Apr 2023 17:34:38 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id D45D2561A9; Fri, 7 Apr 2023 13:34:25 -0400 (EDT) Content-Type: text/plain; charset=us-ascii List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: Poudriere and Python FLAVORS From: Paul Mather In-Reply-To: <2210609.NtcAQq7lVP@ravel> Date: Fri, 7 Apr 2023 13:34:14 -0400 Cc: Julien Cigar , Matthew Seaman , questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <6938F646-19CD-4291-A420-EA48C609D729@gromit.dlib.vt.edu> References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> <2210609.NtcAQq7lVP@ravel> To: Olivier Certner X-Mailer: Apple Mail (2.3731.500.231) X-Rspamd-Queue-Id: 4PtQV60BwJz3wdV X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:1312, ipnet:2001:468:c80::/48, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Apr 7, 2023, at 10:36 AM, Olivier Certner = wrote: >> with BUILD_ALL_PYTHON_FLAVORS=3D yes Poudriere builds the py39 = flavours of >> the packages (although the default version is 3.11) if no flavour is >> specified for a port. So it looks like I have to @py311 all my Python >> ports if I'm having a DEFAULT_VERSIONS+=3D python2=3D2.7 python3=3D3.11= python=3D3.11 >=20 > Then most probably your 'make.conf' is not taken into account by = poudriere. >=20 > That said, some ports explicitly require Python 3.9 or less (e.g., = openjdk11 =3D> llvm12 =3D> python39), but according to what you're = saying, this is not the problem you're facing right now. This was the problem I was running into when trying to build ports = locally with a default Python flavour of 3.10 when the FreeBSD default = was 3.9. For some ports there would be some Python dependency that = explicitly required a <3.10 version of Python. It's my understanding = that when building a Python port of some given flavour, ALL the = dependencies must support building that flavour. In other words, you = can't, say, have a mixture of 3.9 and 3.10 dependent packages installed = to fulfil a working 3.10 Python port: the port and all its dependencies = must be 3.10. Cheers, Paul.= From nobody Fri Apr 7 18:02:58 2023 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 4PtR6t6tbFz43jPC for ; Fri, 7 Apr 2023 18:03:02 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Received: from smtp2-g21.free.fr (smtp2-g21.free.fr [212.27.42.2]) (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 4PtR6t4vNBz3mbD; Fri, 7 Apr 2023 18:03:02 +0000 (UTC) (envelope-from olivier.freebsd@free.fr) Authentication-Results: mx1.freebsd.org; none Received: from ravel.localnet (unknown [90.118.140.172]) (Authenticated sender: olivier.freebsd@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 09A962003EE; Fri, 7 Apr 2023 20:02:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1680890581; bh=YKdj4YgLqLTRAmShCBE5eHV/i5WmEyzhiO8g9qB4gTs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sTXc1P7LyUjxoNHldW3eJU4wFrKKil6OceZbcz17ko0JcOOQCEt43l3s37gd9ne5a seRE1HHtRtkwJ6jhsZZ2phaFpRcukuzZritzX18QKoPCHQIjyAlEQd1iMqcDB2T3lI hSKHul6PAzQaqClGkNGoLmDt1I2Qp4Ywz1EvoKHenBwvTZGHKYfvkhvzEuLKyJvo6S wt7ksyxtdw/cyHGkEOlU4i/2xtyMIWwyQjeKQzCGnFCFuvAaZR+7CHePVm0Fi4s9Tn A/wfb50nCL6EGrGDtOniOlIED0yQ22x9M/6mtB6lSdxBugE+ujE9Op4aHRfaX49GhL n7/USVIPZg80g== From: Olivier Certner To: Julien Cigar Cc: Matthew Seaman , questions@freebsd.org Subject: Re: Poudriere and Python FLAVORS Date: Fri, 07 Apr 2023 20:02:58 +0200 Message-ID: <3161402.uLWQviE3xD@ravel> In-Reply-To: References: <6amrdwe3seijb2qz7xjtbxkrldhkftrrfmsdqh3lopl7e4yx3k@u6bahg4f3s4l> <2210609.NtcAQq7lVP@ravel> List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4PtR6t4vNBz3mbD X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:12322, ipnet:212.27.32.0/19, country:FR] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > It looks like it is taken into account (if I can trust Poudriere output), > see (1) > > (1) https://gist.github.com/silenius/3291e4bb5439a59d7684e9fe9a537ed7 Indeed. You can probably trust the output... What's the content of '/usr/local/etc/poudriere.d/pkglist/server-b_2023Q2', if not too long? Could you try something simpler, such as just replacing '-f ...' with, e.g., 'www/py-requests' (without explicit flavor)? -- Olivier Certner