From owner-freebsd-current@freebsd.org Mon Aug 3 17:36:27 2020 Return-Path: Delivered-To: freebsd-current@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 ABCC33A216B for ; Mon, 3 Aug 2020 17:36:27 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.88]) (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 4BL4n61gTkz48WZ for ; Mon, 3 Aug 2020 17:36:25 +0000 (UTC) (envelope-from ronald-lists@klop.ws) Received: from smtp.greenhost.nl ([213.108.110.112]) by smarthost1.greenhost.nl with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1k2eNr-0001oW-4U for freebsd-current@freebsd.org; Mon, 03 Aug 2020 19:36:23 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=klop.ws; s=mail; h=Message-ID:From:Content-Transfer-Encoding:MIME-Version:Subject:Date :To:Content-Type: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=cDDRr4OIFv1vH/PKAcnTFqTvHBnwG0eRDojY/6IDwa4=; b=GTQhFCoCCRaVZBI938flVX1bJX 1q/I0Fub/+i1WJfKIzIvzUcVMr2izQ5z2GNI5muQ7PLUWTZmocY1/RegJOI8E/RKYjqiMb2ynyTRA 4Lawn3NEkf15mUjwoJWwt84TO4xujjZakP0j65XmT9tgoMlTljZDGLP3zv5YBZplXSHY=; Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: freebsd-current@freebsd.org Date: Mon, 03 Aug 2020 19:36:22 +0200 Subject: vnet/jail crashdump MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: User-Agent: Opera Mail/12.16 (FreeBSD) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.4 X-Spam-Status: No, score=-0.4 required=5.0 tests=ALL_TRUSTED, BAYES_50, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF autolearn=disabled version=3.4.2 X-Scan-Signature: 353bb18b0f14186cd389c275975c39f5 X-Rspamd-Queue-Id: 4BL4n61gTkz48WZ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=mail header.b=GTQhFCoC; dmarc=none; spf=pass (mx1.freebsd.org: domain of ronald-lists@klop.ws designates 195.190.28.88 as permitted sender) smtp.mailfrom=ronald-lists@klop.ws X-Spamd-Result: default: False [-1.94 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.87)[-0.875]; R_DKIM_ALLOW(-0.20)[klop.ws:s=mail]; FROM_HAS_DN(0.00)[]; RWL_MAILSPIKE_GOOD(0.00)[195.190.28.88:from]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:195.190.28.64/27]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[klop.ws]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.04)[-1.043]; DKIM_TRACE(0.00)[klop.ws:+]; NEURAL_HAM_SHORT(-0.02)[-0.021]; RCVD_IN_DNSWL_NONE(0.00)[195.190.28.88:from]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:47172, ipnet:195.190.28.0/24, country:NL]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2020 17:36:27 -0000 Hi, After stopping a jail I get a crashdump. core.txt: https://www.klop.ws/core_2eef39c581f90f2f0c4921e43f1998c1/core.txt.0 Jail.conf: ---------- exec.stop = "/bin/sh /etc/rc.shutdown"; exec.clean; exec.prestart = "ifconfig bridge0 > /dev/null 2> /dev/null || ( ifconfig bridge0 create && ifconfig bridge0 addm vtnet0 && ifconfig bridge0 up)"; exec.consolelog = "/var/log/jail_${name}_console.log"; mount.devfs; path = "/data/jails/$name"; host.hostname = "$name"; mount.fstab = "/data/jails/fstab.$name"; vnet; allow.mlock; devfs_ruleset="110"; freebsd12 { osrelease = 12.1-RELEASE-p4; osreldate = 1201000; vnet.interface = "epair0b"; # make sure the exec.prestart has a "+=" as we de it in the global definition # when checking for the bridge exec.prestart += "ifconfig epair0 create up"; exec.prestart += "ifconfig bridge0 addm epair0a"; exec.prestart += "ifconfig epair0b link 02:xxxxxx:0c"; exec.start = "dhclient epair0b"; exec.start += "/bin/sh /etc/rc"; exec.poststop = "ifconfig bridge0 deletem epair0a"; exec.poststop += "ifconfig epair0a destroy"; } freebsd13 { vnet.interface = "epair1b"; # make sure the exec.prestart has a "+=" as we de it in the global definition # when checking for the bridge exec.prestart += "ifconfig epair1 create up"; exec.prestart += "ifconfig bridge0 addm epair1a"; exec.prestart += "ifconfig epair1b link 02:xxxxxx:0d"; exec.start = "dhclient epair1b"; exec.start += "/bin/sh /etc/rc"; exec.poststop = "ifconfig bridge0 deletem epair1a"; exec.poststop += "ifconfig epair1a destroy"; } ---------- What can I do to help debug? Regards, Ronald.