Date: Thu, 30 Mar 2023 19:08:28 +0200 From: Goran =?utf-8?B?TWVracSH?= <meka@tilda.center> To: freebsd-current@freebsd.org Subject: Kernel panic on jail start Message-ID: <20230330170828.442jpwilq3q47lis@tilda.center>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230330170828.442jpwilq3q47lis>