From owner-freebsd-questions@freebsd.org Sun Feb 28 00:04:20 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFC90558C3E for ; Sun, 28 Feb 2021 00:04:20 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (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 (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dp3Xg4gldz4YxY for ; Sun, 28 Feb 2021 00:04:19 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) 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 ; Sat, 27 Feb 2021 16:04:14 -0800 Subject: Re: Upgrade to FreeBSD 12.2-RELEASE and OSTYPE environment variable To: freebsd-questions@freebsd.org References: <2159cb62-9845-6eca-fc5b-e796b5966536@holgerdanske.com> From: David Christensen Message-ID: <4c5f5fac-8098-a8dc-5c00-2e959892fb7b@holgerdanske.com> Date: Sat, 27 Feb 2021 16:04:13 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <2159cb62-9845-6eca-fc5b-e796b5966536@holgerdanske.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Dp3Xg4gldz4YxY X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-0.51 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[184.105.128.27:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[184.105.128.27:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(0.59)[0.586]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 00:04:20 -0000 On 2/13/21 7:59 PM, David Christensen wrote: > freebsd-questions: > > I am upgrading my FreeBSD 12.1-RELEASE machines to 12.2-RELEASE.  The > upgrade process seemed to go smoothly, but afterwards I noted that the > OSTYPE environment variable still has the old value: > > 2021-02-13 19:56:02 toor@f1 ~ > # freebsd-version ; uname -a > 12.2-RELEASE-p3 > FreeBSD f1.tracy.holgerdanske.com 12.2-RELEASE-p3 FreeBSD > 12.2-RELEASE-p3 GENERIC  amd64 > > 2021-02-13 19:56:11 toor@f1 ~ > # env | grep -i freebsd > OSTYPE=freebsd12.1 > > > Please advise. Apparently, the upgrade did not go as well as I had thought. Running 'freebsd-update upgrade' and/or 'freebsd-update fetch install' produced some additional results. On one machine, I uninstalled Bash and installed Bash again. David From owner-freebsd-questions@freebsd.org Sun Feb 28 07:38:56 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A4298562E3A for ; Sun, 28 Feb 2021 07:38:56 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpg.telissant.net (smtpg.telissant.net [104.225.1.73]) (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 4DpFdC50nqz3G1N for ; Sun, 28 Feb 2021 07:38:55 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from sacada.3dresearch.com (localhost [127.0.0.1]) by smtpg.telissant.net (Postfix) with ESMTP id 4DpFcr4cw1z2D1r7 for ; Sun, 28 Feb 2021 02:38:36 -0500 (EST) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpg.telissant.net ([127.0.0.1]) by sacada.3dresearch.com (sacada.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CwcW2QApzPia for ; Sun, 28 Feb 2021 02:38:36 -0500 (EST) Received: from tugend.3dresearch.com (unknown [71.112.244.82]) (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) (No client certificate requested) (Authenticated sender: tugend@sacada.3dresearch.com) by smtpg.telissant.net (Postfix) with ESMTPSA id 4DpFcr1s2Sz2D1r6 for ; Sun, 28 Feb 2021 02:38:36 -0500 (EST) Received: from tugend.3dresearch.com (localhost [127.0.0.1]) by tugend.3dresearch.com (Postfix) with SMTP id BC5AE1111684 for ; Sun, 28 Feb 2021 02:38:35 -0500 (EST) Date: Sun, 28 Feb 2021 02:38:27 -0500 From: Janos Dohanics To: freebsd-questions@freebsd.org Subject: Panic after updating from source Message-Id: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DpFdC50nqz3G1N X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of web@3dresearch.com designates 104.225.1.73 as permitted sender) smtp.mailfrom=web@3dresearch.com X-Spamd-Result: default: False [-0.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ENVFROM_SERVICE_ACCT(1.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:smtpg.telissant.net]; TO_DN_NONE(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[71.112.244.82:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[104.225.1.73:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36236, ipnet:104.225.1.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[3dresearch.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[104.225.1.73:from:127.0.2.255]; FROM_SERVICE_ACCT(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 07:38:56 -0000 Hello Experts, After updating my FreeBSD 12 workhorse panics on boot. I have updated /usr/src, then make buildworld make buildkernel KERNCONF=MYKERNEL make installkernel KERNCONF=MYKERNEL but after rebooting, kernel panic. Unfortunately, 'boot kernel.old' does not boot either. This system has a single zpool on a 3-way mirror. I have installed an additional hard drive and on that drive installed 12.2-STABLE. Fortunately, I have been able to import the old zpool 'zroot' of the 3-way mirror: # zpool status pool: buffrescue state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM buffrescue ONLINE 0 0 0 ada3p3 ONLINE 0 0 0 errors: No known data errors pool: zroot state: ONLINE status: Some supported features are not enabled on the pool. The pool can still be used, but some features are unavailable. action: Enable all features using 'zpool upgrade'. Once this is done, the pool may no longer be accessible by software that does not support the features. See zpool-features(7) for details. scan: scrub repaired 0 in 0 days 00:36:07 with 0 errors on Wed Sep 18 12:25:53 2019 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada0p3 ONLINE 0 0 0 ada1p3 ONLINE 0 0 0 ada2p3 ONLINE 0 0 0 Also: # gpart status Name Status Components ada0p1 OK ada0 ada0p2 OK ada0 ada0p3 OK ada0 ada1p1 OK ada1 ada1p2 OK ada1 ada1p3 OK ada1 ada2p1 OK ada2 ada2p2 OK ada2 ada2p3 OK ada2 ada3p1 OK ada3 ada3p2 OK ada3 ada3p3 OK ada3 My question is: Is there any way to repair the kernel on the drives of the 3-way mirror? Please advise... -- Janos Dohanics From owner-freebsd-questions@freebsd.org Sat Feb 27 22:35:57 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4EBB1556B1D for ; Sat, 27 Feb 2021 22:35:57 +0000 (UTC) (envelope-from security@lordcow.org) Received: from mail.lordcow.org (lordcow.org [IPv6:2c0f:fb18:402:5::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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "devaux.za.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dp1Zh2nRXz4VJX for ; Sat, 27 Feb 2021 22:35:55 +0000 (UTC) (envelope-from security@lordcow.org) Received: from lordcow.org (localhost [127.0.0.1]) by mail.lordcow.org (8.16.1/8.15.2) with ESMTPS id 11RMZpWZ089636 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sun, 28 Feb 2021 00:35:51 +0200 (SAST) (envelope-from lordcow@lordcow.org) X-Authentication-Warning: lordcow.org: Host localhost [127.0.0.1] claimed to be lordcow.org Received: (from lordcow@localhost) by lordcow.org (8.16.1/8.15.2/Submit) id 11RMZkRR089477 for freebsd-questions@freebsd.org; Sun, 28 Feb 2021 00:35:46 +0200 (SAST) (envelope-from lordcow) Date: Sun, 28 Feb 2021 00:35:46 +0200 From: Gareth de Vaux To: freebsd-questions@freebsd.org Subject: Re: user account disappeared Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lordcow.org X-Rspamd-Queue-Id: 4Dp1Zh2nRXz4VJX X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of security@lordcow.org designates 2c0f:fb18:402:5::2 as permitted sender) smtp.mailfrom=security@lordcow.org X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2c0f:fb18:402:5::2:from]; FREEFALL_USER(0.00)[security]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2c0f:fb18:402:5::2/64:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2c0f:fb18:402:5::2:from:127.0.2.255]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[lordcow.org]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FORGED_SENDER(0.30)[bsd@lordcow.org,security@lordcow.org]; MID_RHS_MATCH_FROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:37199, ipnet:2c0f:fb18::/32, country:ZA]; FROM_NEQ_ENVFROM(0.00)[bsd@lordcow.org,security@lordcow.org]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-Mailman-Approved-At: Sun, 28 Feb 2021 09:30:04 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 22:35:57 -0000 On Sun 2021-02-28 (01:23), Yuri Pankov wrote: > You should remember that authentication generally does NOT use textual > /etc/passwd and /etc/master.passwd directly and rather relies on > /etc/spwd.db database (see pwd_mkdb(8)) -- what is the timestamp on it? > > If it's out of sync, recreate the database using: > > /usr/sbin/pwd_mkdb -p /etc/master.passwd > > If that helps, *why* it is out of sync is the real question. Thanks, I assume that will fix it since the entry is in /etc/*passwd, though I'm worried if I run pwd_mkdb I'll squash some clues, and yes I'm more concerned with why this happened. From owner-freebsd-questions@freebsd.org Sat Feb 27 22:38:21 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5D3D2556B92 for ; Sat, 27 Feb 2021 22:38:21 +0000 (UTC) (envelope-from bsd@lordcow.org) Received: from mail.lordcow.org (lordcow.org [IPv6:2c0f:fb18:402:5::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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "devaux.za.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dp1dR5kljz4V9y for ; Sat, 27 Feb 2021 22:38:19 +0000 (UTC) (envelope-from bsd@lordcow.org) Received: from lordcow.org (localhost [127.0.0.1]) by mail.lordcow.org (8.16.1/8.15.2) with ESMTPS id 11RMcF6P092852 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sun, 28 Feb 2021 00:38:15 +0200 (SAST) (envelope-from lordcow@lordcow.org) X-Authentication-Warning: lordcow.org: Host localhost [127.0.0.1] claimed to be lordcow.org Received: (from lordcow@localhost) by lordcow.org (8.16.1/8.15.2/Submit) id 11RMcA80092802 for freebsd-questions@freebsd.org; Sun, 28 Feb 2021 00:38:10 +0200 (SAST) (envelope-from lordcow) Date: Sun, 28 Feb 2021 00:38:10 +0200 From: Gareth de Vaux To: freebsd-questions@freebsd.org Subject: Re: user account disappeared Message-ID: References: <3a853381-8da5-d520-ce6b-4e193e47396c@holgerdanske.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a853381-8da5-d520-ce6b-4e193e47396c@holgerdanske.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lordcow.org X-Rspamd-Queue-Id: 4Dp1dR5kljz4V9y X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bsd@lordcow.org designates 2c0f:fb18:402:5::2 as permitted sender) smtp.mailfrom=bsd@lordcow.org X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEFALL_USER(0.00)[bsd]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2c0f:fb18:402:5::2:from]; R_SPF_ALLOW(-0.20)[+ip6:2c0f:fb18:402:5::2/64:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2c0f:fb18:402:5::2:from:127.0.2.255]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[lordcow.org]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:37199, ipnet:2c0f:fb18::/32, country:ZA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-Mailman-Approved-At: Sun, 28 Feb 2021 09:30:14 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 22:38:21 -0000 On Sat 2021-02-27 (13:39), David Christensen wrote: > Are you using NIS, LDAP, Kerberos, etc.? Nope. > Is authentication working for root on the console? Via su(1)? Via local > ssh(1)? Via network ssh(1)? Yes root and all other users are fine. Just lostuser has disappeared: # getent passwd lostuser # > Is authentication working for lostuser on the console? Via su(1)? Via > local ssh(1)? Via network ssh(1)? No, though I don't have console access right now. > Is authentication working for other accounts on the console? Via su(1)? > Via local ssh(1)? Via network ssh(1)? Apart from console access yes everything/everyone else is working. /etc/*pwd.db seems out of sync with /etc/*passwd for lostuser. Though they were all touched at the same time when the non-related user's password was changed: # ls -l /etc/*pwd.db /etc/*passwd -rw------- 1 root wheel 4092 Jan 23 12:22 /etc/master.passwd -rw-r--r-- 1 root wheel 2621 Jan 23 12:22 /etc/passwd -rw-r--r-- 1 root wheel 40960 Jan 23 12:22 /etc/pwd.db -rw------- 1 root wheel 40960 Jan 23 12:22 /etc/spwd.db From owner-freebsd-questions@freebsd.org Sat Feb 27 23:49:37 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D359557FB4 for ; Sat, 27 Feb 2021 23:49:37 +0000 (UTC) (envelope-from bsd@lordcow.org) Received: from mail.lordcow.org (lordcow.org [IPv6:2c0f:fb18:402:5::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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "devaux.za.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dp3Cc20V5z4Xyy for ; Sat, 27 Feb 2021 23:49:31 +0000 (UTC) (envelope-from bsd@lordcow.org) Received: from lordcow.org (localhost [127.0.0.1]) by mail.lordcow.org (8.16.1/8.15.2) with ESMTPS id 11RNnKva009865 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sun, 28 Feb 2021 01:49:20 +0200 (SAST) (envelope-from lordcow@lordcow.org) X-Authentication-Warning: lordcow.org: Host localhost [127.0.0.1] claimed to be lordcow.org Received: (from lordcow@localhost) by lordcow.org (8.16.1/8.15.2/Submit) id 11RNnFS8009681 for freebsd-questions@freebsd.org; Sun, 28 Feb 2021 01:49:15 +0200 (SAST) (envelope-from lordcow) Date: Sun, 28 Feb 2021 01:49:15 +0200 From: Gareth de Vaux To: freebsd-questions@freebsd.org Subject: Re: user account disappeared Message-ID: References: <3a853381-8da5-d520-ce6b-4e193e47396c@holgerdanske.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3a853381-8da5-d520-ce6b-4e193e47396c@holgerdanske.com> X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lordcow.org X-Rspamd-Queue-Id: 4Dp3Cc20V5z4Xyy X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bsd@lordcow.org designates 2c0f:fb18:402:5::2 as permitted sender) smtp.mailfrom=bsd@lordcow.org X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEFALL_USER(0.00)[bsd]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2c0f:fb18:402:5::2:from]; R_SPF_ALLOW(-0.20)[+ip6:2c0f:fb18:402:5::2/64:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2c0f:fb18:402:5::2:from:127.0.2.255]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[lordcow.org]; NEURAL_HAM_SHORT(-0.99)[-0.992]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:37199, ipnet:2c0f:fb18::/32, country:ZA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-Mailman-Approved-At: Sun, 28 Feb 2021 09:30:22 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 23:49:37 -0000 On Sat 2021-02-27 (13:39), David Christensen wrote: > Are you using NIS, LDAP, Kerberos, etc.? Nope. > Is authentication working for root on the console? Via su(1)? Via local > ssh(1)? Via network ssh(1)? Yes root and all other users are fine. Just lostuser has disappeared: # getent passwd lostuser # > Is authentication working for lostuser on the console? Via su(1)? Via > local ssh(1)? Via network ssh(1)? No, though I don't have console access right now. > Is authentication working for other accounts on the console? Via su(1)? > Via local ssh(1)? Via network ssh(1)? Apart from console access yes everything/everyone else is working. /etc/*pwd.db seems out of sync with /etc/*passwd for lostuser. Though they were all touched at the same time when the non-related user's password was changed: # ls -l /etc/*pwd.db /etc/*passwd -rw------- 1 root wheel 4092 Jan 23 12:22 /etc/master.passwd -rw-r--r-- 1 root wheel 2621 Jan 23 12:22 /etc/passwd -rw-r--r-- 1 root wheel 40960 Jan 23 12:22 /etc/pwd.db -rw------- 1 root wheel 40960 Jan 23 12:22 /etc/spwd.db From owner-freebsd-questions@freebsd.org Sat Feb 27 23:51:24 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 097BA558309 for ; Sat, 27 Feb 2021 23:51:24 +0000 (UTC) (envelope-from bsd@lordcow.org) Received: from mail.lordcow.org (lordcow.org [IPv6:2c0f:fb18:402:5::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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "devaux.za.net", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dp3Fk6VCnz4Y0Z for ; Sat, 27 Feb 2021 23:51:22 +0000 (UTC) (envelope-from bsd@lordcow.org) Received: from lordcow.org (localhost [127.0.0.1]) by mail.lordcow.org (8.16.1/8.15.2) with ESMTPS id 11RNpHH1015733 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Sun, 28 Feb 2021 01:51:17 +0200 (SAST) (envelope-from lordcow@lordcow.org) X-Authentication-Warning: lordcow.org: Host localhost [127.0.0.1] claimed to be lordcow.org Received: (from lordcow@localhost) by lordcow.org (8.16.1/8.15.2/Submit) id 11RNpBAd015549 for freebsd-questions@freebsd.org; Sun, 28 Feb 2021 01:51:11 +0200 (SAST) (envelope-from lordcow) Date: Sun, 28 Feb 2021 01:51:11 +0200 From: Gareth de Vaux To: freebsd-questions@freebsd.org Subject: Re: user account disappeared Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lordcow.org X-Rspamd-Queue-Id: 4Dp3Fk6VCnz4Y0Z X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bsd@lordcow.org designates 2c0f:fb18:402:5::2 as permitted sender) smtp.mailfrom=bsd@lordcow.org X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FREEFALL_USER(0.00)[bsd]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2c0f:fb18:402:5::2:from]; R_SPF_ALLOW(-0.20)[+ip6:2c0f:fb18:402:5::2/64:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2c0f:fb18:402:5::2:from:127.0.2.255]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_TLS_ALL(0.00)[]; DMARC_NA(0.00)[lordcow.org]; NEURAL_HAM_SHORT(-0.99)[-0.992]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:37199, ipnet:2c0f:fb18::/32, country:ZA]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-Mailman-Approved-At: Sun, 28 Feb 2021 09:30:41 +0000 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2021 23:51:24 -0000 On Sun 2021-02-28 (01:23), Yuri Pankov wrote: > You should remember that authentication generally does NOT use textual > /etc/passwd and /etc/master.passwd directly and rather relies on > /etc/spwd.db database (see pwd_mkdb(8)) -- what is the timestamp on it? > > If it's out of sync, recreate the database using: > > /usr/sbin/pwd_mkdb -p /etc/master.passwd > > If that helps, *why* it is out of sync is the real question. Thanks, I assume that will fix it since the entry is in /etc/*passwd, though I'm worried if I run pwd_mkdb I'll squash some clues, and yes I'm more concerned with why this happened. # ls -l /etc/*pwd.db /etc/*passwd -rw------- 1 root wheel 4092 Jan 23 12:22 /etc/master.passwd -rw-r--r-- 1 root wheel 2621 Jan 23 12:22 /etc/passwd -rw-r--r-- 1 root wheel 40960 Jan 23 12:22 /etc/pwd.db -rw------- 1 root wheel 40960 Jan 23 12:22 /etc/spwd.db From owner-freebsd-questions@freebsd.org Sun Feb 28 15:38:17 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3260A56E7AC for ; Sun, 28 Feb 2021 15:38:17 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpSGJ2jpPz4Sk0 for ; Sun, 28 Feb 2021 15:38:16 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lf1-x132.google.com with SMTP id 18so12846287lff.6 for ; Sun, 28 Feb 2021 07:38:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=OBPvwZJRw4J9Dq0eaHvRdWxJ0MvXIxrwh5vIGfGV37o=; b=G6Z0BOaO2JeTQieCxF2Nzde5lMNYW8pS2gJhjKe/iH1GNysxq7tKxRDXJENzAmelsr gEFhd/ZTj9xkCX8ZUDqaK46oPZP4GkV2xRAC/fJCqdApBUplXmZQ7Lw8QkrZlnATbAZz x5G0aMjvNFNxDVdA/lWeRlPPPPYwKCdwVcG8lTgJHZNH3pmWisrlZoNLoyxozZRZY2c2 7zazcQ8m/SfI3uknPpdrE9ppAuTYA2YFe1jJZdYveREo/9euNEXdvzg4/XxozxU+zDqd 7TFbia5LhYdryJFjiDSLVvW6lA/4BmNMBiiLIBSKe9yBx32BKgSTnlwRxVLEexO/LuFd 77tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=OBPvwZJRw4J9Dq0eaHvRdWxJ0MvXIxrwh5vIGfGV37o=; b=RnbF0jvCJn7suhKjNOD4pUn/UE/5YmBldE0+yp6QpFaclPbaQ6GY3Z+QoobyHqXDhP lJui/LXmbxUQlw1SB4YG85p70KQ3IRSZfFhR5JA0i/v8CZOXhwpnWDf+HiB5QtXmCGa3 4YuObJzoNq4wbJHE5yHJfMLMCCranMa6bvRajKaK2hxOKqnm65YmMG54uKgcc98UZzPd U9pQ5u+bmpHRjK+qE0ORytyaKt0eXKzHDXzBL/sSyPakHZWB6qvRuAzP/MDmmK76rM5d 4Z4IeLx35KxwhAUuXy6eb8APih4HEaSkHR87aPcGb2Iry93/Rw5BL0hH0ydZ/tAemUNv gnnw== X-Gm-Message-State: AOAM531i6/IymdpFNPdP8j17vJ/tN78BzV1bgdTveovpZz13DrWAgtK0 JKSHRmHbb3F06aMC0QaHE2R6VBlWcHcvJuyKyOoozWADhShO+g== X-Google-Smtp-Source: ABdhPJxcaJLmE/1F6nxR4W65SE3Fh2ZPvU1bU9gFIIWTBhogND/MbBP6NQ4UNW9iCha+V4jhfp9xcgVMc8afGg6AJiE= X-Received: by 2002:a05:6512:b1a:: with SMTP id w26mr997683lfu.206.1614526692811; Sun, 28 Feb 2021 07:38:12 -0800 (PST) MIME-Version: 1.0 References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> In-Reply-To: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> From: Michael Sierchio Date: Sun, 28 Feb 2021 07:37:37 -0800 Message-ID: Subject: Re: Panic after updating from source To: FreeBSD Questions X-Rspamd-Queue-Id: 4DpSGJ2jpPz4Sk0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=G6Z0BOaO; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::132) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::132:from:127.0.2.255]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::132:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::132:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 15:38:17 -0000 On Sat, Feb 27, 2021 at 11:39 PM Janos Dohanics wrote: > Hello Experts, > > After updating my FreeBSD 12 workhorse panics on boot. > > I have updated /usr/src, then > > make buildworld > make buildkernel KERNCONF=3DMYKERNEL > make installkernel KERNCONF=3DMYKERNEL make installworld ?! --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Sun Feb 28 15:41:44 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C16A656E760 for ; Sun, 28 Feb 2021 15:41:44 +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 4DpSLH40vJz4Sn5 for ; Sun, 28 Feb 2021 15:41:42 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) 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=ayCICuRns7io7RzlL80zvPf0/eA7hcnyPc7UW54spiQ=; b=HBWdRlxAvtRUnYtWp4ecLDlijD wpiDR3D3nM4T+1GiKMQnYgOxf10wTAfgnRV4IQhuOZuV0kd2GFUE/A4o9P/4m5mUrsCd+32QGez/t h1hLWRWv+l8v9FMVde14/HOkfv/hO5cSPqlSTzKJPTkRfySXgefdXaO5mcHImL33QADolTmlzfkok LrFQF8O60FViykD1pdoUtIdPrHUcjA5ipoTdVT+sBRfZpCsTGfCXozkK+Wp7RInkDwTx38GGSebfT njBTco2NSuLFQq5I2DZIhm7CyjSTcOG6xc1rS7w9vszwDp1cB6j6Tqlnd9bpy3HPHXwZjEkOt4t84 I0gp/krQ==; Received: from 82-71-56-121.dsl.in-addr.zen.co.uk ([82.71.56.121]:28387 helo=curlew.milibyte.co.uk) by cp160176.hpdns.net with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1lGOCI-000IrY-9A for freebsd-questions@freebsd.org; Sun, 28 Feb 2021 15:41:30 +0000 Received: from [127.0.0.1] (helo=curlew.localnet) by curlew.milibyte.co.uk with esmtp (Exim 4.94) (envelope-from ) id 1lGOCH-0001qX-W2 for freebsd-questions@freebsd.org; Sun, 28 Feb 2021 15:41:29 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Subject: Re: Checksum mismatch for e2fsprogs package Date: Sun, 28 Feb 2021 15:41:29 +0000 Message-ID: <1775050.u6MfGjpqfb@curlew> In-Reply-To: <2012261.cYikG52F1y@curlew> References: <2012261.cYikG52F1y@curlew> MIME-Version: 1.0 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: 1lGOCI-000IrY-9A 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: 4DpSLH40vJz4Sn5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=milibyte.co.uk header.s=default header.b=HBWdRlxA; dmarc=none; 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 X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; HAS_X_SOURCE(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[milibyte.co.uk:+]; NEURAL_HAM_SHORT(-1.00)[-0.998]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[91.238.160.176:from]; CTE_CASE(0.50)[]; ASN(0.00)[asn:12703, ipnet:91.238.160.0/22, country:GB]; HAS_X_AS(0.00)[mailpool@milibyte.co.uk]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[milibyte.co.uk:s=default]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.999]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[milibyte.co.uk]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[91.238.160.176:from:127.0.2.255]; HAS_X_GMSV(0.00)[mailpool@milibyte.co.uk]; MID_RHS_NOT_FQDN(0.50)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7Bit X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 15:41:44 -0000 On Wednesday, 24 February 2021 11:45:01 GMT Mike Clarke wrote: > I'm confident there were no checksum errors before I moved /usr/local so > what have I overlooked while making the move? Following my earlier post I've compared results with e2fsprogs on another PC running the same version of FreeBSD and the checksums for all the affected files match on both machines: 10611 819 /usr/local/sbin/e2fsck 10611 819 /usr/local/sbin/fsck.ext2 10611 819 /usr/local/sbin/fsck.ext3 10611 819 /usr/local/sbin/fsck.ext4 But pkg check reports checksum mismatches on only one of the PCs curlew:/root# pkg check -s e2fsprogs Checking e2fsprogs: 0% e2fsprogs-1.46.1: checksum mismatch for /usr/local/sbin/e2fsck e2fsprogs-1.46.1: checksum mismatch for /usr/local/sbin/fsck.ext2 e2fsprogs-1.46.1: checksum mismatch for /usr/local/sbin/fsck.ext3 e2fsprogs-1.46.1: checksum mismatch for /usr/local/sbin/fsck.ext4 e2fsprogs-1.46.1: checksum mismatch for /usr/local/sbin/fsck_ext2fs Checking e2fsprogs: 100% -- Mike Clarke From owner-freebsd-questions@freebsd.org Sun Feb 28 17:03:47 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E0FF953880C for ; Sun, 28 Feb 2021 17:03:47 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpg.telissant.net (smtpg.telissant.net [104.225.1.73]) (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 4DpV8z0LKsz4YdK for ; Sun, 28 Feb 2021 17:03:46 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from sacada.3dresearch.com (localhost [127.0.0.1]) by smtpg.telissant.net (Postfix) with ESMTP id 4DpV8t3SL4z2D1r7 for ; Sun, 28 Feb 2021 12:03:42 -0500 (EST) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpg.telissant.net ([127.0.0.1]) by sacada.3dresearch.com (sacada.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uiuGqwoVK6Kk for ; Sun, 28 Feb 2021 12:03:42 -0500 (EST) Received: from tugend.3dresearch.com (unknown [71.112.244.82]) (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) (No client certificate requested) (Authenticated sender: tugend@sacada.3dresearch.com) by smtpg.telissant.net (Postfix) with ESMTPSA id 4DpV8t15rmz2D1r6 for ; Sun, 28 Feb 2021 12:03:42 -0500 (EST) Received: from tugend.3dresearch.com (localhost [127.0.0.1]) by tugend.3dresearch.com (Postfix) with SMTP id 57CC51111684 for ; Sun, 28 Feb 2021 12:03:41 -0500 (EST) Date: Sun, 28 Feb 2021 12:03:13 -0500 From: Janos Dohanics To: FreeBSD Questions Subject: Re: Panic after updating from source Message-Id: <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> In-Reply-To: References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DpV8z0LKsz4YdK X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of web@3dresearch.com designates 104.225.1.73 as permitted sender) smtp.mailfrom=web@3dresearch.com X-Spamd-Result: default: False [-0.75 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ENVFROM_SERVICE_ACCT(1.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+a:smtpg.telissant.net]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-0.95)[-0.950]; RECEIVED_SPAMHAUS_PBL(0.00)[71.112.244.82:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[104.225.1.73:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36236, ipnet:104.225.1.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[3dresearch.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[104.225.1.73:from:127.0.2.255]; FROM_SERVICE_ACCT(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 17:03:47 -0000 On Sun, 28 Feb 2021 07:37:37 -0800 Michael Sierchio wrote: > On Sat, Feb 27, 2021 at 11:39 PM Janos Dohanics wrote: > > > Hello Experts, > > > > After updating my FreeBSD 12 workhorse panics on boot. > > > > I have updated /usr/src, then > > > > make buildworld > > make buildkernel KERNCONF=MYKERNEL > > make installkernel KERNCONF=MYKERNEL > > > make installworld ?! You have to reboot with the new kernel before executing 'make installworld'. I wish I could boot it... -- Janos Dohanics From owner-freebsd-questions@freebsd.org Sun Feb 28 18:02:00 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 781A353A5DE for ; Sun, 28 Feb 2021 18:02:00 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpWS70Rqwz4cd6 for ; Sun, 28 Feb 2021 18:01:58 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 11SI1dhh010653 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 28 Feb 2021 12:01:40 -0600 (CST) (envelope-from tundra@tundraware.com) To: FreeBSD Mailing List From: Tim Daneliuk Subject: Somewhat OT: Mail Relay Services Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> Date: Sun, 28 Feb 2021 12:01:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Sun, 28 Feb 2021 12:01:40 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 11SI1dhh010653 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.9, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DpWS70Rqwz4cd6 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 45.55.60.57 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[45.55.60.57:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[45.55.60.57:from:127.0.2.255]; DMARC_NA(0.00)[tundraware.com]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.32.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 18:02:00 -0000 For many years, I've run a mail system built on FreeBSD for my own small business. It's been as flawless as any mail server ever can be, requiring only periodic maintenance and updates. The primary server runs in a 3rd party cloud environment. We are starting to see parts of their network blacklisted by the various UCE blackholing services. Unfortunately, they don't just blackhole a single IP, but an entire subnet at a time, which catches us in the mix. The big mail hubs like outlook.com no longer have a mechanism for removing the block for a single ip and kick you back to your ISP or hosting provider for resolution. So ... we are contemplating using a smart host to do all our outbound email for us via relays from our own mail servers. Presumably, such a smart host would be better equipped to deal with bad blacklisting and delivery issues. So ... does anyone have experience or recommendations as to who would be a good provider for a low volume, small business mail relay? From owner-freebsd-questions@freebsd.org Sun Feb 28 18:04:52 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0574553AC4F for ; Sun, 28 Feb 2021 18:04:52 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpWWR2H3lz4dZv for ; Sun, 28 Feb 2021 18:04:51 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lj1-x22d.google.com with SMTP id q14so16722418ljp.4 for ; Sun, 28 Feb 2021 10:04:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6hyP7XwCyYgjG/E1E24V1xztgGd2QXhaO8REXH0pOIM=; b=FX6SQUkF2AW5QDZCEaxnfLktP5r6p5APAW2thKbD026z4a9yxRY8Oj4Xh5w5azAdmM nCQrRpHbsj8nw9jgHjpPauaEH+KoydtYMnNzlKOVixmZ/dfKBr4GV56XlE6yIzUtiQQ5 TR4RdtKzMiwfPOQ4Bz6ehTbEQIibU5tu/7VLcndAuX6+llN/kmotBnvwfIRU67cvR4OC vl1Dyfo+0mMmHfNmoLSD6zyWLRIFRzdkrqK/UDNAD9wJDBGfBfsIOa/skrYp0rxw/JXT AB6H+oFY6HAUyB+fN5/a7zim8DIOCJBQyP8iouHcohGQCUfuMZMKoBBWidcdccKhGUXc Ufzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6hyP7XwCyYgjG/E1E24V1xztgGd2QXhaO8REXH0pOIM=; b=KbqKNdb45Sefj/eUxh4FVOl9thH+1rD7Uuc02EAVe9YRoch8yEqZI94oiY/ULELo3r rZKAlP3/CFuZ2cjY4JhRrl5ecqwhrrmndPUG+YcFQACPs3zmNCZppZqRQz7MDz0O7Lke DCdze3ZoT+fzVv+NHXPK1BGoOu2M/wtRX5FQjcmEr2DUMlwoBO73MjufejmAYPuVosi0 jRnM06Hc9+ukXoG3oZQN9lLIFHMTw1B9Og4H2NKZCpI36BOtK1eJQVwGOdhBdMzaTfb6 k6Oio83qexHcMrvnvrFNhr7CFs6ptE+ICJ6j+7ayHZ8+OohK8wsTHpLkPzi8IXXGn8Vp nCvA== X-Gm-Message-State: AOAM530Jbta/lf3HOjm98eaMQV66KA/xNfiExFQEBPAJSHSon9ZsDnYS b0zlPWSQAqUkvyWjIF6ZZxxpU7pHn57p+ESCOjGW46U8Oqh9/g== X-Google-Smtp-Source: ABdhPJz9K4yJh8qCeymLc79McffXIA90xqD3LA+8YevyfQXjSeE5kEa6FevFx3W/Ni23YYNspA8vgogD2HP/nk5sQkI= X-Received: by 2002:a2e:8691:: with SMTP id l17mr7161964lji.297.1614535488864; Sun, 28 Feb 2021 10:04:48 -0800 (PST) MIME-Version: 1.0 References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> In-Reply-To: <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> From: Michael Sierchio Date: Sun, 28 Feb 2021 10:04:13 -0800 Message-ID: Subject: Re: Panic after updating from source To: Janos Dohanics Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4DpWWR2H3lz4dZv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=FX6SQUkF; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::22d) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::22d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22d:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::22d:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 18:04:52 -0000 On Sun, Feb 28, 2021 at 9:04 AM Janos Dohanics wrote: > On Sun, 28 Feb 2021 07:37:37 -0800 > Michael Sierchio wrote: > > > On Sat, Feb 27, 2021 at 11:39 PM Janos Dohanics > wrote: > > > > > Hello Experts, > > > > > > After updating my FreeBSD 12 workhorse panics on boot. > > > > > > I have updated /usr/src, then > > > > > > make buildworld > > > make buildkernel KERNCONF=3DMYKERNEL > > > make installkernel KERNCONF=3DMYKERNEL > > > > > > make installworld ?! > > You have to reboot with the new kernel before executing 'make > installworld'. > > That's not strictly factual. In fact, if you don't installworld before booting, you can have a mismatch between userland and kernel interfaces. make buildworld && make kernel && make installworld && reboot that always works for me when following a -STABLE branch. --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Sun Feb 28 18:25:55 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 063AE53BA19 for ; Sun, 28 Feb 2021 18:25:55 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) Received: from outbound1b.ore.mailhop.org (outbound1b.ore.mailhop.org [54.200.247.200]) (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 4DpWzj5vHQz4fl4 for ; Sun, 28 Feb 2021 18:25:53 +0000 (UTC) (envelope-from matt@gsicomp.on.ca) ARC-Seal: i=1; a=rsa-sha256; t=1614536752; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=wFKpLKvix60mQ+XRrzMfSRxn7ScbXibCSGu5KHAg4ucJeOBbflk2VQhbT1p/Xa8Ue8bcuPdiwHmz5 Vrbui7ewL+hZ2JoQ+CYMbmq+DCMu6uEwGf8ZlMtvd6V5X4nxMMplmRuiCpFvek3ofyjIvVWdK2N3AB ADokuYIeKeFFo//UIo+hdDm9H6IlFcXRpPsc2h7Dsit0/wZYXy2cklcAR6tCXi47I1FNNIHQ4/pBKv x76V1LfTtnyChNsBFxNj6J/hSFGXzB/QuqOjwe1M5WWjCVR6hLn1LAax+xelF/usxBPE2yfljGKZ2r LTvBT0Gb3oE2HYpVnqqGRdnxXQNw11w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:content-type:mime-version:message-id:date:subject: in-reply-to:references:to:from:dkim-signature:dkim-signature:from; bh=rlYDBua4scVoIqLcn7/NHjLDN5lOEYp6evwF7S8gEdY=; b=ofruOdAijMFrZutA/LLyFxpfAjXu8vQoq8qnwjLWFD0uFW9buE4lNk+Pb1q7AYDT5DKyLOqK/h86d FA0cZkoOmKLIUS4uG9+cXhQI9SiEhMrR0Rr+N6CW6qiUUmQnGDgh6S/F3vlkg8PMZ62rHC0qfAjbq0 zMZ2gw/ck7kCmv76FRGbj/MxPOsCgZ58/+IvS8IWG6joDDF4T6vXHhp3i8WstJVeOTUPiPRhjIvdrw 1nexnJ7z6aX8dEZlGKg+snpExpiR619E6uGlTA4AOYrn76WR0Gdg4uUMJ5CxRTIGjXKfWndbuk18WM nFz3MPOW/AmD6UMr2a336oSXHmH5JpQ== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=pass smtp.mailfrom=gsicomp.on.ca smtp.remote-ip=162.243.98.91; dmarc=none header.from=gsicomp.on.ca; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gsicomp.on.ca; s=duo-1597798936401-95ae6877; h=content-transfer-encoding:content-type:mime-version:message-id:date:subject: in-reply-to:references:to:from:from; bh=rlYDBua4scVoIqLcn7/NHjLDN5lOEYp6evwF7S8gEdY=; b=hW9GyWjw5GYnNbAqZxHnoR5WDN205pgX5ShF5pI0eOhxH1mK1rYfiAc0hMvGo/dK0NIFPManZ0yp2 nGSYLyTCmcsBk/Zq+vnZNYd4S3/FHfUWZ+B8przlg40+MfwE3lY9O5HcAj+nqx7YPGkn9Aq6MaOiFj G78zGxoRi3Uu0LrU= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:content-type:mime-version:message-id:date:subject: in-reply-to:references:to:from:from; bh=rlYDBua4scVoIqLcn7/NHjLDN5lOEYp6evwF7S8gEdY=; b=KtSX1RrKGVpNzMG0gZaFcsqQSfqTNDlMmr1hwN0C+d8XVd1lQ9QbZ0+d/w2S/rSJS5Z59KigU+VYg o5SHYxVQF71NY0YQICQJiqIWo4cig14GZaNIedCd7xwO0qEU7HQVGoabkX7kh3InVU6ygBcEwqBlxh eOzERvj/gYdBE6nPMEGstD2TVp94WqKvQv4Zvw4GRm7SqefARuRBZ8EWBM7x0W80b7P64LOkCBFVWv fLpDB4E+FUk7zjAu+zhLfOiGXc7CAp5b+5szf50lPv5MCdbfnpdfQXauLWDHnyoCyW98pyF9l7Yza1 0FvpiD+oMrFFmV6SQzvvBBwKB3PYQ7A== X-Originating-IP: 162.243.98.91 X-MHO-RoutePath: bWVtbWVydG8= X-MHO-User: 62639033-79f2-11eb-a30d-bf9d68d023b6 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from mail.salamander.gsicomp.on.ca (salamander.gsicomp.on.ca [162.243.98.91]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id 62639033-79f2-11eb-a30d-bf9d68d023b6; Sun, 28 Feb 2021 18:25:51 +0000 (UTC) Received: by mail.salamander.gsicomp.on.ca (Postfix, from userid 2000) id 4126D40246; Sun, 28 Feb 2021 13:25:50 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on salamander.gsicomp.on.ca X-Spam-Level: X-Spam-Status: No, score=-2.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 Received: from BOISE (dhcp-108-168-19-149.cable.user.start.ca [108.168.19.149]) by mail.salamander.gsicomp.on.ca (Postfix) with ESMTPA id B9D2A40243; Sun, 28 Feb 2021 13:25:49 -0500 (EST) From: To: "'Tim Daneliuk'" , "'FreeBSD Mailing List'" References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> In-Reply-To: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> Subject: RE: Somewhat OT: Mail Relay Services Date: Sun, 28 Feb 2021 13:25:49 -0500 Message-ID: <000001d70dff$23f1cdf0$6bd569d0$@gsicomp.on.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQEK0INNBckEmKf2KbYLVyRmtH8sdawGWcqg Content-Language: en-ca X-Rspamd-Queue-Id: 4DpWzj5vHQz4fl4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gsicomp.on.ca header.s=duo-1597798936401-95ae6877 header.b=hW9GyWjw; dkim=pass header.d=outbound.mailhop.org header.s=dkim-high header.b=KtSX1RrK; arc=pass (outbound.mailhop.org:s=arc-outbound20181012:i=1); dmarc=none; spf=pass (mx1.freebsd.org: domain of matt@gsicomp.on.ca designates 54.200.247.200 as permitted sender) smtp.mailfrom=matt@gsicomp.on.ca X-Spamd-Result: default: False [-4.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:54.200.247.200]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gsicomp.on.ca:+,outbound.mailhop.org:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[54.200.247.200:from]; ASN(0.00)[asn:16509, ipnet:54.200.0.0/15, country:US]; MIME_TRACE(0.00)[0:+]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[outbound.mailhop.org:s=arc-outbound20181012:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gsicomp.on.ca:s=duo-1597798936401-95ae6877,outbound.mailhop.org:s=dkim-high]; FREEFALL_USER(0.00)[matt]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gsicomp.on.ca]; SPAMHAUS_ZRD(0.00)[54.200.247.200:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[54.200.247.200:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 18:25:55 -0000 >> So ... does anyone have experience or recommendations as to who would be a good provider for a low volume, small business mail relay? I faced this exact same problem last year with my personal server, as well as two Plesk-based web hosts that I managed for a local web designer. I investigated "SMTP Relay" services from MailJet and DuoCircle and ultimately settled upon DuoCircle, for these reasons: 1) MailJet brands outgoing emails, which my client did not want. 2) MailJet requires server-side configuration for each domain, whereas DuoCircle was once-and-done (configure SMTP relaying in postfix for the entire server) 3) DuoCircle had a free tier (<1000 messages for month) which was perfect for my personal account (and testing). 4) DuoCircle appeared to have the nicer web management console. This is very useful as it does outbound spam detection, and holds onto spam for a short while so you can properly train it as ham. Like anything to do with email, it's not entirely as simple as it sounds. DuoCircle requires per-domain setup via their UI ("permitted senders"), plus you need to set up SPF and DKIM keys for each domain. This was a hard slog for 100+ domains but has been entirely worth the initial effort and ongoing cost to avoid mail delivery complaints from customers that are entirely beyond my control. Regards, Matt From owner-freebsd-questions@freebsd.org Sun Feb 28 18:37:40 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E98753C1D2 for ; Sun, 28 Feb 2021 18:37:40 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4DpXFH2WMTz4gmp for ; Sun, 28 Feb 2021 18:37:39 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPv6:2607:fb90:17c7:3d97:5001:80ab:de41:f0c6] (unknown [172.58.139.219]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 610EC4E686; Sun, 28 Feb 2021 12:29:41 -0600 (CST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Totally OT comment: Re: Somewhat OT: Mail Relay Services From: Valeri Galtsev In-Reply-To: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> Date: Sun, 28 Feb 2021 12:29:39 -0600 Cc: FreeBSD Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> To: Tim Daneliuk X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4DpXFH2WMTz4gmp X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [4.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.139.219:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.139.219:received]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[128.135.20.70:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 18:37:40 -0000 > On Feb 28, 2021, at 12:01 PM, Tim Daneliuk = wrote: >=20 > For many years, I've run a mail system built on FreeBSD for my own = small business. > It's been as flawless as any mail server ever can be, requiring only = periodic > maintenance and updates. >=20 > The primary server runs in a 3rd party cloud environment. We are = starting to > see parts of their network blacklisted by the various UCE blackholing = services. > Unfortunately, they don't just blackhole a single IP, but an entire = subnet at > a time, which catches us in the mix. >=20 > The big mail hubs like outlook.com no longer have a mechanism for = removing the block > for a single ip and kick you back to your ISP or hosting provider for = resolution. Totally OT comment: For quite some time already I have a feeling that big boys - = gmail/google; microsoft/outlook/office365/hotmail; yahoo=E2=80=A6 - = effectively jacked =E2=80=9Csmall time=E2=80=9D sysadmins out of = providing email service. Tim=E2=80=99s description shows one mechanism = of it. Valeri > So ... we are contemplating using a smart host to do all our outbound = email for us > via relays from our own mail servers. Presumably, such a smart host = would be better > equipped to deal with bad blacklisting and delivery issues. >=20 > So ... does anyone have experience or recommendations as to who would = be a good > provider for a low volume, small business mail relay? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Feb 28 19:17:12 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6C94C53E14D for ; Sun, 28 Feb 2021 19:17:12 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (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 4DpY6v31tXz4lRf for ; Sun, 28 Feb 2021 19:17:11 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id E215C48A22 for ; Sun, 28 Feb 2021 12:17:02 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinyon.org; s=dkim; t=1614539822; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QC4bbJ2wYm71pV4Ik8sxAaj05oFVtAIZL8ZNNp3nX9A=; b=uqtUQ+RYainJ6I4u359kdgedMQXcyNTfZaTVx5EqOY2VPq+ticTGer4T5bKcDTRTdHpkzU aJ7EBzDNVfPnU8KA8cxF+qo9z0YMBXZ5GQ84zancgJRFP6M7Za9NX+Ao/qBwRYuUrF/JK9 RbZ5CQqupk81IxmTk4te+1WLAQM+ID4= Subject: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> From: "Russell L. Carter" Message-ID: Date: Sun, 28 Feb 2021 12:17:02 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.67 X-Rspamd-Server: h2 X-Rspamd-Queue-Id: 4DpY6v31tXz4lRf X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pinyon.org header.s=dkim header.b=uqtUQ+RY; dmarc=none; spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.101.20.170:from:127.0.2.255]; DMARC_NA(0.00)[pinyon.org]; DKIM_TRACE(0.00)[pinyon.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.101.20.170:from]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 19:17:12 -0000 On 2/28/21 11:01 AM, Tim Daneliuk wrote: > For many years, I've run a mail system built on FreeBSD for my own small business. > It's been as flawless as any mail server ever can be, requiring only periodic > maintenance and updates. > > The primary server runs in a 3rd party cloud environment. We are starting to > see parts of their network blacklisted by the various UCE blackholing services. > Unfortunately, they don't just blackhole a single IP, but an entire subnet at > a time, which catches us in the mix. > > The big mail hubs like outlook.com no longer have a mechanism for removing the block > for a single ip and kick you back to your ISP or hosting provider for resolution. > > So ... we are contemplating using a smart host to do all our outbound email for us > via relays from our own mail servers. Presumably, such a smart host would be better > equipped to deal with bad blacklisting and delivery issues. > > So ... does anyone have experience or recommendations as to who would be a good > provider for a low volume, small business mail relay? I'm all ears and appreciative of any pointers on this topic as well. I have been running my own mail servers for two domains for > 20 years. The volume is so low and I try to stay "mainstream" in configuration so I've never been blacklisted (that I know about, I watch). However, my current last mile ISP is centurylink, from whom I lease 5 static ips. And they just up and deleted my ptr records for over a month, and didn't fix it, even after hours on chat, until I shamed them with an analysis on dslreports, showing how their tech support was flat out stupid or lying. It happens, but it made terrified of being reliant on them. So I've decided to put my dovecot+rspamd+postfix system up on some popular VPS. I am leaning toward vultr, haven't had any problems with them for years, but I've never needed to ask them to open port 25, and they require you to ask. But I hadn't thought that my co-tenants might cause me a problem with blacklisted subnets! Anybody know of a successful strategy here? Maintaining your own servers can occasionally be a pain, but I really like managing my own servers exactly how I want them. Thanks, Russell > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Sun Feb 28 19:20:22 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2C3D153E17D for ; Sun, 28 Feb 2021 19:20:22 +0000 (UTC) (envelope-from kudzu@tenebras.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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpYBY23Fnz4l7j for ; Sun, 28 Feb 2021 19:20:21 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lj1-x22e.google.com with SMTP id u18so3236114ljd.3 for ; Sun, 28 Feb 2021 11:20:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=QNKjVCaPO7dDb0lIP2OI8jtDXanpVBfCF5nC89j25PI=; b=wRFCw2PQRACOXSdKs3T71uk/JpP0qr4PiWiu5aE0dH5hpOD52fhcAMvEQHiZ8jKUhb QQNsMWemrjR2WeJAtH0f5Ax4CUwDXABQl5qX0oQK3gB/qu+Y8vhwf9mRrBWPZz0zUov5 EpHto1OF+AFt9kpr10uegPt3BKeT/50IUn6apZob1FjK2sxI1n/E6qHr2Pa9R749HQXo /o4C9nJni1aZwR26HZ2tPlkM4bc1Oq7Dhy/38vUJZblbeUMdKlHjO/e3vUaa35xuncFH cs08P2qbSLG9G0wsjvumMBNTu834VxZeCwvupTzlOzvs53p2SYaKNqlzJyGhJoBeFzi2 CZsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=QNKjVCaPO7dDb0lIP2OI8jtDXanpVBfCF5nC89j25PI=; b=tIlZk0oOHG+bznNYi9stmRLQY06O6+yXJNU2cZakOaHo+w/EpXkFpJRyg2MsmtCyVQ AJSQPDIw1clRTrZnKfljAwOW9abgkn2+uIFPrgNvyKCnlcrrfCtEvw4ZC8VxtrbtGTXa 1F7nXDbK+MLzXYHtWEkz9c49PQ1UrYxmYrayGpwwIBFc4+gJ+5tQfAdh0sPh9D8+0kZO 8HQ2bJU/gYRO/p7LOvLeisyUUIogosIun+Vo4wjqWe/WZDhCkWiJc5gtXjAFD70iRqwF ILlpHHnT+k+pjeLsOg5ccgNUXgkw+bQSUyk4R+Bu3hndyz2hS+wgOIwDIQ/uxbVNMf1P JEFQ== X-Gm-Message-State: AOAM5311266XrHJr45t/1d7V+EuGAs7pGi27ZYpj4AdLNSKDhg00eJO0 z545r316L0qhXGNJN9jiPeSKrjWkWCukS7aiSsngtq7e77DJvkiV X-Google-Smtp-Source: ABdhPJy42VUj9oePk9rLrWA00OEIWm2loW0cshLzXhHCBYJk4ph6i4f8mSuanwxcX3z2ElJcXeb+VlXAoyIm0OwxjCk= X-Received: by 2002:a05:651c:32a:: with SMTP id b10mr7219239ljp.438.1614540019178; Sun, 28 Feb 2021 11:20:19 -0800 (PST) MIME-Version: 1.0 References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> In-Reply-To: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> From: Michael Sierchio Date: Sun, 28 Feb 2021 11:19:43 -0800 Message-ID: Subject: Re: Somewhat OT: Mail Relay Services To: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DpYBY23Fnz4l7j X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=wRFCw2PQ; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::22e) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::22e:from:127.0.2.255]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-1.00)[-0.999]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::22e:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::22e:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 19:20:22 -0000 On Sun, Feb 28, 2021 at 10:02 AM Tim Daneliuk wrote= : > For many years, I've run a mail system built on FreeBSD for my own small = business. > It's been as flawless as any mail server ever can be, requiring only peri= odic > maintenance and updates. Forgive the stupid question, but =E2=80=93 do you have SPF, DKIM, and DMARC? -- "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Sun Feb 28 19:22:40 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 34F7453E8BE for ; Sun, 28 Feb 2021 19:22:40 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpYFC2FnTz4llH for ; Sun, 28 Feb 2021 19:22:39 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 11SJMUeT012645 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 28 Feb 2021 13:22:30 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: <2af27c4e-b4dd-944a-4edb-907ccc9909e2@tundraware.com> Date: Sun, 28 Feb 2021 13:22:24 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Sun, 28 Feb 2021 13:22:30 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 11SJMUeT012645 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DpYFC2FnTz4llH X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 45.55.60.57 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[45.55.60.57:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[45.55.60.57:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[tundraware.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.32.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 19:22:40 -0000 On 2/28/21 1:17 PM, Russell L. Carter wrote: > On 2/28/21 11:01 AM, Tim Daneliuk wrote: >> For many years, I've run a mail system built on FreeBSD for my own small business. >> It's been as flawless as any mail server ever can be, requiring only periodic >> maintenance and updates. >> >> The primary server runs in a 3rd party cloud environment.  We are starting to >> see parts of their network blacklisted by the various UCE blackholing services. >> Unfortunately, they don't just blackhole a single IP, but an entire subnet at >> a time, which catches us in the mix. >> >> The big mail hubs like outlook.com no longer have a mechanism for removing the block >> for a single ip and kick you back to your ISP or hosting provider for resolution. >> >> So ... we are contemplating using a smart host to do all our outbound email for us >> via relays from our own mail servers.  Presumably, such a smart host would be better >> equipped to deal with bad blacklisting and delivery issues. >> >> So ... does anyone have experience or recommendations as to who would be a good >> provider for a low volume, small business mail relay? > > I'm all ears and appreciative of any pointers on this topic as well. > I have been running my own mail servers for two domains for > 20 years. > The volume is so low and I try to stay "mainstream" in configuration > so I've never been blacklisted (that I know about, I watch).  However, > my current last mile ISP is centurylink, from whom I lease 5 static > ips.  And they just up and deleted my ptr records for over a month, > and didn't fix it, even after hours on chat, until I shamed them with > an analysis on dslreports, showing how their tech support was flat > out stupid or lying.  It happens, but it made terrified of being > reliant on them.  So I've decided to put my dovecot+rspamd+postfix > system up on some popular VPS.   I am leaning toward vultr, haven't > had any problems with them for years, but I've never needed to > ask them to open port 25, and they require you to ask. I long ago moved off my last mile ISP and put my mail/dns/http FreeBSD instance on Digital Ocean. Other than the subnet blocking issues, they've been great. I originally chose them because they were the only cost-effective cloud hosting vendor that supported FreeBSD (10.x in those days, but I've done regular source updates since then.) > > But I hadn't thought that my co-tenants might cause me a problem with > blacklisted subnets! The problem is that the cloud hosting companies don't have the resources to play whack-a-mole with every script kiddie or spammer that rents an ephemeral instance to act badly. The big mail routers like outlook, yahoo, hotmail, etc. Are too lazy to list individual IPs so they just block subnets. > > Anybody know of a successful strategy here?  Maintaining your own > servers can occasionally be a pain, but I really like managing my > own servers exactly how I want them. I am playing with Matt's suggestion to use DuoCircle as a smart relay. This looks promising. ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Sun Feb 28 19:23:56 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 89FBB53EA2E for ; Sun, 28 Feb 2021 19:23:56 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4DpYGg5x6yz4lg8 for ; Sun, 28 Feb 2021 19:23:55 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPv6:2607:fb90:17c7:3d97:5001:80ab:de41:f0c6] (unknown [172.58.139.219]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 291374E68E; Sun, 28 Feb 2021 13:23:55 -0600 (CST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Somewhat OT: Mail Relay Services From: Valeri Galtsev In-Reply-To: Date: Sun, 28 Feb 2021 13:23:53 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <808052CB-FE91-4B5C-81ED-B74E5D0CEBB7@kicp.uchicago.edu> References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> To: "Russell L. Carter" X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4DpYGg5x6yz4lg8 X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [8.51 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.139.219:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.139.219:received]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.97)[0.967]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.942]; SPAMHAUS_ZRD(0.00)[128.135.20.70:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 19:23:56 -0000 > On Feb 28, 2021, at 1:17 PM, Russell L. Carter = wrote: >=20 > On 2/28/21 11:01 AM, Tim Daneliuk wrote: >> For many years, I've run a mail system built on FreeBSD for my own = small business. >> It's been as flawless as any mail server ever can be, requiring only = periodic >> maintenance and updates. >> The primary server runs in a 3rd party cloud environment. We are = starting to >> see parts of their network blacklisted by the various UCE blackholing = services. >> Unfortunately, they don't just blackhole a single IP, but an entire = subnet at >> a time, which catches us in the mix. >> The big mail hubs like outlook.com no longer have a mechanism for = removing the block >> for a single ip and kick you back to your ISP or hosting provider for = resolution. >> So ... we are contemplating using a smart host to do all our outbound = email for us >> via relays from our own mail servers. Presumably, such a smart host = would be better >> equipped to deal with bad blacklisting and delivery issues. >> So ... does anyone have experience or recommendations as to who would = be a good >> provider for a low volume, small business mail relay? >=20 > I'm all ears and appreciative of any pointers on this topic as well. > I have been running my own mail servers for two domains for > 20 = years. > The volume is so low and I try to stay "mainstream" in configuration > so I've never been blacklisted (that I know about, I watch). However, > my current last mile ISP is centurylink, from whom I lease 5 static > ips. And they just up and deleted my ptr records for over a month, > and didn't fix it, even after hours on chat, until I shamed them with > an analysis on dslreports, showing how their tech support was flat > out stupid or lying. It happens, but it made terrified of being > reliant on them. So I've decided to put my dovecot+rspamd+postfix > system up on some popular VPS. I am leaning toward vultr, haven't > had any problems with them for years, but I've never needed to > ask them to open port 25, and they require you to ask. >=20 > But I hadn't thought that my co-tenants might cause me a problem with > blacklisted subnets! >=20 > Anybody know of a successful strategy here? Maintaining your own > servers can occasionally be a pain, but I really like managing my > own servers exactly how I want them. And in addition, as someone mentioned good decade ago, it will have to = be subpoena served to you to look into your emails, whereas with email = provider, subpoena will be served to your provider. So, with your own = server you at least will know about this happening. But I do not have my own server (not counting ones I maintain for the = Department at my job place). Valeri > Thanks, > Russell >=20 >=20 >=20 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Feb 28 19:27:25 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A736353EE0A for ; Sun, 28 Feb 2021 19:27:25 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailman.tundraware.com", Issuer "mailman.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpYLh6rX5z4lsS for ; Sun, 28 Feb 2021 19:27:24 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 11SJRG1x012759 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 28 Feb 2021 13:27:16 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: Somewhat OT: Mail Relay Services To: FreeBSD Mailing List References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: <9c982f9c-5988-4994-c416-92aa64746c81@tundraware.com> Date: Sun, 28 Feb 2021 13:27:11 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Sun, 28 Feb 2021 13:27:16 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 11SJRG1x012759 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DpYLh6rX5z4lsS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 45.55.60.57 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[45.55.60.57:from]; R_SPF_ALLOW(-0.20)[+a:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tundraware.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[45.55.60.57:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_RHS_MATCH_FROM(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:14061, ipnet:45.55.32.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 19:27:25 -0000 On 2/28/21 1:19 PM, Michael Sierchio wrote: > Forgive the stupid question, but – do you have > > SPF, DKIM, and DMARC? SPF yes, the others, no. But I don't think this would actually solve my particular problem. A few of the big mail routers are blocking entire IP Subnets because of one Nasty Neighbor within them (or a few). -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Sun Feb 28 19:29:28 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38AB453EDC5 for ; Sun, 28 Feb 2021 19:29:28 +0000 (UTC) (envelope-from freebsd@boosten.org) Received: from smtpq6.tb.mail.iss.as9143.net (smtpq6.tb.mail.iss.as9143.net [212.54.42.169]) (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 4DpYP31Hktz4m89 for ; Sun, 28 Feb 2021 19:29:26 +0000 (UTC) (envelope-from freebsd@boosten.org) Received: from [212.54.42.134] (helo=smtp10.tb.mail.iss.as9143.net) by smtpq6.tb.mail.iss.as9143.net with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGRkq-0000rc-Pr; Sun, 28 Feb 2021 20:29:24 +0100 Received: from 84-25-247-31.cable.dynamic.v4.ziggo.nl ([84.25.247.31] helo=smtp.boosten.org) by smtp10.tb.mail.iss.as9143.net with esmtp (Exim 4.90_1) (envelope-from ) id 1lGRkq-0004Iw-KP; Sun, 28 Feb 2021 20:29:24 +0100 Received: from mailserver.boosten.org (localhost [127.0.0.1]) by smtp.boosten.org (Postfix) with ESMTP id 75F6132DB2; Sun, 28 Feb 2021 20:29:23 +0100 (CET) X-Virus-Scanned: amavisd-new at boosten.org Received: from amon.boosten.org (amon.boosten.org [192.168.13.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.boosten.org (Postfix) with ESMTPSA id 23EC932D52; Sun, 28 Feb 2021 20:29:22 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.10.3 smtp.boosten.org 23EC932D52 From: freebsd@boosten.org Message-Id: <8D8BC388-9CC2-48DC-97C0-CB66979F5F89@boosten.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: Somewhat OT: Mail Relay Services Date: Sun, 28 Feb 2021 20:29:19 +0100 In-Reply-To: Cc: "Russell L. Carter" To: FreeBSD References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-SourceIP: 84.25.247.31 X-Ziggo-spambar: / X-Ziggo-spamscore: 0.0 X-Ziggo-spamreport: CMAE Analysis: v=2.4 cv=RIzQo6u+ c=1 sm=1 tr=0 ts=603bef14 cx=a_exe a=JWBJsaPp29SgP5DpYRBqZw==:17 a=qa6Q16uM49sA:10 a=MNH3Xs1WAAAA:8 a=PgAm8YV8tQ8N3VVRk0YA:9 a=QEXdDO2ut3YA:10 a=NBIb53XK5WdSVWsyYtAA:9 a=ywShBaG9aOsEMdY_:21 a=_W_S_7VecoQA:10 a=UonB23ldxedck0bbwBD5:22 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No X-Rspamd-Queue-Id: 4DpYP31Hktz4m89 X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.42 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:212.54.32.0/19]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[boosten.org:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[boosten.org,reject]; NEURAL_HAM_SHORT(-0.92)[-0.917]; RECEIVED_SPAMHAUS_PBL(0.00)[84.25.247.31:received]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.54.42.169:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:33915, ipnet:212.54.32.0/20, country:NL]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; R_DKIM_ALLOW(-0.20)[boosten.org:s=myselector]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; SPAMHAUS_ZRD(0.00)[212.54.42.169:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_NO_DN(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[212.54.42.169:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.54.42.169:from]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 19:29:28 -0000 > Op 28 feb. 2021, om 20:17 heeft Russell L. Carter = het volgende geschreven: >=20 > Anybody know of a successful strategy here? Maintaining your own > servers can occasionally be a pain, but I really like managing my > own servers exactly how I want them. I relay my outbound email through my ISP=E2=80=99s mailservers (but = having the correct DKIM, DMARC and SPF records), but manage my DNS = myself with GoDaddy. Don=E2=80=99t have fixed IPs, but manage that through DynDNS. Works like charm for several years. Peter =E2=80=94 It never hurts to help=20 - Eek the Cat! From owner-freebsd-questions@freebsd.org Sun Feb 28 19:35:18 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 874CF53F48C for ; Sun, 28 Feb 2021 19:35:18 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4DpYWn3vWCz4mkk for ; Sun, 28 Feb 2021 19:35:17 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [IPv6:2607:fb90:17c7:3d97:5001:80ab:de41:f0c6] (unknown [172.58.139.219]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id E51274E652; Sun, 28 Feb 2021 13:35:16 -0600 (CST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: Somewhat OT: Mail Relay Services From: Valeri Galtsev In-Reply-To: <2af27c4e-b4dd-944a-4edb-907ccc9909e2@tundraware.com> Date: Sun, 28 Feb 2021 13:35:14 -0600 Cc: freebsd-questions@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <961A9522-3E57-45F0-8123-3FF31BF2209F@kicp.uchicago.edu> References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <2af27c4e-b4dd-944a-4edb-907ccc9909e2@tundraware.com> To: Tim Daneliuk X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Rspamd-Queue-Id: 4DpYWn3vWCz4mkk X-Spamd-Bar: ++++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [8.54 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[172.58.139.219:received]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.135.20.70:from]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; ARC_NA(0.00)[]; RECEIVED_SPAMHAUS_XBL(5.00)[172.58.139.219:received]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; NEURAL_SPAM_MEDIUM(0.94)[0.944]; SPAMHAUS_ZRD(0.00)[128.135.20.70:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; R_SPF_NA(0.00)[no SPF record]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,meta]; MAILMAN_DEST(0.00)[freebsd-questions]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 19:35:18 -0000 > On Feb 28, 2021, at 1:22 PM, Tim Daneliuk = wrote: >=20 > On 2/28/21 1:17 PM, Russell L. Carter wrote: >> On 2/28/21 11:01 AM, Tim Daneliuk wrote: >>> For many years, I've run a mail system built on FreeBSD for my own = small business. >>> It's been as flawless as any mail server ever can be, requiring only = periodic >>> maintenance and updates. >>>=20 >>> The primary server runs in a 3rd party cloud environment. We are = starting to >>> see parts of their network blacklisted by the various UCE = blackholing services. >>> Unfortunately, they don't just blackhole a single IP, but an entire = subnet at >>> a time, which catches us in the mix. >>>=20 >>> The big mail hubs like outlook.com no longer have a mechanism for = removing the block >>> for a single ip and kick you back to your ISP or hosting provider = for resolution. >>>=20 >>> So ... we are contemplating using a smart host to do all our = outbound email for us >>> via relays from our own mail servers. Presumably, such a smart host = would be better >>> equipped to deal with bad blacklisting and delivery issues. >>>=20 >>> So ... does anyone have experience or recommendations as to who = would be a good >>> provider for a low volume, small business mail relay? >>=20 >> I'm all ears and appreciative of any pointers on this topic as well. >> I have been running my own mail servers for two domains for > 20 = years. >> The volume is so low and I try to stay "mainstream" in configuration >> so I've never been blacklisted (that I know about, I watch). = However, >> my current last mile ISP is centurylink, from whom I lease 5 static >> ips. And they just up and deleted my ptr records for over a month, >> and didn't fix it, even after hours on chat, until I shamed them with >> an analysis on dslreports, showing how their tech support was flat >> out stupid or lying. It happens, but it made terrified of being >> reliant on them. So I've decided to put my dovecot+rspamd+postfix >> system up on some popular VPS. I am leaning toward vultr, haven't >> had any problems with them for years, but I've never needed to >> ask them to open port 25, and they require you to ask. >=20 > I long ago moved off my last mile ISP and put my mail/dns/http > FreeBSD instance on Digital Ocean. Other than the subnet > blocking issues, they've been great. I originally chose them > because they were the only cost-effective cloud hosting vendor > that supported FreeBSD (10.x in those days, but I've done > regular source updates since then.) >=20 >>=20 >> But I hadn't thought that my co-tenants might cause me a problem with >> blacklisted subnets! >=20 > The problem is that the cloud hosting companies don't have the > resources to play whack-a-mole with every script kiddie or > spammer that rents an ephemeral instance to act badly. The big > mail routers like outlook, yahoo, hotmail, etc. Are too lazy to > list individual IPs so they just block subnets. At some providers majority of tenants have DHCP addresses. Also, some = spammers register =E2=80=9Cfew day, one big spam explosion=E2=80=9D = domains. That is how you give up blocking single IPs, and even class C = networks (x.y.z.0/24). If blocking like that you just decide: is the = owner of IPs such whose whole registered range of IP addresses can be = safely blocked. And after dealing with things this particular way, you acquire solid = opinion that things like barracuda.com are brain-dead technologies. And = you start dealing with spam differently. Valeri >> Anybody know of a successful strategy here? Maintaining your own >> servers can occasionally be a pain, but I really like managing my >> own servers exactly how I want them. > I am playing with Matt's suggestion to use DuoCircle as a smart relay. > This looks promising. >=20 > = --------------------------------------------------------------------------= -- > Tim Daneliuk tundra@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sun Feb 28 21:01:59 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 42C9654B078 for ; Sun, 28 Feb 2021 21:01:59 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from outbound4v.ore.mailhop.org (outbound4v.ore.mailhop.org [44.233.143.45]) (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 4DpbRn66Zkz3CCk for ; Sun, 28 Feb 2021 21:01:57 +0000 (UTC) (envelope-from tundra@tundraware.com) ARC-Seal: i=1; a=rsa-sha256; t=1614546116; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=KOlJGNrVfPwsu/zUwNDSQ1bc7S4Kw44uHCUll/32xW8Itu1Gi63Ltyt5MtEMPKaAX5XmhXaniX+VT uO74JnaGWVo0Kf7OAy7CEk1DowYKusL0gmO3mVdoGZJTpfx4tvYea08PJAPJI4AHIb1if2od9L7Rpw PNtLp7JSSyXSgeU0QM5/PK/6UAOVLDln40O0GDey3VxH6+fl5Gtlys1SqEjtXvdME3WafeU1MaEQaT wkrAAuFxv0GF2uq/lVSuBeBHmTvyW0zT5PQFjLTubIwUHW7CnIDH691f27c84M/pBkE+yxC4rP6svP QKkXxOy2MpLxtMpfWaM0NHpw2BBT4Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:dkim-signature:dkim-signature:from; bh=p3KVK7zDuSYwP7BZ+VSHok+gL8zCIYXHr3R/KJzIoZs=; b=qnl3yoQuNXAemrSYnyclMqB7Jr0W/Yw80Zm1M5mM23Y/1FPU9Yzg2OuTZL9vJW244or8DN9BqR3U9 ac5lGsy0WzkgFKl+1/kTNpafweaRBh4Ev9+O3AnWcTVhmW+MqiOZgCadCPBtePHIEyyygFGDci5zCw Vlu3ai3hgjuxtRLp3HJVmF7MDtTfcJjhNo3w73vhLVxn7fVyht3mNUNZecHTb/v05SPIHBpI25zdBI NRiaa96LHb5PSSuW7vGyGhLsFUzpowHYFqYEJHfDxQ8QSv+ca54jFmg82lptF1AeOKdFoYgcqduuKt Yr11VihrBH6zOHwmx36yZT7dqHMsTOg== ARC-Authentication-Results: i=1; outbound4.ore.mailhop.org; spf=pass smtp.mailfrom=tundraware.com smtp.remote-ip=45.55.60.57; dmarc=none header.from=tundraware.com; arc=none header.oldest-pass=0; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tundraware.com; s=duo-1614540450527-997c40d8; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:from; bh=p3KVK7zDuSYwP7BZ+VSHok+gL8zCIYXHr3R/KJzIoZs=; b=V/06BWcUBFW81mv9Bp1uHxs46P0+QgOpQwo8esE3jhOve2Q6z1KfsK0+et6eVDXOXEa1d+/xgRWGm IHZ7y2Ke/U9xOM8oT8vOVTqxw5d7dVrR3PhHeSOp91mSC/KESSzyBEiN7GUY3u8ITJ8zCcUWRh2f7c 1NtDtU4id+szBx20= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=dkim-high; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:from; bh=p3KVK7zDuSYwP7BZ+VSHok+gL8zCIYXHr3R/KJzIoZs=; b=jb2S9h+CDTYOFG6X4x1BKPl4Vey3Qy2vTwvjdSoVhkF5u7c9CaXDXjGqtnxDg6RxhVSopP63Y1Gu/ niY4ddiMbxQA04wN+CNZr0OmFaMi6NQWF19dcK1Bz2ybO9KAan5UtMiLtFLJ2d7UK5H2Bm8MBautpx W3dSQ5k6SfYy2M7cwgau2VivAA87/pH7I4iWXAGFc2eXAmiEbWrDyR78YqZ80I3FomDl2hbFFpdwyx AZO18kjfQoZdZSAltjFvBe6RcgbtTZzH+O51u8VbwfMNBxa5GUPImy5H2W6YrshOUyYw90tpGUmwC/ VP5gXAOCA0uoSze4sL+tbBC7oxsyF5Q== X-Originating-IP: 45.55.60.57 X-MHO-RoutePath: dHVuZHJhd2FyZQ== X-MHO-User: 2f651caa-7a08-11eb-ad62-59765e228ffb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) by outbound4.ore.mailhop.org (Halon) with ESMTPSA id 2f651caa-7a08-11eb-ad62-59765e228ffb; Sun, 28 Feb 2021 21:01:54 +0000 (UTC) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 11SL1duR017372 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 28 Feb 2021 15:01:39 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: Somewhat OT: Mail Relay Services To: FreeBSD Mailing List References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <000001d70dff$23f1cdf0$6bd569d0$@gsicomp.on.ca> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: Date: Sun, 28 Feb 2021 15:01:34 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <000001d70dff$23f1cdf0$6bd569d0$@gsicomp.on.ca> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Sun, 28 Feb 2021 15:01:39 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 11SL1duR017372 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DpbRn66Zkz3CCk X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tundraware.com header.s=duo-1614540450527-997c40d8 header.b=V/06BWcU; dkim=pass header.d=outbound.mailhop.org header.s=dkim-high header.b=jb2S9h+C; arc=pass (outbound.mailhop.org:s=arc-outbound20181012:i=1); dmarc=none; spf=pass (mx1.freebsd.org: domain of tundra@tundraware.com designates 44.233.143.45 as permitted sender) smtp.mailfrom=tundra@tundraware.com X-Spamd-Result: default: False [-4.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:44.233.143.45]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tundraware.com:+,outbound.mailhop.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[44.233.143.45:from]; ASN(0.00)[asn:16509, ipnet:44.224.0.0/11, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[outbound.mailhop.org:s=arc-outbound20181012:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tundraware.com:s=duo-1614540450527-997c40d8,outbound.mailhop.org:s=dkim-high]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tundraware.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[44.233.143.45:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[44.233.143.45:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 21:01:59 -0000 On 2/28/21 12:25 PM, matt@gsicomp.on.ca wrote: > Like anything to do with email, it's not entirely as simple as it sounds. > DuoCircle requires per-domain setup via their UI ("permitted senders"), plus > you need to set up SPF and DKIM keys for each domain. > This was a hard slog for 100+ domains but has been entirely worth the > initial effort and ongoing cost to avoid mail delivery complaints from > customers that are entirely beyond my control. Thanks Matt (and everynone else who had suggestions) - This seems to work just fine, as evidenced by the headers in this very email. From owner-freebsd-questions@freebsd.org Sun Feb 28 21:05:27 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 51C6754B6D8 for ; Sun, 28 Feb 2021 21:05:27 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (jacobs.geeks.org [204.153.247.1]) (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 4DpbWp4fSLz3CZ3 for ; Sun, 28 Feb 2021 21:05:26 +0000 (UTC) (envelope-from merlyn@geeks.org) Received: from mail.geeks.org (localhost [127.0.0.1]) by after-clamsmtpd.geeks.org (Postfix) with ESMTP id 023294B52 for ; Sun, 28 Feb 2021 15:05:19 -0600 (CST) Received: by mail.geeks.org (Postfix, from userid 1003) id E065D4B51; Sun, 28 Feb 2021 15:05:18 -0600 (CST) Date: Sun, 28 Feb 2021 15:05:18 -0600 From: Doug McIntyre To: freebsd-questions@freebsd.org Subject: Re: Somewhat OT: Mail Relay Services Message-ID: References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4DpbWp4fSLz3CZ3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of merlyn@geeks.org designates 204.153.247.1 as permitted sender) smtp.mailfrom=merlyn@geeks.org X-Spamd-Result: default: False [-3.30 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[204.153.247.1:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[204.153.247.1:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[geeks.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7753, ipnet:204.153.244.0/22, country:US]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 21:05:27 -0000 On Sun, Feb 28, 2021 at 12:17:02PM -0700, Russell L. Carter wrote: > But I hadn't thought that my co-tenants might cause me a problem with > blacklisted subnets! Don't go with OVH, I and many other mailop will just outright block OVH. AWS isn't too bad, but you'll have to jump through some hoops to get their SMTP blocks lifted. I still see some abuse from AWS ranges though. I haven't had a problem with Vultr. Basicly, avoid the cheapest VPS providers, as that is what the SPAMers are targeting. Or the ones that do nothing for abuse reports, but that is mostly OVH, Tencent, some DO. From owner-freebsd-questions@freebsd.org Sun Feb 28 21:27:31 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9395054C623 for ; Sun, 28 Feb 2021 21:27:31 +0000 (UTC) (envelope-from ron@digitalcombine.ca) Received: from hadesmail.canspace.ca (hadesmail.canspace.ca [142.44.129.205]) (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 4Dpc1G2mn5z3DqZ for ; Sun, 28 Feb 2021 21:27:30 +0000 (UTC) (envelope-from ron@digitalcombine.ca) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=digitalcombine.ca; 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=AP9hluRexGhu94nl9CF48/woVBfRQbii/5hSHUKgYB4=; b=YnCsZvosQShrnhoy8wlBVsweAn isxMVUZct11irlxkmjdPuKYTJh3KkJv63UpmMSoJrvQPEuGaqpxGtUjbIS5PanJw1O34eSk4eRHhC 5eHYQkfZYFFCcw6I43mRTCYTvdEbMFl4n1RXMrnEuxIqKHSa0+Seg6pc+YkN0wA8qgThLI7S1Vw4j BTH5v8YvlPaitZz7UPx/DC4/R4s5Zl46m5YpdhgvbeC8iBROQ2aBt53pHwLIiih108mIJraEqkC7G sDUu50GvfubGAcoqZEr+n03HGhWFoJ4O+v1Y9/ghYArSEenMCOJyCcN8gDaw2IXAnjd5d6GP6/PlM Wc1GPsoA==; Received: from static24-89-71-234.r.rev.accesscomm.ca ([24.89.71.234]:35486 helo=[192.168.14.33]) by hades.canspace.ca with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lGTaz-0008SK-TB for freebsd-questions@freebsd.org; Sun, 28 Feb 2021 16:27:22 -0500 To: freebsd-questions@freebsd.org From: Ron Wills Subject: Enlarging FreeBSD Memstick Image Message-ID: <557a5ae2-9728-6304-4a46-3f895a9cd513@digitalcombine.ca> Date: Sun, 28 Feb 2021 15:27:20 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hades.canspace.ca X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - digitalcombine.ca X-Get-Message-Sender-Via: hades.canspace.ca: authenticated_id: ron@digitalcombine.ca X-Authenticated-Sender: hades.canspace.ca: ron@digitalcombine.ca X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4Dpc1G2mn5z3DqZ X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=digitalcombine.ca header.s=default header.b=YnCsZvos; dmarc=none; spf=pass (mx1.freebsd.org: domain of ron@digitalcombine.ca designates 142.44.129.205 as permitted sender) smtp.mailfrom=ron@digitalcombine.ca X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.44.129.205]; HAS_X_SOURCE(0.00)[]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[digitalcombine.ca:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.44.129.205:from]; ASN(0.00)[asn:16276, ipnet:142.44.128.0/17, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(0.00)[ron@digitalcombine.ca]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[digitalcombine.ca:s=default]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[digitalcombine.ca]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[142.44.129.205:from:127.0.2.255]; HAS_X_GMSV(0.00)[ron@digitalcombine.ca]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 21:27:31 -0000 I've taken the FreeBSD memstick image an did a couple little modifications to add a persistent partition that I mount as unionfs's (/etc /usr /var & /root). So far so good. I can bootstrap pkg and install software to the thumb drive and keep wifi configurations and such. Now not only can I install FreeBSD it gives me a very usable live distro. Next step is to bootstrap pkg in the image file itself and have the most common tools I use already installed. First I need to enlarge the image and this is where I'm having problems. $ truncate -s 2G FreeBSD-12.2-RELEASE-amd64-memstick.img $ mdconfig -a -t vnode -f FreeBSD-12.2-RELEASE-amd64-memstick.img -u 0 $ gpart recover md0 $ gpart resize -i 2 md0 Now this is where I'm stuck. The second partition is show 2G but I can seem to resize the filesystem. $ gpart show md0 =>      1  4159568  md0  MBR  (2.0G)         1     1600    1  efi  (800K)      1601  4157968    2  freebsd  [active]  (2.0G) $ growfs /dev/md0s2a growfs: requested size 1.0GB is not larger than the current filesystem size 1.0GB I can't figure out why growfs isn't seeing the new partitions size. From owner-freebsd-questions@freebsd.org Sun Feb 28 23:23:29 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D0DA754F449 for ; Sun, 28 Feb 2021 23:23:29 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (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 4Dpfb42glVz3LbS for ; Sun, 28 Feb 2021 23:23:28 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 71C9548EF0 for ; Sun, 28 Feb 2021 16:23:26 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinyon.org; s=dkim; t=1614554606; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I6KJqAzY/y+vBafv4RFC9puA9y5CzLfC1/ZamZOO+xE=; b=ZwlM6THc0zCO/dfXhx/tmhvBSSvDqhjCssKaYts7cEfvMSn+yCQgOn7d9SIed+hsA7ZAlT cdTPi/3NqVz8DbVfrAixoKpkudMqw6DJ5BTUQjiFxveiSd/Smz25oADWNwXsCnbImVIH92 xGEG5vnpPt6oi1QvzYFQLtIunbBeC4k= Subject: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <000001d70dff$23f1cdf0$6bd569d0$@gsicomp.on.ca> From: "Russell L. Carter" Message-ID: <5f52eebe-46f6-a5ec-e8e6-fde03a3a61d6@pinyon.org> Date: Sun, 28 Feb 2021 16:23:26 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.10 X-Rspamd-Server: h2 X-Rspamd-Queue-Id: 4Dpfb42glVz3LbS X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pinyon.org header.s=dkim header.b=ZwlM6THc; dmarc=none; spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.101.20.170:from:127.0.2.255]; DMARC_NA(0.00)[pinyon.org]; DKIM_TRACE(0.00)[pinyon.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.101.20.170:from]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 23:23:29 -0000 On 2/28/21 2:01 PM, Tim Daneliuk wrote: > On 2/28/21 12:25 PM, matt@gsicomp.on.ca wrote: >> Like anything to do with email, it's not entirely as simple as it sounds. >> DuoCircle requires per-domain setup via their UI ("permitted senders"), plus >> you need to set up SPF and DKIM keys for each domain. >> This was a hard slog for 100+ domains but has been entirely worth the >> initial effort and ongoing cost to avoid mail delivery complaints from >> customers that are entirely beyond my control. > > Thanks Matt (and everynone else who had suggestions) - > > This seems to work just fine, as evidenced by the headers in this > very email. I need to study DuoCircle some more but this: =========================================================== Multiple Delivery Ports Need to get around an ISP restriction or firewall blocking outbound SMTP. We accept message relays on following ports: 24, 25, 26, 587, 2525, 10025, 5252. =========================================================== is *very* enticing. Huh. That seems like it would solve a bunch of problems a VPS outgoing SMTP server might have. I like the authentication options too. I am getting excited to be able to exterminate (almost) centurylink's ability to destroy my online presence. Thanks everyone, this has been a very helpful discussion. Russell > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Sun Feb 28 23:52:57 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5AB9D55058A for ; Sun, 28 Feb 2021 23:52:57 +0000 (UTC) (envelope-from gad@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 4DpgF524Gmz3N8h; Sun, 28 Feb 2021 23:52:57 +0000 (UTC) (envelope-from gad@FreeBSD.org) Received: from [172.16.67.1] (unknown [IPv6:2620:0:2820:2:5163:941c:c7cd:70c0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gad/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 24F2E2C85A; Sun, 28 Feb 2021 23:52:57 +0000 (UTC) (envelope-from gad@FreeBSD.org) From: "Garance A Drosehn" To: "Michael Sierchio" Cc: "Janos Dohanics" , "FreeBSD Questions" Subject: Re: Panic after updating from source Date: Sun, 28 Feb 2021 18:52:55 -0500 X-Mailer: MailMate (1.13.2r5673) Message-ID: In-Reply-To: References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2021 23:52:57 -0000 On 28 Feb 2021, at 13:04, Michael Sierchio wrote: > On Sun, Feb 28, 2021 at 9:04 AM Janos Dohanics wrote: > >> On Sun, 28 Feb 2021 07:37:37 -0800 >> Michael Sierchio wrote: >> >>> On Sat, Feb 27, 2021 at 11:39 PM Janos Dohanics >> wrote: >>> >>>> Hello Experts, >>>> >>>> After updating my FreeBSD 12 workhorse panics on boot. >>>> >>>> I have updated /usr/src, then >>>> >>>> make buildworld >>>> make buildkernel KERNCONF=MYKERNEL >>>> make installkernel KERNCONF=MYKERNEL >>> >>> >>> make installworld ?! >> >> You have to reboot with the new kernel before executing 'make >> installworld'. >> >> > That's not strictly factual. In fact, if you don't installworld before > booting, you can have a mismatch between userland and kernel interfaces. > > make buildworld && make kernel && make installworld && reboot > > that always works for me when following a -STABLE branch. It may happen to work for you many times in a row, until the day it does not work and then you're screwed. The official instructions state that you should always reboot into single-user mode before doing 'make installworld'. The instructions are what they are based on a lot of experience. It is true that if you are someone who rebuilds frequently (so your systems are only a week or two out-of-date), you can probably get away with cutting corners. But don't tell other people to cut corners when you have no idea how up-to-date their system was before they started the upgrade. We have frequently seen people who are furious when their system breaks after they've upgraded from source, and frequently the reason their system broke is that they "got away" with cutting corners for 20 times in a row. And then they hit the first time that they were not able get away with cutting corners. And they always blame us developers when in fact they're not following instructions. To quote from /usr/src/UPDATING: ... Then, carefully follow the full procedure documented below under the heading "To rebuild everything and install it on the current system." Specifically, a reboot is -> required <- after installing the new kernel before installing world. While an installworld normally works -> by accident <- from multiuser after rebooting the proper kernel, there are many cases where this will fail across this upgrade and installworld from single user is required. So, if you're going to say the magic words of "strictly factual", then please quote the actual instructions and not your anecdotal experience. I've been building freebsd for 25 years, and yes I've gotten away with short cuts many times. But I've also had a few times when I've been burned severely by taking those shortcuts. So I always point people at the official instructions, and at least publicly pretend that I always follow them. BTW, VMware-level system snapshots can be very useful things... -- Garance Alistair Drosehn = drosih@rpi.edu Lead Developer @rpi and gad@FreeBSD.org Rensselaer Polytechnic Institute; Troy, NY; USA From owner-freebsd-questions@freebsd.org Mon Mar 1 00:17:49 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3A2F8550F8E for ; Mon, 1 Mar 2021 00:17:49 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (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 4Dpgnm1QYyz3PVL for ; Mon, 1 Mar 2021 00:17:48 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 17552491DD for ; Sun, 28 Feb 2021 17:17:46 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinyon.org; s=dkim; t=1614557866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rLV24JzoFDhOaiW76imhK9RVLJ2RI/+Srfv+kJFd/M8=; b=R+DDX+7CfQGANlBT3G9a3HUvlA4Hx0T1+V5IhcqxET0JPGDUS64NqqNeLAySkxl/68KW+l OyM1amlYodYuZcrn6slSjd9BdS5N0qmOElWJe191PDOsmBANzIFjmdI8ItYGxJ7melZpUg FTTZABcaBjlDlOdvwyav+deX2zi/LGo= Subject: Re: Panic after updating from source To: freebsd-questions@freebsd.org References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> From: "Russell L. Carter" Message-ID: Date: Sun, 28 Feb 2021 17:17:45 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.08 X-Rspamd-Server: h2 X-Rspamd-Queue-Id: 4Dpgnm1QYyz3PVL X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pinyon.org header.s=dkim header.b=R+DDX+7C; dmarc=none; spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-3.49 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.101.20.170:from:127.0.2.255]; DMARC_NA(0.00)[pinyon.org]; DKIM_TRACE(0.00)[pinyon.org:+]; NEURAL_HAM_SHORT(-0.99)[-0.992]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.101.20.170:from]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 00:17:49 -0000 On 2/28/21 4:52 PM, Garance A Drosehn wrote: > On 28 Feb 2021, at 13:04, Michael Sierchio wrote: > >> On Sun, Feb 28, 2021 at 9:04 AM Janos Dohanics wrote: >> >>> On Sun, 28 Feb 2021 07:37:37 -0800 >>> Michael Sierchio wrote: >>> >>>> On Sat, Feb 27, 2021 at 11:39 PM Janos Dohanics >>> wrote: >>>> >>>>> Hello Experts, >>>>> >>>>> After updating my FreeBSD 12 workhorse panics on boot. >>>>> >>>>> I have updated /usr/src, then >>>>> >>>>> make buildworld >>>>> make buildkernel KERNCONF=MYKERNEL >>>>> make installkernel KERNCONF=MYKERNEL >>>> >>>> >>>> make installworld ?! >>> >>> You have to reboot with the new kernel before executing 'make >>> installworld'. >>> >>> >> That's not strictly factual. In fact, if you don't installworld before >> booting, you can have a mismatch between userland and kernel interfaces. >> >> make buildworld && make kernel && make installworld && reboot >> >> that always works for me when following a -STABLE branch. > > It may happen to work for you many times in a row, until the day > it does not work and then you're screwed. The official instructions > state that you should always reboot into single-user mode before > doing 'make installworld'. > > The instructions are what they are based on a lot of experience. > It is true that if you are someone who rebuilds frequently (so your > systems are only a week or two out-of-date), you can probably get > away with cutting corners. But don't tell other people to cut > corners when you have no idea how up-to-date their system was > before they started the upgrade. > > We have frequently seen people who are furious when their system > breaks after they've upgraded from source, and frequently the reason > their system broke is that they "got away" with cutting corners for > 20 times in a row. And then they hit the first time that they were > not able get away with cutting corners. And they always blame us > developers when in fact they're not following instructions. > > To quote from /usr/src/UPDATING: > > ... Then, carefully follow the full procedure documented below > under the heading "To rebuild everything and install it on the > current system." > Specifically, a reboot is -> required <- after installing the > new kernel before installing world. While an installworld > normally works -> by accident <- from multiuser after rebooting > the proper kernel, there are many cases where this will fail > across this upgrade and installworld from single user is > required. > > So, if you're going to say the magic words of "strictly factual", > then please quote the actual instructions and not your anecdotal > experience. > > I've been building freebsd for 25 years, and yes I've gotten away > with short cuts many times. But I've also had a few times when > I've been burned severely by taking those shortcuts. So I always > point people at the official instructions, and at least publicly > pretend that I always follow them. BTW, VMware-level system > snapshots can be very useful things... > I've been building freebsd for 25 years too, though I am not otherwise competent to comment on these details. However I have been for quite some time now curious about how does a big shop like netflix update their apparently nearly current freebsd-current fleet? I only have 5-10 systems and it's still a time hassle to to just NFS installworld+reboot, never mind grab a console in single-user mode on every box as an extra step. They can't possibly be doing that, are they? Whatever they do I'd like to learn how to do, if it's possible. Russell (package the base system, I'm guessing. On linuxen I mainly have debian experience but apt dist-upgrade + reboot has never failed me for maybe 15 years now) From owner-freebsd-questions@freebsd.org Mon Mar 1 00:19:47 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6DA72550F4E for ; Mon, 1 Mar 2021 00:19:47 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from outbound5a.eu.mailhop.org (outbound5a.eu.mailhop.org [3.124.88.253]) (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 4Dpgr21ggNz3PWX for ; Mon, 1 Mar 2021 00:19:45 +0000 (UTC) (envelope-from tundra@tundraware.com) ARC-Seal: i=1; a=rsa-sha256; t=1614557985; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=m0DaitvSwWm4Zxt4Yud2Mq8uMhEu9RAvUmZoNQVf5G4zqUEkZaxprVH9xSjRxRPYlr1aiIiSbBVth b6hCaoU4gsJdDDapQ5K3x4GNff+WkWKD2MQpRlNa2WtKgDfYrHHIDFx1eXsMhGd6EutidUmc06hCjE e/ho4MxV2qqOrt9CykD7rBgzueUEb1KYvEq0pnz32ECFUdzcVgFZ1QlJ1hxbh1xzvUa42K1BDr83Nb NlA5F8QcjigLpW3hg4zPhgCpkaX1tdCCz9NJAfrQg3uxZyxx8V17GhZoouXMNDvx8e0OikXVXbx/yZ HhVQiADMuwlyzzJBGvgj8kpN+vvnazg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:references:to:from:subject:dkim-signature:dkim-signature:from; bh=kq61aQmA5MDmQgL2RlsGK+kiA2sh+w1yfBT2Us9FSLc=; b=tTbtCQf2lyCkAGN1Nh0APC4vahZjuzzI3C5PBe9ysBvDm2o8E620NiigqL0q+aRO+JK9wgiTp/S7h F/IVhFXIsuXga3uMcU+PU1nfpnWvhU7IVesv82+ZKWN6sqnGqqI6lLgO1W/3/ebU6js2Lrrw2FZVli YcLFsFo5jUmWwGVzVvKOIFaCuKeOuBKTzSyWyDjgrMMdrSbr3uZzGRgnnUEpc2qFLtUIOd4U3L/hXS o+C39y89OfgtMdL60zlwZLSWD+g9DNjkc3UxLzFxL19yJeJe3QtKz6mJCCzmbVaprTgMJiXkK7EjvK 2wyPiI/dH0N/a3ZKkVkse9KNspE7TQA== ARC-Authentication-Results: i=1; outbound3.eu.mailhop.org; spf=pass smtp.mailfrom=tundraware.com smtp.remote-ip=45.55.60.57; dmarc=pass header.from=tundraware.com; arc=none header.oldest-pass=0; X-Originating-IP: 45.55.60.57 X-MHO-RoutePath: dHVuZHJhd2FyZQ== X-MHO-User: d1c85f06-7a23-11eb-a3f3-d17a12b91375 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) by outbound3.eu.mailhop.org (Halon) with ESMTPSA id d1c85f06-7a23-11eb-a3f3-d17a12b91375; Mon, 01 Mar 2021 00:19:43 +0000 (UTC) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 1210JXve021128 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 28 Feb 2021 18:19:34 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: Somewhat OT: Mail Relay Services From: Tim Daneliuk To: FreeBSD Mailing List References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <000001d70dff$23f1cdf0$6bd569d0$@gsicomp.on.ca> Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: Date: Sun, 28 Feb 2021 18:19:28 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Sun, 28 Feb 2021 18:19:34 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 1210JXve021128 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4Dpgr21ggNz3PWX X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.98 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:3.124.88.253]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tundraware.com:+,outbound.mailhop.org:+]; DMARC_POLICY_ALLOW(-0.50)[tundraware.com,reject]; NEURAL_HAM_SHORT(-0.98)[-0.976]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[3.124.88.253:from]; ASN(0.00)[asn:16509, ipnet:3.124.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[outbound.mailhop.org:s=arc-outbound20181012:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tundraware.com:s=duo-1614540450527-997c40d8,outbound.mailhop.org:s=dkim-high]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[3.124.88.253:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[3.124.88.253:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 00:19:47 -0000 On 2/28/21 3:01 PM, Tim Daneliuk wrote: > On 2/28/21 12:25 PM, matt@gsicomp.on.ca wrote: >> Like anything to do with email, it's not entirely as simple as it sounds. >> DuoCircle requires per-domain setup via their UI ("permitted senders"), plus >> you need to set up SPF and DKIM keys for each domain. >> This was a hard slog for 100+ domains but has been entirely worth the >> initial effort and ongoing cost to avoid mail delivery complaints from >> customers that are entirely beyond my control. > > Thanks Matt (and everynone else who had suggestions) - > > This seems to work just fine, as evidenced by the headers in this > very email. > The only other thing I have found that I do not like is that DuoCircle appears to keep a copy of every email sent including the body content in their logs. ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Mon Mar 1 00:37:00 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56E2D5518AC for ; Mon, 1 Mar 2021 00:37:00 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DphCv3Y1Wz3QkN for ; Mon, 1 Mar 2021 00:36:59 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 1DF2E49312 for ; Sun, 28 Feb 2021 17:36:58 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinyon.org; s=dkim; t=1614559018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=o1RL8OzBwGUgzT8ZvmYCzFKC8aucmeS7CxL/EyQEj/M=; b=FrJIUpyi2UGjBQWSIILdRgySwmlntcIbeOdqiYLyZBM4S2B+8jbu9GeTmqh5kApxGq64OM DXDGmetht1YaErscVk2wwW7OJP4m7ZbaOJwMkVA+cNjANhls5BSqedCp7A/qmLOfOH8lo4 2tsJ6pynfWCeoL/6qw4zWlcL5FEGvxs= Subject: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <000001d70dff$23f1cdf0$6bd569d0$@gsicomp.on.ca> From: "Russell L. Carter" Message-ID: <0f796363-6444-596e-d3c6-6eaf341f9298@pinyon.org> Date: Sun, 28 Feb 2021 17:36:57 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.05 X-Rspamd-Server: h2 X-Rspamd-Queue-Id: 4DphCv3Y1Wz3QkN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pinyon.org header.s=dkim header.b=FrJIUpyi; dmarc=none; spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.101.20.170:from:127.0.2.255]; DMARC_NA(0.00)[pinyon.org]; DKIM_TRACE(0.00)[pinyon.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.101.20.170:from]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 00:37:00 -0000 On 2/28/21 5:19 PM, Tim Daneliuk via freebsd-questions wrote: > On 2/28/21 3:01 PM, Tim Daneliuk wrote: >> On 2/28/21 12:25 PM, matt@gsicomp.on.ca wrote: >>> Like anything to do with email, it's not entirely as simple as it sounds. >>> DuoCircle requires per-domain setup via their UI ("permitted senders"), plus >>> you need to set up SPF and DKIM keys for each domain. >>> This was a hard slog for 100+ domains but has been entirely worth the >>> initial effort and ongoing cost to avoid mail delivery complaints from >>> customers that are entirely beyond my control. >> >> Thanks Matt (and everynone else who had suggestions) - >> >> This seems to work just fine, as evidenced by the headers in this >> very email. >> > > The only other thing I have found that I do not like is that DuoCircle > appears to keep a copy of every email sent including the body content > in their logs. Oh dear, there's always a catch. This wouldn't be an issue if encrypted body content was a thing but all the time that I had active pgp keys and some savvy correspondents I got, over a few years, maybe a half dozen encrypted bodies. I am inclined to think of it this way: can't trust TLS relays at all, and they're just another relay. At least I can send mail. Am I being naive? Russell > ---------------------------------------------------------------------------- > Tim Daneliuk tundra@tundraware.com > PGP Key: http://www.tundraware.com/PGP/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Mon Mar 1 00:40:05 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 75C55551A3D for ; Mon, 1 Mar 2021 00:40:05 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DphHS4YSXz3QnV for ; Mon, 1 Mar 2021 00:40:04 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Mon, 1 Mar 2021 01:39:56 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1614559196; bh=oOLpc9nKxrP9bEIZdLkYPF40MGR45Oy4uxp0pN7lD40=; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; b=xf2ig/jJYzI+czGAJM+uZF5B3YjwkZAZX+LvDAzJU+XRbVQ+CboqGV1jWv7q0HVmP OGxPq/NkzWNef9tw5NOkvDzPclZW0r5C/LRBlfjC7xUrlqo/gELs807hUJTJ1U+vPW zpjyvtYqb4Q20mJuvC1LSju2gucr33jogiCfrV230YCRz8DfC6CzYnqujyZ2S8RKs+ gVDcz/OONZXHkPCEFuKnjX5/eWZn1/rgTl48b4llPxwKU1MbaRwUnChU45zC+fq6Ua 4WNgxJa07B12KTl+xizFQ6WA8H204vnaSNA9GU/lXMaWt8PSkPeuE4ZX5TfVkR4x02 yw4pj3sxzg6Ag== From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: Enlarging FreeBSD Memstick Image Message-ID: References: <557a5ae2-9728-6304-4a46-3f895a9cd513@digitalcombine.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <557a5ae2-9728-6304-4a46-3f895a9cd513@digitalcombine.ca> X-Rspamd-Queue-Id: 4DphHS4YSXz3QnV X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=xf2ig/jJ; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at X-Spamd-Result: default: False [-3.50 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:240c::25]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[gojira.at]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a01:4f8:13b:240c::25:from:127.0.2.255]; DKIM_TRACE(0.00)[gojira.at:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a01:4f8:13b:240c::25:from]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 00:40:05 -0000 On Sun, Feb 28, 2021 at 03:27:20PM -0600, Ron Wills wrote: > I've taken the FreeBSD memstick image an did a couple little modifications > to add a persistent partition that I mount as unionfs's (/etc /usr /var & > /root). So far so good. I can bootstrap pkg and install software to the > thumb drive and keep wifi configurations and such. Now not only can I > install FreeBSD it gives me a very usable live distro. > > Next step is to bootstrap pkg in the image file itself and have the most > common tools I use already installed. First I need to enlarge the image and > this is where I'm having problems. > > $ truncate -s 2G FreeBSD-12.2-RELEASE-amd64-memstick.img > > $ mdconfig -a -t vnode -f FreeBSD-12.2-RELEASE-amd64-memstick.img -u 0 > > $ gpart recover md0 > > $ gpart resize -i 2 md0 > > Now this is where I'm stuck. The second partition is show 2G but I can seem > to resize the filesystem. > > $ gpart show md0 > => 1 4159568 md0 MBR (2.0G) > 1 1600 1 efi (800K) > 1601 4157968 2 freebsd [active] (2.0G) > > $ growfs /dev/md0s2a > growfs: requested size 1.0GB is not larger than the current filesystem size > 1.0GB > > I can't figure out why growfs isn't seeing the new partitions size. # gpart show md0s2 # gpart resize -i 1 md0s2 # growfs /dev/md0s2a -- Herbert From owner-freebsd-questions@freebsd.org Mon Mar 1 00:41:10 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E44BC551D01 for ; Mon, 1 Mar 2021 00:41:10 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from outbound5d.ore.mailhop.org (outbound5d.ore.mailhop.org [100.20.105.3]) (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 4DphJj5rT8z3QjG for ; Mon, 1 Mar 2021 00:41:09 +0000 (UTC) (envelope-from tundra@tundraware.com) ARC-Seal: i=1; a=rsa-sha256; t=1614559268; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=TNL7lx2q3Z0lT3qE0HeGM1/lA2qN8/IpcZQHo+Q8SNLLwH0fbALR3bG9C07k7uIxku1EAUOqv3Dkd CNjtzDXdZOM6PDzJVXHvesyFLdCU3gmrRtL4FU/n/nP7VXAPODOxjcFgj841IwIkk/+IS+g8KmrwrP Zpk40722F8og0sPZMBaBptJNngMW+TKsRQfMX8TomdqpDMoJsdPClCRFRirybQvlVasM0z9HJLbv96 AMoZf4I9Zpde8tObvCa++UDCcZlST3l97USHDmOM1iCsE93EqvDBI7Ud+eF/Vk6yNIe3t/Jw1Dr64S /gBCoXZW0nNSB8lyGSPQqBVqmOrX5QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:dkim-signature:dkim-signature:from; bh=FC7P0lb90rzGLs2Ig5b7TFHL1T8pqYGbEQmvC/POG7s=; b=Mu6PleIfC4ACOv/nyiKmslQtJTqd+sPiKDpb3g+MR/YRI1FkJR2Ad34jBsaamjTnYWHHk1WpVjRee LCLqtSrVZn97J9O3dL5pYU+YFb1wBJdypy/2QEkqjEQ7TN6rsRt6Wcj+U5vnxkno52teoN/rul2hKS jyQWFSt8HMdvSVvd0Oxn60Kj4dvb9hJXIW38yFEArJsMdnAfJFX6q4zJX3KiH7DFty5hI61gr/ksBx ZHUDgZqg62pCKqH9e64YXjJ/ANrjGgIMRdeBM0HxUQ1rLy1jyK/frGXVwwc2djd/uiU8KLarK3f6s4 03sHA4WRn6i7Gexc7UeAqf5qiXTHLCg== ARC-Authentication-Results: i=1; outbound3.ore.mailhop.org; spf=pass smtp.mailfrom=tundraware.com smtp.remote-ip=45.55.60.57; dmarc=pass header.from=tundraware.com; arc=none header.oldest-pass=0; X-Originating-IP: 45.55.60.57 X-MHO-RoutePath: dHVuZHJhd2FyZQ== X-MHO-User: ce84a76c-7a26-11eb-a30d-bf9d68d023b6 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) by outbound3.ore.mailhop.org (Halon) with ESMTPSA id ce84a76c-7a26-11eb-a30d-bf9d68d023b6; Mon, 01 Mar 2021 00:41:06 +0000 (UTC) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 1210ew4i021573 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sun, 28 Feb 2021 18:40:58 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: Somewhat OT: Mail Relay Services To: FreeBSD Mailing List References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: <1d9e326b-fa8b-f6d7-1cd7-29ba0ec4b470@tundraware.com> Date: Sun, 28 Feb 2021 18:40:53 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Sun, 28 Feb 2021 18:40:58 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 1210ew4i021573 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DphJj5rT8z3QjG X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:100.20.105.3]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tundraware.com:+,outbound.mailhop.org:+]; DMARC_POLICY_ALLOW(-0.50)[tundraware.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[100.20.105.3:from]; ASN(0.00)[asn:16509, ipnet:100.20.0.0/14, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[outbound.mailhop.org:s=arc-outbound20181012:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tundraware.com:s=duo-1614540450527-997c40d8,outbound.mailhop.org:s=dkim-high]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[100.20.105.3:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[100.20.105.3:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 00:41:11 -0000 On 2/28/21 1:19 PM, Michael Sierchio wrote: > Forgive the stupid question, but – do you have > > SPF, DKIM, and DMARC? OK, I have all three in place now but have a followup DMARC question if I may - My DMARC policy is to 'reject'. If I send forged emails from external sites, they do seem to get suppressed. However, if I send a forged email to my own domain, they get through. Is this normal? -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Mon Mar 1 00:58:11 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01A3B5521FA for ; Mon, 1 Mar 2021 00:58:11 +0000 (UTC) (envelope-from ron@digitalcombine.ca) Received: from hadesmail.canspace.ca (hadesmail.canspace.ca [142.44.129.205]) (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 4DphhL0xKSz3hkt for ; Mon, 1 Mar 2021 00:58:09 +0000 (UTC) (envelope-from ron@digitalcombine.ca) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=digitalcombine.ca; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:To:Subject: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=VHjBCJ/asy5637GOv/qZo4upeu5O2CHpYmx9mjsHVNE=; b=swvX8Zz8+cVIxUCMlxRNy17LKV g8Wpu7K+mmeh8hiBYPpNiXBg8M3XBK4tyW3TJqvMviG1kvPr5d5PgO/6qo8vzUyZg/bZllxfoSVJ0 164ExVLfvQJ0AqxPhQro0YrEKgwtlvILlVH6A1oP2qxLDa146pYmXCaCBa/xhPpD+L/OdOFfN7uPu Afj+1jh510yRP6MfaVgcp7AoDeMkzR+hdHAcuH7TlgH+kb2A21uXQc1827lWtDVuYUN1JGcQwentC Non1Y323XR68i2bwtmMFsXL43jzn/+jeAVoOw0Gp6CJdX5Izt6hs+InX/seRjcL5Z11LoPYQTRMkZ VpxmD7nQ==; Received: from static24-89-71-234.r.rev.accesscomm.ca ([24.89.71.234]:41522 helo=[192.168.14.33]) by hades.canspace.ca with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lGWsu-0001AR-7c; Sun, 28 Feb 2021 19:58:05 -0500 Subject: Re: Enlarging FreeBSD Memstick Image To: "Herbert J. Skuhra" , freebsd-questions@freebsd.org References: <557a5ae2-9728-6304-4a46-3f895a9cd513@digitalcombine.ca> From: Ron Wills Message-ID: <9f7aa95e-6c8b-21c4-f589-e8b145e3ae97@digitalcombine.ca> Date: Sun, 28 Feb 2021 18:58:02 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 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-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - hades.canspace.ca X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - digitalcombine.ca X-Get-Message-Sender-Via: hades.canspace.ca: authenticated_id: ron@digitalcombine.ca X-Authenticated-Sender: hades.canspace.ca: ron@digitalcombine.ca X-Source: X-Source-Args: X-Source-Dir: X-Rspamd-Queue-Id: 4DphhL0xKSz3hkt X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=digitalcombine.ca header.s=default header.b=swvX8Zz8; dmarc=none; spf=pass (mx1.freebsd.org: domain of ron@digitalcombine.ca designates 142.44.129.205 as permitted sender) smtp.mailfrom=ron@digitalcombine.ca X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.44.129.205]; HAS_X_SOURCE(0.00)[]; DKIM_TRACE(0.00)[digitalcombine.ca:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; HAS_X_ANTIABUSE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.44.129.205:from]; ASN(0.00)[asn:16276, ipnet:142.44.128.0/17, country:FR]; MID_RHS_MATCH_FROM(0.00)[]; HAS_X_AS(0.00)[ron@digitalcombine.ca]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[digitalcombine.ca:s=default]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[digitalcombine.ca]; SPAMHAUS_ZRD(0.00)[142.44.129.205:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; HAS_X_GMSV(0.00)[ron@digitalcombine.ca]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 00:58:11 -0000 On 2/28/21 6:39 PM, Herbert J. Skuhra wrote: > On Sun, Feb 28, 2021 at 03:27:20PM -0600, Ron Wills wrote: >> I've taken the FreeBSD memstick image an did a couple little modifications >> to add a persistent partition that I mount as unionfs's (/etc /usr /var & >> /root). So far so good. I can bootstrap pkg and install software to the >> thumb drive and keep wifi configurations and such. Now not only can I >> install FreeBSD it gives me a very usable live distro. >> >> Next step is to bootstrap pkg in the image file itself and have the most >> common tools I use already installed. First I need to enlarge the image and >> this is where I'm having problems. >> >> $ truncate -s 2G FreeBSD-12.2-RELEASE-amd64-memstick.img >> >> $ mdconfig -a -t vnode -f FreeBSD-12.2-RELEASE-amd64-memstick.img -u 0 >> >> $ gpart recover md0 >> >> $ gpart resize -i 2 md0 >> >> Now this is where I'm stuck. The second partition is show 2G but I can seem >> to resize the filesystem. >> >> $ gpart show md0 >> =>      1  4159568  md0  MBR  (2.0G) >>         1     1600    1  efi  (800K) >>      1601  4157968    2  freebsd  [active]  (2.0G) >> >> $ growfs /dev/md0s2a >> growfs: requested size 1.0GB is not larger than the current filesystem size >> 1.0GB >> >> I can't figure out why growfs isn't seeing the new partitions size. > # gpart show md0s2 > # gpart resize -i 1 md0s2 > # growfs /dev/md0s2a > Perfect, that worked. I guess ufs works a bit differently than I expected. I have some reading to do. Thanks! From owner-freebsd-questions@freebsd.org Mon Mar 1 01:15:40 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A5EE5552E87 for ; Mon, 1 Mar 2021 01:15:40 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129]) (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 "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dpj4W4ww2z3jfh for ; Mon, 1 Mar 2021 01:15:39 +0000 (UTC) (envelope-from ralf-mardorf@riseup.net) Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Dpj4T3HdqzDyTd for ; Sun, 28 Feb 2021 17:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1614561337; bh=5ra3wToaTH52i5SUUxNyamOa7/0/o1HPlhkX/71UyW4=; h=Date:From:To:Subject:In-Reply-To:References:From; b=NK5fWCvBrCm172GmiDGErdf9NAA2d1VX1gUjb+DV/Wa/dk0A2eJrF3icCNkXb49pp +yEtnzXDMKN6CvOX5yba8fTE3lrMQIQMTNb17d32CU/aAV1XjgsR6CXrsa1BjXPwna akRuO12xP+maS+vDuAIRapQNcheX7WQcjiYGLbYc= X-Riseup-User-ID: 4BE3CCCD1788F65BF9242F9ABC34B7068A8BD7231CD1BCB5FF45DAFC36D69AAE Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Dpj4S63FTz5vc2 for ; Sun, 28 Feb 2021 17:15:36 -0800 (PST) Date: Mon, 1 Mar 2021 02:15:33 +0100 From: Ralf Mardorf To: freebsd-questions@freebsd.org Subject: Re: Somewhat OT: Mail Relay Services Message-ID: <20210301021533.2cdf4542@archlinux> In-Reply-To: <0f796363-6444-596e-d3c6-6eaf341f9298@pinyon.org> References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <000001d70dff$23f1cdf0$6bd569d0$@gsicomp.on.ca> <0f796363-6444-596e-d3c6-6eaf341f9298@pinyon.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Dpj4W4ww2z3jfh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=riseup.net header.s=squak header.b=NK5fWCvB; dmarc=pass (policy=none) header.from=riseup.net; spf=pass (mx1.freebsd.org: domain of ralf-mardorf@riseup.net designates 198.252.153.129 as permitted sender) smtp.mailfrom=ralf-mardorf@riseup.net X-Spamd-Result: default: False [-4.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[198.252.153.129:from]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[riseup.net:+]; DMARC_POLICY_ALLOW(-0.50)[riseup.net,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[198.252.153.129:from]; ASN(0.00)[asn:16652, ipnet:198.252.153.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[198.252.153.129:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[riseup.net:s=squak]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[198.252.153.129:from:127.0.2.255]; DWL_DNSWL_LOW(-1.00)[riseup.net:dkim]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 01:15:40 -0000 On Sun, 28 Feb 2021 17:36:57 -0700, Russell L. Carter wrote: >This wouldn't be an issue if encrypted body content was a thing but >all the time that I had active pgp keys and some savvy correspondents >I got, over a few years, maybe a half dozen encrypted bodies. I received 0 encrypted mail from people who aren't members of a computer related community and by its very nature I also didn't sent an encrypted mail to any of those receivers for more than a decade. The only encrypted mails I sent or got were from FLOSS community members, so I don't use encryption for emails anymore. I've seen that a few companies are providing public keys since a few years, but that's just a drop in the ocean, from no value to me, to start encrypting emails again. German authorities offer https://en.wikipedia.org/wiki/De-Mail#Criticism without "additional" encryption only. I don't want to get such an account. >I am inclined to think of it this way: can't trust TLS relays at all, >and they're just another relay. At least I can send mail. Am I being >naive? No you aren't. Emails are postcards, just that postcards pass less hands of strangers. If possible we should write postcards, since postcards grant better privacy than emails do. OTOH if you want to change something, it's probably better to disagree with log files containing inappropriate copies of data. From owner-freebsd-questions@freebsd.org Mon Mar 1 03:48:49 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 14E39556994 for ; Mon, 1 Mar 2021 03:48:49 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DpmTC425bz3rmt for ; Mon, 1 Mar 2021 03:48:47 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 1213mc2x070696 for ; Sun, 28 Feb 2021 20:48:38 -0700 (MST) (envelope-from freebsd@dreamchaser.org) To: FreeBSD Mailing List Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: installed ports library audit? Message-ID: Date: Sun, 28 Feb 2021 20:43:29 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sun, 28 Feb 2021 20:48:38 -0700 (MST) X-Rspamd-Queue-Id: 4DpmTC425bz3rmt X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-2.22 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.109.141.57:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.109.141.57:from:127.0.2.255]; SUBJECT_ENDS_QUESTION(1.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.92)[-0.921]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 03:48:49 -0000 I just mostly recovered from a system crash where /usr was corrupted and had to be recovered using fsck; couldn't completely recover using the journal. I suspect the trashed files are in one of a few libraries. I'm wondering if there's an easy way to audit all files installed by given ports, i.e. do an sha256 or something like that on each and compare with the known good if it's available somewhere? Gary From owner-freebsd-questions@freebsd.org Mon Mar 1 04:12:47 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 85D9D556F59 for ; Mon, 1 Mar 2021 04:12:47 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dpn0v1H68z3snQ for ; Mon, 1 Mar 2021 04:12:46 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lf1-x12a.google.com with SMTP id q25so3022439lfc.8 for ; Sun, 28 Feb 2021 20:12:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0QDW9jJsdnl4HMjV6jwVnJJFEsV9H9Zp54+RQ8/281M=; b=D6O+PIadJ1QQJdXqNFUwPPMgDe9KrFTIf3eGfq/X0HRAYpi2HI1Q+dFs1xRaPhiV/P /QVQAjfsrlIvNyAyJTEeZdkkMlavfU3yV72H/YLGgQo9MK4RIaKa3a/ads3gvxQYsFy3 wOFJcbhaADcOhbA99jQ6JRkQ5jhb9PXQ10Nq7hQ/wiXyFUbUuYrlMwy9ty6ONsC0El+0 AuYPOt4xl/EPWrsn9k5t47rQOhgFog+L/0FzDC0QHFx8VIHKuGC18SjIiEW5ntOzHWmG hFl3c1t/qnb+2Piz/HTVhOJNYeKP1PrRt+EhwfWJqGnMl4Mk0GnkDxclWT6vOIwFOmeL ImXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=0QDW9jJsdnl4HMjV6jwVnJJFEsV9H9Zp54+RQ8/281M=; b=ntG9X/idstK64i0vtkMzomd/C1oMVlN0mN67BJtvoDW0pSMTjjSDnpUaRq3aG2LccV d+Yl5eFTGFzBuZ8b8U77cYUxGTdjfFhP9uvy4NiNEWOtaNqeEMdeY0c/b0t5WtvZUqOS YuqgsjbN5Q93hB3NhHweyKIMLi5iBKzVbn7Bj9dPLsLDd4lMcfkO3Sl3fMYItrZukno0 4UnyfGgDOmL4gv4KHtNf9o+VY0w+uzuLoXW/DAhCkHd8Du0QHenX+gljKauadn39m2DF L+n7BYjUwa+0CwLmHwA8ud84lYYr8+UQDbP6+jckzxjQ1gLJbt+InMF8nLv+8KUAkgnU xPAg== X-Gm-Message-State: AOAM5328jV6RN+i20IfepOR+/XAmZYL3dTDL9O4nCy70iNuGr1wnFo4e zE5pkKlIVGsNazZWhcIvQvpMmpOtkESbYKuJ9qG5RmLyDaxn+cOO X-Google-Smtp-Source: ABdhPJzFifc2nfaBHMd2iD6t3NL0jW8zooXHa3gZqtha+1r5fnEGt/b6+lwL48dqX/QSMKlZiuGcSSfSD4AHxwtpBmU= X-Received: by 2002:a05:6512:1088:: with SMTP id j8mr8055117lfg.475.1614571964536; Sun, 28 Feb 2021 20:12:44 -0800 (PST) MIME-Version: 1.0 References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> In-Reply-To: From: Michael Sierchio Date: Sun, 28 Feb 2021 20:12:08 -0800 Message-ID: Subject: Re: Panic after updating from source To: Garance A Drosehn Cc: Janos Dohanics , FreeBSD Questions Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Dpn0v1H68z3snQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 04:12:47 -0000 On Sun, Feb 28, 2021 at 3:52 PM Garance A Drosehn wrote: > make buildworld && make kernel && make installworld && reboot > > that always works for me when following a -STABLE branch. > > It may happen to work for you many times in a row, until the day > it does not work and then you're screwed. The official instructions > state that you should always reboot into single-user mode before > doing 'make installworld'. It's not possible to boot into single-user if you're building from source and installing in EC2, for example. The steps above are guaranteed to work under the conditions described =E2=80=93 tracking a rele= ase under -STABLE with git. Well, guaranteed to work with a nohup or # cd /usr/src # ( make buildworld && make kernel && make installworld && reboot ) >& make.out & Whereas booting in multiuser with a new kernel and old userland can cause some difficulties =E2=80=93 though the install chain should still wor= k. I've only been building from source since 1.0 ;-). And in AWS since before instance types supported HVM. Now, if you're trying to to a major release upgrade =E2=80=93 I haven't tried with the above approach, bu= t booting to single user is still not an option in EC2. =E2=80=93 M > -- > Garance Alistair Drosehn =3D drosih@rpi.edu > Lead Developer @rpi and gad@FreeBSD.org > Rensselaer Polytechnic Institute; Troy, NY; USA --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Mon Mar 1 06:19:04 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 866BF565657 for ; Mon, 1 Mar 2021 06:19:04 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dpqpb6B0kz3CxG for ; Mon, 1 Mar 2021 06:19:03 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wr1-x429.google.com with SMTP id e10so14561363wro.12 for ; Sun, 28 Feb 2021 22:19:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wRMNcclIwawMTwyLjCOxEUXq7RFzjbsHI+4koGHO3Og=; b=VSPNj5ZUc9sPcF8PbjDQsq4BZsHwiMopSE6eoLWNWrHeYkj7lOxb8HtT8ZqvA9t75d nal594Qznnv+PmRRlDq6qRS67sD4hjjOYwKss7xqSDeYuyQECp3jLJ7cMj0nTq+FAxim FVXFg4Wbtz4gNYPnQPIXwAVkoU22Cw+0rXf7CwSB35VvHS8ScVilXvuUl+zeQEafxW+8 uQS0XY/OnbzfpKYHKA9WANoaNBNBkDrb0xfcY9MCDs6ee76iZFI78WT7LLjK0H32rJ9J tdKKmo1XvuMtHPiYEqu58L/8wKTsrvTyyQ4hyZrY++jfwc/bi2rKhsIJzjw6g61FJC+R JVGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wRMNcclIwawMTwyLjCOxEUXq7RFzjbsHI+4koGHO3Og=; b=In7GWwLcaQFp8012wJ/qtZ/A+k2DoBVaIWGXO903yYVJxs9bDVW59OEwD2iRCYp4W5 NC4q21pds9uT+cqyjSrLF8I+S0ZuQFqNWZu7IRmOQ1CHbithGfVqDOEqIjDU8Y7cuWII ZXZSM/oRXWR/EXJyMRiLvkpGQ8CG9yzYNo83zBOpaIm+nGzL9U7mPsV1I3IB5CrlQnLV JbvUTFJh3Q6Pm+qKRL0gKPEtMEP7DFeNG7Nm0pC7fx0hE4/c+fQBzryChxbezAg0MkW1 qokjv2yG71kdOstXq5Jw/JY1oLC5FrHWYX1fLaYax6U7W28lAzHvjcrqBKWnymlcw+qj LFww== X-Gm-Message-State: AOAM530Mfvqp5meFnCHNQmYUED5juupTc3YoACNgPiQMJZSmVkKLLqAg rhFXsQS+lJ6GD8hyGXPACA5Xi/3Jxr032jCXLHbtntTn X-Google-Smtp-Source: ABdhPJwNulmeT5owbQ31WldxeWjuuPN8o+xuL015bpU7RAQAk9kDfaahB2pou+zqtRsL6cFVnhfaTMiEaJWcGe46uPo= X-Received: by 2002:adf:97d5:: with SMTP id t21mr14952395wrb.139.1614579542344; Sun, 28 Feb 2021 22:19:02 -0800 (PST) MIME-Version: 1.0 From: "parv/freebsd" Date: Sun, 28 Feb 2021 20:18:21 -1000 Message-ID: Subject: Remote (CentOS 8) X11 clients stop spawning on local (FreeBSD 12) X11 server over ssh after some time To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4Dpqpb6B0kz3CxG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VSPNj5ZU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::429 as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::429:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::429:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::429:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 06:19:04 -0000 Hi there, I had started ssh -X connection 2+ days ago in X11 on FreeBSD 12-STABLE to CentOS 8. When I tried to run Firefox (on CentOS), it did not start & blurted ... Unable to init server: Broadway display type is not supported: localhost:13.0 Error: cannot open display: localhost:13.0 ... tried evince, did not start & barfed ... Unable to init server: Cannot connect: Connection refused Cannot parse arguments: Cannot open display OTOH, on a few moments old connection Firefox & evince open respective window as expected. What is going locally and/or remotely that after some passage of time, clients fail to connect to $DISPLAY? - parv -- From owner-freebsd-questions@freebsd.org Mon Mar 1 06:46:14 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 18A1856E5EC for ; Mon, 1 Mar 2021 06:46:14 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DprPx4cwcz3H3L for ; Mon, 1 Mar 2021 06:46:13 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wr1-x429.google.com with SMTP id u14so14858002wri.3 for ; Sun, 28 Feb 2021 22:46:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=DS/akf0vowQGhbEYYajXAiB2NAB2RxDRTfHfg5RNJ1I=; b=UGRDszY+SVFA1ZXihcMYYl3+VoblxTkMw+AuAvE3MJcplgGujvsHfKDe/Is03d/s1y LtmltrkjIsX3VIYzuxBhLxssBLrb+w1zCxKYIwv/b3zLpB4JJMOF6ACNCKhW08/k6yES Ki4k10pzDYlQJ7VTJqBsBR1AM9i/dgkultbeR+M/42iUYx3wvDRpvUmdmTuxWQd6z0w4 WKMzDmNMlY0qrPZVpQyfIa7e9iaeevAWqEqVf8mkZKiUSYKULs/p8mRb9Jr88b1Pkmvk NRrdjXGp5igqPLjmIvpDV7JgsxP6y9qP7Z1jqGCAQBJyD3O77r5+NSF3rR22sgwWKUPo VKeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=DS/akf0vowQGhbEYYajXAiB2NAB2RxDRTfHfg5RNJ1I=; b=ZMfWfMW5qshltl+bq4I7vw63tYOMoi+SI/L+a7mhIX2JK6ysoS/G161xaqXiOzUDXz u4teKg9LCAHWfLbSkPpAUvMxN4yluAFXB817UfaGIO+rSAvQY4BwE4jjoLWSE7blXQwB yo+BYNfZHRueGiQWIv7QfMjN3jhm3Ss8ImN2dbR20qSc1f/tRjUtLWnn799tjBOncslg dooqF4RQeDNzt9XAIwXU/a+d10NYw9Xj30GmdRuzSnMh8ZqUeYH4iHZ1FXvzTGli8xzw sAUFc+T8UUbE2cPB1kKFAxpqhGkOr6ImL0Y3dg/9dT7zSNL1sEiZhWIrLhwRiMOs1Q8G xK7w== X-Gm-Message-State: AOAM531PyytmWRs3Ht0KmLWdNrpsBQ/8VciOmcRH+44o1w5Nckjqc12x vsNX4+50h2sbt5ALagQiNTaDRFEuzTrNswPwTyL15mme X-Google-Smtp-Source: ABdhPJzIzoS2PgufXBSx+wdrTt1JiKEG5/eTB5mz4MHtYq83+elc29IG+q7dsav31XVwqTK4KHfnQNYc49a0pqTZ304= X-Received: by 2002:a5d:6d0c:: with SMTP id e12mr14563566wrq.136.1614581172196; Sun, 28 Feb 2021 22:46:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "parv/freebsd" Date: Sun, 28 Feb 2021 20:45:31 -1000 Message-ID: Subject: Re: Remote (CentOS 8) X11 clients stop spawning on local (FreeBSD 12) X11 server over ssh after some time To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4DprPx4cwcz3H3L X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UGRDszY+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::429 as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::429:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::429:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::429:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 06:46:14 -0000 On Sun, Feb 28, 2021 at 8:18 PM parv/freebsd wrote: I had started ssh -X connection 2+ days ago in X11 on FreeBSD 12-STABLE to > CentOS 8. > When I tried to run Firefox (on CentOS), it did not start & blurted ... > > Unable to init server: Broadway display type is not supported: > localhost:13.0 > Error: cannot open display: localhost:13.0 > > ... tried evince, did not start & barfed ... > > Unable to init server: Cannot connect: Connection refused > Cannot parse arguments: Cannot open display > Looking in other logs, I see that that time is much shorter around 2 hours 44 minutes when X11 connection stops working. ;-< - parv OTOH, on a few moments old connection Firefox & evince open respective > window as expected. > > What is going locally and/or remotely that after some passage of time, > clients fail to > connect to $DISPLAY? > -- > From owner-freebsd-questions@freebsd.org Mon Mar 1 07:08:37 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 37EF35518C6 for ; Mon, 1 Mar 2021 07:08:37 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from smtpg.telissant.net (smtpg.telissant.net [104.225.1.73]) (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 4Dprvm2MjHz3N06 for ; Mon, 1 Mar 2021 07:08:36 +0000 (UTC) (envelope-from web@3dresearch.com) Received: from sacada.3dresearch.com (localhost [127.0.0.1]) by smtpg.telissant.net (Postfix) with ESMTP id 4Dprvl2ffTz2D1r7 for ; Mon, 1 Mar 2021 02:08:35 -0500 (EST) X-Virus-Scanned: amavisd-new at telissant.net Received: from smtpg.telissant.net ([127.0.0.1]) by sacada.3dresearch.com (sacada.3dresearch.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aGl9TBlLlJjZ for ; Mon, 1 Mar 2021 02:08:35 -0500 (EST) Received: from tugend.3dresearch.com (unknown [71.112.240.190]) (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) (No client certificate requested) (Authenticated sender: tugend@sacada.3dresearch.com) by smtpg.telissant.net (Postfix) with ESMTPSA id 4Dprvk6yQwz2D1r6 for ; Mon, 1 Mar 2021 02:08:34 -0500 (EST) Received: from tugend.3dresearch.com (localhost [127.0.0.1]) by tugend.3dresearch.com (Postfix) with SMTP id 2C438111676E for ; Mon, 1 Mar 2021 02:08:34 -0500 (EST) Date: Mon, 1 Mar 2021 02:08:30 -0500 From: Janos Dohanics To: FreeBSD Questions Subject: Re: Panic after updating from source Message-Id: <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com> In-Reply-To: References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Dprvm2MjHz3N06 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of web@3dresearch.com designates 104.225.1.73 as permitted sender) smtp.mailfrom=web@3dresearch.com X-Spamd-Result: default: False [-0.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ENVFROM_SERVICE_ACCT(1.00)[]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.997]; RECEIVED_SPAMHAUS_PBL(0.00)[71.112.240.190:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[104.225.1.73:from]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36236, ipnet:104.225.1.0/24, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_FIVE(0.00)[5]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[3dresearch.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[104.225.1.73:from:127.0.2.255]; FROM_SERVICE_ACCT(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 07:08:37 -0000 On Sun, 28 Feb 2021 10:04:13 -0800 Michael Sierchio wrote: > On Sun, Feb 28, 2021 at 9:04 AM Janos Dohanics wrote: > > > On Sun, 28 Feb 2021 07:37:37 -0800 > > Michael Sierchio wrote: > > > > > On Sat, Feb 27, 2021 at 11:39 PM Janos Dohanics > > wrote: > > > > > > > Hello Experts, > > > > > > > > After updating my FreeBSD 12 workhorse panics on boot. > > > > > > > > I have updated /usr/src, then > > > > > > > > make buildworld > > > > make buildkernel KERNCONF=MYKERNEL > > > > make installkernel KERNCONF=MYKERNEL > > > > > > > > > make installworld ?! > > > > You have to reboot with the new kernel before executing 'make > > installworld'. > > > > > That's not strictly factual. In fact, if you don't installworld before > booting, you can have a mismatch between userland and kernel interfaces. > > make buildworld && make kernel && make installworld && reboot > > that always works for me when following a -STABLE branch. > [...] Well, as others have pointed out rebooting after 'make installkernel' is the recommendation by the Handbook, which I have followed. Any advice on my original question? -- Janos Dohanics From owner-freebsd-questions@freebsd.org Mon Mar 1 07:20:52 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3CD22551FBC for ; Mon, 1 Mar 2021 07:20:52 +0000 (UTC) (envelope-from 4250.82.1d4ce0000ab10bb.8a902e1ddeed4aa4a6b2ed0b742e6342@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 4Dps9v04Qbz3NXD for ; Mon, 1 Mar 2021 07:20:50 +0000 (UTC) (envelope-from 4250.82.1d4ce0000ab10bb.8a902e1ddeed4aa4a6b2ed0b742e6342@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1614583251; x=1617175251; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=eLy9nXJwqjOQckwIhSAiHDHbx7LH1jMfJQkqz72GxEQ=; b=G1xDZnFzZ3keBwCVUB46eg+HgPm0ZGMraZSWVkTgTc/BMHhDseqx3alqb1LjOqCmnaxeyG73QdmbxFpFn/B1Ades1BWspqzUHlM3V+Di4Am9e6Bhx1ppqAbY+cwb7UAK1JF7eB5x7m1d6+GFLmWnTd5Po04xS9Kzs3EB3EfB5Rk= X-Thread-Info: NDI1MC4xMi4xZDRjZTAwMDBhYjEwYmIuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.sg.in.socketlabs.com (r1.sg.in.socketlabs.com [142.0.179.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 1 Mar 2021 02:20:40 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 1 Mar 2021 02:20:40 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lGcr8-00012T-89 for freebsd-questions@freebsd.org; Mon, 01 Mar 2021 07:20:38 +0000 Date: Mon, 1 Mar 2021 07:20:37 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Panic after updating from source Message-Id: <20210301072037.23816c9a0d2f56d829c9cb09@sohara.org> In-Reply-To: References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Dps9v04Qbz3NXD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=G1xDZnFz; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4ce0000ab10bb.8a902e1ddeed4aa4a6b2ed0b742e6342@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4ce0000ab10bb.8a902e1ddeed4aa4a6b2ed0b742e6342@email-od.com X-Spamd-Result: default: False [-2.70 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4ce0000ab10bb.8a902e1ddeed4aa4a6b2ed0b742e6342@email-od.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[142.0.176.198:from]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4ce0000ab10bb.8a902e1ddeed4aa4a6b2ed0b742e6342@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 07:20:52 -0000 On Sun, 28 Feb 2021 17:17:45 -0700 "Russell L. Carter" wrote: > I've been building freebsd for 25 years too, though I am not > otherwise competent to comment on these details. However I have > been for quite some time now curious about how does a big shop like > netflix update their apparently nearly current freebsd-current > fleet? I only have 5-10 systems and it's still a time hassle to > to just NFS installworld+reboot, never mind grab a console in > single-user mode on every box as an extra step. They can't > possibly be doing that, are they? I can think of a few ways to make it easy and painless. Automate the process via a serial terminal concentrator. Prepare netboot images. Clever custom rc scripts. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Mar 1 09:20:24 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 78DA5555E07 for ; Mon, 1 Mar 2021 09:20:24 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dpvqq4PK9z3mlR for ; Mon, 1 Mar 2021 09:20:23 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wm1-x335.google.com with SMTP id y22-20020a1c4b160000b029010b2094f5deso2616831wma.0 for ; Mon, 01 Mar 2021 01:20:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=u6bfv2kMOjLpJFDxOYKdOQMycD7/eEy8oBE4ZV2WsHM=; b=ODwMk+ek9je1RciHn0GmB24lzgDU9g/tKfx8PIDMARC85Uqc7qNc4Je59/FdS1Nskj 3rjVMJescQH8AlluSZUcP6xcQEUtKUyGed95zfRcBw9UVvl1koZEmWkHrtTgx6ANKDY8 uS7N4G2lrgvyG0+DoB5qG9lKPXMpjZvUAxOHENNyNMsEjZs4U3KoCyKxlZbOPKm5xI64 +G+w6tAmVFc0SoRG25PCf/6fR+A/3ior4iDhXOmnQEDfbYLTB9m3kyZFhZuxYfKa9IOn SCmKfBQU8GtwI6wqL3jsIevM2GLVJq2+GWrpQoEFvoTH4rpnJf/k98VdLWWja5PgZb3t ClYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=u6bfv2kMOjLpJFDxOYKdOQMycD7/eEy8oBE4ZV2WsHM=; b=QEt6Fq9DEKlZmwffnyukEURYtt6BoL+osDyDZy9s/lOkV+3VisVBh5CUJP7zY6LBCC j83CB2h3BOvXv0R9k3Pnjnfb71v/N0vEVSWHuh8NuYvW8BxVyZE2r0k4crg1GGW6qZjg RrxomxguUoAr+Zk32sDts6qw0HtWulLn9jBFAdXXJkDh2vWidGA6ggiFxbO9AlcJFBEd Ytp+CemoLW6FcZrT7hYubVL41lbXJF8HxpJmAAvO3rwAbTkQwUbR4S1bbcmuIoTa/ALr 6EVX2bM59jvfxH93kns/cpW78ofBVRifx7nNReZtL7xRhwTGUFGmDrd3xb2nYu+bd+Vu YDTw== X-Gm-Message-State: AOAM532bPht28eEjC5xfwTOY02AK6fFEB9GM51K0XVBUnwXZbJPM8/UF +E8QhNdyGqDIoe/xl/4o3iClJgFTxNsF6pxHCtIHAtudjN4= X-Google-Smtp-Source: ABdhPJx/tvTb04NfGlMbpng2AD1owQlQahmyjt3i0OavSZRj9zXUvxs6Uzl0DXXkTOg/Ax9mhviV1GoVAKKIDOgduMY= X-Received: by 2002:a1c:2846:: with SMTP id o67mr14860020wmo.188.1614590422224; Mon, 01 Mar 2021 01:20:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: "parv/freebsd" Date: Sun, 28 Feb 2021 23:19:41 -1000 Message-ID: Subject: Re: Remote (CentOS 8) X11 clients stop spawning on local (FreeBSD 12) X11 server over ssh after some time To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4Dpvqq4PK9z3mlR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ODwMk+ek; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::335 as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::335:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::335:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::335:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 09:20:24 -0000 On Sun, Feb 28, 2021 at 8:18 PM parv/freebsd wrote: I had started ssh -X connection 2+ days ago in X11 on FreeBSD 12-STABLE to > CentOS 8. > When I tried to run Firefox (on CentOS), it did not start & blurted ... > > Unable to init server: Broadway display type is not supported: > localhost:13.0 > Error: cannot open display: localhost:13.0 > ... So, "ssh -vv -X" shows "Rejected X11 connection after ForwardX11Timeout expired", I do not see that option in /etc/ssh/ on CentOS or FreeBSD. Hold on ... This ... https://security.stackexchange.com/questions/147293/openssh-is-setting-a-long-forwardx11timeout-better-than-forwardx11trusted ... points to ... https://github.com/openssh/openssh-portable/commit/1ab6a51 ... which makes "ForwardX11Timeout" to be ssh client option. On to testing ... - parv -- From owner-freebsd-questions@freebsd.org Mon Mar 1 15:30:38 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 230ED56172C for ; Mon, 1 Mar 2021 15:30:38 +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 4Dq4320Br3z4hdl; Mon, 1 Mar 2021 15:30:38 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "R3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id CB25233D17; Mon, 1 Mar 2021 15:30:37 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from PD0786.local (unknown [IPv6:2001:8b0:151:1:85b2:e2ee:4d75:c7e6]) (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) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 4C6BAF3D0; Mon, 1 Mar 2021 15:30:35 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/4C6BAF3D0; dkim=none; dkim-atps=neutral Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services To: Valeri Galtsev , Tim Daneliuk Cc: FreeBSD Mailing List References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> From: Matthew Seaman Message-ID: <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> Date: Mon, 1 Mar 2021 15:30:33 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 15:30:38 -0000 Having worked for an e-mail service provider in the past, I can state that it isn't GMail, Outlook or any of the other big cloud providers intentionally killing off personal e-mail servers. Well, other than by competition: providing an easy-to-use mail service with little administrative burden. It's the continuing arms race between the Spam senders and the Spam filtering. Reputation scoring based on sender IP is one of the best tools in the box for filtering spam, but the spammers are continually developing ways to avoid it by distributing their output over whole network ranges, and by setting up throw-away spam sources on any and all hosting services they can blag their way into. That's why your VPC hosting your e-mail server will quite likely get shot down as collateral damage. The best way to avoid this is to use an address range that you can be confident no one will be able to set up a spam source on. So, a dedicated e-mail relaying service would qualify. Or, if you can swing it, get yourself a fixed IP range and run an e-mail system out of your own premises. (Which is what I do.) Cheers, Matthew On 28/02/2021 18:29, Valeri Galtsev wrote: > > >> On Feb 28, 2021, at 12:01 PM, Tim Daneliuk wrote: >> >> For many years, I've run a mail system built on FreeBSD for my own small business. >> It's been as flawless as any mail server ever can be, requiring only periodic >> maintenance and updates. >> >> The primary server runs in a 3rd party cloud environment. We are starting to >> see parts of their network blacklisted by the various UCE blackholing services. >> Unfortunately, they don't just blackhole a single IP, but an entire subnet at >> a time, which catches us in the mix. >> >> The big mail hubs like outlook.com no longer have a mechanism for removing the block >> for a single ip and kick you back to your ISP or hosting provider for resolution. > > Totally OT comment: > > For quite some time already I have a feeling that big boys - gmail/google; microsoft/outlook/office365/hotmail; yahoo… - effectively jacked “small time” sysadmins out of providing email service. Tim’s description shows one mechanism of it. > > Valeri > >> So ... we are contemplating using a smart host to do all our outbound email for us >> via relays from our own mail servers. Presumably, such a smart host would be better >> equipped to deal with bad blacklisting and delivery issues. >> >> So ... does anyone have experience or recommendations as to who would be a good >> provider for a low volume, small business mail relay? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Mon Mar 1 15:36:41 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B166C561A9A for ; Mon, 1 Mar 2021 15:36:41 +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 4Dq4B14cJcz4jTF; Mon, 1 Mar 2021 15:36:41 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "R3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 7495234154; Mon, 1 Mar 2021 15:36:41 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from PD0786.local (unknown [IPv6:2001:8b0:151:1:85b2:e2ee:4d75:c7e6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 6E780F3D2; Mon, 1 Mar 2021 15:36:40 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/6E780F3D2; dkim=none; dkim-atps=neutral Subject: Re: installed ports library audit? To: freebsd@dreamchaser.org, FreeBSD Mailing List References: From: Matthew Seaman Message-ID: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> Date: Mon, 1 Mar 2021 15:36:40 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 15:36:41 -0000 On 01/03/2021 03:43, Gary Aitken wrote: > I just mostly recovered from a system crash where /usr was corrupted and > had to be recovered using fsck; couldn't completely recover using the > journal. > > I suspect the trashed files are in one of a few libraries.  I'm wondering > if there's an easy way to audit all files installed by given ports, > i.e. do an sha256 or something like that on each and compare with the known > good if it's available somewhere? pkg-check(8) -- specifically `pkg check -r -x .` will show you any file known to pkg(8) where the on-disk copy doesn't match the checksum in the pkgdb. Cheers, Matthew From owner-freebsd-questions@freebsd.org Mon Mar 1 15:39:00 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 901CA561D0D for ; Mon, 1 Mar 2021 15:39:00 +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 4Dq4Dh3PTgz4jkF; Mon, 1 Mar 2021 15:39:00 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.117.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "R3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 500C333D1D; Mon, 1 Mar 2021 15:39:00 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from PD0786.local (unknown [IPv6:2001:8b0:151:1:85b2:e2ee:4d75:c7e6]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 7056DF3D4; Mon, 1 Mar 2021 15:38:58 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/7056DF3D4; dkim=none; dkim-atps=neutral Subject: Re: installed ports library audit? From: Matthew Seaman To: freebsd@dreamchaser.org, FreeBSD Mailing List References: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> Message-ID: <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> Date: Mon, 1 Mar 2021 15:38:58 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 15:39:00 -0000 On 01/03/2021 15:36, Matthew Seaman wrote: > On 01/03/2021 03:43, Gary Aitken wrote: >> I just mostly recovered from a system crash where /usr was corrupted and >> had to be recovered using fsck; couldn't completely recover using the >> journal. >> >> I suspect the trashed files are in one of a few libraries.  I'm wondering >> if there's an easy way to audit all files installed by given ports, >> i.e. do an sha256 or something like that on each and compare with the >> known >> good if it's available somewhere? > > pkg-check(8) -- specifically `pkg check -r -x .` will show you any file > known to pkg(8) where the on-disk copy doesn't match the checksum in the > pkgdb. Dammit. `pkg check -s -x .` `-r` is exactly what you don't want, as that will make pkg(8) believe the corrupted files are actually correct. Cheers, Matthew From owner-freebsd-questions@freebsd.org Mon Mar 1 15:48:37 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A1AF6561CC5 for ; Mon, 1 Mar 2021 15:48:37 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 4Dq4Rn3xWsz4kk7; Mon, 1 Mar 2021 15:48:37 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from point.uchicago.edu (point.uchicago.edu [128.135.52.6]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id B1D0B4E64D; Mon, 1 Mar 2021 09:48:36 -0600 (CST) Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services To: Matthew Seaman , Tim Daneliuk Cc: FreeBSD Mailing List References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> From: Valeri Galtsev Message-ID: <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> Date: Mon, 1 Mar 2021 09:48:36 -0600 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Dq4Rn3xWsz4kk7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 15:48:37 -0000 On 3/1/21 9:30 AM, Matthew Seaman wrote: > > Having worked for an e-mail service provider in the past, I can state > that it isn't GMail, Outlook or any of the other big cloud providers > intentionally killing off personal e-mail servers. No, they are not. It is not they, but their way of doing things does. > Well, other than by > competition: providing an easy-to-use mail service with little > administrative burden. Leaving people switching over to "big boys" along, I am considering purely technical aspects of "small time" servers being thrown out of the ability to reliably and consistently providing email services, - because of the way bug boys do things. > It's the continuing arms race between the Spam senders and the Spam > filtering.  Reputation scoring based on sender IP is one of the best > tools in the box for filtering spam, but... Yes, and your "BUT" is exactly why I called "barracuda" and friends a brain dead approach. Do we still support mail forwarding? Do we still consider email account owner entitled to receive all mail arriving for his/her account? If both answers are yes, then your server quite likely will be "barracuded". Just my $0.02. Valeri the spammers are continually > developing ways to avoid it by distributing their output over whole > network ranges, and by setting up throw-away spam sources on  any and > all hosting services they can blag their way into.  That's why your VPC > hosting your e-mail server will quite likely get shot down as collateral > damage. > > The best way to avoid this is to use an address range that you can be > confident no one will be able to set up a spam source on.  So, a > dedicated e-mail relaying service would qualify.  Or, if you can swing > it, get yourself a fixed IP range and run an e-mail system out of your > own premises. (Which is what I do.) > >     Cheers, > >     Matthew > > On 28/02/2021 18:29, Valeri Galtsev wrote: >> >> >>> On Feb 28, 2021, at 12:01 PM, Tim Daneliuk >>> wrote: >>> >>> For many years, I've run a mail system built on FreeBSD for my own >>> small business. >>> It's been as flawless as any mail server ever can be, requiring only >>> periodic >>> maintenance and updates. >>> >>> The primary server runs in a 3rd party cloud environment.  We are >>> starting to >>> see parts of their network blacklisted by the various UCE blackholing >>> services. >>> Unfortunately, they don't just blackhole a single IP, but an entire >>> subnet at >>> a time, which catches us in the mix. >>> >>> The big mail hubs like outlook.com no longer have a mechanism for >>> removing the block >>> for a single ip and kick you back to your ISP or hosting provider for >>> resolution. >> >> Totally OT comment: >> >> For quite some time already I have a feeling that big boys - >> gmail/google; microsoft/outlook/office365/hotmail; yahoo… - >> effectively jacked “small time” sysadmins out of providing email >> service. Tim’s description shows one mechanism of it. >> >> Valeri >> >>> So ... we are contemplating using a smart host to do all our outbound >>> email for us >>> via relays from our own mail servers.  Presumably, such a smart host >>> would be better >>> equipped to deal with bad blacklisting and delivery issues. >>> >>> So ... does anyone have experience or recommendations as to who would >>> be a good >>> provider for a low volume, small business mail relay? >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> -- ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@freebsd.org Mon Mar 1 16:00:05 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 207FB562B61 for ; Mon, 1 Mar 2021 16:00:05 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dq4j04FCJz4mvK; Mon, 1 Mar 2021 16:00:04 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 121G01bd073145; Mon, 1 Mar 2021 09:00:02 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: installed ports library audit? To: Matthew Seaman , FreeBSD Mailing List References: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> From: Gary Aitken Message-ID: Date: Mon, 1 Mar 2021 08:54:53 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Mon, 01 Mar 2021 09:00:02 -0700 (MST) X-Rspamd-Queue-Id: 4Dq4j04FCJz4mvK X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 16:00:05 -0000 On 3/1/21 8:38 AM, Matthew Seaman wrote: > On 01/03/2021 15:36, Matthew Seaman wrote: >> On 01/03/2021 03:43, Gary Aitken wrote: >>> I just mostly recovered from a system crash where /usr was corrupted and >>> had to be recovered using fsck; couldn't completely recover using the >>> journal. >>> >>> I suspect the trashed files are in one of a few libraries.  I'm wondering >>> if there's an easy way to audit all files installed by given ports, >>> i.e. do an sha256 or something like that on each and compare with the known >>> good if it's available somewhere? > Dammit. `pkg check -s -x .` > > `-r` is exactly what you don't want, as that will make pkg(8) believe the corrupted files are actually correct. Thanks, glad I went to bed before I saw the wrong one. I read the man page first but sometimes a in-a-hurry-to-get-things-done read misses things like that. Is there a similar check for the base system install? I see security audits but those are event related. Gary From owner-freebsd-questions@freebsd.org Mon Mar 1 16:06:05 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 01327562FB6 for ; Mon, 1 Mar 2021 16:06:04 +0000 (UTC) (envelope-from 4250.82.1d4ce0000b86afa.5deecbedce97da95dea1550ea1b032bf@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 4Dq4qw508gz4pLL for ; Mon, 1 Mar 2021 16:06:04 +0000 (UTC) (envelope-from 4250.82.1d4ce0000b86afa.5deecbedce97da95dea1550ea1b032bf@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1614614765; x=1617206765; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:cc:to:from:date:x-thread-info; bh=eTGjsD2pazS3ozvV3/Cz8/0x78fVq3cdzDkE/DbiR30=; b=a2nVilyYVSCFeEnAEJDwCz29ekevsJCTsWQ/4Ie96g2zHnHHAvwCbeMJoQaXzNEtZl/vQpt/i9UtDPM117BooyjukSzP7E89+PIKxPVE/z5Wcbm1fEyaProLe6wKnAAC9scBM5VOyVkVAiGCciSaXHxPL4k6vj+lulXVy6jwqfA= X-Thread-Info: NDI1MC4xMi4xZDRjZTAwMDBiODZhZmEuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 1 Mar 2021 11:05:55 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 1 Mar 2021 11:05:54 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lGl3Q-0004NF-Vu; Mon, 01 Mar 2021 16:05:53 +0000 Date: Mon, 1 Mar 2021 16:05:52 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: installed ports library audit? Message-Id: <20210301160552.454db2bec5975457026c57ba@sohara.org> In-Reply-To: References: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Dq4qw508gz4pLL X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 16:06:05 -0000 On Mon, 1 Mar 2021 08:54:53 -0700 Gary Aitken wrote: > Is there a similar check for the base system install? I see security > audits but those are event related. freebsd-update IDS - note caveats in man page. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Mon Mar 1 16:18:20 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 996B756307C for ; Mon, 1 Mar 2021 16:18:20 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dq5642k7kz4sxP; Mon, 1 Mar 2021 16:18:20 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 121GIIL9073181; Mon, 1 Mar 2021 09:18:18 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: installed ports library audit? To: Matthew Seaman , FreeBSD Mailing List References: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> From: Gary Aitken Message-ID: Date: Mon, 1 Mar 2021 09:13:10 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Mon, 01 Mar 2021 09:18:18 -0700 (MST) X-Rspamd-Queue-Id: 4Dq5642k7kz4sxP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 16:18:20 -0000 On 3/1/21 8:38 AM, Matthew Seaman wrote: > On 01/03/2021 15:36, Matthew Seaman wrote: >> On 01/03/2021 03:43, Gary Aitken wrote: >>> I just mostly recovered from a system crash where /usr was corrupted and >>> had to be recovered using fsck; couldn't completely recover using the >>> journal. >>> >>> I suspect the trashed files are in one of a few libraries.  I'm wondering >>> if there's an easy way to audit all files installed by given ports, >>> i.e. do an sha256 or something like that on each and compare with the known >>> good if it's available somewhere? ... > Dammit. `pkg check -s -x .` > > `-r` is exactly what you don't want, as that will make pkg(8) believe the corrupted files are actually correct. uh-oh. The problem appeared to be in a linux compat lib: linux-c7-libaio-0.3.109: checksum mismatch for /compat/linux/usr/lib/libaio.so.1 linux-c7-libaio-0.3.109: checksum mismatch for /compat/linux/usr/lib64/libaio.so.1 But de-installing didn't work. This may be (can't remember) if it was installed as part of the base system install? Is there a way to run bsdinstall and retrieve what options were set? I didn't see anything in the man page. # pkg delete -f linux-c7-libaio ... Proceed with deinstalling packages? [y/N]: y [1/1] Deinstalling linux-c7-libaio-0.3.109... [1/1] Deleting files for linux-c7-libaio-0.3.109: 100% ELF binary type "3" not known. /bin/sh: /compat/linux/sbin/ldconfig: Exec format error pkg: POST-DEINSTALL script failed Gary From owner-freebsd-questions@freebsd.org Mon Mar 1 16:56:44 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0E1135647C4 for ; Mon, 1 Mar 2021 16:56:44 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dq5yL671pz3D3S for ; Mon, 1 Mar 2021 16:56:42 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 121GueO6073284; Mon, 1 Mar 2021 09:56:40 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: installed ports library audit? To: "Steve O'Hara-Smith" , freebsd-questions@freebsd.org References: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> <20210301160552.454db2bec5975457026c57ba@sohara.org> From: Gary Aitken Message-ID: <4a1160b1-a6a2-6bc1-cb37-476d89ef1ff3@dreamchaser.org> Date: Mon, 1 Mar 2021 09:51:32 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210301160552.454db2bec5975457026c57ba@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Mon, 01 Mar 2021 09:56:40 -0700 (MST) X-Rspamd-Queue-Id: 4Dq5yL671pz3D3S X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-2.27 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SUBJECT_ENDS_QUESTION(1.00)[]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; SPAMHAUS_ZRD(0.00)[66.109.141.57:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.109.141.57:from]; NEURAL_HAM_SHORT(-0.97)[-0.971]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 16:56:44 -0000 On 3/1/21 9:05 AM, Steve O'Hara-Smith wrote: > On Mon, 1 Mar 2021 08:54:53 -0700 > Gary Aitken wrote: > >> Is there a similar check for the base system install? I see security >> audits but those are event related. > > freebsd-update IDS - note caveats in man page. Thanks. The results are mostly tweaked files in /etc, which is not in /usr, which was the problem filesystem, so I should be ok there. I'm puzzled by a symlink complaint, though: /usr/src/contrib/tcpdump/README is a symlink, should be a regular file It's a symlink to README.md, which seems reasonable and deliberate. For future disasters... If I needed to, is there a master easy to get at that I can diff against to see what the changes to things like /etc/passwd are? I could regenerate the .db files if I knew the source was ok, but to check that I would need to be able to diff. Gary From owner-freebsd-questions@freebsd.org Mon Mar 1 17:41:53 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8385A565FB3 for ; Mon, 1 Mar 2021 17:41:53 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from outbound5e.eu.mailhop.org (outbound5e.eu.mailhop.org [52.28.168.19]) (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 4Dq6yS1yxXz3H1N for ; Mon, 1 Mar 2021 17:41:51 +0000 (UTC) (envelope-from tundra@tundraware.com) ARC-Seal: i=1; a=rsa-sha256; t=1614620510; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=M4KtBSyR1jx58lJj6tYaVY6/IRSVsAsgANYKMzGyVHsLyBwRR+Q4Hz5WX4ePyRfgqMLxmrWZzm/IF P3+S70cwsEs2ooYpU+ReaT8CIECA8BNYc4fLjcUAtflcFj0SN67/Ip9y0pY+AXj6ra/Ws0hLv/6Hv+ g0J5RX8mwv05oeq4jEA+MWQvKHlBFcTJRgdAtEAjsyhj7C37fiuM0K5ROcm7vGhqC3+S5OauJCvlgz 2b5ONZSUbdSTT5zC9DPTKWXsqsgDvOoC8jmwAeozVxgoZMyYvtTckhEeB3jChjUOaRUwzAWEz7K9aG hCjhr821EnQWgnd3VRA3ipHqanDzmdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:to:from:references:subject:dkim-signature:dkim-signature:from; bh=7krTpw41jrA3qpL92qzXuCG+pQFJaZYNB3PxFNPrINs=; b=jTpciHYQ313A/mYxvcRi9h74hHj54Ob+GyyaXp54fEn6XwKJN9Bue2O6WJv84kiIU8qomnxzsWamU sEz2skkLIGadARuIx8aFsdnPI1qSmHEAUaAVB2ofENhc18kNG9C9U7/FM69Dn92cHgUEN3rEWQ0c7r FCv69ySeW8JLBFZII0bFqssXOU1KS8jKaNHYjSid5Jrz5wpAwymvzWYdL5dEeETc4ZNe1g9HxKSZq+ f87pbTtKnuQ67x5yM7sii9pu4jNfl8/f1fEThKz6nk+t/5UkLHLqqNXAdD63y8KykvVljSdnMTtgzb WIANFh5wBSBukFg9pHyf0YWefWuJlfg== ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org; spf=pass smtp.mailfrom=tundraware.com smtp.remote-ip=45.55.60.57; dmarc=pass header.from=tundraware.com; arc=none header.oldest-pass=0; X-Originating-IP: 45.55.60.57 X-MHO-RoutePath: dHVuZHJhd2FyZQ== X-MHO-User: 65aae113-7ab5-11eb-a042-973b52397bcb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) by outbound2.eu.mailhop.org (Halon) with ESMTPSA id 65aae113-7ab5-11eb-a042-973b52397bcb; Mon, 01 Mar 2021 17:41:49 +0000 (UTC) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 121HfXqC078562 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 1 Mar 2021 11:41:33 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 To: FreeBSD Mailing List Message-ID: <8dc26e45-355a-dadd-0309-02dda1da3d87@tundraware.com> Date: Mon, 1 Mar 2021 11:41:28 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Mon, 01 Mar 2021 11:41:34 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 121HfXqC078562 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4Dq6yS1yxXz3H1N X-Spamd-Bar: ---- X-Spamd-Result: default: False [-5.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:52.28.168.19]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tundraware.com:+,outbound.mailhop.org:+]; DMARC_POLICY_ALLOW(-0.50)[tundraware.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[52.28.168.19:from]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[outbound.mailhop.org:s=arc-outbound20181012:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tundraware.com:s=duo-1614540450527-997c40d8,outbound.mailhop.org:s=dkim-high]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[52.28.168.19:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[52.28.168.19:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 17:41:53 -0000 On 3/1/21 9:48 AM, Valeri Galtsev wrote: > > > On 3/1/21 9:30 AM, Matthew Seaman wrote: >> >> Having worked for an e-mail service provider in the past, I can state that it isn't GMail, Outlook or any of the other big cloud providers intentionally killing off personal e-mail servers. > > No, they are not. It is not they, but their way of doing things does. > >> Well, other than by competition: providing an easy-to-use mail service with little administrative burden. > > Leaving people switching over to "big boys" along, I am considering purely technical aspects of "small time" servers being thrown out of the ability to reliably and consistently providing email services, - because of the way bug boys do things. > >> It's the continuing arms race between the Spam senders and the Spam filtering.  Reputation scoring based on sender IP is one of the best tools in the box for filtering spam, but... > > Yes, and your "BUT" is exactly why I called "barracuda" and friends a brain dead approach. Do we still support mail forwarding? Do we still consider email account owner entitled to receive all mail arriving for his/her account? If both answers are yes, then your server quite likely will be "barracuded". > > Just my $0.02. > > Valeri I agree with all the above, but I think there is a bit more to it as well ... The BTAE (Big Tech Axis Of Evil - Google, Facebook, Twitter, et al) don't just host services people want, they harvest at least the metadata about how those services get used (and probably some of the data itself, no matter what they say). email is always going to be a 'postcard' - anyone along the delivery chain can peek inside the envelope if they really want to. Even if - as I have done - you host your own domain on a cloud provider, or even a physical server in your premise - the moment the mail goes into flight, someone, somewhere is logging it with the potential ability to harvest it. The question, though, is who is more able to make use of your content? An mail relay company of relatively small size, or Google with its billions and advanced tech? Even when I ran my own mail services at a static IP I controlled, it was a losing game. When there were reputation questions, trying to get any of the blackholing services to pay attention was a major pain. Some of the smaller ISPs were equally disinterested because SPAM management was just overwhelming them. So, for now, I've settled on a compromise - I will run our own email servers and the policies around them will be under our own control. But for purposes of external delivery, I am now using a 3rd party so that the reputation issues (and resolution) accrue to them. We'll see how this works. P.S. This did force me to get off my lazy butt and finally get DKIM and DMARC properly configured ... From owner-freebsd-questions@freebsd.org Mon Mar 1 18:33:03 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A3B75678BC for ; Mon, 1 Mar 2021 18:33:03 +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 4Dq85W2Hnwz3L7k; Mon, 1 Mar 2021 18:33:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [IPv6:2001:8b0:151:1:c4ea:bd49:619b:6cb3]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "R3" (verified OK)) (Authenticated sender: matthew/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 1FDEE3549A; Mon, 1 Mar 2021 18:33:03 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from liminal.local (unknown [IPv6:2001:8b0:151:1:ca8:272c:dd1a:8b91]) (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) (No client certificate requested) (Authenticated sender: m.seaman@infracaninophile.co.uk) by smtp.infracaninophile.co.uk (Postfix) with ESMTPSA id 0A1C8F3E4; Mon, 1 Mar 2021 18:33:02 +0000 (UTC) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: smtp.infracaninophile.co.uk/0A1C8F3E4; dkim=none; dkim-atps=neutral To: freebsd@dreamchaser.org, Steve O'Hara-Smith , freebsd-questions@freebsd.org References: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> <20210301160552.454db2bec5975457026c57ba@sohara.org> <4a1160b1-a6a2-6bc1-cb37-476d89ef1ff3@dreamchaser.org> From: Matthew Seaman Subject: Re: installed ports library audit? Message-ID: Date: Mon, 1 Mar 2021 18:32:58 +0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <4a1160b1-a6a2-6bc1-cb37-476d89ef1ff3@dreamchaser.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="K5CkOchY7VbU099Y2qG9ieMEXN8j0UlfR" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 18:33:03 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --K5CkOchY7VbU099Y2qG9ieMEXN8j0UlfR Content-Type: multipart/mixed; boundary="foh59Zs8DvSSy0GpbxIeQZsfIrMtYin9b"; protected-headers="v1" From: Matthew Seaman To: freebsd@dreamchaser.org, Steve O'Hara-Smith , freebsd-questions@freebsd.org Message-ID: Subject: Re: installed ports library audit? References: <97db8511-c5e0-26cc-5e56-4dfa976d7d12@FreeBSD.org> <0935eab6-d458-2c3e-3f8a-a6879fe27363@FreeBSD.org> <20210301160552.454db2bec5975457026c57ba@sohara.org> <4a1160b1-a6a2-6bc1-cb37-476d89ef1ff3@dreamchaser.org> In-Reply-To: <4a1160b1-a6a2-6bc1-cb37-476d89ef1ff3@dreamchaser.org> --foh59Zs8DvSSy0GpbxIeQZsfIrMtYin9b Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: quoted-printable On 01/03/2021 16:51, Gary Aitken wrote: > For future disasters... > If I needed to, is there a master easy to get at that I can diff agains= t > to see what the changes to things like /etc/passwd are? > I could regenerate the .db files if I knew the source was ok, but to ch= eck > that I would need to be able to diff. For /etc files, and if you use etcupdate(8), then there will be pristine = copies of many files under /var/db/etcupdate/current or=20 /var/db/etcupdate/old However, you'ld really only use etcupdate(8) if you were installing from = source, so you'ld also have pristine copies hiding somewhere under /usr/s= rc. Cheers, Matthew --foh59Zs8DvSSy0GpbxIeQZsfIrMtYin9b-- --K5CkOchY7VbU099Y2qG9ieMEXN8j0UlfR Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsF5BAABCAAjFiEEGfFU7L8RLlBUTj8wAFE/EOCp5OcFAmA9M1oFAwAAAAAACgkQAFE/EOCp5Oc9 Ng//Zr0KRH4x/uLkQLZNJ5lvxInAHEs5Ozbx/4fO1FuhngBwt/4LS2aldFZbq0/9TLT/unQggyew VlqLXYiHLKtBMZ42pO7rlYAQPmfNAkVH31MB5SesxosLlhWt9yWsFS4pXhbB9TcRGiBtHgdcgUmK ySruwObazqPFYZol8yXN1n4Ww2RBe46uVmXRg5081N85rBPDuuhyqAQmCUwsrHQyLAhqJgg/+/iV ZH//G6Fsr+7RFF4GTC4rGQc1u6qu5HjAFrrsOmX6/TpcmfmSXMDgUv4SymD6jJ+9phrVoMfDjhMg I8iz+SgtrNfKm2wbf5rrsOcBct3bAuv6YPXr94hFfMbSeIp5UQMvONreuf19awSuwCWFEXKDcr52 WVZJ5+J5UOmVl1yyoAo9ooqy3Ve8ixZmi3zSipRMIyeLPMNtPESw0Nki8yTmmMAFB1Bu2P6EvhkL +5wNH3cRzLYiO32oIM+maqeeEjAKuoO+0KBzoCM7dHB7J5HuijfJCM2O+fgL0tp0X+o+Isxvf+3T 9k0eyIY4K64LSZQUi+SiOj3mVj/LXnyK03WrZ7wE7juyKs4ykjyNBxjMDeHL/dpA5VTB0UnNlGqE j7TZMxth/E1/kRzBNgbR6w7s8V9k902Y3/poKtZfZkgjeMaGrN0dDSUhxGhFswijj5jzN9monruN W78= =chnz -----END PGP SIGNATURE----- --K5CkOchY7VbU099Y2qG9ieMEXN8j0UlfR-- From owner-freebsd-questions@freebsd.org Mon Mar 1 22:04:58 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AECFA54DFAF for ; Mon, 1 Mar 2021 22:04:58 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqDp20YhGz3vKn for ; Mon, 1 Mar 2021 22:04:57 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-wr1-x432.google.com with SMTP id a18so9562930wrc.13 for ; Mon, 01 Mar 2021 14:04:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=QIAgDDY/h3wuq9IPBg25HXp4clivfpkom1vKq43INvk=; b=DMxfOdR0wRHHJmDWrpf6CGyfxQty7ySHX+i5t0f/IIOcqwTWDbY0X+rHmY+tg7bhN7 w3G0rcvM7/wsIyM/HK4EWr31SJQJn4n3efJtovUTTzRvtzU21xdkQ+WrLYaBDsVTt0Ji 62qo1ShjoC2hu8FurI7XMxQ8IOklTE7C3+QjtDs5tmJOkFbqIicIMxZfM53jy/m3lE5s gtsZZSJDOOuThP88YI5Pa6C0oU2xzgc/K0iFpUc41mqaiLMUDuHR+0EbKBp79pQ9bG/x wEqMlv+E3/6fcP7csgSRWDTRPkTPoCmIbm47wBSfBACsz020+zidP06l0SXeLy976ZxZ wVZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=QIAgDDY/h3wuq9IPBg25HXp4clivfpkom1vKq43INvk=; b=knjS4JDrfSUg74Al2GLKNiq6Lsf4NmwL/lu/z+CfbEOCM7PTlsY35TzC9G8V0YoNbI y+E/FW95ddzNZdYg10xWEPNvUj2x519739YAlye/JDWqSm6J0l3zC/YB52wxRWdk5b5p 6QQor4I2jkRCGCqvX+NxB2Eae2Xv6fWcv6um2KzZf36cBxSD2+cJiowPyRMuj2iVz9XY Sd3kcTiiIePCOPGLjXqDsdpB5Q4FtCqpOv2bjji/mi1cSmE+ycj3x5SfIUEvwZkfiCCW J0X4lx/CFVWuQxhmL3qzKG5WTT6eHBNK36pImB/bMFehz/3MyCJtm/JSFWgY0KoohbPE 6PsQ== X-Gm-Message-State: AOAM533peiTpf7nZ3kneNiBQiavh/9LiUmgatlulYyWoaDfytN5NflG5 i8LbJ61WV9BFcgS6E/pjbJZvZ3oNIBIWOL1A4PeTZcPRECCYsQ== X-Google-Smtp-Source: ABdhPJw1FzTyYxI/glgOVqaQWKIfGQYju7V3mAW9GLI7N1OzhlfP3quIEbGlcMbo6I67UD0JKE8hQExGMChBiFttndM= X-Received: by 2002:a5d:4485:: with SMTP id j5mr9774148wrq.339.1614636296394; Mon, 01 Mar 2021 14:04:56 -0800 (PST) MIME-Version: 1.0 From: Antonio Olivares Date: Mon, 1 Mar 2021 16:04:45 -0600 Message-ID: Subject: 13.0-RELEASE-BETA4 To: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DqDp20YhGz3vKn X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=DMxfOdR0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2a00:1450:4864:20::432 as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-2.65 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; SUBJ_ALL_CAPS(1.35)[18]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::432:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::432:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::432:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 22:04:58 -0000 Dear kind FreeBSD users, how to we update from source to 13.0-RELEASE-BETA4? I tried with freebsd-fetch -r upgrade 13.0-RELEASE-BETA4 but it fails to start. now I can login, but system is not working correctly. I tried to rollback, and rerun command but it fails. I see from handbook the following: # svnlite update /usr/src check /usr/src/UPDATING # cd /usr/src # make -j4 buildworld # make -j4 kernel # shutdown -r now # cd /usr/src # make installworld # mergemaster -Ui # shutdown -r now https://docs.freebsd.org/en_US.ISO8859-1/books/handbook/makeworld.html Thanks & Best Regards, Antonio From owner-freebsd-questions@freebsd.org Mon Mar 1 22:58:13 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B87A654F985 for ; Mon, 1 Mar 2021 22:58:13 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (mx1.dismail.de [78.46.223.134]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mx1.dismail.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqFzS2MHFz4SVS for ; Mon, 1 Mar 2021 22:58:11 +0000 (UTC) (envelope-from lumiwa@dismail.de) Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id eed48a71; Mon, 1 Mar 2021 23:58:09 +0100 (CET) Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id ac420cce; Mon, 1 Mar 2021 23:58:09 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 9a26db39; Mon, 1 Mar 2021 23:58:09 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 8381daef (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Mon, 1 Mar 2021 23:58:08 +0100 (CET) Date: Mon, 1 Mar 2021 17:58:03 -0500 From: LuMiWa To: Antonio Olivares Cc: FreeBSD Questions Subject: Re: 13.0-RELEASE-BETA4 Message-ID: <20210301175803.4fb29aa0@dismail.de> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd12.2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DqFzS2MHFz4SVS X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.35 / 15.00]; DKIM_TRACE(0.00)[dismail.de:+]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[dismail.de:s=20190914]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[dismail.de:dkim]; R_SPF_ALLOW(-0.20)[+ip4:78.46.223.134]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; NEURAL_HAM_SHORT(-1.00)[-0.998]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[78.46.223.134:from]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[dismail.de,reject]; SUBJ_ALL_CAPS(1.35)[18]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:24940, ipnet:78.46.0.0/15, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 22:58:13 -0000 On Mon, 1 Mar 2021 16:04:45 -0600 Antonio Olivares wrote: > Dear kind FreeBSD users, >=20 > how to we update from source to 13.0-RELEASE-BETA4? >=20 > I tried with freebsd-fetch -r upgrade 13.0-RELEASE-BETA4 > but it fails to start. > now I can login, but system is not working correctly. I tried to > rollback, and rerun command but it fails. >=20 > I see from handbook the following: >=20 > # svnlite update /usr/src > check /usr/src/UPDATING > # cd /usr/src > # make -j4 buildworld > # make -j4 kernel > # shutdown -r now > # cd /usr/src > # make installworld > # mergemaster -Ui > # shutdown -r now >=20 > https://docs.freebsd.org/en_US.ISO8859-1/books/handbook/makeworld.html >=20 > Thanks & Best Regards, >=20 >=20 > Antonio > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" https://lists.freebsd.org/pipermail/freebsd-snapshots/2021-February/000826.= html --=20 =E2=80=9CWe live in a world where there is more and more information, and l= ess and less meaning.=E2=80=9D Jean Baudrillard From owner-freebsd-questions@freebsd.org Mon Mar 1 23:57:01 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65352550C15 for ; Mon, 1 Mar 2021 23:57:01 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (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 4DqHHJ2nJDz4WF1 for ; Mon, 1 Mar 2021 23:57:00 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id D5CF74A885 for ; Mon, 1 Mar 2021 16:56:52 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinyon.org; s=dkim; t=1614643012; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=RdExe2OAmsRyDONFVVl/ijTwdQfrDhcMJlQt/jwzdz4=; b=N9jpBfFGorPfc9SS67W9rj/GgUIM8gnkpBCOigOyzaiwc5LPyhgiwVRKd8O/luGdzMlLB7 0z/t0e2DKZuf4kUMlF92Vku98+PBspDLiXk1TDTuTHh1xHdeepHbTJcvQUZZqN2qWcJTaI ro0otfRw3yUeePq1plorDLYP6bwn2cg= Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> <8dc26e45-355a-dadd-0309-02dda1da3d87@tundraware.com> From: "Russell L. Carter" Message-ID: <5b1d0cdf-65c8-19bd-1d3f-0a3ff2922d1f@pinyon.org> Date: Mon, 1 Mar 2021 16:56:52 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <8dc26e45-355a-dadd-0309-02dda1da3d87@tundraware.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.37 X-Rspamd-Server: h2 X-Rspamd-Queue-Id: 4DqHHJ2nJDz4WF1 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pinyon.org header.s=dkim header.b=N9jpBfFG; dmarc=none; spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.101.20.170:from:127.0.2.255]; DMARC_NA(0.00)[pinyon.org]; DKIM_TRACE(0.00)[pinyon.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.101.20.170:from]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2021 23:57:01 -0000 On 3/1/21 10:41 AM, Tim Daneliuk via freebsd-questions wrote: [...] > > email is always going to be a 'postcard' - anyone along the delivery chain can peek inside > the envelope if they really want to. Even if - as I have done - you host your own domain > on a cloud provider, or even a physical server in your premise - the moment the mail goes into > flight, someone, somewhere is logging it with the potential ability to harvest it. > > The question, though, is who is more able to make use of your content? An mail relay company > of relatively small size, or Google with its billions and advanced tech? > > Even when I ran my own mail services at a static IP I controlled, it was a losing > game. When there were reputation questions, trying to get any of the blackholing > services to pay attention was a major pain. Some of the smaller ISPs were > equally disinterested because SPAM management was just overwhelming them. > > So, for now, I've settled on a compromise - I will run our own email servers and the policies > around them will be under our own control. But for purposes of external delivery, I am > now using a 3rd party so that the reputation issues (and resolution) accrue to them. > We'll see how this works. > > P.S. This did force me to get off my lazy butt and finally get DKIM and DMARC properly > configured ... I've been thinking this through some more. I'm going to use DuoCircle outbound SMTP, but I have site local mail users for two of my domains, and I'm a little icked out to have to run local mail through yet another evilcorp. So I'm provisionally going to have the local postfix instances SMTP relay to a cloud postfix instance I manage. The same cloud server will host my dovecot and rspamd infra, so I can deliver internal mail to my domains myself. Everything else outbound is to be relayed to DuoCircle on a non standard port. Similarly everything from my domain local postfix is relayed to my cloud postfix server on anon-standard port. Then my local IMAPS clients just talk to my cloud dovecot server, instead of the current local one. That keeps everything domain local under my control and theoretically encrypted. Roamers talk encrypted to my cloud postfix instance too. And my cloud dovecot instance. Now that wireguard is in the kernel I'm gearing up to setting up a couple of geographically diverse VPN hosts for my roamers. Of course each will run the mail infra. This has all been an inchoate mess in my head for a couple of years, and this discussion caused it to coalesce, many thanks! Anybody see any gaping holes? Well there is one hole: redundancy and/or backup. I generally just KISS: two different hosts, near identical configurations rsync'd on modification, one the primary MX and the other secondary. I've got dovecot replication running but I'm unsure how useful it is. There wouldn't be some sort of discussion group, like an old style email list, where these things are routinely discussed maybe? People are probably weary of all this mail nonsense in -questions. Russell > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@freebsd.org Tue Mar 2 00:05:02 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5BB8A551483 for ; Tue, 2 Mar 2021 00:05:02 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from outbound5e.eu.mailhop.org (outbound5e.eu.mailhop.org [52.28.168.19]) (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 4DqHSX6wGvz4Wh4 for ; Tue, 2 Mar 2021 00:05:00 +0000 (UTC) (envelope-from tundra@tundraware.com) ARC-Seal: i=1; a=rsa-sha256; t=1614643499; cv=none; d=outbound.mailhop.org; s=arc-outbound20181012; b=RONEaIpqYnc1Mlu7F+glAYnRIoByNWAge2EtODSrzufOeahr4ygycPcy89ga2raEdQ9Q0pBBRf9y3 0NEA0SKh8cKFNudGYcWSMpUyrBN+IUn92BIaGNplAx21kPTEWA0mz04O0GSYZOdw4btLuB04xAWmbP y/BzSlAzGm0W8/8+kcMOywuVtEoI0wgwPRzR31QrxraxNZPFPhOfGkM+Uv9209ti+JmFznVABPK9rO AjoqsLN2F/9ozrXlhD6htS/xJf7PUF+HU5Vdf1meF9TAP2mVTbTp4ZaLS3lDrR6SXNxIheZpPSYxAT Ml1JCEkQ/U2AYJPMzb/kz67ayAjM35w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=outbound.mailhop.org; s=arc-outbound20181012; h=content-transfer-encoding:content-type:in-reply-to:mime-version:date: message-id:from:references:to:subject:dkim-signature:dkim-signature:from; bh=Na4bw9VEA9ZFFBRAISowhUdfKXeghNSkSxlRpIcEZ6s=; b=QOSHOWC8BlpTIDxPOeWlfprC7zqgYDM76GAUzx+R+BMGE2pzOeUDBCGNDF4nYZfEkO/xZces1DNCh SdWZbaYeiM0WPnjKZ5V2sCni6mXqlxlOvbm7xnwtPwL6UMBdMPS9NFHKUmxdwsnaEiwLGepMLUE4Ih Sn0dVljkH0Q4loYXZnOMgtT/FSxR5Zu7fnqRNAr601Uz7OIrBhYQ9oj0y3pWnaDPy6DCliFeYwEyid vJ8A2mJwCnRAhMDaQ3eq02sLGjWzVS7/eJ3H5DwFTUKin+oT1sGJSWfXnnukzOq8lr3ZPjBeWwqJxV 2rpAUpGQGnOz/wXwksF1DhVQNQus7FQ== ARC-Authentication-Results: i=1; outbound2.eu.mailhop.org; spf=pass smtp.mailfrom=tundraware.com smtp.remote-ip=45.55.60.57; dmarc=pass header.from=tundraware.com; arc=none header.oldest-pass=0; X-Originating-IP: 45.55.60.57 X-MHO-RoutePath: dHVuZHJhd2FyZQ== X-MHO-User: eb9090df-7aea-11eb-a042-973b52397bcb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Mail-Handler: DuoCircle Outbound SMTP Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) by outbound2.eu.mailhop.org (Halon) with ESMTPSA id eb9090df-7aea-11eb-a042-973b52397bcb; Tue, 02 Mar 2021 00:04:56 +0000 (UTC) Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 12204meh085874 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 1 Mar 2021 18:04:48 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> <8dc26e45-355a-dadd-0309-02dda1da3d87@tundraware.com> <5b1d0cdf-65c8-19bd-1d3f-0a3ff2922d1f@pinyon.org> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: Date: Mon, 1 Mar 2021 18:04:43 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <5b1d0cdf-65c8-19bd-1d3f-0a3ff2922d1f@pinyon.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Mon, 01 Mar 2021 18:04:48 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 12204meh085874 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DqHSX6wGvz4Wh4 X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:52.28.168.19]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[tundraware.com:+,outbound.mailhop.org:+]; DMARC_POLICY_ALLOW(-0.50)[tundraware.com,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[52.28.168.19:from]; ASN(0.00)[asn:16509, ipnet:52.28.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_ALLOW(-1.00)[outbound.mailhop.org:s=arc-outbound20181012:i=1]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tundraware.com:s=duo-1614540450527-997c40d8,outbound.mailhop.org:s=dkim-high]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[52.28.168.19:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[52.28.168.19:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 00:05:02 -0000 On 3/1/21 5:56 PM, Russell L. Carter wrote: > nd I'm a little icked out to have to run local mail through yet > another evilcorp.  So I'm provisionally going to have the local postfix > instances SMTP relay to a cloud postfix instance I manage.  T You don't. Sendmail, at least, is smart enough to deliver local mail without doing through the relay - at least for things in the same domain. For other domains, sendmail provides mailtable which is a way to decide which relay should be used for which domains. (I just confirmed this with the sendmail gurus.) I assume postfix has something analogous. Also, I checked with DuoCircle and they claim to only retain the content for a day in their logs, but are willing to turn that off at the request of the customer. -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@freebsd.org Tue Mar 2 00:15:51 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0A7FF551751 for ; Tue, 2 Mar 2021 00:15:51 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqHj20h8Rz4XMP for ; Tue, 2 Mar 2021 00:15:49 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 4EAE44A8BC for ; Mon, 1 Mar 2021 17:15:48 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinyon.org; s=dkim; t=1614644148; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=x4/XKfxSVzCOHDyufP/va4/Acu/X7qO2WTAtZ6JwhPU=; b=rr65KkbqhpvKZnkdmiNZ7/7yN+pISrOLO+dEN5aXff80pQbEvWQvMfqzi+O6OK7OpArygE 1btDDqtRADmEm1cPO6ixIr0YtUbwcCQ9Ccm+mZAtv4mDMZH92/VyCUN4DGdHVBbquNEguj 4LCQBDiV+USRWyi86GFn6UQ6MNtuizM= Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> <8dc26e45-355a-dadd-0309-02dda1da3d87@tundraware.com> <5b1d0cdf-65c8-19bd-1d3f-0a3ff2922d1f@pinyon.org> From: "Russell L. Carter" Message-ID: <96c1cfb2-4b64-8532-5dc9-c99d33ce9924@pinyon.org> Date: Mon, 1 Mar 2021 17:15:47 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.69 X-Rspamd-Server: h2 X-Rspamd-Queue-Id: 4DqHj20h8Rz4XMP X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pinyon.org header.s=dkim header.b=rr65Kkbq; dmarc=none; spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.101.20.170:from:127.0.2.255]; DMARC_NA(0.00)[pinyon.org]; DKIM_TRACE(0.00)[pinyon.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.101.20.170:from]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 00:15:51 -0000 On 3/1/21 5:04 PM, Tim Daneliuk via freebsd-questions wrote: > On 3/1/21 5:56 PM, Russell L. Carter wrote: >> nd I'm a little icked out to have to run local mail through yet >> another evilcorp.  So I'm provisionally going to have the local postfix >> instances SMTP relay to a cloud postfix instance I manage.  T > > > You don't. Sendmail, at least, is smart enough to deliver local mail > without doing through the relay - at least for things in the same > domain. > Agreed! That's what I intend to do, but I have to move my infrastructure physically out into the cloud to get rid of my last mile ISP problem. Roamers are a complication, obviously. Now I think I know how to do it. I need to emphasize that I'm just an amateur here with way too much time on his hands... > For other domains, sendmail provides mailtable which is a way to decide > which relay should be used for which domains. (I just confirmed this > with the sendmail gurus.) I assume postfix has something analogous. Yep. > Also, I checked with DuoCircle and they claim to only retain the content > for a day in their logs, but are willing to turn that off at the request > of the customer. > That's cool of them. There was some glitch on registration (freebsd firefox?) and chat cleared it up quickly so I am encouraged so far. Best, Russell From owner-freebsd-questions@freebsd.org Tue Mar 2 00:31:29 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 44A0F551CC9 for ; Tue, 2 Mar 2021 00:31:29 +0000 (UTC) (envelope-from 4250.82.1d4ce0000cd4094.c33286aea7fbd59c84094d83987d3091@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 4DqJ3429VNz4YFB for ; Tue, 2 Mar 2021 00:31:28 +0000 (UTC) (envelope-from 4250.82.1d4ce0000cd4094.c33286aea7fbd59c84094d83987d3091@email-od.com) DKIM-Signature: v=1; a=rsa-sha256; d=email-od.com;i=@email-od.com;s=dkim; c=relaxed/relaxed; q=dns/txt; t=1614645088; x=1617237088; h=content-transfer-encoding:content-type:mime-version:references:in-reply-to:message-id:subject:to:from:date:x-thread-info; bh=OykddOnNDnHTyzvaHp0HjL8Qd0RaydjV+qIKjSX/qP0=; b=a6+f+AcEhoGuGIcR0/AJLvz1v8BekNyNoULiW4cDYrR4cttiKvv7iP6dFkUQMM8V/Tq0m94L2KEc8+m+BBdoJhilHsYz4GP0sRPG/vE5pikRi0ISmEXskzhtMJ6rE5f4XXcbswJW4UeWNvcL5nxoqU7lCx1+P4PaJ9Q4xbkYRaE= X-Thread-Info: NDI1MC4xMi4xZDRjZTAwMDBjZDQwOTQuZnJlZWJzZC1xdWVzdGlvbnM9ZnJlZWJzZC5vcmc= Received: from r1.sg.in.socketlabs.com (r1.sg.in.socketlabs.com [142.0.179.11]) by mxsg2.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 1 Mar 2021 19:31:25 -0500 Received: from smtp.lan.sohara.org (EMTPY [185.202.17.215]) by r1.sg.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Mon, 1 Mar 2021 19:31:24 -0500 Received: from [192.168.63.1] (helo=steve.lan.sohara.org) by smtp.lan.sohara.org with smtp (Exim 4.94 (FreeBSD)) (envelope-from ) id 1lGswd-0007gJ-3j for freebsd-questions@freebsd.org; Tue, 02 Mar 2021 00:31:23 +0000 Date: Tue, 2 Mar 2021 00:31:22 +0000 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services Message-Id: <20210302003122.5c44f080a4f3c7a0424b6408@sohara.org> In-Reply-To: <96c1cfb2-4b64-8532-5dc9-c99d33ce9924@pinyon.org> References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> <8dc26e45-355a-dadd-0309-02dda1da3d87@tundraware.com> <5b1d0cdf-65c8-19bd-1d3f-0a3ff2922d1f@pinyon.org> <96c1cfb2-4b64-8532-5dc9-c99d33ce9924@pinyon.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) X-Clacks-Overhead: "GNU Terry Pratchett" Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DqJ3429VNz4YFB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=email-od.com header.s=dkim header.b=a6+f+AcE; dmarc=none; spf=pass (mx1.freebsd.org: domain of 4250.82.1d4ce0000cd4094.c33286aea7fbd59c84094d83987d3091@email-od.com designates 142.0.176.198 as permitted sender) smtp.mailfrom=4250.82.1d4ce0000cd4094.c33286aea7fbd59c84094d83987d3091@email-od.com X-Spamd-Result: default: False [-2.70 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[email-od.com:s=dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.176.198:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[sohara.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[142.0.176.198:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; DKIM_TRACE(0.00)[email-od.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FORGED_SENDER(0.30)[steve@sohara.org,4250.82.1d4ce0000cd4094.c33286aea7fbd59c84094d83987d3091@email-od.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[142.0.176.198:from]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7381, ipnet:142.0.176.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[steve@sohara.org,4250.82.1d4ce0000cd4094.c33286aea7fbd59c84094d83987d3091@email-od.com]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 00:31:29 -0000 On Mon, 1 Mar 2021 17:15:47 -0700 "Russell L. Carter" wrote: > Agreed! That's what I intend to do, but I have to move my > infrastructure physically out into the cloud to get rid of my > last mile ISP problem. Roamers are a complication, obviously. Use a VPN to make it virtually a LAN. -- Steve O'Hara-Smith From owner-freebsd-questions@freebsd.org Tue Mar 2 00:43:33 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E81455245B for ; Tue, 2 Mar 2021 00:43:33 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from h2.pinyon.org (h2.pinyon.org [65.101.20.170]) (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 4DqJK04XK9z4Yt0 for ; Tue, 2 Mar 2021 00:43:32 +0000 (UTC) (envelope-from rcarter@pinyon.org) Received: from [10.0.10.15] (unknown [10.0.10.15]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by h2.pinyon.org (Postfix) with ESMTPSA id 066874AA39 for ; Mon, 1 Mar 2021 17:43:31 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pinyon.org; s=dkim; t=1614645811; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/5D1myk6vALc0+/Lae6qTX4uES9DfcOdqU43ZOPlrUw=; b=s/q9CQF34su3YHyLTvqYLFHAfu9V+qqqF8DYVwUmDnN0x5Nx6oUFRKAjA1DjxvKttZ7y3H 41JT2k8AhqbEIhQQJtE0XSlbkk24OPVwPBd7xgyLtekkN55aSA1DlzNvsxZm5ej5IDWZA8 gGmzewGtJI3vQJ8nWmqliPXNEKrKFok= Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> <8dc26e45-355a-dadd-0309-02dda1da3d87@tundraware.com> <5b1d0cdf-65c8-19bd-1d3f-0a3ff2922d1f@pinyon.org> <96c1cfb2-4b64-8532-5dc9-c99d33ce9924@pinyon.org> <20210302003122.5c44f080a4f3c7a0424b6408@sohara.org> From: "Russell L. Carter" Message-ID: <073af9f7-f978-36ff-ed6d-e8d60bfd066f@pinyon.org> Date: Mon, 1 Mar 2021 17:43:30 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <20210302003122.5c44f080a4f3c7a0424b6408@sohara.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.10 X-Rspamd-Server: h2 X-Rspamd-Queue-Id: 4DqJK04XK9z4Yt0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pinyon.org header.s=dkim header.b=s/q9CQF3; dmarc=none; spf=pass (mx1.freebsd.org: domain of rcarter@pinyon.org designates 65.101.20.170 as permitted sender) smtp.mailfrom=rcarter@pinyon.org X-Spamd-Result: default: False [-3.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[pinyon.org:s=dkim]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.101.20.170:from:127.0.2.255]; DMARC_NA(0.00)[pinyon.org]; DKIM_TRACE(0.00)[pinyon.org:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.101.20.170:from]; ASN(0.00)[asn:209, ipnet:65.101.0.0/18, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 00:43:33 -0000 On 3/1/21 5:31 PM, Steve O'Hara-Smith wrote: > On Mon, 1 Mar 2021 17:15:47 -0700 > "Russell L. Carter" wrote: > >> Agreed! That's what I intend to do, but I have to move my >> infrastructure physically out into the cloud to get rid of my >> last mile ISP problem. Roamers are a complication, obviously. > > Use a VPN to make it virtually a LAN. Indeed! Wireguard in the kernel is perfect. I've been using debian on my cloud servers *only* because it had wireguard in the kernel. I'm converting the first one tonight. There are devices like GL-INET that I've used to aggregate phones in a hotel room into a wireguard VPN and it has worked fabulous. Russell From owner-freebsd-questions@freebsd.org Tue Mar 2 01:35:45 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B618E554A5D for ; Tue, 2 Mar 2021 01:35:45 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqKTD6Zsjz4dw3 for ; Tue, 2 Mar 2021 01:35:44 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id d15so2904219wrv.5 for ; Mon, 01 Mar 2021 17:35:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Tq3h54IUpqiiJWNwgsnmN+/MW+6+0DGP1pHO7aInnOA=; b=iCSRc0Qk/Lo2ZQ81pAIYbHpDI5T8xPlvt0DQSUF1RKECe3bOQgC0KvVdBww6EEWVh+ EYXm9iqbjUYSmhXxLi9dOoAdklOP3Pe3mzK4Qas/+rfm4Q8l7m3L6pODHQ4V3x6TRXg3 NrEt6hJTITjsLui18BtYYiMugAATYLODEt2pR6onzAKFlkaiiCt183qqeaKkEIcScdpP gDrsQfbSTZrDvdqdcDLp2eG9aZf/GXVKROaNyhKFmHew2LXa4NiD5aF00+Xu7CF2xNcD LDGQO/XHbKf6wKGNo0D3WIMPfeerCqJj1es6WahSuq68C1yZnN3SIfIclUAoTEzDrO7q 2wBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Tq3h54IUpqiiJWNwgsnmN+/MW+6+0DGP1pHO7aInnOA=; b=pmhAtXH+YbEL2hA6EexXCu2CVl03qPrf4I0ysc+OpVFiBRhWj0S6qUd3jt1adgU/EP 8kaJpfxPd2o/Zioa5Y3PpM6H+3USUAm1QsdTTNC1cEo2yy+v/Jgn9kzvEQOZaw+8TJ55 ID1RIQqSUqWWlUII7ikvgvY+bY0/lpi6HkzF9OOCQrT4tKpFFmA4BRGpKrg3zqBrzMAs +OE+QjiSmANg39SsoMN0M330yNnWSu0ckSfUmesXCXy4HoSto5kWYXj1oiQ9iQPCvqBo mUV0XC9djgHxa0BrJp5Ni8/B5xlFOZ3MMaBm+eb4Xx4GbiTZpMRT789xxL3FUw/j9awG oGtA== X-Gm-Message-State: AOAM531hT1oSEx4XXMJFa6n+1eGNJm2+HrCV+O8OTtrR2XoVPbUwTQnt lTVVGK66DrctMwIzgKijXvfoxyO3MXWOKu23Jt8= X-Google-Smtp-Source: ABdhPJyk7fnQRsnxePL2dXCPGk6a4sOWeOhzoBfTATmbrCEiQdMOrOs23JPFqIMiyNVjkKloO39fGieE4EXlTJ5FeoI= X-Received: by 2002:a5d:544c:: with SMTP id w12mr20015450wrv.310.1614648943202; Mon, 01 Mar 2021 17:35:43 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a1c:ded5:0:0:0:0:0 with HTTP; Mon, 1 Mar 2021 17:35:42 -0800 (PST) In-Reply-To: <20210301175803.4fb29aa0@dismail.de> References: <20210301175803.4fb29aa0@dismail.de> From: Antonio Olivares Date: Mon, 1 Mar 2021 19:35:42 -0600 Message-ID: Subject: Re: 13.0-RELEASE-BETA4 To: LuMiWa Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4DqKTD6Zsjz4dw3 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=iCSRc0Qk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-2.65 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; SUBJ_ALL_CAPS(1.35)[18]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42d:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 01:35:45 -0000 On Monday, March 1, 2021, LuMiWa wrote: > On Mon, 1 Mar 2021 16:04:45 -0600 > Antonio Olivares wrote: > >> Dear kind FreeBSD users, >> >> how to we update from source to 13.0-RELEASE-BETA4? >> >> I tried with freebsd-fetch -r upgrade 13.0-RELEASE-BETA4 >> but it fails to start. >> now I can login, but system is not working correctly. I tried to >> rollback, and rerun command but it fails. >> >> I see from handbook the following: >> >> # svnlite update /usr/src >> check /usr/src/UPDATING >> # cd /usr/src >> # make -j4 buildworld >> # make -j4 kernel >> # shutdown -r now >> # cd /usr/src >> # make installworld >> # mergemaster -Ui >> # shutdown -r now >> >> https://docs.freebsd.org/en_US.ISO8859-1/books/handbook/makeworld.html >> >> Thanks & Best Regards, >> >> >> Antonio >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" > > https://lists.freebsd.org/pipermail/freebsd-snapshots/2021-February/000826.= html > > -- > =E2=80=9CWe live in a world where there is more and more information, and= less > and less meaning.=E2=80=9D > > Jean Baudrillard > Thank you Sir, I have tried # freebsd-update -r upgrade 13.0-RELEASE-BETA4 But it did not work. I wanted to fix my broken installation from source. But there was a move to git? I have not done source updates since 8.2/9.0 -RELEASE Best Regards, Antonio From owner-freebsd-questions@freebsd.org Tue Mar 2 02:31:25 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 02EA15569F3 for ; Tue, 2 Mar 2021 02:31:25 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqLjR4ym5z4hhC for ; Tue, 2 Mar 2021 02:31:23 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: by mail-lf1-x135.google.com with SMTP id m22so28917132lfg.5 for ; Mon, 01 Mar 2021 18:31:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenebras-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=19YhwFdXquVTM9D0SxJl75YtkMMLEdgP5Rqpm6TQIoo=; b=0TsJWrAxUAMC6W6sWVzEOurL3S0bJQtPGxQIE+Ohzyo22AyT/WsN8W47NEYZ+6iSt5 XsF/cOgxk4gBBaHkDS5vMh9M7Nv3reJJsJJLuDh8Q0cUm2jPF5fA5tZRDmZ1ZA0TbyS6 t158cmEMabpVU1wyUe3neWSmRtzzRyrMG2Ako0LFfspj1vOfyo8OiuoepNoyDPidZCP9 vuolvbuO61hytkeuFNmE0NWp7ZueuNnw7/drweNXz3Fp3LAsfgXX6KchuMpUNRImsnKn 6lrVsGNTGRDJbEi8mQkj0NPmuuQTLjgzP1gjJNOYg9OKUs5JCt2QiMMivTRZU2omzsCB cFfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=19YhwFdXquVTM9D0SxJl75YtkMMLEdgP5Rqpm6TQIoo=; b=Cx2M01TYiJR0cBHuW8bwf+uL8/XCP79L9YVdgQMDW+giSk3t58dYebLSkqeqKu0nBI KbzGdKk4xBCw+5kWqQew5v0/IcPfSav6Vh7xtKRKeire57tUmLynnXdiZZmDeNNlhBw+ uzAO9uuXZnu8F8Vm8/K9f3PagwGa3Q444GA25Rp8aku8cbjS+8O6fD1a65zf5SqWM7Ts mcmc6GU2cymC/Pqs4vHCzVyh+c1b8PtxN+ynwzSUQ73As0AYefvjIcjdCRntVbCM7DkN sgeZ9I/EEQsrCQgGyMCLusRSbW3Q48ZLeI6uoaqc1YvEpWysSBiJ8pWJcvLD2zSslMbH NxoQ== X-Gm-Message-State: AOAM533Rl0ssLAALUT4Ro06pOOedagI5vC8JUxPwTw0SKJMc19SQ8nkk MBJjNRtLKWlposqzuxNZd0yO70ysyHd6ArH0X7Z+zxuePw7u70hV X-Google-Smtp-Source: ABdhPJwOFLPGP2Ec5G0w5FGZSon2m8Cg1bHe10HApCCj7CZxvSbkUAuTw+TsMs3Nntvi5o7eOKlfBIE03C2CYuWbQ4Q= X-Received: by 2002:ac2:4e04:: with SMTP id e4mr10742940lfr.39.1614652281755; Mon, 01 Mar 2021 18:31:21 -0800 (PST) MIME-Version: 1.0 References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com> In-Reply-To: <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com> From: Michael Sierchio Date: Mon, 1 Mar 2021 18:30:46 -0800 Message-ID: Subject: Re: Panic after updating from source To: Janos Dohanics Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4DqLjR4ym5z4hhC X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tenebras-com.20150623.gappssmtp.com header.s=20150623 header.b=0TsJWrAx; dmarc=none; spf=none (mx1.freebsd.org: domain of kudzu@tenebras.com has no SPF policy when checking 2a00:1450:4864:20::135) smtp.mailfrom=kudzu@tenebras.com X-Spamd-Result: default: False [-3.30 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tenebras-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[tenebras.com]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::135:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[tenebras-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::135:from]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::135:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 02:31:25 -0000 Anyone can repeat what's in the handbook. It may not be applicable in all circumstances, as I noted before =E2=80=93 as when you don't have console a= ccess. It turns out that the formula I describe above works flawlessly for 12-STABLE to 13-STABLE upgrade: 1. userland and kernel are on FreeBSD test-1.dbm.q2w.spin.pm 12.2-STABLE FreeBSD 12.2-STABLE stable/12-n232782-39e2c45679a GRAVITON arm64 1. Clear /usr/src and /usr/obj 2. Make sure you have a working kernconf for the new OS (e.g., device random disappears in 13) 3. git clone -b stable/13 --depth 1 https://git.freebsd.org/src.git /usr/sr= c 4. cp ~/GRAVITON /usr/src/sys/arm64/conf # my kernconf, mentioned in /etc/make.conf 5. cd /usr/src 6. ( make -j8 buildworld && make -j8 kernel && make installworld && reboot ) >& make.out & 7. [ time passes ] 8. ssh 9. uname -a FreeBSD test-1.dbm.q2w.spin.pm 13.0-STABLE FreeBSD 13.0-STABLE #0 stable/13-05e4a34e4 GRAVITON arm64 --=20 "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool is = no wiser, but an intelligent person requires only two thousand five hundred." - The Mah=C4=81bh=C4=81rata From owner-freebsd-questions@freebsd.org Tue Mar 2 02:40:18 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 387E1557339 for ; Tue, 2 Mar 2021 02:40:18 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqLvj2jyfz4j8b for ; Tue, 2 Mar 2021 02:40:17 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ej1-x62d.google.com with SMTP id hs11so32354386ejc.1 for ; Mon, 01 Mar 2021 18:40:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:from:date:message-id:subject:to; bh=hXC4+k/z4OKMCNBp4blr/Mp8XAFKmzsv4wggZ4UOG6Y=; b=Hbp4EeUC+SShr39RNNowAhI7ILoRqis82V9PYUUFfwnZxJlSYdgZXqnnuaMMXtTYOT d6TDX1IXUdf5WSOE3OpXGjFaRdsTZU2mInLk4BamsAtrD6VxpNwap8w6Sy1W5NDhRcGQ 2AhyaQ72ejM2nDW+MHgxzYrJs4225EHTsEYMN9E1XQ8gn0n6U3REPJ4pFdmDl4BRfV2P oKGFbw1qK6Kds2k9IvlcTdyyDQq9clmcdYOrAAtJn2IMSelL9HByjgCiMHfGR7ZxIQo1 4HR4j+0nU0yhke68cNmEdFgV9LPsr2psAwVAF/KSWm778pl5ruAqqW00udmSQyi1g4r1 3tzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=hXC4+k/z4OKMCNBp4blr/Mp8XAFKmzsv4wggZ4UOG6Y=; b=tbuJcac5TUK2prQcR4gso5wORqhd0UOdYS8UPcc7499wlBfDkygVXGuPKeq8p0/Wgn ZY8DA45cQ9ZrM7IxdnIm3hO338tNOeikjbrwlMxCFDHNT7roqQiVszp2AQ8WFeiEEz6R JXDVPfygTJXHGqJ6DJeRBNj+u4bDg5XOWUiDMaNz0JP2Ak5JGi9U5idlVwJw/flOBbNB Gue9pZKcr9fwrp9JfL8Hmt1XRLPs7irKjD9V45U9FXbvFlLCMBpC2sihORNN3V9ZGZDy IP4KxuoHsNkfx4wilm1v9oG+NDdp5EiHHAzKIE3P8s6VmCDEYzN2IHTgPQjSq7QGDgdV +9AQ== X-Gm-Message-State: AOAM53016E/SoMVT1H8zIfBbd9tYd0GMs+ecqa+ARGQye+fAWeQ55OiE jwr9DI8usT7f37jfw/yHaqdtce8jmhWncu0xr9MfnljDVag= X-Google-Smtp-Source: ABdhPJyLQJA+EHZWjT8j//tV5rHPbQ4kUgdL3XRqqt4TuNjuMRZDS0eB+0zHRArqYOFecIU9RjalrKbV8IfcIrYV6yQ= X-Received: by 2002:a17:906:3cf1:: with SMTP id d17mr18769775ejh.343.1614652816060; Mon, 01 Mar 2021 18:40:16 -0800 (PST) MIME-Version: 1.0 From: Tomasz CEDRO Date: Tue, 2 Mar 2021 03:40:03 +0100 Message-ID: Subject: zfs out of space To: FreeBSD Questions Mailing List X-Rspamd-Queue-Id: 4DqLvj2jyfz4j8b X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=Hbp4EeUC; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::62d) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.28 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::62d:from:127.0.2.255]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; NEURAL_HAM_SHORT(-0.98)[-0.984]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62d:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::62d:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 02:40:18 -0000 Hello world :-) I have problem with ZFS running out of space. 12.1 release. Removed all snapshots. No reservations. Removed 1TB backup file. Scrub shows no problem. I should have 1TB free space. That space momentarily disappeared. zpool list shows free 43.5G, alloc 1.32T, size 1.36T. zfs list shows 9.64M avail. zpool status shows checkpoint consumes 247G. Should I refresh stuff anyhow? Any hints welcome :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Tue Mar 2 03:27:44 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CECD6558E1C for ; Tue, 2 Mar 2021 03:27:44 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (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 (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqMyR6jCCz4llF for ; Tue, 2 Mar 2021 03:27:43 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) 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 ; Mon, 1 Mar 2021 19:27:33 -0800 Subject: Re: zfs out of space To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: <19e7598f-ed3b-75a6-8e98-2900fe1a828c@holgerdanske.com> Date: Mon, 1 Mar 2021 19:27:33 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DqMyR6jCCz4llF X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-2.09 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[184.105.128.27:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[184.105.128.27:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.986]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 03:27:44 -0000 On 3/1/21 6:40 PM, Tomasz CEDRO wrote: > Hello world :-) > > I have problem with ZFS running out of space. 12.1 release. > > Removed all snapshots. No reservations. Removed 1TB backup file. Scrub > shows no problem. I should have 1TB free space. That space momentarily > disappeared. > > zpool list shows free 43.5G, alloc 1.32T, size 1.36T. > > zfs list shows 9.64M avail. > > zpool status shows checkpoint consumes 247G. > > Should I refresh stuff anyhow? > > Any hints welcome :-) I would try discarding the checkpoint: # zpool checkpoint --discard pool David From owner-freebsd-questions@freebsd.org Tue Mar 2 04:03:17 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 516375594D3 for ; Tue, 2 Mar 2021 04:03:17 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.sermon-archive.info (sermon-archive.info [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 4DqNlR70P0z4nDf for ; Tue, 2 Mar 2021 04:03:15 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.251] (mini [10.0.1.251]) by mail.sermon-archive.info (Postfix) with ESMTPSA id 4DqNlK1JqKz2fjQl; Mon, 1 Mar 2021 20:03:09 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: 13.0-RELEASE-BETA4 From: Doug Hardie In-Reply-To: Date: Mon, 1 Mar 2021 20:03:09 -0800 Cc: LuMiWa , FreeBSD Questions Content-Transfer-Encoding: quoted-printable Message-Id: References: <20210301175803.4fb29aa0@dismail.de> To: Antonio Olivares X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Virus-Scanned: clamav-milter 0.103.0 at mail X-Virus-Status: Clean X-Rspamd-Queue-Id: 4DqNlR70P0z4nDf X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bc979@lafn.org designates 71.177.216.148 as permitted sender) smtp.mailfrom=bc979@lafn.org X-Spamd-Result: default: False [0.61 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.994]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ip4:71.177.216.148/32]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[lafn.org: no valid DMARC record]; RBL_DBL_DONT_QUERY_IPS(0.00)[71.177.216.148:from]; NEURAL_SPAM_SHORT(0.95)[0.952]; SPAMHAUS_ZRD(0.00)[71.177.216.148:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; SUBJ_ALL_CAPS(1.35)[18]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:5650, ipnet:71.177.216.0/23, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 04:03:17 -0000 > On 1 March 2021, at 17:35, Antonio Olivares = wrote: >=20 >=20 > Thank you Sir, I have tried > # freebsd-update -r upgrade 13.0-RELEASE-BETA4 >=20 > But it did not work. I wanted to fix my broken installation from = source. > But there was a move to git? I have not done source updates since = 8.2/9.0 > -RELEASE >=20 > Best Regards, I believe the correct command is: freebsd-update upgrade -r 13.0-BETA4 -- Doug From owner-freebsd-questions@freebsd.org Tue Mar 2 04:24:27 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 36E0C55A1E9 for ; Tue, 2 Mar 2021 04:24:27 +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 (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqPCt0ZmSz4nn5 for ; Tue, 2 Mar 2021 04:24:25 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) 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 ; Mon, 1 Mar 2021 20:24:13 -0800 Subject: Re: 13.0-RELEASE-BETA4 To: freebsd-questions@freebsd.org References: <20210301175803.4fb29aa0@dismail.de> From: David Christensen Message-ID: <912de0ca-fb7c-f998-17f5-bf64ffbe41b0@holgerdanske.com> Date: Mon, 1 Mar 2021 20:24:12 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DqPCt0ZmSz4nn5 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 2001:470:0:19b::b869:801b) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-0.75 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:470:0:19b::b869:801b:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:470:0:19b::b869:801b:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[holgerdanske.com]; SUBJ_ALL_CAPS(1.35)[18]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:2001:470::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 04:24:27 -0000 On 3/1/21 5:35 PM, Antonio Olivares wrote: > On Monday, March 1, 2021, LuMiWa wrote: >> On Mon, 1 Mar 2021 16:04:45 -0600 >> Antonio Olivares wrote: >> >>> Dear kind FreeBSD users, >>> >>> how to we update from source to 13.0-RELEASE-BETA4? >>> >>> I tried with freebsd-fetch -r upgrade 13.0-RELEASE-BETA4 >>> but it fails to start. >>> now I can login, but system is not working correctly. I tried to >>> rollback, and rerun command but it fails. > https://lists.freebsd.org/pipermail/freebsd-snapshots/2021-February/000826.html > Thank you Sir, I have tried > # freebsd-update -r upgrade 13.0-RELEASE-BETA4 > > But it did not work. I wanted to fix my broken installation from source. > But there was a move to git? I have not done source updates since 8.2/9.0 > -RELEASE I want a FreeBSD version that "just works", so I use 12.2-RELEASE. Follow the links to download a suitable installer from here: https://www.freebsd.org/releases/12.2R/announce/ 13.0-BETA4 is still under development. If you want to help test it, follow the link provided by LuMiWa and download a suitable installer from here: https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.0/ Burn your chosen installer to media: https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall- pre Backup the system in question, remove the system drive, install a blank system drive, and do a fresh install. Select the components you want during installation, such as "src" and/or "ports": https://docs.freebsd.org/en/books/handbook/bsdinstall/#using-bsdinstall Once FreeBSD is installed, use freebsd-update(8) to keep FreeBSD up to date: https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-upgrading-freebsdupdate David From owner-freebsd-questions@freebsd.org Tue Mar 2 05:42:58 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 995DA55B625 for ; Tue, 2 Mar 2021 05:42:58 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqQyV0dz3z4sCG for ; Tue, 2 Mar 2021 05:42:57 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-ot1-x329.google.com with SMTP id e45so18908078ote.9 for ; Mon, 01 Mar 2021 21:42:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0DVv+7oT/L6ckE428PrOk3YR5brEFrQvrGB6Z60kW48=; b=aR+wXoRKnCiCfZLEqjlz/2CEd7XGpkogz0k45io8ww6pHFyT3jv0LNNa+TTFkh3PPc LdznPT44JXs1FsBxUXXeLTJhsiL1Jo/eR1hhQTYccZ7JhagNMMqtD6hsm3kSM0sxYTyC sYRVAuyCxkfMoDRamBhewLjHTBmPxG10xJPOF1FG//7CmCeQ/uENUPz1Wv2FjSrurB+k ff9FOZFwlFOQgqGiDnXry39q7CBCaJZb4gQWV2gKB+0DXZ/MwIOaOUey7xST4NU/cjBT NCVNOpvZjc/tpQBFhl3zx1W8wErr768UzntpQF14k3//0wjkLglyr0LZYD0YTuZX6bbY vMfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0DVv+7oT/L6ckE428PrOk3YR5brEFrQvrGB6Z60kW48=; b=Nqxn+gIbK/chcvpPsPziiWTyjS2pV3+Gli//0II1SHx0n4wE2r//kFPzgeWnOVa8V/ 2gx6OpRlBJDZLS2X1d36TZyeO9bhV4UY8A5HqCEFhXV1uvZ0hzn5RkW/rPSIwTpxlnxI 6nL7XrrJ5JQ/OpAMNxo/YQ8vfKl6xOa+a8IUNZNgV7d0wJjcaZ5zvPWz6fng/e4C8dEP C02T1XJLTPLnZr1r+Q+jhxG7aR9YLuOmX85RZ5EOfjEuZ7LJU4CNXHheYK5ywUGwRy6Y HO2mzFLtz5V2KQ9chht8zD1f/6QJOUB+zljZ9OQqAlLbUJc8HUe26rrciZT6a1iT1R/J A93g== X-Gm-Message-State: AOAM532yrCXIlyJPrFK22SHkP7ZCACnj8qPlVr8LlAC4lA0UNtzYHNX4 /qE86DiljClfbaxP4MXcN50H0vZDBTa9fMq2IVUFdMuu3nv5Gw== X-Google-Smtp-Source: ABdhPJxU+7JOqfs5gBbltNqOGP/T4ell+BAIT5ownkkXzguOLo06MGpsEWSTfe9xp1X1fTm45OgktnOkKx840rE5Xco= X-Received: by 2002:a05:6830:1f3c:: with SMTP id e28mr16774514oth.93.1614663777048; Mon, 01 Mar 2021 21:42:57 -0800 (PST) MIME-Version: 1.0 References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com> In-Reply-To: From: Kevin Oberman Date: Mon, 1 Mar 2021 21:42:40 -0800 Message-ID: Subject: Re: Panic after updating from source To: Michael Sierchio Cc: Janos Dohanics , FreeBSD Questions X-Rspamd-Queue-Id: 4DqQyV0dz3z4sCG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=aR+wXoRK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::329 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-3.70 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::329:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::329:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::329:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 05:42:58 -0000 On Mon, Mar 1, 2021 at 6:31 PM Michael Sierchio wrote: > Anyone can repeat what's in the handbook. It may not be applicable in al= l > circumstances, as I noted before =E2=80=93 as when you don't have console= access. > > It turns out that the formula I describe above works flawlessly for > 12-STABLE to 13-STABLE upgrade: > > > 1. userland and kernel are on > > FreeBSD test-1.dbm.q2w.spin.pm 12.2-STABLE FreeBSD 12.2-STABLE > stable/12-n232782-39e2c45679a GRAVITON arm64 > > > 1. Clear /usr/src and /usr/obj > 2. Make sure you have a working kernconf for the new OS (e.g., device > random disappears in 13) > 3. > > git clone -b stable/13 --depth 1 https://git.freebsd.org/src.git > /usr/src > 4. > > cp ~/GRAVITON /usr/src/sys/arm64/conf # my kernconf, mentioned in > /etc/make.conf > 5. > > cd /usr/src > 6. > > ( make -j8 buildworld && make -j8 kernel && make installworld && reboo= t > ) >& make.out & > 7. > > [ time passes ] > 8. > > ssh > 9. > > uname -a > > FreeBSD test-1.dbm.q2w.spin.pm 13.0-STABLE FreeBSD 13.0-STABLE #0 > stable/13-05e4a34e4 GRAVITON arm64 > > -- > > "Well," Brahm=C4=81 said, "even after ten thousand explanations, a fool i= s no > wiser, but an intelligent person requires only two thousand five hundred.= " > > - The Mah=C4=81bh=C4=81rata > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > You need to be aware that the shallow clone hash will not include the commit count which will be used in future security updates to make it easy to check whether your system needs to be updated or not. A full clone does require more space, but I was surprised at how little extra space it requires. Warner is updating his git mini-guide to point out this issue. If you run STABLE, it's a really significant concern. You can convert the shallow clone to a full one with "git fetch --unshallow". This will take some time to run. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-questions@freebsd.org Tue Mar 2 06:33:09 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A79A655C56C; Tue, 2 Mar 2021 06:33:09 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqS4N4xxCz4vMl; Tue, 2 Mar 2021 06:33:08 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x332.google.com with SMTP id k66so1459374wmf.1; Mon, 01 Mar 2021 22:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=uKHzftoigtgi8G5XJoHGEnr7XlSkxPGmGqd9w26qiNU=; b=ECIkWWfPnHJUBhF4pfXzTeb6UNz8PTLsNdwdBVdY6rmgIMMfeCBuL5S5dLNb8hFPqV 8nUPmBgMuIyHfkGcy4P1rd0Rk54K45+q3e1ujoFBXacFAgGTH4fzxzrJbsrO5HJbKcMh rWcdWnBRSv+t/QYEEgBjGNGcJgY+Vn9MpvsxtZ7alBXHBh7EN6kCu9o/oDkE/uzQz+cn SWtR+rZpJ+cqEEGhqotYIINX6sJYtt4GzK6fxfOLq+luQbgJtUgxjDourWIdKjfAqnju tpgJHKf0UsN2hyP+DaF4IseNN6GkDp0nr/syr0w741fUBugxw81sbpFJC92LOigB1JFL WK3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=uKHzftoigtgi8G5XJoHGEnr7XlSkxPGmGqd9w26qiNU=; b=OH+6ajWzeHSBms6fgOTVy/kd/ocsz9/B/FMB0pjvAzfWaS/XSSvds/GRbUYqQTisUA d7m+plt+RPK9Wx1dqHK/QSHaOtHm5aZGRwkVV5ZyD+J7vm39fR+9yDcSxsnsQ5IzAOCq S5IFHLgFlQlmJNgkMsppQkOeHCz5VSjZbIZ1WD85+5i0xnSwNn0EAGca8zHSgJekXNh/ 5Rmifq/sJ+90xqTB/dgEQpA9BxTuH9LHGalLOeNEm3M65KmXpUAYUb+w+GayaB4y6WIh O/+kQizIbpdey1xhd539aozmoA3GlkI4uQXEqAfHsMYrbnYu/6XvUGvqueOtoRj+bVMX re6Q== X-Gm-Message-State: AOAM530u5USk/WtovE6Dubh8Yilh+Bubcma0yT7jz4NC9scUsdsYHyPG n+us45pw9KUfEYjiFqxb4T1zggiIf17yaA== X-Google-Smtp-Source: ABdhPJwnz8IgZo2qWf2oRSArGutZPR8uGPCQrAJSana7/nFS/S+urY3PX2bL0yo0McGphOARxTooow== X-Received: by 2002:a1c:cc04:: with SMTP id h4mr2248704wmb.142.1614666786898; Mon, 01 Mar 2021 22:33:06 -0800 (PST) Received: from [192.168.1.13] (88-105-96-80.dynamic.dsl.as9105.com. [88.105.96.80]) by smtp.gmail.com with ESMTPSA id g17sm26087785wru.60.2021.03.01.22.33.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Mar 2021 22:33:06 -0800 (PST) Subject: Git, shallow clone hashes, commit counts and system/security updates To: freebsd-questions@freebsd.org, FreeBSD CURRENT References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> <20210301020830.5466d368867bdbc11b0b7648@3dresearch.com> From: Graham Perrin Message-ID: <00517bca-fc1b-fcea-50a2-6469ff922092@gmail.com> Date: Tue, 2 Mar 2021 06:33:05 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4DqS4N4xxCz4vMl X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ECIkWWfP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::332 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[88.105.96.80:received]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::332:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::332:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::332:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 06:33:09 -0000 On 02/03/2021 05:42, Kevin Oberman wrote: Re: Panic after updating from source > On Mon, Mar 1, 2021 at 6:31 PM Michael Sierchio wrote: > >> … > You need to be aware that the shallow clone hash will not include the > commit count which will be used in future security updates to make it easy > to check whether your system needs to be updated or not. A full clone does > require more space, but I was surprised at how little extra space it > requires. Warner is updating his git mini-guide to point out this issue. > If you run STABLE, it's a really significant concern. You can convert the > shallow clone to a full one with "git fetch --unshallow". This will take > some time to run. > -- > Kevin Oberman, Part time kid herder and retired Network Engineer > E-mail: rkoberman@gmail.com > PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions Drawing the above (with a change of subject line) to the attention of the freebsd-current list. Thank you, Kevin and Warner. From owner-freebsd-questions@freebsd.org Tue Mar 2 07:43:17 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5368355F066 for ; Tue, 2 Mar 2021 07:43:17 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DqTdJ2cHVz3FVR for ; Tue, 2 Mar 2021 07:43:16 +0000 (UTC) (envelope-from grahamperrin@gmail.com) Received: by mail-wm1-x329.google.com with SMTP id n22so1369699wmc.2 for ; Mon, 01 Mar 2021 23:43:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=UkdQChYmO48zsX3w7fT8NhDqTzWXGVNNysZMjoJhQn4=; b=LD/FjIFDuL6Y3MJN7IbEsJadAuD4Kj9vhmARftF/KUuag1VIvt9yorleDP4scBW5dP tNYBGnTf6NJRtAFrRgPVmWV7fGt05IMaUUWWpM+mOIwT5/5vFWCIdyW9uNNw962eIKAv utgtO6Mj/0A1ipkPaMsLAAlYr40mvbCZvuC8n857r2wZaLjzwoxwFPHIFAWsm3Bbl2OH TslpAt8uBINnviiuhe9IwIQHQcmSBPRcQZy0OUE1yNmSUw3cBCGdtgJYqF76nZDFJUmv L89fYAnwKVDtEss/tepbfaQNS3doxLpNlXZSpuFs/ZOZ312xEZxY2jQHuLbzp0LAfmOb fLWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=UkdQChYmO48zsX3w7fT8NhDqTzWXGVNNysZMjoJhQn4=; b=Qc/kR+gQ+orE28ezP/VfHU0j6SG+4YiyoTqC0Qtf+SwN1sWmzM7I0jm3REQ9ls1USZ 3cazShZwl3NW/LcX/N85I03uWuxj2alKpesC0YoEyCdZ90U3peM7TThkR2tyHXOhqvfH Fb5i2Zzp7abop1rvarg54cQP6G7c25ta9Iq5qLudLX7v+PwUCVhzcNcdgH3c8Pz9t4/o mErkplcE9llzRjlMO8je3191RiEWmun/cJKffkZWYDqtL8yM8oDQWz4YpczNFDgN4Cy7 HI+2Kjd/OeULO+VtV5+n9tyY5U4YU9B6LOry4udYCjQyRPMNB6bvhxzqH+buX/9RS8yq 3Z9w== X-Gm-Message-State: AOAM533x5QExBHEzKd6SbIwl0Id2ZSiKdP00725pRxzrA+wGWLMORg2n Hnu6Soly0zXMcMtqk3usMavEcC2PaRCXkQ== X-Google-Smtp-Source: ABdhPJxhMkpi/8NZwRvOyZPuw168f8IPrqqLQXhCR/QHJP06M0JuFzPyPmvHhF9Q3XeRs7IESelQJA== X-Received: by 2002:a05:600c:4844:: with SMTP id j4mr727127wmo.179.1614670994718; Mon, 01 Mar 2021 23:43:14 -0800 (PST) Received: from [192.168.1.13] (88-105-96-80.dynamic.dsl.as9105.com. [88.105.96.80]) by smtp.gmail.com with ESMTPSA id v6sm28144141wrx.32.2021.03.01.23.43.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Mar 2021 23:43:14 -0800 (PST) Subject: System updates/upgrades: single user mode, and chroot approaches To: freebsd-questions@freebsd.org References: <20210228023827.f68e6136d688c0a37206c883@3dresearch.com> <20210228120313.cdb53cab429a38fdf9817d0d@3dresearch.com> From: Graham Perrin Cc: Warner Losh Message-ID: <5587a9c8-519e-f5db-96cd-d34c29600fbc@gmail.com> Date: Tue, 2 Mar 2021 07:43:13 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-Rspamd-Queue-Id: 4DqTdJ2cHVz3FVR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=LD/FjIFD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of grahamperrin@gmail.com designates 2a00:1450:4864:20::329 as permitted sender) smtp.mailfrom=grahamperrin@gmail.com X-Spamd-Result: default: False [-2.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[88.105.96.80:received]; FROM_EQ_ENVFROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::329:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; NEURAL_SPAM_SHORT(0.99)[0.987]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::329:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::329:from]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 07:43:17 -0000 On 28/02/2021 23:52, Garance A Drosehn wrote: Re: Panic after updating from source > On 28 Feb 2021, at 13:04, Michael Sierchio wrote: > >> … if you don't installworld before >> booting, you can have a mismatch between userland and kernel interfaces. >> >> make buildworld && make kernel && make installworld && reboot >> >> that always works for me when following a -STABLE branch. > It may happen to work for you many times in a row, until the day > it does not work and then you're screwed. The official instructions > state that you should always reboot into single-user mode before > doing 'make installworld'. > > The instructions are what they are based on a lot of experience. > … > > We have frequently seen people who are furious when their system > breaks after they've upgraded from source, and frequently the reason > their system broke is that they "got away" with cutting corners for > 20 times in a row. And then they hit the first time that they were > not able get away with cutting corners. And they always blame us > developers when in fact they're not following instructions. > > To quote from /usr/src/UPDATING: > > ... Then, carefully follow the full procedure documented below > under the heading "To rebuild everything and install it on the > current system." > Specifically, a reboot is -> required <- after installing the > new kernel before installing world. While an installworld > normally works -> by accident <- from multiuser after rebooting > the proper kernel, there are many cases where this will fail > across this upgrade and installworld from single user is > required. > > … Thanks to Garance for these insights. I do routinely read the upper sections of /usr/src/UPDATING however until now, I never realised the existence of the COMMON ITEMS section at the foot of the page, below the 20131010 line. Not realised because I have not used FreeBSD for so long. I stopped paging down, near a point in time before which I never updated. /usr/src/UPDATING might benefit from a hint, near the head of the page, to read the COMMON ITEMS section at the foot. It's remarkable that makes no mention of single user mode. ---- Upgrade FreeBSD with ZFS Boot Environments | 𝚟𝚎𝚛𝚖𝚊𝚍𝚎𝚗 – there's a chroot approach to streamlining, where freebsd-update(8) can be used. Please, can you think of any special precautions? Re: (FreeBSD pure in the midst of a discussion about FreeBSD-based helloSystem) if I'm not mistaken, there's an edge case risk of shooting oneself in the foot if the user does follow the on-screen instruction:     Run `/usr/sbin/freebsd-udpate fetch` first. – at a point during the streamlining where fetch and install need not (probably must not) be performed. Regards Graham From owner-freebsd-questions@freebsd.org Tue Mar 2 15:58:07 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 948A256E077 for ; Tue, 2 Mar 2021 15:58:07 +0000 (UTC) (envelope-from 93ab.82.c372000448b732.8ebc46d1e13f97645d50cb76c3c3d113@email-od.com) Received: from s1-b515.socketlabs.email-od.com (s1-b515.socketlabs.email-od.com [142.0.181.21]) (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 4DqhcG4qCZz4dRm for ; Tue, 2 Mar 2021 15:58:06 +0000 (UTC) (envelope-from 93ab.82.c372000448b732.8ebc46d1e13f97645d50cb76c3c3d113@email-od.com) X-Thread-Info: OTNhYi4xMi5jMzcyMDAwNDQ4YjczMi5mcmVlYnNkLXF1ZXN0aW9ucz1mcmVlYnNkLm9yZw== Received: from r3.h.in.socketlabs.com (r3.h.in.socketlabs.com [142.0.180.13]) by mxh4.email-od.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 2 Mar 2021 10:57:59 -0500 Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) by r3.h.in.socketlabs.com with ESMTP(version=Tls12 cipher=Aes256 bits=256); Tue, 2 Mar 2021 10:57:59 -0500 Received: from [192.168.0.2] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by oceanview.tundraware.com (8.16.1/8.16.1) with ESMTPSA id 122Fvga5035999 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Tue, 2 Mar 2021 09:57:42 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: Totally OT comment: Re: Somewhat OT: Mail Relay Services To: freebsd-questions@freebsd.org References: <877d08ef-d533-69f6-4c44-f2cbbe39ba31@tundraware.com> <3926E240-2226-4E94-96E2-10A877B139D0@kicp.uchicago.edu> <3dac8dd5-7751-1823-3cfc-45172cd77b64@FreeBSD.org> <2edd9853-3af7-c0b8-7118-329d8af346be@kicp.uchicago.edu> <8dc26e45-355a-dadd-0309-02dda1da3d87@tundraware.com> <5b1d0cdf-65c8-19bd-1d3f-0a3ff2922d1f@pinyon.org> <96c1cfb2-4b64-8532-5dc9-c99d33ce9924@pinyon.org> From: Tim Daneliuk Autocrypt: addr=tundra@tundraware.com; prefer-encrypt=mutual; keydata= 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 Message-ID: <402e7b02-e623-1135-1f2d-009916275453@tundraware.com> Date: Tue, 2 Mar 2021 09:57:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <96c1cfb2-4b64-8532-5dc9-c99d33ce9924@pinyon.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.4 (oceanview.tundraware.com [45.55.60.57]); Tue, 02 Mar 2021 09:57:42 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: 122Fvga5035999 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-SpamCheck: not spam (whitelisted), SpamAssassin (not cached, score=-2.901, required 6, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90, NICE_REPLY_A -0.00) X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-Rspamd-Queue-Id: 4DqhcG4qCZz4dRm X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:142.0.176.0/20]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[tundraware.com:+,email-od.com:+]; DMARC_POLICY_ALLOW(-0.50)[tundraware.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FORGED_SENDER(0.30)[tundra@tundraware.com,93ab.82.c372000448b732.8ebc46d1e13f97645d50cb76c3c3d113@email-od.com]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[142.0.181.21:from]; ASN(0.00)[asn:53658, ipnet:142.0.180.0/22, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[tundra@tundraware.com,93ab.82.c372000448b732.8ebc46d1e13f97645d50cb76c3c3d113@email-od.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tundraware.com:s=slkey,email-od.com:s=dkim]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[142.0.181.21:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[142.0.181.21:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 15:58:07 -0000 On 3/1/21 6:15 PM, Russell L. Carter wrote: > On 3/1/21 5:04 PM, Tim Daneliuk via freebsd-questions wrote: >> Also, I checked with DuoCircle and they claim to only retain the content >> for a day in their logs, but are willing to turn that off at the request >> of the customer. >> > > That's cool of them.  There was some glitch on registration (freebsd > firefox?) and chat cleared it up quickly so I am encouraged so far. Hopefully my last post on this and to close this out ... - I have now successfully got both DuoCircle and SocketLabs configured to be used as mail forwarders - DuoCircle provides 1000 msg/mo free and SocketLabs 2000 msg/mo free - DuoCircle archives the message contents (visible from the administrator's dashboard) for 1 day. After that, it only shows the message metadata - SocketLabs does not make the message content visible in any obvious way, and shows only message metadata in their logs ... HOWEVER, SocketLabs are using AWS as part of their mail infrastructure, so who knows what kind of visibility email payloads have there - Both have good admin consoles, both seem to work just fine From owner-freebsd-questions@freebsd.org Tue Mar 2 18:58:12 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C556654CBCA for ; Tue, 2 Mar 2021 18:58:12 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dqmc40xLmz3Cdp for ; Tue, 2 Mar 2021 18:58:11 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: by mail-wr1-x42d.google.com with SMTP id d11so21017533wrj.7 for ; Tue, 02 Mar 2021 10:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7v5KHB/Mb11BMSPptaZk9kQ2irqLyQ9OJehngXBCAWE=; b=TzYBwpViTxyfKHXPMdyNRYcGy4o8I8FyWAdALlu8OSDghAjvELOBfqh6WiSHa/EcZI q2nqUPycSqe/Fv4i9aO8Jw2J181cCgPMkjJfWMRVnsTYJZKSJr8KDUQ6uqh5zoly1iBe ZMUQLeaf4vznVhEibXQls16TvM2EIcdXEcNl94h5jupXjYIHEJnUP9acrBfkFPJrTINw 8ozRVRbY6QQM7lVRovKlRv5qhMfoz+mr8qTLQmu7HdaMZ/xlSWZMHHSSgMNaSAu7wAgU NYs/pAKFv3AYSvgXT9u4hiRUKrfe0HwAeoNCrVX65a+/YptoSxcdNKO5G6beEAL+YTbf JZHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7v5KHB/Mb11BMSPptaZk9kQ2irqLyQ9OJehngXBCAWE=; b=Poy8s8JTR6uNKaoIwPLLvGNIL1iWoLTT3hywdRMmrLgRg1g8cVRImycB0U4Yjv6Tc2 4chBBL6ueTRMdwGR7QwLuz5v3zuVd/VUxBgsaVfwOIHGDcx8Xdkl5xDhBZutiuHHjeps cRWA//2tmpuKkqpHsjRgfztHz2tyExtRTDj5/djk9WASHFvGF6QoiK+BadvFIt/VYiZ6 I+JwSntwjFBYmEuEYjUy4cWdbz+CuT+auGy75y7/5BNK00Jv+priEZZeBUJnU2lfTfzH ocsoxSIUxtRIzV67q37uD4N2A3PYFKxzshviPtYAFGObNuzEiTb0ayPZ2qwU0noyW3O1 +nJA== X-Gm-Message-State: AOAM532nRzm2gp4nVcKLwJZyf3fYBHiWp3BeIkxzMGVt3rZv11ox5zN6 HWLjCIfW8+8Lh9LPtWawLojc9UYTN5W3insbu8A= X-Google-Smtp-Source: ABdhPJwALKzmPvrsmuNWCMyq2rWzu26zS+/hek2HHMG2Yl0wx1GTRNzv5D+4xbmEdT0YBEACONFs/ZcNS3t9aemefxY= X-Received: by 2002:a5d:550b:: with SMTP id b11mr19695418wrv.313.1614711489789; Tue, 02 Mar 2021 10:58:09 -0800 (PST) MIME-Version: 1.0 References: <20210301175803.4fb29aa0@dismail.de> <912de0ca-fb7c-f998-17f5-bf64ffbe41b0@holgerdanske.com> In-Reply-To: <912de0ca-fb7c-f998-17f5-bf64ffbe41b0@holgerdanske.com> From: Antonio Olivares Date: Tue, 2 Mar 2021 12:57:58 -0600 Message-ID: Subject: Re: 13.0-RELEASE-BETA4 To: David Christensen Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Dqmc40xLmz3Cdp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=TzYBwpVi; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of olivares14031@gmail.com designates 2a00:1450:4864:20::42d as permitted sender) smtp.mailfrom=olivares14031@gmail.com X-Spamd-Result: default: False [-2.65 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; SUBJ_ALL_CAPS(1.35)[18]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42d:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42d:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 18:58:12 -0000 On Mon, Mar 1, 2021 at 10:24 PM David Christensen wrote: > > On 3/1/21 5:35 PM, Antonio Olivares wrote: > > On Monday, March 1, 2021, LuMiWa wrote: > >> On Mon, 1 Mar 2021 16:04:45 -0600 > >> Antonio Olivares wrote: > >> > >>> Dear kind FreeBSD users, > >>> > >>> how to we update from source to 13.0-RELEASE-BETA4? > >>> > >>> I tried with freebsd-fetch -r upgrade 13.0-RELEASE-BETA4 > >>> but it fails to start. > >>> now I can login, but system is not working correctly. I tried to > >>> rollback, and rerun command but it fails. > > > https://lists.freebsd.org/pipermail/freebsd-snapshots/2021-February/000826.html > > > Thank you Sir, I have tried > > # freebsd-update -r upgrade 13.0-RELEASE-BETA4 > > > > But it did not work. I wanted to fix my broken installation from source. > > But there was a move to git? I have not done source updates since 8.2/9.0 > > -RELEASE > > > I want a FreeBSD version that "just works", so I use 12.2-RELEASE. > Follow the links to download a suitable installer from here: > > https://www.freebsd.org/releases/12.2R/announce/ > > > 13.0-BETA4 is still under development. If you want to help test it, > follow the link provided by LuMiWa and download a suitable installer > from here: > > https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.0/ > > > Burn your chosen installer to media: > > https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall- > pre > > > Backup the system in question, remove the system drive, install a blank > system drive, and do a fresh install. > > > Select the components you want during installation, such as "src" and/or > "ports": > > https://docs.freebsd.org/en/books/handbook/bsdinstall/#using-bsdinstall > > > Once FreeBSD is installed, use freebsd-update(8) to keep FreeBSD up to date: > > > https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-upgrading-freebsdupdate > > > David > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" @all who have replied The new commands to build from source are no longer svn/svn lite we now need to use git. I have a working 12.2-RELEASE-amd64-p4 machine fully updated. I have nuked the installation and installed from media 13.0-BETA4 and it is indeed faster, snappier and working well. After some testing. I have found that icedtea-web java plugin that should open Java Web Start does not open an online gradebook that I need to use. This used to work and does not anymore. This also does not work on FreeBSD-12.0-RELEASE-amd64-p4 fully updated. I do not know why, and how to troubleshoot it :( Thanks 4 your help/advice Antonio From owner-freebsd-questions@freebsd.org Tue Mar 2 19:47:28 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAB7854EA91 for ; Tue, 2 Mar 2021 19:47:28 +0000 (UTC) (envelope-from freebsd@twc.com) Received: from p-impout009.msg.pkvw.co.charter.net (p-impout009aa.msg.pkvw.co.charter.net [47.43.26.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dqnhw069vz3GkY for ; Tue, 2 Mar 2021 19:47:27 +0000 (UTC) (envelope-from freebsd@twc.com) Received: from [192.168.1.5] ([74.132.18.25]) by cmsmtp with ESMTPA id HAzNli9FwwLsaHAzNl2Gyg; Tue, 02 Mar 2021 19:47:26 +0000 X-Authority-Analysis: v=2.3 cv=Tb7oSiYh c=1 sm=1 tr=0 a=6dKv8Xy78h5PIHsve0hi3A==:117 a=6dKv8Xy78h5PIHsve0hi3A==:17 a=IkcTkHD0fZMA:10 a=ZubcGFkXAAAA:8 a=pGLkceISAAAA:8 a=6I5d2MoRAAAA:8 a=vNErq3K17QerXQDcm6IA:9 a=QEXdDO2ut3YA:10 a=9L5Gf55yyQMA:10 a=kUx6feENxpTNjkNjdsbW:22 a=IjZwj45LgO3ly-622nXo:22 a=yLDStRjdRdRizzv_QTJ6:22 Subject: Re: 13.0-RELEASE-BETA4 To: freebsd-questions@freebsd.org References: <20210301175803.4fb29aa0@dismail.de> <912de0ca-fb7c-f998-17f5-bf64ffbe41b0@holgerdanske.com> From: Steven Friedrich Message-ID: Date: Tue, 2 Mar 2021 14:47:23 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 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-CMAE-Envelope: MS4wfJytS8VsnQ3s4wBh6Z1Or4QiBo9G8AR/bmFAgLvQAXlA+lzTztDJFbi35LZBvRuXUTDMt6/8i/VQExyO73x6iBglfGWs524Wolohe9e39oeZ/w2LfP1U 3rF0746g88aKdtOwdYB3l+e9OP+nrS+pWFtZkX66EBBsm5RuSjzNNbs6C3t/OFXGuZo7JcGv1D1T9Q== X-Rspamd-Queue-Id: 4Dqnhw069vz3GkY X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@twc.com designates 47.43.26.140 as permitted sender) smtp.mailfrom=freebsd@twc.com X-Spamd-Result: default: False [2.02 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[47.43.26.140:from]; FREEMAIL_FROM(0.00)[TWC.com]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; TO_DN_NONE(0.00)[]; SUBJ_ALL_CAPS(1.35)[18]; RECEIVED_SPAMHAUS_PBL(0.00)[74.132.18.25:received]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[47.43.26.140:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[TWC.com]; NEURAL_SPAM_MEDIUM(0.97)[0.972]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[47.43.26.140:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[0.999]; RCVD_IN_DNSWL_NONE(0.00)[47.43.26.140:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 19:47:28 -0000 On 3/2/2021 1:57 PM, Antonio Olivares wrote: > On Mon, Mar 1, 2021 at 10:24 PM David Christensen > wrote: >> On 3/1/21 5:35 PM, Antonio Olivares wrote: >>> On Monday, March 1, 2021, LuMiWa wrote: >>>> On Mon, 1 Mar 2021 16:04:45 -0600 >>>> Antonio Olivares wrote: >>>> >>>>> Dear kind FreeBSD users, >>>>> >>>>> how to we update from source to 13.0-RELEASE-BETA4? >>>>> >>>>> I tried with freebsd-fetch -r upgrade 13.0-RELEASE-BETA4 >>>>> but it fails to start. >>>>> now I can login, but system is not working correctly. I tried to >>>>> rollback, and rerun command but it fails. >>> https://lists.freebsd.org/pipermail/freebsd-snapshots/2021-February/000826.html >>> Thank you Sir, I have tried >>> # freebsd-update -r upgrade 13.0-RELEASE-BETA4 >>> >>> But it did not work. I wanted to fix my broken installation from source. >>> But there was a move to git? I have not done source updates since 8.2/9.0 >>> -RELEASE >> >> I want a FreeBSD version that "just works", so I use 12.2-RELEASE. >> Follow the links to download a suitable installer from here: >> >> https://www.freebsd.org/releases/12.2R/announce/ >> >> >> 13.0-BETA4 is still under development. If you want to help test it, >> follow the link provided by LuMiWa and download a suitable installer >> from here: >> >> https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.0/ >> >> >> Burn your chosen installer to media: >> >> https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall- >> pre >> >> >> Backup the system in question, remove the system drive, install a blank >> system drive, and do a fresh install. >> >> >> Select the components you want during installation, such as "src" and/or >> "ports": >> >> https://docs.freebsd.org/en/books/handbook/bsdinstall/#using-bsdinstall >> >> >> Once FreeBSD is installed, use freebsd-update(8) to keep FreeBSD up to date: >> >> >> https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-upgrading-freebsdupdate >> >> >> David >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > @all who have replied > The new commands to build from source are no longer svn/svn lite > we now need to use git. > I have a working 12.2-RELEASE-amd64-p4 machine fully updated. > I have nuked the installation and installed from media 13.0-BETA4 and > it is indeed faster, snappier and working well. > After some testing. I have found that > icedtea-web java plugin that should open Java Web Start > does not open an online gradebook that I need to use. This used to > work and does not anymore. This also does not work on > FreeBSD-12.0-RELEASE-amd64-p4 fully updated. I do not know why, and > how to troubleshoot it :( > > Thanks 4 your help/advice > > > Antonio You are incorrect.  I am using svnlite to track base/releng/12.2 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Tue Mar 2 22:18:54 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B4D14552DBA for ; Tue, 2 Mar 2021 22:18:54 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from hermes.heuristicsystems.com.au (hermes.heuristicsystems.com.au [203.41.22.115]) (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 (2560 bits) client-digest SHA256) (Client CN "hermes.heuristicsystems.com.au", Issuer "Heuristic Systems Type 4 Host CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dqs3c6DNgz3hZ8 for ; Tue, 2 Mar 2021 22:18:51 +0000 (UTC) (envelope-from dewayne@heuristicsystems.com.au) Received: from [10.0.5.3] (noddy.hs [10.0.5.3]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.15.2/8.15.2) with ESMTPSA id 122MH9U3048165 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT) for ; Wed, 3 Mar 2021 09:17:09 +1100 (AEDT) (envelope-from dewayne@heuristicsystems.com.au) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=heuristicsystems.com.au; s=hsa; t=1614723429; x=1615328230; bh=W5WV6ckCm+uKbUsoxWOfw3pFTWQo4agsKc4W40XfFMU=; h=Subject:To:From:Message-ID:Date; b=JyhNeizL30I0M4IKLBP0aPAApB0wLmMCeIo0tZwCaiYEw5GOq0t7nBKKsyZAJTnij vb/3DGA0J/xoL03x1lucrTGUeayJvNkiojR4ymoZgWCJDRfGLb8wsroGsrQQXatbYG FqZVeN8FKfmr6Xlh7g61RaM2jStQzJunV04Hkf9oJF+hxgwEQnRKo X-Authentication-Warning: b3.hs: Host noddy.hs [10.0.5.3] claimed to be [10.0.5.3] Subject: Re: 13.0-RELEASE-BETA4 To: freebsd-questions@freebsd.org References: <20210301175803.4fb29aa0@dismail.de> <912de0ca-fb7c-f998-17f5-bf64ffbe41b0@holgerdanske.com> From: Dewayne Geraghty Message-ID: Date: Wed, 3 Mar 2021 09:17:07 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:78.0) Gecko/20100101 Thunderbird/78.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4Dqs3c6DNgz3hZ8 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=heuristicsystems.com.au header.s=hsa header.b=JyhNeizL; dmarc=none; spf=pass (mx1.freebsd.org: domain of dewayne@heuristicsystems.com.au designates 203.41.22.115 as permitted sender) smtp.mailfrom=dewayne@heuristicsystems.com.au X-Spamd-Result: default: False [-4.85 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; HAS_XAW(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; TO_DN_NONE(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[203.41.22.115:from]; DKIM_TRACE(0.00)[heuristicsystems.com.au:+]; SUBJ_ALL_CAPS(1.35)[18]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:1221, ipnet:203.40.0.0/13, country:AU]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[heuristicsystems.com.au:s=hsa]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_MED(-2.00)[heuristicsystems.com.au:dkim]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[heuristicsystems.com.au]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Mar 2021 22:18:54 -0000 On 3/03/2021 6:47 am, Steven Friedrich wrote: > > On 3/2/2021 1:57 PM, Antonio Olivares wrote: >> On Mon, Mar 1, 2021 at 10:24 PM David Christensen >> wrote: >>> On 3/1/21 5:35 PM, Antonio Olivares wrote: >>>> On Monday, March 1, 2021, LuMiWa wrote: >>>>> On Mon, 1 Mar 2021 16:04:45 -0600 >>>>> Antonio Olivares wrote: >>>>> >>>>>> Dear kind FreeBSD users, >>>>>> >>>>>> how to we update from source to 13.0-RELEASE-BETA4? >>>>>> >>>>>> I tried with freebsd-fetch -r upgrade 13.0-RELEASE-BETA4 >>>>>> but it fails to start. >>>>>> now I can login, but system is not working correctly.  I tried to >>>>>> rollback, and rerun command but it fails. >>>> https://lists.freebsd.org/pipermail/freebsd-snapshots/2021-February/000826.html >>>> >>>> Thank you Sir, I have tried >>>> # freebsd-update -r upgrade 13.0-RELEASE-BETA4 >>>> >>>> But it did not work.  I wanted to fix my broken installation from >>>> source. >>>> But there was a move to git? I have not done source updates since >>>> 8.2/9.0 >>>> -RELEASE >>> >>> I want a FreeBSD version that "just works", so I use 12.2-RELEASE. >>> Follow the links to download a suitable installer from here: >>> >>>       https://www.freebsd.org/releases/12.2R/announce/ >>> >>> >>> 13.0-BETA4 is still under development.  If you want to help test it, >>> follow the link provided by LuMiWa and download a suitable installer >>> from here: >>> >>>       https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.0/ >>> >>> >>> Burn your chosen installer to media: >>> >>>       https://docs.freebsd.org/en/books/handbook/bsdinstall/#bsdinstall- >>> pre >>> >>> >>> Backup the system in question, remove the system drive, install a blank >>> system drive, and do a fresh install. >>> >>> >>> Select the components you want during installation, such as "src" and/or >>> "ports": >>> >>>       >>> https://docs.freebsd.org/en/books/handbook/bsdinstall/#using-bsdinstall >>> >>> >>> Once FreeBSD is installed, use freebsd-update(8) to keep FreeBSD up >>> to date: >>> >>> >>> https://docs.freebsd.org/en/books/handbook/cutting-edge/#updating-upgrading-freebsdupdate >>> >>> >>> >>> David >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to >>> "freebsd-questions-unsubscribe@freebsd.org" >> @all who have replied >> The new commands to build from source are no longer svn/svn lite >> we now need to use git. ... >> >> Antonio > You are incorrect.  I am using svnlite to track base/releng/12.2 For clarity, there is a feed from git to svn for 12, which has a a slight timing lag. svn will continue until 12 EOL, so there is time to transition. 13 and onward will use git as primary. git is source of truth, which may be viewed here (You'll note in the top-right switch tab that I have selected "stable/12"). https://cgit.freebsd.org/src/log/?h=stable/12 This mailing list is also authoritative (again I'm tracking 12 stable via the branches) https://lists.freebsd.org/pipermail/dev-commits-src-branches/2021-March/thread.html Note that this is not a 1-1 mapping of things like https://lists.freebsd.org/pipermail/svn-src-stable-12/ as there is now a concept of vendor (aka /usr/src/contrib). So you'll need to track those things separately as well, I believe. As I only use 12, I am unsure if a git pull of stable/12 includes the vendor changes or not, perhaps someone with experience could enlighten? For completeness Unfortunately this appears defunct, https://lists.freebsd.org/pipermail/svn-src-stable-12/ though easier to read than searching for /12 in dev-commits-src-... From owner-freebsd-questions@freebsd.org Wed Mar 3 13:49:49 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A616A56B08C for ; Wed, 3 Mar 2021 13:49:49 +0000 (UTC) (envelope-from Walter.von.Entferndt@posteo.net) Received: from mout01.posteo.de (mout01.posteo.de [185.67.36.65]) (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 4DrFjn0K2qz3lmg for ; Wed, 3 Mar 2021 13:49:48 +0000 (UTC) (envelope-from Walter.von.Entferndt@posteo.net) Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 21F8716005F for ; Wed, 3 Mar 2021 14:49:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1614779387; bh=HGCTaMI489dO0HpSx4z+Ypq+lazTnZ67lNPOHdnObMA=; h=From:To:Subject:Date:From; b=S4T5jJy85bdPQSLS4xVczpTlQXfTmWggMJXYgesaQ5W3gphB7Alu/FhDa8EQcSPsS Acr5mgip+XDl0QI//bjmwJHsTJzkWUBNx/g/fBSN7Tuc9znHk93C7PPXaP226uu0zY e4XOr0q9p/EAxSglfLjF0FO0hWHBs6K6C1HMjd8rqkxiBBn6UvOlvkyh75sEn1Uv/q PGVqCKVVklyZJi35WMxb8qkWEpaazPPujlOczxzw8jt1s0irtNLnDEPZ6JH+1bVnSI itRBRxYTZbF7f6L1RcdorUD56+mh6/oieXb11gCq9+4YPKGr7VfYS/tjzfMKp90pFi gYsfrxYWAlkRQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DrFjj2d5Dz9rxS for ; Wed, 3 Mar 2021 14:49:34 +0100 (CET) From: Walter von Entferndt To: freebsd-questions@freebsd.org Subject: Re: Somewhat OT: Mail Relay Services Date: Wed, 03 Mar 2021 14:49:18 +0100 Message-ID: <2605463.ffieBuXMo3@t450s.local.lan> X-Face: #$[hC+4[4W*mS3hB&izisyT_#E]^Aq+7Isv`2Tu5q*1~jR@&['74B>Ibyrk]GTJ!j$ NjX=#L2#k2X7OnaaRM_Pd5`>`8OJ3; +I2 References: MIME-Version: 1.0 X-Rspamd-Queue-Id: 4DrFjn0K2qz3lmg X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=posteo.net header.s=2017 header.b=S4T5jJy8; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (mx1.freebsd.org: domain of Walter.von.Entferndt@posteo.net designates 185.67.36.65 as permitted sender) smtp.mailfrom=Walter.von.Entferndt@posteo.net X-Spamd-Result: default: False [-4.20 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[posteo.net:s=2017]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[185.67.36.65:from]; R_SPF_ALLOW(-0.20)[+ip4:185.67.36.0/23:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[posteo.net:+]; DMARC_POLICY_ALLOW(-0.50)[posteo.net,none]; RCVD_IN_DNSWL_MED(-0.20)[185.67.36.65:from]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; CTE_CASE(0.50)[]; ASN(0.00)[asn:8495, ipnet:185.67.36.0/23, country:DE]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 13:49:49 -0000 If these have already been mentioned, sorry for the noise: posteo.de (.net .mx .younameit) & mailbox.org are two companies located=20 in Berlin, Germany, i.e. under German/EU legislation. They offer e-mail+=20 services from 1=E2=82=AC/month upwards for private & commercial customers. = =20 Given today's internet connectivity, they are comfortably usable from=20 other places as well. If you want, you can have complete anonymity; Posteo claims to have no=20 DB of their clients & payment can be done completely anonymous, e.g. by=20 snailmail or via a personal courier (cab driver). =2D-=20 =3D|o) "Stell' Dir vor es geht und keiner kriegt's hin." (Wolfgang Neuss) From owner-freebsd-questions@freebsd.org Wed Mar 3 15:01:54 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56C5256CC7F for ; Wed, 3 Mar 2021 15:01:54 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrHJx4pjcz3sfd for ; Wed, 3 Mar 2021 15:01:53 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-ej1-x632.google.com with SMTP id mj10so22706363ejb.5 for ; Wed, 03 Mar 2021 07:01:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XbwZs/9C8vBWmjeg41Cz+cK8mY8eNtQGUb9Pw3hKE/w=; b=gpmAooEP//LdZ4sOPul8Cw2yKFZvt+IwAEyLt9Xtd/z+LHS+wTctUHo+SmWElUaCCF vPgTOx3NXKjE/oqAECr4johpsZYhB6C+09pp/qxINMAo82gwIxzkKfKJDPLE6P4tpSup zH79OjnV+pDSL/fVclluipG4jFzaEHbU1fp5fhXS8DULsHPHG9+DkuFVscBLkt2tGSVx SJNtfibBwcO3/WdHsIl045QF//Cny9T+LKQ6r2R8rMQKuxurQO2O2pnhWZVy5LFQWrQe KgNy6TdVitCcadCgD5lhAVCkRRfsP7CEwhESbN76FGpoQAgo+BYXH9WuO7Gp/sTab9VY PPzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XbwZs/9C8vBWmjeg41Cz+cK8mY8eNtQGUb9Pw3hKE/w=; b=bQ4huCKvzK51Qr5HGm3dmeEb1/nExOxp97yexUIIKt+gz8IJA/dBusnq3vYKDUx9fW BvQQb43Ke2OoHoeJ0CKHuftl/p8EnFF/eTGYIKtSCW6MiM+EVZRS0YtPWjH63Ehr+jqw XpGvT5bDOmB60+7u5xNrV7tb9J7azrsihTKjCs/j8+SOATBMwhuA0LtkCdfiqUV0gAYe txFXrn8uIznDl6PghaYI6tYq2HG4tUDNgIq6fIBV/zCCEIt/Oyu800+7oQLztdkR3+7M ZdoIEPFAS7i/1IRREGYn32/7R20kW4Y7ihTgCYV6CYX+6qwQkjVFGb/GZF9stZSZlMTe dhjw== X-Gm-Message-State: AOAM5305iqTQbbwaUIvhORxrTkah9+UB7yfCWOVaVD9UXpnva3+bjLTI n7CV9nH/TRfdFeHSa97a+t/Q7QIoKYRuN3taKd5iwA== X-Google-Smtp-Source: ABdhPJzUKajKW9l4BEdGa0ifARQqrM9doNdRNbvtKb0487fZpWNgKimTaCvQ3X1lIQlEYNi1Rt1m7tunfuhsTjp+UC8= X-Received: by 2002:a17:906:81d5:: with SMTP id e21mr19255904ejx.102.1614783697201; Wed, 03 Mar 2021 07:01:37 -0800 (PST) MIME-Version: 1.0 References: <19e7598f-ed3b-75a6-8e98-2900fe1a828c@holgerdanske.com> In-Reply-To: <19e7598f-ed3b-75a6-8e98-2900fe1a828c@holgerdanske.com> From: Tomasz CEDRO Date: Wed, 3 Mar 2021 16:01:21 +0100 Message-ID: Subject: Re: zfs out of space To: David Christensen Cc: FreeBSD Questions Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DrHJx4pjcz3sfd X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=gpmAooEP; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::632) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-1.46 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.84)[0.842]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::632:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::632:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::632:from]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 15:01:54 -0000 On Tue, Mar 2, 2021 at 4:28 AM David Christensen wrote: > I would try discarding the checkpoint: > # zpool checkpoint --discard pool Thank you David! That helped :-) In addition to that I have created sub volumes to obtain more granular control over snapshots, that required moving old directories into new mount point locations, and mv did not delete all moved files thus space exhaustion. I can now run snapshots in cron everytday for critical data, every week for less important data, and once per month for general use data :-) Is there any way to create a zfs volume from an existing directory? Not to move all the files? :-) Thank you! :-) Tomek -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info From owner-freebsd-questions@freebsd.org Wed Mar 3 15:10:25 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6C0FE56D4FB; Wed, 3 Mar 2021 15:10:25 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [87.98.149.189]) (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 4DrHVm4xTVz3t5Y; Wed, 3 Mar 2021 15:10:24 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from [IPv6:2003:fb:4f00:8801:2dc2:4515:6bed:5514] (p200300FB4F0088012DC245156bed5514.dip0.t-ipconnect.de [IPv6:2003:fb:4f00:8801:2dc2:4515:6bed:5514]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 4DrHVc1yrSzwhs; Wed, 3 Mar 2021 16:10:16 +0100 (CET) From: Michael Grimm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: ports and git, first steps Date: Wed, 3 Mar 2021 16:10:15 +0100 References: <6996AB6C-B178-48C2-94D4-1F7D62E59998@ellael.org> To: freebsd-git@freebsd.org, freebsd-questions@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrHVm4xTVz3t5Y X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of trashcan@ellael.org has no SPF policy when checking 87.98.149.189) smtp.mailfrom=trashcan@ellael.org X-Spamd-Result: default: False [-1.60 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[87.98.149.189:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[ellael.org]; SPAMHAUS_ZRD(0.00)[87.98.149.189:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:87.98.128.0/17, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-git,freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 15:10:25 -0000 [CC'd to freebsd-questions] Ulrich Sp=C3=B6rlein wrote: > On Tue, 2021-03-02 at 13:23:56 +0100, Michael Grimm wrote: >> I am running STABLE-13 and use poudriere (svn+https) to compile my = ports of interest. >>=20 >> Disclaimer: I do consider myself a newbie with regard to git. >>=20 >> After my migration from svn to git regarding sources, I recently = installed a git repository for ports sources. It is working as expected, = good. >>=20 >> But then I added some local ports to the ports directory, which I = added to .git/info/exclude. Ok, that worked out. >>=20 >> Now I had had to modify the Makefile of www/wordpress like I did = before in the svn ports tree. Now git complained: >>=20 >> mwn> git status >> On branch master >> Your branch is up to date with 'origin/master'. >>=20 >> Changes not staged for commit: >> (use "git add ..." to update what will be committed) >> (use "git restore ..." to discard changes in working = directory) >> modified: www/wordpress/Makefile >>=20 >> It took 3.44 seconds to enumerate untracked files. 'status -uno' >> may speed it up, but you have to be careful not to forget to add >> new files yourself (see 'git help status'). >> no changes added to commit (use "git add" and/or "git commit = -a") >>=20 >> Thus I applied 'git commit': >>=20 >> mwn> git commit -a -m "modified to compile wordpress without = llvm" >> [master 39b5d0652] modified to compile wordpress without llvm >> Committer: admin mer-waases.net >> Your name and email address were configured automatically based >> on your username and hostname. Please check that they are = accurate. >> You can suppress this message by setting them explicitly. Run = the >> following command and follow the instructions in your editor to = edit >> your configuration file: >>=20 >> git config --global =E2=80=94edit >>=20 >> After doing this, you may fix the identity used for this commit = with: >>=20 >> git commit --amend --reset-author >> =09 >> 1 file changed, 1 insertion(+), 1 deletion(-) >>=20 >> Now, 'git status' shows: >>=20 >> mwn> git status >> On branch master >> Your branch is ahead of 'origin/master' by 1 commit. >> (use "git push" to publish your local commits) >>=20 >>=20 >> It took 3.17 seconds to enumerate untracked files. 'status -uno' >> may speed it up, but you have to be careful not to forget to add >> new files yourself (see 'git help status'). >> nothing to commit, working tree clean >>=20 >> Well, that looks fine for a git newbie, But there are some questions = left for me: >>=20 >> 1) Will my commited Makefile become overwritten if the master = Makefile becomes modified in the future? (I hope so) >=20 > No, due to how I think (!) poudriere works, your change should remain. >=20 >> 2) Will all upcoming modifications in = 'remote.origin.url=3Dgit://github.com/freebsd/freebsd-ports.git' be = pulled, >> although 'Your branch is ahead of 'origin/master' by 1 commit.'? >=20 > I think poudriere does a `git pull --rebase` always, which fetches = upstream and then rebases your changes on top. So your local changes = will always be there, but they can of course come into conflict with = upstream changes at which point you'll need to resolve those conflicts. Does anyone know if poudriere is using 'git pull =E2=80=94rebase' as = default? >> 3) Is there a better, more suited way to deal with local = modifications? >=20 > I'm not sure. For SVN I used to have a separate myports ports = collection with the uncommitted changes and I haven't switch to git = ports yet. But I would just have my local diffs "on top" of upstream. Ok, I did create a local port instead, and modified the Makefile there. = Now my modification is no longer leading to the 'issue' mentionend = above. >> 4) In analogy to the recommendations for src and git, I did run 'git = config pull.ff only'. >> Is that wrong when it comes to ports (I do not understand what that = means, yet) >=20 > That might actually be in conflict with the git pull --rebase that = poudriere does. I assume though that the argv addition will overwrite = your config setting. But in any case, for a tree with local changes on = top, ff-only is the wrong choice. Either always git pull --rebase or = maybe you can make rebase the default via that config (instead of -ff). I did remove this setting from .git/config. Now poudriere is the only = process dealing with pulls. > hth Yes, very much appreciated. Thanks and regards, Michael From owner-freebsd-questions@freebsd.org Wed Mar 3 20:58:12 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 25B34550D25 for ; Wed, 3 Mar 2021 20:58:12 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (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 (2048 bits) client-digest SHA256) (Client CN "www.holgerdanske.com", Issuer "www.holgerdanske.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrRD3045tz3K9D for ; Wed, 3 Mar 2021 20:58:10 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) 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 ; Wed, 3 Mar 2021 12:58:01 -0800 Subject: Re: zfs out of space To: freebsd-questions@freebsd.org References: <19e7598f-ed3b-75a6-8e98-2900fe1a828c@holgerdanske.com> From: David Christensen Message-ID: Date: Wed, 3 Mar 2021 12:58:00 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DrRD3045tz3K9D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [-2.10 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[184.105.128.27:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RBL_SENDERSCORE_FAIL(0.00)[184.105.128.27:server fail]; SPAMHAUS_ZRD(0.00)[184.105.128.27:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 20:58:12 -0000 On 3/3/21 7:01 AM, Tomasz CEDRO wrote: > On Tue, Mar 2, 2021 at 4:28 AM David Christensen > wrote: >> I would try discarding the checkpoint: >> # zpool checkpoint --discard pool > > Thank you David! That helped :-) YW. > In addition to that I have created sub volumes to obtain more granular > control over snapshots, that required moving old directories into new > mount point locations, and mv did not delete all moved files thus > space exhaustion. That explains it. > I can now run snapshots in cron everytday for > critical data, every week for less important data, and once per month > for general use data :-) I do the same. > Is there any way to create a zfs volume from an existing directory? > Not to move all the files? :-) I have not found a way to convert a directory into a ZFS filesystem directly. I would create the new ZFS filesystem with a temporary mountpoint, move the files, remove the directory, and set the mountpoint of the dataset. If I'm feeling paranoid, I would copy, rather than move, and I would validate before removing the directory and its contents. Checkpointing is another option. But, the latter two require enough free space in the pool to hold a second copy of the content. My pools are HDD's. SSD caches are a big help. I need to try mirrored SSD intent logs. lz4 compression saves space, and I have not seen any performance penalty. deduplication is a double-edged sword. I have seen HDD throughput drop by two orders of magnitude without an SSD cache, and by one order of magnitude with. But for repetitive snapshots of bulk data with small changes, such as daily backups, the space savings can be considerable. I keep logs of my ZFS administration console sessions, and convert frequently used commands into shell scripts to save typing and to get consistency. David From owner-freebsd-questions@freebsd.org Thu Mar 4 12:13:38 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 767BB56F5D1; Thu, 4 Mar 2021 12:13:38 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a05:fc87:1:5::15]) (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 "www.spoerlein.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrqXL0Jqjz3PKb; Thu, 4 Mar 2021 12:13:37 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from localhost (acme.spoerlein.net [IPv6:2a05:fc87:1:5:0:0:0:15]) by acme.spoerlein.net (8.16.1/8.15.2) with ESMTPS id 124CDFFM023671 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 4 Mar 2021 13:13:17 +0100 (CET) (envelope-from uqs@freebsd.org) Date: Thu, 4 Mar 2021 13:13:15 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Michael Grimm Cc: freebsd-git@freebsd.org, freebsd-questions@freebsd.org Subject: Re: ports and git, first steps Message-ID: Mail-Followup-To: Ulrich =?utf-8?B?U3DDtnJsZWlu?= , Michael Grimm , freebsd-git@freebsd.org, freebsd-questions@freebsd.org References: <6996AB6C-B178-48C2-94D4-1F7D62E59998@ellael.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/2.0.3 (2020-12-04) X-Rspamd-Queue-Id: 4DrqXL0Jqjz3PKb X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:39540, ipnet:2a05:fc87::/32, country:CH] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 12:13:38 -0000 On Wed, 2021-03-03 at 16:10:15 +0100, Michael Grimm wrote: >[CC'd to freebsd-questions] > >Ulrich Spörlein wrote: >> On Tue, 2021-03-02 at 13:23:56 +0100, Michael Grimm wrote: > >>> I am running STABLE-13 and use poudriere (svn+https) to compile my ports of interest. >>> >>> Disclaimer: I do consider myself a newbie with regard to git. >>> >>> After my migration from svn to git regarding sources, I recently installed a git repository for ports sources. It is working as expected, good. >>> >>> But then I added some local ports to the ports directory, which I added to .git/info/exclude. Ok, that worked out. >>> >>> Now I had had to modify the Makefile of www/wordpress like I did before in the svn ports tree. Now git complained: >>> >>> mwn> git status >>> On branch master >>> Your branch is up to date with 'origin/master'. >>> >>> Changes not staged for commit: >>> (use "git add ..." to update what will be committed) >>> (use "git restore ..." to discard changes in working directory) >>> modified: www/wordpress/Makefile >>> >>> It took 3.44 seconds to enumerate untracked files. 'status -uno' >>> may speed it up, but you have to be careful not to forget to add >>> new files yourself (see 'git help status'). >>> no changes added to commit (use "git add" and/or "git commit -a") >>> >>> Thus I applied 'git commit': >>> >>> mwn> git commit -a -m "modified to compile wordpress without llvm" >>> [master 39b5d0652] modified to compile wordpress without llvm >>> Committer: admin mer-waases.net >>> Your name and email address were configured automatically based >>> on your username and hostname. Please check that they are accurate. >>> You can suppress this message by setting them explicitly. Run the >>> following command and follow the instructions in your editor to edit >>> your configuration file: >>> >>> git config --global —edit >>> >>> After doing this, you may fix the identity used for this commit with: >>> >>> git commit --amend --reset-author >>> >>> 1 file changed, 1 insertion(+), 1 deletion(-) >>> >>> Now, 'git status' shows: >>> >>> mwn> git status >>> On branch master >>> Your branch is ahead of 'origin/master' by 1 commit. >>> (use "git push" to publish your local commits) >>> >>> >>> It took 3.17 seconds to enumerate untracked files. 'status -uno' >>> may speed it up, but you have to be careful not to forget to add >>> new files yourself (see 'git help status'). >>> nothing to commit, working tree clean >>> >>> Well, that looks fine for a git newbie, But there are some questions left for me: >>> >>> 1) Will my commited Makefile become overwritten if the master Makefile becomes modified in the future? (I hope so) >> >> No, due to how I think (!) poudriere works, your change should remain. >> >>> 2) Will all upcoming modifications in 'remote.origin.url=git://github.com/freebsd/freebsd-ports.git' be pulled, >>> although 'Your branch is ahead of 'origin/master' by 1 commit.'? >> >> I think poudriere does a `git pull --rebase` always, which fetches upstream and then rebases your changes on top. So your local changes will always be there, but they can of course come into conflict with upstream changes at which point you'll need to resolve those conflicts. > >Does anyone know if poudriere is using 'git pull —rebase' as default? It's just a bunch of shell scripts, so easy to check: % git grep GIT_CMD src/share/poudriere/common.sh:: ${GIT_CMD:=git} src/share/poudriere/jail.sh: ${GIT_CMD} clone ${GIT_DEPTH} -q -b ${VERSION} ${GIT_FULLURL} ${SRC_BASE} || err 1 " fail" src/share/poudriere/jail.sh: ${GIT_CMD} -C ${SRC_BASE} pull --rebase -q || err 1 " fail" src/share/poudriere/jail.sh: ${GIT_CMD} checkout -q "${TORELEASE}" || err 1 " fail" src/share/poudriere/jail.sh: git_sha=$(${GIT_CMD} -C ${SRC_BASE} rev-parse --short HEAD) src/share/poudriere/ports.sh: ${GIT_CMD} clone --depth=1 --single-branch ${quiet} -b ${BRANCH} ${GIT_FULLURL} ${PTMNT} || err 1 " fail" src/share/poudriere/ports.sh: ${GIT_CMD} -C ${PORTSMNT:-${PTMNT}} pull --rebase ${quiet} Besides, `git pull --rebase` is pretty much the only sane choice for poudriere anyway. Cheers Uli From owner-freebsd-questions@freebsd.org Thu Mar 4 13:46:26 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F64554A58D; Thu, 4 Mar 2021 13:46:26 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [IPv6:2001:41d0:401:2100::e48]) (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 4DrsbP4Tq8z3mlL; Thu, 4 Mar 2021 13:46:25 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from [IPv6:2003:fb:4f00:9901:5d06:454:6d8:6a25] (p200300fb4F0099015D06045406D86a25.dip0.t-ipconnect.de [IPv6:2003:fb:4f00:9901:5d06:454:6d8:6a25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 4DrsbD0Vjdz182V; Thu, 4 Mar 2021 14:46:16 +0100 (CET) From: Michael Grimm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: ports and git, first steps Date: Thu, 4 Mar 2021 14:46:13 +0100 References: <6996AB6C-B178-48C2-94D4-1F7D62E59998@ellael.org> To: freebsd-git@freebsd.org, freebsd-questions@freebsd.org In-Reply-To: Message-Id: <003857DB-447A-49E5-8A70-064AD27EB791@ellael.org> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DrsbP4Tq8z3mlL X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of trashcan@ellael.org has no SPF policy when checking 2001:41d0:401:2100::e48) smtp.mailfrom=trashcan@ellael.org X-Spamd-Result: default: False [-1.60 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:401:2100::e48:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[ellael.org]; SPAMHAUS_ZRD(0.00)[2001:41d0:401:2100::e48:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-git,freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 13:46:26 -0000 Ulrich Sp=C3=B6rlein wrote: > On Wed, 2021-03-03 at 16:10:15 +0100, Michael Grimm wrote: >> Does anyone know if poudriere is using 'git pull =E2=80=94rebase' as = default? >=20 > It's just a bunch of shell scripts, so easy to check: >=20 > % git grep GIT_CMD > src/share/poudriere/common.sh:: ${GIT_CMD:=3Dgit} > src/share/poudriere/jail.sh: ${GIT_CMD} clone = ${GIT_DEPTH} -q -b ${VERSION} ${GIT_FULLURL} ${SRC_BASE} || err 1 " = fail" > src/share/poudriere/jail.sh: ${GIT_CMD} -C = ${SRC_BASE} pull --rebase -q || err 1 " fail" > src/share/poudriere/jail.sh: ${GIT_CMD} = checkout -q "${TORELEASE}" || err 1 " fail" > src/share/poudriere/jail.sh: git_sha=3D$(${GIT_CMD} -C = ${SRC_BASE} rev-parse --short HEAD) > src/share/poudriere/ports.sh: ${GIT_CMD} clone = --depth=3D1 --single-branch ${quiet} -b ${BRANCH} ${GIT_FULLURL} = ${PTMNT} || err 1 " fail" > src/share/poudriere/ports.sh: ${GIT_CMD} -C = ${PORTSMNT:-${PTMNT}} pull --rebase ${quiet} Sorry for the noise, I should have find out by myself :-( > Besides, `git pull --rebase` is pretty much the only sane choice for = poudriere anyway. Good to know. Now, all I need to modify is the git repository's server = name after the final migration. Thanks and regards, Michael= From owner-freebsd-questions@freebsd.org Thu Mar 4 20:39:10 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6A1F75595C7; Thu, 4 Mar 2021 20:39:10 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a05:fc87:1:5::15]) (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 "www.spoerlein.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ds2ld5ykkz4t4l; Thu, 4 Mar 2021 20:39:09 +0000 (UTC) (envelope-from uqs@freebsd.org) Received: from localhost (acme.spoerlein.net [IPv6:2a05:fc87:1:5:0:0:0:15]) by acme.spoerlein.net (8.16.1/8.15.2) with ESMTPS id 124Kd3fU054181 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 4 Mar 2021 21:39:05 +0100 (CET) (envelope-from uqs@freebsd.org) Date: Thu, 4 Mar 2021 21:39:03 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Michael Grimm Cc: freebsd-git@freebsd.org, freebsd-questions@freebsd.org Subject: Re: ports and git, first steps Message-ID: Mail-Followup-To: Ulrich =?utf-8?B?U3DDtnJsZWlu?= , Michael Grimm , freebsd-git@freebsd.org, freebsd-questions@freebsd.org References: <6996AB6C-B178-48C2-94D4-1F7D62E59998@ellael.org> <003857DB-447A-49E5-8A70-064AD27EB791@ellael.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <003857DB-447A-49E5-8A70-064AD27EB791@ellael.org> User-Agent: Mutt/2.0.3 (2020-12-04) X-Rspamd-Queue-Id: 4Ds2ld5ykkz4t4l X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [0.00 / 15.00]; local_wl_from(0.00)[freebsd.org]; ASN(0.00)[asn:39540, ipnet:2a05:fc87::/32, country:CH] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 20:39:10 -0000 On Thu, 2021-03-04 at 14:46:13 +0100, Michael Grimm wrote: >Ulrich Spörlein wrote: >> On Wed, 2021-03-03 at 16:10:15 +0100, Michael Grimm wrote: > >>> Does anyone know if poudriere is using 'git pull —rebase' as default? >> >> It's just a bunch of shell scripts, so easy to check: >> >> % git grep GIT_CMD >> src/share/poudriere/common.sh:: ${GIT_CMD:=git} >> src/share/poudriere/jail.sh: ${GIT_CMD} clone ${GIT_DEPTH} -q -b ${VERSION} ${GIT_FULLURL} ${SRC_BASE} || err 1 " fail" >> src/share/poudriere/jail.sh: ${GIT_CMD} -C ${SRC_BASE} pull --rebase -q || err 1 " fail" >> src/share/poudriere/jail.sh: ${GIT_CMD} checkout -q "${TORELEASE}" || err 1 " fail" >> src/share/poudriere/jail.sh: git_sha=$(${GIT_CMD} -C ${SRC_BASE} rev-parse --short HEAD) >> src/share/poudriere/ports.sh: ${GIT_CMD} clone --depth=1 --single-branch ${quiet} -b ${BRANCH} ${GIT_FULLURL} ${PTMNT} || err 1 " fail" >> src/share/poudriere/ports.sh: ${GIT_CMD} -C ${PORTSMNT:-${PTMNT}} pull --rebase ${quiet} > >Sorry for the noise, I should have find out by myself :-( > >> Besides, `git pull --rebase` is pretty much the only sane choice for poudriere anyway. > >Good to know. Now, all I need to modify is the git repository's server name after the final migration. Yes and no. It defaults to using the Github mirror and we will force-push the new content there, but `git pull --rebase` will totally barf on that, so you'll need to manually: - git fetch --prune - git checkout -B main origin/main - git branch -D master or something like that. (you need to rebase your stuff from old-master to new-main as well). We could actually bake this logic into poudriere and have it do its thing during a ports update, but it'll be rather fragile I suppose. Cheers Uli From owner-freebsd-questions@freebsd.org Thu Mar 4 20:52:24 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8451E559BCA; Thu, 4 Mar 2021 20:52:24 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [IPv6:2001:41d0:302:1100::1499]) (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 4Ds32t6gR9z4vGJ; Thu, 4 Mar 2021 20:52:22 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from [IPv6:2003:fb:4f00:9901:d058:4244:d852:ecfa] (p200300Fb4F009901D0584244D852eCfa.dip0.t-ipconnect.de [IPv6:2003:fb:4f00:9901:d058:4244:d852:ecfa]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 4Ds32k6kN3zykp; Thu, 4 Mar 2021 21:52:14 +0100 (CET) From: Michael Grimm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: ports and git, first steps Date: Thu, 4 Mar 2021 21:52:12 +0100 References: <6996AB6C-B178-48C2-94D4-1F7D62E59998@ellael.org> <003857DB-447A-49E5-8A70-064AD27EB791@ellael.org> To: freebsd-git@freebsd.org, freebsd-questions@freebsd.org In-Reply-To: Message-Id: <3EF74FAB-37C0-4289-BED5-5EBDB4DFD2DF@ellael.org> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4Ds32t6gR9z4vGJ X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of trashcan@ellael.org has no SPF policy when checking 2001:41d0:302:1100::1499) smtp.mailfrom=trashcan@ellael.org X-Spamd-Result: default: False [0.22 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:41d0:302:1100::1499:from]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; AUTH_NA(1.00)[]; DMARC_NA(0.00)[ellael.org]; SPAMHAUS_ZRD(0.00)[2001:41d0:302:1100::1499:from:127.0.2.255]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.82)[0.823]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-git,freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 20:52:24 -0000 Ulrich Sp=C3=B6rlein wrote: >=20 > On Thu, 2021-03-04 at 14:46:13 +0100, Michael Grimm wrote: >> Ulrich Sp=C3=B6rlein wrote: >>> Besides, `git pull --rebase` is pretty much the only sane choice for = poudriere anyway. >>=20 >> Good to know. Now, all I need to modify is the git repository's = server name after the final migration. >=20 > Yes and no. It defaults to using the Github mirror and we will = force-push the new content there, but `git pull --rebase` will totally = barf on that, so you'll need to manually: >=20 > - git fetch --prune > - git checkout -B main origin/main > - git branch -D master >=20 > or something like that. (you need to rebase your stuff from old-master = to new-main as well). I mentioned in the beginning that I am a newbie when it comes to git. No = I know, that I didn't downplay ;-) Most probably I will start from scratch instead, because I do not have = local commits anymore. Sidenote: the most difficult issue with git versus svn are their = completely different concepts, and, as a consequence, different concepts = to achieve related workflows. It took me some time to understand, and I = do have the feeling that I do only understand about 1% of git's = functionality, now. > We could actually bake this logic into poudriere and have it do its = thing during a ports update, but it'll be rather fragile I suppose. I don't think that there are many users that use the beta git repository = in combination of poudriere, currently. But I might be mistaken. Thanks again and with kind regards, Michael From owner-freebsd-questions@freebsd.org Fri Mar 5 21:03:18 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2768F5678DA for ; Fri, 5 Mar 2021 21:03:18 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DsgF10YJmz3kGX for ; Fri, 5 Mar 2021 21:03:16 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 125L38VV089607 for ; Fri, 5 Mar 2021 14:03:08 -0700 (MST) (envelope-from freebsd@dreamchaser.org) To: FreeBSD Mailing List Reply-To: freebsd@dreamchaser.org From: Gary Aitken Subject: sed -i empty argument compatibility issue Message-ID: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> Date: Fri, 5 Mar 2021 13:58:03 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 05 Mar 2021 14:03:08 -0700 (MST) X-Rspamd-Queue-Id: 4DsgF10YJmz3kGX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-1.30 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.109.141.57:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.109.141.57:from:127.0.2.255]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 21:03:18 -0000 I'm trying to come up with a fix for a script in a port which invokes sed. The port comes from a linux environment, and the offending line looks like this: (This is in a cMake file.) COMMAND sed -i "/^# /d" "${outfile}" The issue is that linux sed expects the -I or -i extension modifier to immediately follow the -i. In the above line, the extension is deliberately missing to provide in-place editing. fbsd expects the extension to be separated from the -i by whitespace, or doesn't work properly when it is empty or immediately follows the -i: $ !ls ls -lt temp.tmp* -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org $ sed -ifoo "/^# /d" temp.tmp (works on both fbsd & linux)) $ !ls ls -lt temp.tmp* -rw------- 1 garya garya 30 Mar 5 13:48 temp.tmp -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo $ cp -p temp.tmp_org temp.tmp $ sed -i"" "/^# /d" temp.tmp (works on linux but not fbsd) sed: 1: "temp.tmp": undefined label 'emp.tmp' $ sed -i "" "/^# /d" temp.tmp (works on fbsd but not linux) $ !ls ls -lt temp.tmp* -rw------- 1 garya garya 30 Mar 5 13:49 temp.tmp -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo So fbsd works with '-i ""' but linux requires '-i""' Does anyone know a work-around for this problem? Gary From owner-freebsd-questions@freebsd.org Fri Mar 5 21:43:43 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5F278568FD1 for ; Fri, 5 Mar 2021 21:43:43 +0000 (UTC) (envelope-from bob@proulx.com) Received: from havoc.proulx.com (havoc.proulx.com [96.88.95.61]) (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 4Dsh7f3F4cz3n7f for ; Fri, 5 Mar 2021 21:43:42 +0000 (UTC) (envelope-from bob@proulx.com) Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id D04D387 for ; Fri, 5 Mar 2021 14:43:34 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proulx.com; s=dkim2048; t=1614980614; bh=orGRWb/EMN+tR77F38D4NQd0vrpQ/Dbxev+R8Y18Fk8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=n20qdKDVY8bCza7IiE/NLWdBsrdE/PbAPocT05h4h2se0hLCxWWM2J593Bmm1rXR+ wlv1bBA095utIqUeYEAUEgtidY/IUq/Nn+7LJBD2zvSk5A0eD+YwYgfHn0zXZXix5/ jOb7QYdasY3/YC5OUMZluQTUD+qaTvvixjPadfurvrwnSJoqqOdUv6cjkXWFyKqI/z 07gJU1TNmIGM0zpyOMoREQ+ZuYaS7mcoArtDUfLer2iQSE/hRdJ9+tpYmmwWzzfjtW uAMvmEOVh7jilRn6weG4KeArjsgSUXkaTBAzde9yAtxesNM1pNpuhiytHVfPmWgpZS AZt+t6U9jN3BQ== Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 8FF5E21156 for ; Fri, 5 Mar 2021 14:43:34 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 5084D2DC9C; Fri, 5 Mar 2021 14:43:34 -0700 (MST) Date: Fri, 5 Mar 2021 14:43:34 -0700 From: Bob Proulx To: freebsd-questions@freebsd.org Subject: Re: sed -i empty argument compatibility issue Message-ID: <20210305142352297368817@bob.proulx.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> X-Rspamd-Queue-Id: 4Dsh7f3F4cz3n7f X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=proulx.com header.s=dkim2048 header.b=n20qdKDV; dmarc=pass (policy=none) header.from=proulx.com; spf=pass (mx1.freebsd.org: domain of bob@proulx.com designates 96.88.95.61 as permitted sender) smtp.mailfrom=bob@proulx.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[96.88.95.61:from]; R_DKIM_ALLOW(-0.20)[proulx.com:s=dkim2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[96.88.95.61:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[proulx.com:+]; DMARC_POLICY_ALLOW(-0.50)[proulx.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7922, ipnet:96.64.0.0/11, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 21:43:43 -0000 Gary Aitken wrote: > I'm trying to come up with a fix for a script in a port which invokes sed. > The port comes from a linux environment, and the offending line looks like this: > (This is in a cMake file.) > > COMMAND sed -i "/^# /d" "${outfile}" Unfortunately that is a GNU sed extension and use of it is intrinsically not portable usage. And the FreeBSD use of -i is a similar but slightly incompatible usage. The -i option is not specified by POSIX and so any use of it is non-standard by definition. > The issue is that linux sed expects the -I or -i extension modifier to > immediately follow the -i. In the above line, the extension is deliberately > missing to provide in-place editing. > > fbsd expects the extension to be separated from the -i by whitespace, or > doesn't work properly when it is empty or immediately follows the -i: The pedantic person that I am disagrees with this detail. FreeBSD sed is okay with an empty extension. "If a zero-length extension is given, no backup will be saved." A zero length extension would be this following. sed -i "" "/^# /d" "${outfile}" But that isn't what is happening here. Instead it is getting confused by seeing the "/^# /d" as the extension. And then it will be taking the "${outfile}" part and trying to use it as the sed edit command. What happens depends upon the file name. It's data dependent and depends upon the incoming data. Which can't end well. > So fbsd works with '-i ""' but linux requires '-i""' Right. It is a basic incompatibility. It's non-portable use of sed in the case you show. > Does anyone know a work-around for this problem? In order to port this then _something_ must be changed. As to what must be changed that is up to you and judegement and the larger view of everything in your environment. But off the top of my head these different possibilities come to mind. 1. Edit the script and change this to that. This makes it run on FreeBSD sed. Of course then this does not work the other direction. -COMMAND sed -i "/^# /d" "${outfile}" +COMMAND sed -i "" "/^# /d" "${outfile}" 2. Use perl. Change that edit command to be this. This should work the same everywhere that has perl. It does create a dependency upon perl that might not have been present before. perl -i -lpe 'next if /^# /' "${outfile}" 3. Avoid -i and use a temporary file, just like in the old days. However this introduces the need for temporary file handling. But maybe that isn't important here. sed "/^# /d" "${outfile}" > "$tmpfile" && mv "$tmpfile" "${outfile}" 4. Introduce a "sed" wrapper in PATH that intercepts the call to the real sed, detects this problematic usage case, and then DTRT does the right thing with it. This wrapper could have all of the correct temporary file handling needed to make this work. More involved to do this but if I were faced with a large unknown code base and expected to see a lot of this then I would consider it a good global workaround for portability. 5. Hack a local FreeBSD sed version to detect this case and DTRT with the option. 6. Compile GNU sed locally and install it in PATH earlier. This would probably be a generally good option globally. However it's possible you might run into portability problems in the reverse case. Good luck! I'll be interested in hearing how things work out for you. Bob From owner-freebsd-questions@freebsd.org Sat Mar 6 03:55:55 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AE975573954 for ; Sat, 6 Mar 2021 03:55:55 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DsrP64KP1z4hqw for ; Sat, 6 Mar 2021 03:55:54 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 1263tpXo090972 for ; Fri, 5 Mar 2021 20:55:52 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Subject: Re: sed -i empty argument compatibility issue To: freebsd-questions@freebsd.org References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> <20210305142352297368817@bob.proulx.com> From: Gary Aitken Reply-To: freebsd@dreamchaser.org Message-ID: <606b8bfa-4fe5-883a-d7ac-99f41655f728@dreamchaser.org> Date: Fri, 5 Mar 2021 20:50:46 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210305142352297368817@bob.proulx.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 05 Mar 2021 20:55:52 -0700 (MST) X-Rspamd-Queue-Id: 4DsrP64KP1z4hqw X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-3.28 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.109.141.57:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[66.109.141.57:from:127.0.2.255]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.981]; DMARC_NA(0.00)[dreamchaser.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 03:55:55 -0000 On 3/5/21 2:43 PM, Bob Proulx wrote: > Gary Aitken wrote: >> I'm trying to come up with a fix for a script in a port which >> invokes sed. The port comes from a linux environment, and the >> offending line looks like this: (This is in a cMake file.) ...> In order to port this then _something_ must be changed. As to what > must be changed that is up to you and judegement and the larger view > of everything in your environment. But off the top of my head these > different possibilities come to mind. > > 1. Edit the script and change this to that. This makes it run on > FreeBSD sed. Of course then this does not work the other direction. > > -COMMAND sed -i "/^# /d" "${outfile}" +COMMAND sed -i "" "/^# /d" > "${outfile}" > > 2. Use perl. Change that edit command to be this. This should work > the same everywhere that has perl. It does create a dependency upon > perl that might not have been present before. > > perl -i -lpe 'next if /^# /' "${outfile}" > > 3. Avoid -i and use a temporary file, just like in the old days. > However this introduces the need for temporary file handling. But > maybe that isn't important here. > > sed "/^# /d" "${outfile}" > "$tmpfile" && mv "$tmpfile" "${outfile}" > > 4. Introduce a "sed" wrapper in PATH that intercepts the call to the > real sed, detects this problematic usage case, and then DTRT does > the right thing with it. This wrapper could have all of the correct > temporary file handling needed to make this work. More involved to > do this but if I were faced with a large unknown code base and > expected to see a lot of this then I would consider it a good global > workaround for portability. > > 5. Hack a local FreeBSD sed version to detect this case and DTRT > with the option. > > 6. Compile GNU sed locally and install it in PATH earlier. This > would probably be a generally good option globally. However it's > possible you might run into portability problems in the reverse > case. Thanks for the list. That's two more than I came up with. I'm inclined to #2 (which I hadn't thought of) or #3. > Good luck! I'll be interested in hearing how things work out for > you. Thanks. I'm asking the authors for feedback. Gary From owner-freebsd-questions@freebsd.org Sat Mar 6 04:33:56 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 98D81574428 for ; Sat, 6 Mar 2021 04:33:56 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DssDz4T9Hz4kWm for ; Sat, 6 Mar 2021 04:33:55 +0000 (UTC) (envelope-from parv.0zero9@gmail.com) Received: by mail-wm1-x32c.google.com with SMTP id t5-20020a1c77050000b029010e62cea9deso473237wmi.0 for ; Fri, 05 Mar 2021 20:33:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=yswET/lO5z1m6ygCsHh4CNeRySVDruedG/BEI02orPY=; b=MKjLBYFrMHVNe0QhLxETzwr5idKe7u7MtMIJ46Qbf526n6QRv8DsryNcsKgxHPA0AS DbIheTwUZmq9/wSsr8gdQpTUDmKfSfiSwdSTAfs6oiGACG+vOBms9wUE9GHpyqnzfiQO WD1aAekGV96r/UpSbpyeyZzsZEJ24Xq/YvjWDN4W+nWsGvP5m0lJBUQXeQKerhPtKSUF n8d1rqthNjyZzwGvMGHJTWTu0gPdQgQLHDbl2uMhDrBrNPw2TNNQqqXq2IlLXLbR1gV9 Dr9VHSEDenkUGybcP+OGkNwO73SToFy3MiUQHvi3JKGGAoqwZlWAdkVgrTC4uSCH5iyB e6Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=yswET/lO5z1m6ygCsHh4CNeRySVDruedG/BEI02orPY=; b=s59dC0xjz3jTC4mxoUAcCWQB/nO6wkKaoL2VxRMYm27vAEZgG7CmxrUCzwTJsnZqm/ Eaq52k5Er6i1EbtsNIXjHqmweuXReUITvfK9wCRkyiu0yoes2iVlHAYCBbglRGgPqOtt lCRiXGSc8NLJ9Rae79zrPbVBk0Va+w1hzYLKqzL/fLinRBeDbLtoi0dINDdx6pgciBW9 RsOP/JI3zdxspL01EIbWLWC4x2WP699ImYWPSynO4y26IqsDjQE4bJ4sYMi7uuATLK8i 4BmgdoOLJ9q/oQg8I1RBjcZNbs9qqzTtte0AEL0iOC73y9ujTeX9mtsH1X44msfPgEp2 NQCA== X-Gm-Message-State: AOAM5336ughvA0q6GpFFSNngQkOOUpA39dJ8x2G5YDb54UsYSVXBNFWt QGpdaWnjgEffKjP43CBlW92L2AtKx2GsafxdLyQRrSVu X-Google-Smtp-Source: ABdhPJxiTAyqcjohMJZ+8H1zkwMFPwEY5TUk5AbvfON2/C4xOyiOmdRrTrEBaNoAIzedbilYsAINl/4voXrvj0m9EFE= X-Received: by 2002:a1c:cc08:: with SMTP id h8mr11955476wmb.188.1615005234191; Fri, 05 Mar 2021 20:33:54 -0800 (PST) MIME-Version: 1.0 References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> <20210305142352297368817@bob.proulx.com> <606b8bfa-4fe5-883a-d7ac-99f41655f728@dreamchaser.org> In-Reply-To: <606b8bfa-4fe5-883a-d7ac-99f41655f728@dreamchaser.org> From: "parv/freebsd" Date: Fri, 5 Mar 2021 18:33:14 -1000 Message-ID: Subject: Re: sed -i empty argument compatibility issue To: Gary Aitken Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 4DssDz4T9Hz4kWm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=MKjLBYFr; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of parv0zero9@gmail.com designates 2a00:1450:4864:20::32c as permitted sender) smtp.mailfrom=parv0zero9@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::32c:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::32c:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::32c:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 04:33:56 -0000 On Fri, Mar 5, 2021 at 5:56 PM Gary Aitken wrote: > On 3/5/21 2:43 PM, Bob Proulx wrote: > > Gary Aitken wrote: > >> I'm trying to come up with a fix for a script in a port which > >> invokes sed. The port comes from a linux environment, and the > >> offending line looks like this: ... > In order to port this then _something_ must be changed. As to what > > must be changed that is up to you and judegement and the larger view > > of everything in your environment. But off the top of my head these > > different possibilities come to mind. > > > > 1. Edit the script and change this to that. This makes it run on > > FreeBSD sed. Of course then this does not work the other direction. > > > > -COMMAND sed -i "/^# /d" "${outfile}" +COMMAND sed -i "" "/^# /d" > > "${outfile}" > > > > 2. Use perl. Change that edit command to be this. This should work > > the same everywhere that has perl. It does create a dependency upon > > perl that might not have been present before. > > > > perl -i -lpe 'next if /^# /' "${outfile}" > I like it! > > 3. Avoid -i and use a temporary file, just like in the old days. > > However this introduces the need for temporary file handling. But > > maybe that isn't important here. > > > > sed "/^# /d" "${outfile}" > "$tmpfile" && mv "$tmpfile" "${outfile}" > This won't do, when ... > 4. Introduce a "sed" wrapper in PATH that intercepts the call to the > > real sed, detects this problematic usage case, and then DTRT does > > the right thing with it. This wrapper could have all of the correct > > temporary file handling needed to make this work. > ... #!/bin/sh # Set sed path & -i option based on "uname -a" output. SED= host_type=$( uname -a ) case "${host_type}" in *Linux* ) SED="/usr/bin/sed -i''" ;; *FreeBSD* ) SED="/usr/bin/sed -i ''" ;; esac # Set $@ to contain original arguments prefixed by sed with -i option. set -- ${SED} $@ # Now run the sed with the arguments given. $@ > 6. Compile GNU sed locally and install it in PATH earlier. This > > would probably be a generally good option globally. However it's > > possible you might run into portability problems in the reverse > > case. > If GNU sed could be installed, this would be most agreeable. I prefer to use the absolute path to remove ambiguity about the kind of sed being used, especially in the above case. - parv Thanks for the list. That's two more than I came up with. I'm > inclined to #2 (which I hadn't thought of) or #3. > -- From owner-freebsd-questions@freebsd.org Sat Mar 6 04:39:51 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A8C42574644 for ; Sat, 6 Mar 2021 04:39:51 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DssMq4J37z4kjX for ; Sat, 6 Mar 2021 04:39:51 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 7CD8AF2C7 for ; Sat, 6 Mar 2021 04:39:51 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f170.google.com with SMTP id t13so2140795qta.11 for ; Fri, 05 Mar 2021 20:39:51 -0800 (PST) X-Gm-Message-State: AOAM533+5GGpmsQs5j0ldfbb5mY/u5UNlr+ySaD2hUAM1fjWc399n77q aH9zVl5m4iVseEeKWGQLFd6ft6Zpk1WdYZXbR3s= X-Google-Smtp-Source: ABdhPJwb1gs5wHNZRIiBclvwvR3fErQAcQB8eA5yFIEpT/6vEC7ieamHfaNSNJL8u1B/ZxsjyvEl8agFsNegGE0d33k= X-Received: by 2002:ac8:5bd1:: with SMTP id b17mr12111848qtb.53.1615005590810; Fri, 05 Mar 2021 20:39:50 -0800 (PST) MIME-Version: 1.0 References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> In-Reply-To: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> From: Kyle Evans Date: Fri, 5 Mar 2021 22:39:39 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: sed -i empty argument compatibility issue To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 04:39:51 -0000 On Fri, Mar 5, 2021 at 3:03 PM Gary Aitken wrote: > > I'm trying to come up with a fix for a script in a port which invokes sed. > The port comes from a linux environment, and the offending line looks like this: > (This is in a cMake file.) > > COMMAND sed -i "/^# /d" "${outfile}" > > The issue is that linux sed expects the -I or -i extension modifier to > immediately follow the -i. In the above line, the extension is deliberately > missing to provide in-place editing. > > fbsd expects the extension to be separated from the -i by whitespace, or > doesn't work properly when it is empty or immediately follows the -i: > > $ !ls > ls -lt temp.tmp* > -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp > -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > $ sed -ifoo "/^# /d" temp.tmp (works on both fbsd & linux)) > $ !ls > ls -lt temp.tmp* > -rw------- 1 garya garya 30 Mar 5 13:48 temp.tmp > -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo > $ cp -p temp.tmp_org temp.tmp > $ sed -i"" "/^# /d" temp.tmp (works on linux but not fbsd) > sed: 1: "temp.tmp": undefined label 'emp.tmp' > $ sed -i "" "/^# /d" temp.tmp (works on fbsd but not linux) > $ !ls > ls -lt temp.tmp* > -rw------- 1 garya garya 30 Mar 5 13:49 temp.tmp > -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo > > So fbsd works with '-i ""' but linux requires '-i""' > > Does anyone know a work-around for this problem? > My personal favorite trick to bridge the gap here was, as I recall: sed -i'' '' 's/../.../' ${file} IIRC those sed's with an optional backup suffix (Linux, OpenBSD) will accept the immediately following empty string and accept the next empty word as an empty command, while our getopt will effectively ignore the rest of the -i word and use the following optarg as usual. From owner-freebsd-questions@freebsd.org Sat Mar 6 05:12:12 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B85AD575840 for ; Sat, 6 Mar 2021 05:12:12 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dst582zW1z4mTF; Sat, 6 Mar 2021 05:12:11 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 1265C9IX091168; Fri, 5 Mar 2021 22:12:10 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: sed -i empty argument compatibility issue To: Kyle Evans Cc: FreeBSD Mailing List References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> From: Gary Aitken Message-ID: Date: Fri, 5 Mar 2021 22:07:04 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 05 Mar 2021 22:12:10 -0700 (MST) X-Rspamd-Queue-Id: 4Dst582zW1z4mTF X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 05:12:12 -0000 On 3/5/21 9:39 PM, Kyle Evans wrote: > On Fri, Mar 5, 2021 at 3:03 PM Gary Aitken wrote: >> >> I'm trying to come up with a fix for a script in a port which invokes sed. >> The port comes from a linux environment, and the offending line looks like this: >> (This is in a cMake file.) >> >> COMMAND sed -i "/^# /d" "${outfile}" >> >> The issue is that linux sed expects the -I or -i extension modifier to >> immediately follow the -i. In the above line, the extension is deliberately >> missing to provide in-place editing. >> >> fbsd expects the extension to be separated from the -i by whitespace, or >> doesn't work properly when it is empty or immediately follows the -i: >> >> $ !ls >> ls -lt temp.tmp* >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org >> $ sed -ifoo "/^# /d" temp.tmp (works on both fbsd & linux)) >> $ !ls >> ls -lt temp.tmp* >> -rw------- 1 garya garya 30 Mar 5 13:48 temp.tmp >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo >> $ cp -p temp.tmp_org temp.tmp >> $ sed -i"" "/^# /d" temp.tmp (works on linux but not fbsd) >> sed: 1: "temp.tmp": undefined label 'emp.tmp' >> $ sed -i "" "/^# /d" temp.tmp (works on fbsd but not linux) >> $ !ls >> ls -lt temp.tmp* >> -rw------- 1 garya garya 30 Mar 5 13:49 temp.tmp >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo >> >> So fbsd works with '-i ""' but linux requires '-i""' >> >> Does anyone know a work-around for this problem? >> > > My personal favorite trick to bridge the gap here was, as I recall: > > sed -i'' '' 's/../.../' ${file} > > IIRC those sed's with an optional backup suffix (Linux, OpenBSD) will > accept the immediately following empty string and accept the next > empty word as an empty command, while our getopt will effectively > ignore the rest of the -i word and use the following optarg as usual. Unfortunately, times appear to have changed, at least on ubuntu-18.04: $ sed -i'' '' "/^# /d" temp.tmp sed: can't read /^# /d: No such file or directory Gary From owner-freebsd-questions@freebsd.org Sat Mar 6 05:15:39 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B6436575CAC for ; Sat, 6 Mar 2021 05:15:39 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dst974StDz4mbQ; Sat, 6 Mar 2021 05:15:39 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 83ACDF8F6; Sat, 6 Mar 2021 05:15:39 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f182.google.com with SMTP id 130so4244547qkh.11; Fri, 05 Mar 2021 21:15:39 -0800 (PST) X-Gm-Message-State: AOAM532riZVL8nSOMdyS6wt7Ir6LVGDs5i7FHumMOnKJinzf36ACLrgo PJXMgSqgeiaOsleci6lw6OstzAIXzkPQ0BFvm7Y= X-Google-Smtp-Source: ABdhPJxEQLyjdrAX9YJzGoHwinyda9rcdG3+xM5oGTV/GXMorPD/ap5T0xv52ElaxncZr0kvT9Fr3jtpPMyUQcQ6aPc= X-Received: by 2002:a37:988:: with SMTP id 130mr13186457qkj.120.1615007738799; Fri, 05 Mar 2021 21:15:38 -0800 (PST) MIME-Version: 1.0 References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> In-Reply-To: From: Kyle Evans Date: Fri, 5 Mar 2021 23:15:27 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: sed -i empty argument compatibility issue To: freebsd@dreamchaser.org Cc: Kyle Evans , FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 05:15:39 -0000 On Fri, Mar 5, 2021 at 11:12 PM Gary Aitken wrote: > > On 3/5/21 9:39 PM, Kyle Evans wrote: > > On Fri, Mar 5, 2021 at 3:03 PM Gary Aitken wrote: > >> > >> I'm trying to come up with a fix for a script in a port which invokes sed. > >> The port comes from a linux environment, and the offending line looks like this: > >> (This is in a cMake file.) > >> > >> COMMAND sed -i "/^# /d" "${outfile}" > >> > >> The issue is that linux sed expects the -I or -i extension modifier to > >> immediately follow the -i. In the above line, the extension is deliberately > >> missing to provide in-place editing. > >> > >> fbsd expects the extension to be separated from the -i by whitespace, or > >> doesn't work properly when it is empty or immediately follows the -i: > >> > >> $ !ls > >> ls -lt temp.tmp* > >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp > >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > >> $ sed -ifoo "/^# /d" temp.tmp (works on both fbsd & linux)) > >> $ !ls > >> ls -lt temp.tmp* > >> -rw------- 1 garya garya 30 Mar 5 13:48 temp.tmp > >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo > >> $ cp -p temp.tmp_org temp.tmp > >> $ sed -i"" "/^# /d" temp.tmp (works on linux but not fbsd) > >> sed: 1: "temp.tmp": undefined label 'emp.tmp' > >> $ sed -i "" "/^# /d" temp.tmp (works on fbsd but not linux) > >> $ !ls > >> ls -lt temp.tmp* > >> -rw------- 1 garya garya 30 Mar 5 13:49 temp.tmp > >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > >> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo > >> > >> So fbsd works with '-i ""' but linux requires '-i""' > >> > >> Does anyone know a work-around for this problem? > >> > > > > My personal favorite trick to bridge the gap here was, as I recall: > > > > sed -i'' '' 's/../.../' ${file} > > > > IIRC those sed's with an optional backup suffix (Linux, OpenBSD) will > > accept the immediately following empty string and accept the next > > empty word as an empty command, while our getopt will effectively > > ignore the rest of the -i word and use the following optarg as usual. > > Unfortunately, times appear to have changed, at least on ubuntu-18.04: > > $ sed -i'' '' "/^# /d" temp.tmp > sed: can't read /^# /d: No such file or directory > Oh, sorry. Try slapping with an -e: $ sed -i'' '' -e "/^# /d" temp.tmp From owner-freebsd-questions@freebsd.org Sat Mar 6 05:27:43 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2D7BF5762DF for ; Sat, 6 Mar 2021 05:27:43 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DstR21VxGz4nTG for ; Sat, 6 Mar 2021 05:27:41 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 1265RerU091203; Fri, 5 Mar 2021 22:27:40 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: sed -i empty argument compatibility issue To: parv/freebsd Cc: freebsd-questions@freebsd.org References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> <20210305142352297368817@bob.proulx.com> <606b8bfa-4fe5-883a-d7ac-99f41655f728@dreamchaser.org> From: Gary Aitken Message-ID: <43f97b81-9af7-ed3b-4dc2-12212ea84003@dreamchaser.org> Date: Fri, 5 Mar 2021 22:22:34 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 05 Mar 2021 22:27:40 -0700 (MST) X-Rspamd-Queue-Id: 4DstR21VxGz4nTG X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@dreamchaser.org designates 66.109.141.57 as permitted sender) smtp.mailfrom=freebsd@dreamchaser.org X-Spamd-Result: default: False [-3.29 / 15.00]; HAS_REPLYTO(0.00)[freebsd@dreamchaser.org]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_ADDR_EQ_FROM(0.00)[]; DMARC_NA(0.00)[dreamchaser.org]; SPAMHAUS_ZRD(0.00)[66.109.141.57:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.109.141.57:from]; NEURAL_HAM_SHORT(-0.99)[-0.991]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:21947, ipnet:66.109.128.0/19, country:US]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 05:27:43 -0000 On 3/5/21 9:33 PM, parv/freebsd wrote: > > 3. Avoid -i and use a temporary file, just like in the old days. > > However this introduces the need for temporary file handling.  But > > maybe that isn't important here. > > > > sed "/^# /d" "${outfile}" > "$tmpfile" && mv "$tmpfile" "${outfile}" > > > This won't do, when ... > > > 4. Introduce a "sed" wrapper in PATH that intercepts the call to the > > real sed, detects this problematic usage case, and then DTRT does > > the right thing with it.  This wrapper could have all of the correct > > temporary file handling needed to make this work. > > ... > > #!/bin/sh > > # Set sed path & -i option based on "uname -a" output. > SED= > host_type=$( uname -a ) > case "${host_type}" in >   *Linux* ) >     SED="/usr/bin/sed -i''" >   ;; >   *FreeBSD* ) >     SED="/usr/bin/sed -i ''" >   ;; > esac > > # Set $@ to contain original arguments prefixed by sed with -i option. > set -- ${SED} $@ > # Now run the sed with the arguments given. > $@ Unfortunately, that involves adding a script that then has to be present on every system where the original software package is to be used, or incorporating it into the package itself. Which adds confusion for anyone working with other packages, which may or may not assume the presence of the script. > > 6. Compile GNU sed locally and install it in PATH earlier.  This > > would probably be a generally good option globally.  However it's > > possible you might run into portability problems in the reverse > > case. > > > If GNU sed could be installed, this would be most agreeable. But wouldn't that potentially break other ports which assume fbsd sed, and may have patches assuming that? Or system scripts which assume fbsd sed? > I prefer to use the absolute path to remove ambiguity about the kind of > sed being used, especially in the above case. for sure; that would get around the "which sed" issue, although it would require setup in the Makefile, which wouldn't be a big deal. But it would also require changing every "sed" to "$SED" in the package. Perhaps SED should be one of those variables that appear in all the cmake files that I don't understand... Gary From owner-freebsd-questions@freebsd.org Sat Mar 6 05:30:41 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA34A576470 for ; Sat, 6 Mar 2021 05:30:41 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DstVT40B4z4ngs; Sat, 6 Mar 2021 05:30:41 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 1265UeZ3091213; Fri, 5 Mar 2021 22:30:40 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: sed -i empty argument compatibility issue To: Kyle Evans Cc: FreeBSD Mailing List References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> From: Gary Aitken Message-ID: <42cacf1d-88be-d8a2-9ff4-f82ce378adc7@dreamchaser.org> Date: Fri, 5 Mar 2021 22:25:34 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Fri, 05 Mar 2021 22:30:40 -0700 (MST) X-Rspamd-Queue-Id: 4DstVT40B4z4ngs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 05:30:41 -0000 On 3/5/21 10:15 PM, Kyle Evans wrote: > On Fri, Mar 5, 2021 at 11:12 PM Gary Aitken wrote: >> >> On 3/5/21 9:39 PM, Kyle Evans wrote: >>> On Fri, Mar 5, 2021 at 3:03 PM Gary Aitken wrote: >>>> >>>> I'm trying to come up with a fix for a script in a port which invokes sed. >>>> The port comes from a linux environment, and the offending line looks like this: >>>> (This is in a cMake file.) >>>> >>>> COMMAND sed -i "/^# /d" "${outfile}" >>>> >>>> The issue is that linux sed expects the -I or -i extension modifier to >>>> immediately follow the -i. In the above line, the extension is deliberately >>>> missing to provide in-place editing. >>>> >>>> fbsd expects the extension to be separated from the -i by whitespace, or >>>> doesn't work properly when it is empty or immediately follows the -i: >>>> >>>> $ !ls >>>> ls -lt temp.tmp* >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org >>>> $ sed -ifoo "/^# /d" temp.tmp (works on both fbsd & linux)) >>>> $ !ls >>>> ls -lt temp.tmp* >>>> -rw------- 1 garya garya 30 Mar 5 13:48 temp.tmp >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo >>>> $ cp -p temp.tmp_org temp.tmp >>>> $ sed -i"" "/^# /d" temp.tmp (works on linux but not fbsd) >>>> sed: 1: "temp.tmp": undefined label 'emp.tmp' >>>> $ sed -i "" "/^# /d" temp.tmp (works on fbsd but not linux) >>>> $ !ls >>>> ls -lt temp.tmp* >>>> -rw------- 1 garya garya 30 Mar 5 13:49 temp.tmp >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo >>>> >>>> So fbsd works with '-i ""' but linux requires '-i""' >>>> >>>> Does anyone know a work-around for this problem? >>>> >>> >>> My personal favorite trick to bridge the gap here was, as I recall: >>> >>> sed -i'' '' 's/../.../' ${file} >>> >>> IIRC those sed's with an optional backup suffix (Linux, OpenBSD) will >>> accept the immediately following empty string and accept the next >>> empty word as an empty command, while our getopt will effectively >>> ignore the rest of the -i word and use the following optarg as usual. >> >> Unfortunately, times appear to have changed, at least on ubuntu-18.04: >> >> $ sed -i'' '' "/^# /d" temp.tmp >> sed: can't read /^# /d: No such file or directory >> > > Oh, sorry. Try slapping with an -e: > > $ sed -i'' '' -e "/^# /d" temp.tmp nope: $ sed -i'' '' -e "/^# /d" temp.tmp sed: can't read : No such file or directory $ !ls ls -lt temp.tmp* -rw-rw-r-- 1 garya garya 86 Mar 6 05:29 temp.tmp -rw-rw-r-- 1 garya garya 86 Mar 5 20:45 temp.tmp_org Gary From owner-freebsd-questions@freebsd.org Sat Mar 6 05:43:05 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 04383576C24 for ; Sat, 6 Mar 2021 05:43:05 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dstmm5x27z4pJv for ; Sat, 6 Mar 2021 05:43:04 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id BA19D200FF for ; Sat, 6 Mar 2021 05:43:04 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f171.google.com with SMTP id l14so807327qtr.10 for ; Fri, 05 Mar 2021 21:43:04 -0800 (PST) X-Gm-Message-State: AOAM533MpV++V52paT9WVBpeJAcbNbSvDzHAqkq3w2kSDsaE91JYDaZY 0AFeJ5zJZRXkdaw3GSY2YAyiUHNuI+ku5TbnMVE= X-Google-Smtp-Source: ABdhPJz3T2IGhX4LFk13rooIk0wbOUR7Z8+CRkXejJM19KwGDg4leEQM4DgqWWCT19QzFstdAiuBv2aCpwLdFinaPXI= X-Received: by 2002:ac8:5947:: with SMTP id 7mr12286170qtz.60.1615009384047; Fri, 05 Mar 2021 21:43:04 -0800 (PST) MIME-Version: 1.0 References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> <42cacf1d-88be-d8a2-9ff4-f82ce378adc7@dreamchaser.org> In-Reply-To: <42cacf1d-88be-d8a2-9ff4-f82ce378adc7@dreamchaser.org> From: Kyle Evans Date: Fri, 5 Mar 2021 23:42:52 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: sed -i empty argument compatibility issue To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 05:43:05 -0000 Ie On Fri, Mar 5, 2021 at 11:30 PM Gary Aitken wrote: > > On 3/5/21 10:15 PM, Kyle Evans wrote: > > On Fri, Mar 5, 2021 at 11:12 PM Gary Aitken wrote: > >> > >> On 3/5/21 9:39 PM, Kyle Evans wrote: > >>> On Fri, Mar 5, 2021 at 3:03 PM Gary Aitken wrote: > >>>> > >>>> I'm trying to come up with a fix for a script in a port which invokes sed. > >>>> The port comes from a linux environment, and the offending line looks like this: > >>>> (This is in a cMake file.) > >>>> > >>>> COMMAND sed -i "/^# /d" "${outfile}" > >>>> > >>>> The issue is that linux sed expects the -I or -i extension modifier to > >>>> immediately follow the -i. In the above line, the extension is deliberately > >>>> missing to provide in-place editing. > >>>> > >>>> fbsd expects the extension to be separated from the -i by whitespace, or > >>>> doesn't work properly when it is empty or immediately follows the -i: > >>>> > >>>> $ !ls > >>>> ls -lt temp.tmp* > >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp > >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > >>>> $ sed -ifoo "/^# /d" temp.tmp (works on both fbsd & linux)) > >>>> $ !ls > >>>> ls -lt temp.tmp* > >>>> -rw------- 1 garya garya 30 Mar 5 13:48 temp.tmp > >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo > >>>> $ cp -p temp.tmp_org temp.tmp > >>>> $ sed -i"" "/^# /d" temp.tmp (works on linux but not fbsd) > >>>> sed: 1: "temp.tmp": undefined label 'emp.tmp' > >>>> $ sed -i "" "/^# /d" temp.tmp (works on fbsd but not linux) > >>>> $ !ls > >>>> ls -lt temp.tmp* > >>>> -rw------- 1 garya garya 30 Mar 5 13:49 temp.tmp > >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmp_org > >>>> -rw------- 1 garya garya 86 Mar 5 13:15 temp.tmpfoo > >>>> > >>>> So fbsd works with '-i ""' but linux requires '-i""' > >>>> > >>>> Does anyone know a work-around for this problem? > >>>> > >>> > >>> My personal favorite trick to bridge the gap here was, as I recall: > >>> > >>> sed -i'' '' 's/../.../' ${file} > >>> > >>> IIRC those sed's with an optional backup suffix (Linux, OpenBSD) will > >>> accept the immediately following empty string and accept the next > >>> empty word as an empty command, while our getopt will effectively > >>> ignore the rest of the -i word and use the following optarg as usual. > >> > >> Unfortunately, times appear to have changed, at least on ubuntu-18.04: > >> > >> $ sed -i'' '' "/^# /d" temp.tmp > >> sed: can't read /^# /d: No such file or directory > >> > > > > Oh, sorry. Try slapping with an -e: > > > > $ sed -i'' '' -e "/^# /d" temp.tmp > > nope: > > $ sed -i'' '' -e "/^# /d" temp.tmp > sed: can't read : No such file or directory > $ !ls > ls -lt temp.tmp* > -rw-rw-r-- 1 garya garya 86 Mar 6 05:29 temp.tmp > -rw-rw-r-- 1 garya garya 86 Mar 5 20:45 temp.tmp_org > > Gary Bah, ok, sorry for the noise- I thought I remembered there being some odd invocation that can be done to make it work out, but I clearly don't recall what that is now and trying to search my inbox for 'sed' is a total disaster. Is this used only at build-time, or at runtime? The former can just pull in gsed as a BUILD_DEPENDS and use a BINARY_ALIAS to stash it first. Autoconfig takes some more work; ac_cv_path_SED=${LOCALBASE}/bin/gsed instead, maybe. At runtime, your best option is to patch the script to use gsed and slap a RUN_DEPENDS on that bad boy. I've wanted to make our -i arg optional for a long time to match OpenBSD/Linux, but that's a POLA violation too far even for me to pursue. Thanks, Kyle Evans From owner-freebsd-questions@freebsd.org Sat Mar 6 10:53:23 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 177E5561B19 for ; Sat, 6 Mar 2021 10:53:23 +0000 (UTC) (envelope-from freebsd@twc.com) Received: from p-impout005.msg.pkvw.co.charter.net (p-impout005aa.msg.pkvw.co.charter.net [47.43.26.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt1fp1n9sz3k0V for ; Sat, 6 Mar 2021 10:53:21 +0000 (UTC) (envelope-from freebsd@twc.com) Received: from [192.168.1.5] ([74.132.18.25]) by cmsmtp with ESMTPA id IUYcldVuNeKjEIUYdlUfFv; Sat, 06 Mar 2021 10:53:15 +0000 X-Authority-Analysis: v=2.3 cv=ALzgjvLx c=1 sm=1 tr=0 a=6dKv8Xy78h5PIHsve0hi3A==:117 a=6dKv8Xy78h5PIHsve0hi3A==:17 a=IkcTkHD0fZMA:10 a=6I5d2MoRAAAA:8 a=HSDLPEUgxQIAnP4SmsUA:9 a=QEXdDO2ut3YA:10 a=IjZwj45LgO3ly-622nXo:22 a=BPzZvq435JnGatEyYwdK:22 Subject: Re: sed -i empty argument compatibility issue To: freebsd-questions@freebsd.org References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> From: Steven Friedrich Message-ID: Date: Sat, 6 Mar 2021 05:53:13 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-CMAE-Envelope: MS4wfFDgCPg7S/tVs4vKUJfYTliLCb8ajIv/AI70Mlzsem84IsrB4UxlbWCkbvlUNiwR86mgEHfewIwx1NtorsX8cVL242hxTUN1VvTkMmBPyZPmXbtjDnid cRm0tH5cEwo1ZuDJPBfKfQ4NY8SErmx7P/y1fV2ylt0n4VD37hYORVbSSNDTu9JRk8oHVxQngy71zQ== X-Rspamd-Queue-Id: 4Dt1fp1n9sz3k0V X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@twc.com designates 47.43.26.136 as permitted sender) smtp.mailfrom=freebsd@twc.com X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[47.43.26.136:from]; FREEMAIL_FROM(0.00)[TWC.com]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[74.132.18.25:received]; DMARC_NA(0.00)[TWC.com]; R_SPF_ALLOW(-0.20)[+ip4:47.43.26.0/24]; NEURAL_HAM_SHORT(-1.00)[-0.998]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[twc.com]; ASN(0.00)[asn:40294, ipnet:47.43.24.0/21, country:US]; MIME_TRACE(0.00)[0:+]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 10:53:23 -0000 On 3/5/2021 3:58 PM, Gary Aitken wrote: > I'm trying to come up with a fix for a script in a port which invokes > sed. > The port comes from a linux environment, and the offending line looks > like this: > (This is in a cMake file.) > > COMMAND sed -i "/^# /d" "${outfile}" > > The issue is that linux sed expects the -I or -i extension modifier to > immediately follow the -i.  In the above line, the extension is > deliberately > missing to provide in-place editing. > > fbsd expects the extension to be separated from the -i by whitespace, or > doesn't work properly when it is empty or immediately follows the -i: > > $ !ls > ls -lt temp.tmp* > -rw-------  1 garya  garya  86 Mar  5 13:15 temp.tmp > -rw-------  1 garya  garya  86 Mar  5 13:15 temp.tmp_org > $ sed -ifoo "/^# /d" temp.tmp  (works on both fbsd & linux)) > $ !ls > ls -lt temp.tmp* > -rw-------  1 garya  garya  30 Mar  5 13:48 temp.tmp > -rw-------  1 garya  garya  86 Mar  5 13:15 temp.tmp_org > -rw-------  1 garya  garya  86 Mar  5 13:15 temp.tmpfoo > $ cp -p temp.tmp_org temp.tmp > $ sed -i"" "/^# /d" temp.tmp   (works on linux but not fbsd) > sed: 1: "temp.tmp": undefined label 'emp.tmp' > $ sed -i "" "/^# /d" temp.tmp  (works on fbsd but not linux) > $ !ls > ls -lt temp.tmp* > -rw-------  1 garya  garya  30 Mar  5 13:49 temp.tmp > -rw-------  1 garya  garya  86 Mar  5 13:15 temp.tmp_org > -rw-------  1 garya  garya  86 Mar  5 13:15 temp.tmpfoo > > So fbsd works with '-i ""' but linux requires '-i""' > > Does anyone know a work-around for this problem? > > Gary Yes, the correct "work-around" is to FIX Linux.  Linux is supposed to mimic Unix, FreeBSD IS Unix. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@freebsd.org Sat Mar 6 14:08:19 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E7442569049 for ; Sat, 6 Mar 2021 14:08:19 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (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 4Dt5zk1SY6z4R10 for ; Sat, 6 Mar 2021 14:08:17 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 0B04F29BA for ; Sat, 6 Mar 2021 09:08:15 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 06 Mar 2021 09:08:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:mime-version:content-type; s= fm2; bh=EAfgRHr0SXjnomz/stckP5ZHcjkD2u9/Mbh697TyTXk=; b=q1tSFH7n NkTX5nQaPDBc7KbzhjgBlSwrl3DbBh5zEsBCc4+00syzxs639jgQDjYqpvXZysTx HIJ14lz01C9x+Hl2SVrV7lN6VNaeh5AJ/z71EbG04rf9bhV6NmrteEwhNR0TGMJK k7HEU11usR39zWtvtPZBNQ+zyo6KX/Sor/c3WZhMMcMuy+yHmkHdn5xZJaEzxaFq Ks/l6/XeLKPaM2HEr3A0ea6quwU6WvGV/YrPEVaurzsV28DVP77/KwoQs+brX8M5 w3+ESaD50p3k1tytndChw0f7HkU9aHZF343UvhPrPhaHR54BsqL308JTcPf18Ovv XSR9e9wvqjJixQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=EAfgRHr0SXjnomz/stckP5ZHcjkD2 u9/Mbh697TyTXk=; b=dsLXxFf8ao8ekk/sQy0TIkSm+5q5fCd5WP3TC5LMLSFpA 9g88kzfSKqz5JmoHhYGlc3xS8RoKnx4ObeWQpKI8QTNtf93VxDAAsZnPbdL6elz7 tlGKjbxzUA4mHXD3xOlQ9RjompkNWNd82ivTOcnWvPxFtrKKIJmMX6LxWisnGkjV TC9YmclEDVqCjyrV2P7a5M7k5/bUy2ovYhSijmBBboy5gENr2wyoSj/TObJ6GhpV 2/2SqhJ6Bh+7W8I8AmklLyRA6azLb9B5nFqnepUSwoLIOn7nHoiXDiopZ+wh764u Lnb8eBS6xiGSzcE3UkJ5PdVsMHGfhA9RCOsiDvSwQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtkedgheeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugesghdtroertd dtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseiihiig shhtrdhnvghtqeenucggtffrrghtthgvrhhnpeelffffhfejveeuueeuvdeljeetgfduff ffkedtgeffuddtveegjeehffdtgedtudenucfkphepkedvrdejtddrledurddutddunecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthgvtghhqd hlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from ceres.local (fws.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 277F61080059 for ; Sat, 6 Mar 2021 09:08:15 -0500 (EST) Date: Sat, 6 Mar 2021 14:08:13 +0000 From: tech-lists To: freebsd-questions@freebsd.org Subject: which is "better" - /dev/fd or FIFO Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="tTH7zAYkM/9NDSQN" Content-Disposition: inline X-Rspamd-Queue-Id: 4Dt5zk1SY6z4R10 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=q1tSFH7n; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=dsLXxFf8; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.20 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[64.147.123.20:from]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.20]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[zyxst.net]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.20:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 14:08:20 -0000 --tTH7zAYkM/9NDSQN Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, Some ports, notably shells/bash, have a makeoptions config where you can select "enable use of /dev/fd". But there's no explanation given why this is advantageous or not, or if there's some kind of risk, in a freebsd context [1]. It's not enabled by default. Please can anyone explain? [1] stable/13-n244509-538a81520b5 arm64 rpi4/8GB thanks, --=20 J. --tTH7zAYkM/9NDSQN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBDjMUACgkQs8o7QhFz NAVODg//W1QVW5si5c3SO/imZUaskj3QqkCvLvuAlbAQiUmRVESaxt8aujnnaadn tVy2Loay0BOnRZ+cQr+qTIInKGpHx5y23bpwxgGtNZx0N4bx4Q1FH2g8lsZMTkS0 RS5VQcjQGkPlCT7C4qee0DHvhb+DWWDcSPyrFBNnmG2Uz5T7mqaRlWmYD06SwVpL ZkXudHL7Dg9WJySML8wPZAsv/kNe+fsWrN83pWgQw30ul0Dx+g2m7veEZ3DXaF0Z wP9g0hh5WeEQi2/BBpExJmedvb7AIdnXfT0pvYjJRlCYn0COynt2+pY1o44CAeRg /DoKKdloUx563dk0KeolLf7jrckoLK3npEpbsZ09A5YNDbiGzKCHhWbsDeSaI2o6 OEKI1ttk/f4Y/jBxL5tyri0oHVLYsW5m5LV7uY1a8gXCfxMJYY1iMowP5eGQcr02 ZBEkMk356R5pVZzx2VZqnTvTyW/r4FiSCr/cuNy0qlA5OJKRkfpF3dCvAx8D/h5D 2FUTRU9jD/uhGwX0RlQw9ItoTeoxHxH9Y3pdpiKbkHG8gHaWNLvu1PeiVIUqxrEk E3hqSCcAqCxGQp0SFHOGLfm1+2HmEhWtLndbpp9wAdcFOst9WM0a2eS2xDeqsglp fbbOzIHR34r6QoUtgahzzQ0wD+Dwe4RIcpSBTqmuIhcGdWeVmkM= =WzWD -----END PGP SIGNATURE----- --tTH7zAYkM/9NDSQN-- From owner-freebsd-questions@freebsd.org Sat Mar 6 15:40:25 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 671D156B21C for ; Sat, 6 Mar 2021 15:40:25 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from nightmare.dreamchaser.org (ns.dreamchaser.org [66.109.141.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dreamchaser.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt8211CQqz4WBQ; Sat, 6 Mar 2021 15:40:24 +0000 (UTC) (envelope-from freebsd@dreamchaser.org) Received: from breakaway.dreamchaser.org (breakaway [192.168.151.122]) by nightmare.dreamchaser.org (8.15.2/8.15.2) with ESMTP id 126FeME6093043; Sat, 6 Mar 2021 08:40:22 -0700 (MST) (envelope-from freebsd@dreamchaser.org) Reply-To: freebsd@dreamchaser.org Subject: Re: sed -i empty argument compatibility issue To: Kyle Evans Cc: FreeBSD Mailing List References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> <42cacf1d-88be-d8a2-9ff4-f82ce378adc7@dreamchaser.org> From: Gary Aitken Message-ID: <698998b7-e46c-b27f-29cf-7abd7b1a0b7b@dreamchaser.org> Date: Sat, 6 Mar 2021 08:35:17 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (nightmare.dreamchaser.org [192.168.151.101]); Sat, 06 Mar 2021 08:40:22 -0700 (MST) X-Rspamd-Queue-Id: 4Dt8211CQqz4WBQ X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 15:40:25 -0000 On 3/5/21 10:42 PM, Kyle Evans wrote: > Is this used only at build-time, or at runtime? The former can just > pull in gsed as a BUILD_DEPENDS and use a BINARY_ALIAS to stash it > first. Autoconfig takes some more work; > ac_cv_path_SED=${LOCALBASE}/bin/gsed instead, maybe. At runtime, your > best option is to patch the script to use gsed and slap a RUN_DEPENDS > on that bad boy. It's a build-time only issue, but I'm trying to come up with a solution that "just works" on both the linux end and the fbsd end, so porting doesn't involve any patch files. A BUILD_DEPENDS and BINARY_ALIAS would work, thanks. I see that now in the porter's hb, 5.17. That may be a better solution, as it would deal with any future instances of non-standard usage, although convincing the linux and windoze folks to use only standard features would be a good thing. Thanks, Gary From owner-freebsd-questions@freebsd.org Sat Mar 6 16:12:21 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B385756B4E7 for ; Sat, 6 Mar 2021 16:12:21 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dt8ks4gMCz4XT6 for ; Sat, 6 Mar 2021 16:12:21 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qt1-f170.google.com (mail-qt1-f170.google.com [209.85.160.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 93439245DB for ; Sat, 6 Mar 2021 16:12:21 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qt1-f170.google.com with SMTP id v3so4311968qtw.4 for ; Sat, 06 Mar 2021 08:12:21 -0800 (PST) X-Gm-Message-State: AOAM531NjP7Qn0OAXx3KhNK+d+K1faikb1f7ZHCl6kFTgPj3kle6snPw 0rVbs5GGOXzKRV4W4YmIAKAZPM4PrmJ1eI2E6F4= X-Google-Smtp-Source: ABdhPJw73dsk7mUJCy36BoARS1+FvDBB6HUkNCy9jZastY/MeACY00y7ZB/MWXgwvA2Nv5wKkW+iEEI57Y9rIlv35Z0= X-Received: by 2002:ac8:5bcb:: with SMTP id b11mr13948055qtb.310.1615047140964; Sat, 06 Mar 2021 08:12:20 -0800 (PST) MIME-Version: 1.0 References: <9178f6c5-631a-c2c2-c6b1-8def94a3397b@dreamchaser.org> <42cacf1d-88be-d8a2-9ff4-f82ce378adc7@dreamchaser.org> <698998b7-e46c-b27f-29cf-7abd7b1a0b7b@dreamchaser.org> In-Reply-To: <698998b7-e46c-b27f-29cf-7abd7b1a0b7b@dreamchaser.org> From: Kyle Evans Date: Sat, 6 Mar 2021 10:12:03 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: sed -i empty argument compatibility issue To: freebsd@dreamchaser.org Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 16:12:21 -0000 On Sat, Mar 6, 2021 at 9:40 AM Gary Aitken wrote: > > On 3/5/21 10:42 PM, Kyle Evans wrote: > > > Is this used only at build-time, or at runtime? The former can just > > pull in gsed as a BUILD_DEPENDS and use a BINARY_ALIAS to stash it > > first. Autoconfig takes some more work; > > ac_cv_path_SED=${LOCALBASE}/bin/gsed instead, maybe. At runtime, your > > best option is to patch the script to use gsed and slap a RUN_DEPENDS > > on that bad boy. > > It's a build-time only issue, but I'm trying to come up with a solution > that "just works" on both the linux end and the fbsd end, so porting > doesn't involve any patch files. A BUILD_DEPENDS and BINARY_ALIAS would > work, thanks. I see that now in the porter's hb, 5.17. That may be a > better solution, as it would deal with any future instances of non-standard > usage, although convincing the linux and windoze folks to use only > standard features would be a good thing. > Excellent, good to hear. Also, some of the other comments in this thread have been a little discouraging. In an ideal world, FreeBSD would have adopted the same argument-optional approach, because that's what *Perl* does. We originally adopted the feature from Perl back in 839af0c1039fbde. Calling the GNU sed behavior "broken" is just outright wrong, given that there is no prior Unix art for this and it's a much more useful interpretation of '-i'. Thanks, Kyle Evans From owner-freebsd-questions@freebsd.org Sat Mar 6 16:37:52 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2389B56C2BC for ; Sat, 6 Mar 2021 16:37:52 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (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 4Dt9JH3FSVz4YMR for ; Sat, 6 Mar 2021 16:37:51 +0000 (UTC) (envelope-from kremels@kreme.com) Content-Type: text/plain; charset=utf-8 Subject: Re: which is "better" - /dev/fd or FIFO From: "@lbutlr" In-Reply-To: Date: Sat, 6 Mar 2021 09:37:49 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7CEBCD10-90CA-4194-823C-8F87659706BC@kreme.com> References: To: FreeBSD X-Mailer: Apple Mail (2.3654.80.0.2.41) X-Rspamd-Queue-Id: 4Dt9JH3FSVz4YMR X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [0.60 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.121.55.42:from]; NEURAL_HAM_MEDIUM(-1.00)[-0.998]; FROM_HAS_DN(0.00)[]; MISSING_MIME_VERSION(2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.121.55.42:from:127.0.2.255]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 16:37:52 -0000 On 06 Mar 2021, at 07:08, tech-lists wrote: > Some ports, notably shells/bash, have a makeoptions config where you = can > select "enable use of /dev/fd". But there's no explanation given why > this is advantageous or not, or if there's some kind of risk, in a > freebsd context [1]. It's not enabled by default. Please can anyone = explain? Do you have a floppy drive? --=20 Julia: I=E2=80=99m not going to help you; I=E2=80=99m going to take over = entirely for you. Todd: Oh thank god because I am dangerously underqualified for this. From owner-freebsd-questions@freebsd.org Sat Mar 6 16:57:42 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8B52856CF2E for ; Sat, 6 Mar 2021 16:57:42 +0000 (UTC) (envelope-from tech-lists@zyxst.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 4Dt9l93dKtz4ZVb for ; Sat, 6 Mar 2021 16:57:41 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id C4DCD28F2 for ; Sat, 6 Mar 2021 11:57:39 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 06 Mar 2021 11:57:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=WXfFTRH8iocTTM1yUVR8I7idr68 LfXdn3CTqDtqj2fw=; b=jRF4JziYPhnO0GTL6N3L6MQ6WzuDQUDUDISJxftLFo8 BBXHP9TPYkqkRKzymr8V8sLght+F50bK4Ic3O8uXOL3ZJykG5xNlBYEDMiUwv9Ko FOIoXBOvLqW97+rZz8Ccd1+ifaE8qcEelMU/0a5Mp7n8rQVWayiGd/4F8Cxjoa2d d6uShlot3GNXs4qeF6owgYAjKdXuCdx75iSnm04xmtqIi9dSrT6crwRRU0h9gSVe L8RCKNjE7adkuTU8h2+xHD6G9BkkyrVTf4bP66QxpbcmeNkSGai7ZxCOwBWVCmhc xCpd/tVfHSYsr6MlbwHmsmzUKbz9cSxVRsefpXP2eUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=WXfFTR H8iocTTM1yUVR8I7idr68LfXdn3CTqDtqj2fw=; b=iIfUnrc5klbhTKgXWTIiCA qSBms63b0BUvgg0quy4XZRZY2aVxOfNl9+5y/ZkCc5ksWzvmxT7pfvveIX2FgbEi GllYcuYZVFuNU3/gB4XBTSIs0VXqVp8g7LO6A7R8SBJ+Ix8195NHb0ETJ08hD4dJ y7uFaHsHGdoW9tOqLeRPiJTYS9mBGOWKyIZn0OdnL2muwltaNZA0g8BCKLWOpUEW iS23P9BJdDyZNX/GBX44YUQ10Ow3CD2VNfPkeNyyR0yObugZv85Sg8NkjoMUARg3 z2gYT+VFRxNfa6Mej+umv9BmkZrTR0pLoOjkDjxQ9oIKd2dufh2067gZUgzJ+HCQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddtkedgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujgesghdtre ertddtvdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseii hiigshhtrdhnvghtqeenucggtffrrghtthgvrhhnpefghffgjeeuheefleevffduveelhe efveehuefffeekgfeljeehhffgjedtudekkeenucffohhmrghinhepiiihgihsthdrnhgv thenucfkphepkedvrdejtddrledurddutddunecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepthgvtghhqdhlihhsthhsseiihiigshhtrdhnvght X-ME-Proxy: Received: from ceres.local (fws.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id 00DB01080059 for ; Sat, 6 Mar 2021 11:57:38 -0500 (EST) Date: Sat, 6 Mar 2021 16:57:37 +0000 From: tech-lists To: freebsd-questions@freebsd.org Subject: Re: which is "better" - /dev/fd or FIFO Message-ID: Mail-Followup-To: freebsd-questions@freebsd.org References: <7CEBCD10-90CA-4194-823C-8F87659706BC@kreme.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6BI4qthdhJZaH3V5" Content-Disposition: inline In-Reply-To: <7CEBCD10-90CA-4194-823C-8F87659706BC@kreme.com> X-Rspamd-Queue-Id: 4Dt9l93dKtz4ZVb X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=jRF4JziY; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=iIfUnrc5; dmarc=none; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 64.147.123.21 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-5.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.21]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[64.147.123.21:from]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_LOW(-0.10)[64.147.123.21:from]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[zyxst.net]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[64.147.123.21:from:127.0.2.255]; RWL_MAILSPIKE_POSSIBLE(0.00)[64.147.123.21:from]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 16:57:42 -0000 --6BI4qthdhJZaH3V5 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 06, 2021 at 09:37:49AM -0700, @lbutlr wrote: >On 06 Mar 2021, at 07:08, tech-lists wrote: >> Some ports, notably shells/bash, have a makeoptions config where you can >> select "enable use of /dev/fd". But there's no explanation given why >> this is advantageous or not, or if there's some kind of risk, in a >> freebsd context [1]. It's not enabled by default. Please can anyone expl= ain? > >Do you have a floppy drive? no. I admit i'd not thought of floppy drive at all. In 2021, who does? But the context in which this option is in, is confusing. The option=20 is for fdescfs with "enable use of /dev/fd". I don't know what fdescfs truly is, apart from something to do with file descriptords, and not floppy drives. Look here to see what I mean: https://cloud.zyxst.net/~john/FreeBSD/ports/bashc/bashc.png I think "enable use of /dev/fd" might be a bug; maybe it should say "enable use of /dev/fdescfs" ? In which case my question should be "which is best - /dev/fdescfs or fifo?" --=20 J. --6BI4qthdhJZaH3V5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmBDtHcACgkQs8o7QhFz NAXecg//W8j9PJkiWJs2X9iQNy/SU/rZ1Hf5UIYeIDnqtw+YzIfhLNNLlshQ6IVF BMSmBphlmFP4q4DGpG3CXJMvclQEG166WWlLPwNF+uIEifrF8vUIFL+OFA/9QXCb H+YXOdK/1Oqca0KIbvsCLpKXXTdMuAv4x6JjjJLQE4EekH/MuLAM/BdnAv6RGUCi c1u9LNAjvHnErdWhVnVlaAtnav7F/QA3sIiK+R26uJNnsJSPtt0cZFyq4p3spO80 YwYiTOyTpPIo05ymet4XDWf5xLl78nxnzk84Vh6kEIk+gD30HM3xtKC1flyBRS/E gq3yMKyG9o97PHooPg3cgQfGnJbI861uUckmOaHgdkr1psWcoGHvtrTQa/h8+V6P N3F4DWypnN3uuEgqIT/C+crLdNi0xSxGU5WX3kyop0qipPmsb6DN+3PUS4armIko O5HvNJROkecINmcJB3SlG7xio/HukucNYw7DPmhd6HX2DycqNhbCSpIuMokz3O+n TeuyGPnOV9hDR0f01EupQfYiW8xn5aH0AwUyF5xcK2r1CbRyEH5SG56FkjK5PUi0 fWkna0WrOFhifnvX6lUrnJSe6fNjzouU+P23GXN9ShlN8Hn5zqzzGNdZs9CRGqq2 z8V0+FRF/7YmwtTeUGBafD6oQN3PifEQFNmkuJ1Urtv1HKUsAls= =I55X -----END PGP SIGNATURE----- --6BI4qthdhJZaH3V5-- From owner-freebsd-questions@freebsd.org Sat Mar 6 17:11:06 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CFA1456D1A7 for ; Sat, 6 Mar 2021 17:11:06 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from mailout.qeng-ho.org (mailout.qeng-ho.org [217.155.128.244]) (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 4DtB2d670Yz4Zl7 for ; Sat, 6 Mar 2021 17:11:05 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from arthur.home.qeng-ho.org (unknown [IPv6:2a02:8010:64c9:1::2]) by mailout.qeng-ho.org (Postfix) with ESMTP id D1D27553ED for ; Sat, 6 Mar 2021 17:10:49 +0000 (GMT) Subject: Re: which is "better" - /dev/fd or FIFO To: freebsd-questions@freebsd.org References: <7CEBCD10-90CA-4194-823C-8F87659706BC@kreme.com> From: Arthur Chance Message-ID: <79db2b71-5758-431d-4654-fc3c42700c68@qeng-ho.org> Date: Sat, 6 Mar 2021 17:10:45 +0000 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DtB2d670Yz4Zl7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd@qeng-ho.org designates 217.155.128.244 as permitted sender) smtp.mailfrom=freebsd@qeng-ho.org X-Spamd-Result: default: False [-3.28 / 15.00]; RCVD_TLS_LAST(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[217.155.128.244:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.155.128.240/29]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[217.155.128.244:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.981]; DMARC_NA(0.00)[qeng-ho.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13037, ipnet:217.155.0.0/16, country:GB]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 17:11:06 -0000 On 06/03/2021 16:57, tech-lists wrote: > On Sat, Mar 06, 2021 at 09:37:49AM -0700, @lbutlr wrote: >> On 06 Mar 2021, at 07:08, tech-lists wrote: >>> Some ports, notably shells/bash, have a makeoptions config where you can >>> select "enable use of /dev/fd". But there's no explanation given why >>> this is advantageous or not, or if there's some kind of risk, in a >>> freebsd context [1]. It's not enabled by default. Please can anyone >>> explain? >> >> Do you have a floppy drive? > > no. I admit i'd not thought of floppy drive at all. In 2021, who does? Nope, /dev/fd isn't anything to do with floppy disks, that's /dev/fd0 IIRC. > But the context in which this option is in, is confusing. The option is > for fdescfs with "enable use of /dev/fd". I don't know what fdescfs > truly is, apart from something to do with file descriptords, and not > floppy drives. > > Look here to see what I mean: > > https://cloud.zyxst.net/~john/FreeBSD/ports/bashc/bashc.png > > I think "enable use of /dev/fd" might be a bug; maybe it should say > "enable use of /dev/fdescfs" ? > > In which case my question should be "which is best - /dev/fdescfs or fifo?" > If you read the manual entry for fdescfs it says it should be mounted via mount -t fdescfs null /dev/fd Opening /dev/fd/N gives you an alternate access path to file descriptor N in your program. I.e. opening /dev/fd/0 gives you access to stdin but on a different fd. -- The number of people predicting the demise of Moore's Law doubles every 18 months. From owner-freebsd-questions@freebsd.org Sat Mar 6 17:46:01 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 93DF056D8FD for ; Sat, 6 Mar 2021 17:46:01 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (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 4DtBpx0X94z4ctn for ; Sat, 6 Mar 2021 17:46:00 +0000 (UTC) (envelope-from kremels@kreme.com) Content-Type: text/plain; charset=us-ascii Subject: Re: which is "better" - /dev/fd or FIFO From: "@lbutlr" In-Reply-To: <79db2b71-5758-431d-4654-fc3c42700c68@qeng-ho.org> Date: Sat, 6 Mar 2021 10:45:59 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <7CEBCD10-90CA-4194-823C-8F87659706BC@kreme.com> <79db2b71-5758-431d-4654-fc3c42700c68@qeng-ho.org> To: FreeBSD X-Mailer: Apple Mail (2.3654.80.0.2.41) X-Rspamd-Queue-Id: 4DtBpx0X94z4ctn X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [0.45 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.121.55.42:from]; NEURAL_HAM_MEDIUM(-1.00)[-0.996]; FROM_HAS_DN(0.00)[]; MISSING_MIME_VERSION(2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.121.55.42:from:127.0.2.255]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.85)[0.846]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 17:46:01 -0000 On 06 Mar 2021, at 10:10, Arthur Chance wrote: > On 06/03/2021 16:57, tech-lists wrote: >> On Sat, Mar 06, 2021 at 09:37:49AM -0700, @lbutlr wrote: >>> On 06 Mar 2021, at 07:08, tech-lists wrote: >>>> Some ports, notably shells/bash, have a makeoptions config where = you can >>>> select "enable use of /dev/fd". But there's no explanation given = why >>>> this is advantageous or not, or if there's some kind of risk, in a >>>> freebsd context [1]. It's not enabled by default. Please can anyone >>>> explain? >>>=20 >>> Do you have a floppy drive? >>=20 >> no. I admit i'd not thought of floppy drive at all. In 2021, who = does? >=20 > Nope, /dev/fd isn't anything to do with floppy disks, that's /dev/fd0 = IIRC. Ah, could be. It's ben decades since I last used a floppy disk. 1995 or = 1996, IIRC. --=20 "Are you pondering what I'm pondering?" "I think so, Brain, but I am running for mayor of Donkeytown and Tuesdays are booked." =46rom an early Kids' WB intro. From owner-freebsd-questions@freebsd.org Sat Mar 6 20:46:44 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 73361572832 for ; Sat, 6 Mar 2021 20:46:44 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (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 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DtGqR3Ww8z4qBL for ; Sat, 6 Mar 2021 20:46:42 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wr1-x42b.google.com with SMTP id 7so6804740wrz.0 for ; Sat, 06 Mar 2021 12:46:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oqnZvmrBe4LIbir7i1DVHKYDWJ6etQYi7waP6s7/mns=; b=drvA4ybYAUlSMmyuUSxNZcLxM2TQo98PxOjDs4zjVbzpRPTRh81zq9YSnc7/lx0khE 3OvfMy+8JMTwXu6WhGLZssl4qY7ZVsUsJX4AieRELYeJoXU4JDxRCahfOi6u1v/BVZdM wQ+I5JEkOONxh66jYuN8879s7UqpMOts8nkjwzPlH+CeV8uWFsfLreChOWFTgOXrUlk2 gmv9idnedmZAKq380aL/FTZjF7S35W4Ib2eM5qyaTvpkblVk+1PJG6ysHoUVXMiOJNnt C8yIGaJKyOk8bdH5YXck7W0VEP4A+UtxBlCympyyo8ZMLyC0KnI1ksHuTII2yHCkwTST kpTA== X-Gm-Message-State: AOAM532Cdwhq/GCn4YA5JV2WWTInF2isU8Xu7x2Zhzp2bbXZG3Ek4/+v /0ByxOn9fSl7Rpwuon2XBwKGTOPXVN+Ttw== X-Google-Smtp-Source: ABdhPJwOQhgchn7HNm4vaxCCxIobJ6ygGnBTBc/m2g66BMCzeP+7PFdii3aTSadukIUYov4yjZgZRQ== X-Received: by 2002:a05:6000:2aa:: with SMTP id l10mr15600537wry.368.1615063594873; Sat, 06 Mar 2021 12:46:34 -0800 (PST) Received: from gumby.homeunix.com (host-92-15-61-44.as43234.net. [92.15.61.44]) by smtp.gmail.com with ESMTPSA id p17sm9537149wmd.42.2021.03.06.12.46.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Mar 2021 12:46:34 -0800 (PST) Date: Sat, 6 Mar 2021 20:46:33 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: which is "better" - /dev/fd or FIFO Message-ID: <20210306204633.3be9720a@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; amd64-portbld-freebsd12.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4DtGqR3Ww8z4qBL X-Spamd-Bar: / X-Spamd-Result: default: False [0.47 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[googlemail.com]; R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RBL_SEM_IPV6(1.00)[2a00:1450:4864:20::42b:from]; DKIM_TRACE(0.00)[googlemail.com:+]; DMARC_POLICY_ALLOW(0.00)[googlemail.com,quarantine]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RECEIVED_SPAMHAUS_PBL(0.00)[92.15.61.44:received]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[googlemail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::42b:from]; DWL_DNSWL_NONE(0.00)[googlemail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(0.00)[googlemail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.53)[-0.530]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; NEURAL_SPAM_MEDIUM(1.00)[0.999]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::42b:from:127.0.2.255]; BAD_REP_POLICIES(0.10)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::42b:from]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 20:46:44 -0000 On Sat, 6 Mar 2021 14:08:13 +0000 tech-lists wrote: > Hi, > > Some ports, notably shells/bash, have a makeoptions config where you > can select "enable use of /dev/fd". But there's no explanation given > why this is advantageous or not, or if there's some kind of risk, in a > freebsd context [1]. It's not enabled by default. Please can anyone > explain? See: https://reviews.freebsd.org/rP439169