From nobody Tue Mar 29 22:04:11 2022 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E20CB1A5014A for ; Tue, 29 Mar 2022 22:04:20 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KSk9w0kKnz3rdJ for ; Tue, 29 Mar 2022 22:04:19 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id AAF798D4A215; Tue, 29 Mar 2022 22:04:16 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 3D61CE7080F; Tue, 29 Mar 2022 22:04:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id 0A5mgR6DOIBL; Tue, 29 Mar 2022 22:04:13 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 929EDE7080C; Tue, 29 Mar 2022 22:04:12 +0000 (UTC) Date: Tue, 29 Mar 2022 22:04:11 +0000 (UTC) From: "Bjoern A. Zeeb" To: Peter cc: freebsd-stable@freebsd.org Subject: Re: Slow startup from D19488 (rtsol: sendmsg: Permission denied) In-Reply-To: Message-ID: References: X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 4KSk9w0kKnz3rdJ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-1.17 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; NEURAL_HAM_MEDIUM(-0.71)[-0.708]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; NEURAL_SPAM_SHORT(0.84)[0.841]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MLMMJ_DEST(0.00)[freebsd-stable]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Tue, 29 Mar 2022, Peter wrote: Hi, I am a bit puzzled as after two years you are the first one to report that problem to my knowledge for either base system or jails. > after upgrading 12.3 to stable/13, I am seeing these > errors in all my jails: > >> Additional TCP/IP options: log_in_vain=1. >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib > /usr/local/lib/c cmpat/pkg /usr/local/lib/compat/pkg >> 32-bit compatibility ldconfig path: >> rtsol: sendmsg on nrail1l: Permission denied >> rtsol: sendmsg on nrail1l: Permission denied >> rtsol: sendmsg on nrail1l: Permission denied >> Starting Network: lo0 nrail1l. Can you give us a full startup log? > Searching the cause I find change 1b5be7204eaeeaf aka D19488 > > This doesn't work, because the firewall is not yet present. This is Given you are talking firewall, I assume you are using vnet jails? And given you are talking ipfw I assume your default policy is deny and not accept? And given rtsol runs I assume you have IPv6 configured and in use? The same issue then should also happen in your base system on boot? > happening in rc.d/netif, and that must run before rc.d/ipfw in any > case, because the firewall needs to see the netifs. I thought ipfw could log deal with interfaces coming and going? -- Bjoern A. Zeeb r15:7