Kernel panic on jail start
- Reply: Dmitry Chagin : "Re: Kernel panic on jail start"
- Reply: Dmitry Chagin : "Re: Kernel panic on jail start"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Mar 2023 17:08:28 UTC
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