From nobody Thu Mar 30 17:08:28 2023 X-Original-To: freebsd-current@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 4PnVHn5Llvz4233w for ; Thu, 30 Mar 2023 17:08:37 +0000 (UTC) (envelope-from meka@tilda.center) Received: from c3po.tilda.center (c3po.tilda.center [108.61.164.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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PnVHm2nYTz4SrH for ; Thu, 30 Mar 2023 17:08:36 +0000 (UTC) (envelope-from meka@tilda.center) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tilda.center header.s=c3po header.b=feAajbSt; spf=pass (mx1.freebsd.org: domain of meka@tilda.center designates 108.61.164.129 as permitted sender) smtp.mailfrom=meka@tilda.center; dmarc=pass (policy=reject) header.from=tilda.center Received: from tilda.center (meka.rs [109.93.255.137]) by c3po.tilda.center (Postfix) with ESMTPSA id B06B01D51E for ; Thu, 30 Mar 2023 19:07:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tilda.center; s=c3po; t=1680196035; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=60y2xIimXKit17kL56T4PxAvPsavB3gixWWJ0ArpHs4=; b=feAajbSt260VWf+V4BUPTrksJXjVMgxLgpZwh3GalPGW5xZNQtk2v1Fs2V8mgS88is56Y3 xZY/jRW9BJTM2mxEiwbPwVUpJ4L+ptmVxXP507RnNTuUqVZRxYebzaFRuuHxaEAVJ6StkV WJ7bjpB+CHP9tjjaovYjVbWu7rOGSTk= Date: Thu, 30 Mar 2023 19:08:28 +0200 From: Goran =?utf-8?B?TWVracSH?= To: freebsd-current@freebsd.org Subject: Kernel panic on jail start Message-ID: <20230330170828.442jpwilq3q47lis@tilda.center> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="o45a5ot2qlxy3zdk" Content-Disposition: inline X-Spamd-Result: default: False [-5.39 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_MIXED_CHARSET(0.71)[subject]; DMARC_POLICY_ALLOW(-0.50)[tilda.center,reject]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[tilda.center:s=c3po]; ASN(0.00)[asn:20473, ipnet:108.61.164.0/22, country:US]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[tilda.center:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4PnVHm2nYTz4SrH X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N --o45a5ot2qlxy3zdk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hello, I get the kernel panic when starting jail. With git bisect I found out the offending commit is 0b56641cfcda30d06243223f37781ccc18455bef. After reverting it, everything is back to normal. For completeness, this is my jail.conf: network { $id = 1; $base = /var/jails; persist; vnet; path = "${base}/${name}"; mount.devfs; host.domainname = "example.com"; host.hostname = "${name}.${host.domainname}"; vnet.interface = "epair${id}b"; devfs_ruleset = 8; allow.raw_sockets; mount += "/var/run/reggae ${path}/var/run/reggae nullfs ro 0 0"; exec.prepare = "[ ! -e ${path}/var/run/reggae ] && mkdir ${path}/var/run/reggae || true"; exec.prepare += "ifconfig epair${id}a && ifconfig epair${id}a destroy || true"; exec.prestart = "ifconfig epair${id} create up group $(echo ${name} | cut -b 1-15) || (ifconfig epair${id}a destroy && false)"; exec.prestart += "ifconfig jails addm epair${id}a"; exec.start = "echo ifconfig_${vnet.interface}_name=\\"eth0\\" >/etc/rc.conf.d/network"; exec.start += "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.poststop = "ifconfig epair${id}a destroy"; exec.clean; exec.consolelog = "/var/log/jails/${host.hostname}"; } The jail root is created with bsdinstall disinstall/distfetch and 14-CURRENT. Regards, meka --o45a5ot2qlxy3zdk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEE1WIFkXy2ZeMKjjKEWj1TknovrLYFAmQlwfsACgkQWj1Tknov rLYDIQ/+MIJ4xWj3vg5/6vimlUkVZi8YSH1u0t/oo/kLsaWeD9kXE4Q02jOyfbL2 jV2KDeR0n9dHi24jJHjeL7cxtUKcB7Qn2D4dSGE0XYjFVJBFBtV/3SjJ7mDaMzYF ZLkLptOdTp8wUAEGFQh4LbVFHLsSKOOCM+kkcehIwUb5qzR1+okK9895pytxlRJq GbIOIruanXO5RC0ElAgFo0nVcYEJAFCb/edSkGjJ6bY968+E20khZEQI3xzBel4Y NOnlC0lURhUlZ5HttyubFOWP/C0B/xN+0PkjSnB0NxxFQVNuwI3be/HRF0FkAWsU 1Es0Tw8hW+bRDAmdIBeAHS7ZI+suZQkXeHz+JXdNR9j465AJEheS6/smPcsfeCOI QqbnvobtEQWYkre4iCnO/Ys8mISTDOOW9nZXGiNY7W91EgezC6RfAel8jeDrMWVB KPJM7IDQ/7DqQe64kRlrjl/rPPly4rbDrhE+HfcDg06m/Yw978Pk1LaNMus7KDKs 4Jl892M3o1DddSZcfNMf+fUv43ccWt+t4RP82x/qvT2bkiTp/YqjhZ00mRimmP6t xyo8O49DSr4aCpB+wpd86QuWu9EuMIsUCzCewqn/0wCNcxOazRUT/JL5Fk1dir9f OgTNMICSzUfp+HrNn8coAmoO/9x231L4NZl9NedJyNM5Z7QIrNY= =sHvi -----END PGP SIGNATURE----- --o45a5ot2qlxy3zdk--