From owner-freebsd-jail@freebsd.org Thu Nov 7 04:43:38 2019 Return-Path: Delivered-To: freebsd-jail@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 277651A6F21 for ; Thu, 7 Nov 2019 04:43:38 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from resqmta-po-10v.sys.comcast.net (resqmta-po-10v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:169]) (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 477rQ03Mvcz45gr for ; Thu, 7 Nov 2019 04:43:35 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from resomta-po-11v.sys.comcast.net ([96.114.154.235]) by resqmta-po-10v.sys.comcast.net with ESMTP id SZSWi9LW9ztAoSZdtiGQAw; Thu, 07 Nov 2019 04:43:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcastmailservice.net; s=20180828_2048; t=1573101813; bh=TrDPlrretfTHDtHQWPUbnN5glrsAoW8k24jEc5KLs6M=; h=Received:Received:Received:Received:Date:From:To:Subject: Message-ID:MIME-Version:Content-Type; b=p0TGIzVg9o+ndOCwrFoJnwli7YYKwOa+M1hkYXvAFiLZggUO1JrqoP06sXi5PRdop juZGTmcLcEHpCAScQECx5gwMgpvTH/Au0yexyzDqbhudZKSIq/oWy+MUAQpQnykUFI VAcLiJ6HbnsmnO+eIaACTkpwv029CVnCHJ+pyUvR9IKG0ZI6MTO223sfuA1Z9E6F6Y 2mGDK4dwezbsLE9s5iytLF5AE4SrZfqKKo5R31X6i1bKiFpaVjIDWiKUuegw4VccF7 JM4cIDYaS8YEW/Fy9WKePSkJ6RMwXz4Kzu5BqV83WDZapC0MCP4/+gYohzMMcaH1wt 34zDX76ZIIMOw== Received: from misty.eyesbeyond.com ([73.225.117.129]) by resomta-po-11v.sys.comcast.net with ESMTPA id SZdriI4vUnhpNSZdsiXXD9; Thu, 07 Nov 2019 04:43:33 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedufedruddukedgjeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtuggfsehttddttddtredvnecuhfhrohhmpefirhgvghcunfgvfihishcuoehglhgvfihishesvgihvghssggvhihonhgurdgtohhmqeenucfkphepjeefrddvvdehrdduudejrdduvdel X-Xfinity-VMeta: sc=0.00;st=legit Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.15.2/8.15.2) with ESMTP id xA74hVHV012635 for ; Wed, 6 Nov 2019 20:43:31 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: Host localhost.eyesbeyond.com [127.0.0.1] claimed to be misty.eyesbeyond.com Received: (from glewis@localhost) by misty.eyesbeyond.com (8.15.2/8.15.2/Submit) id xA74hVOO012634 for freebsd-jail@freebsd.org; Wed, 6 Nov 2019 20:43:31 -0800 (PST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 6 Nov 2019 20:43:31 -0800 From: Greg Lewis To: freebsd-jail@freebsd.org Subject: Jail resource limits? Message-ID: <20191107044331.GA12545@misty.eyesbeyond.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.2 (2019-09-21) X-Rspamd-Queue-Id: 477rQ03Mvcz45gr X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org; dkim=pass header.d=comcastmailservice.net header.s=20180828_2048 header.b=p0TGIzVg; dmarc=none; spf=none (mx1.freebsd.org: domain of glewis@eyesbeyond.com has no SPF policy when checking 2001:558:fe16:19:96:114:154:169) smtp.mailfrom=glewis@eyesbeyond.com X-Spamd-Result: default: False [1.95 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[comcastmailservice.net:s=20180828_2048]; NEURAL_HAM_MEDIUM(-0.93)[-0.933,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-0.13)[ipnet: 2001:558::/29(-0.48), asn: 7922(-0.12), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-jail@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.59)[-0.586,0]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[comcastmailservice.net:+]; DMARC_NA(0.00)[eyesbeyond.com]; HFILTER_HELO_5(3.00)[resqmta-po-10v.sys.comcast.net]; R_SPF_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[129.117.225.73.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[9.6.1.0.4.5.1.0.4.1.1.0.6.9.0.0.9.1.0.0.6.1.e.f.8.5.5.0.1.0.0.2.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2019 04:43:38 -0000 Hi all, I've been playing with limiting FreeBSD jail resources with both cpuset and rctl and I wondered if anyone knew of a way to tell from inside the jail what these limits are? E.g. let's say I use cpuset to limit a jail to CPU0 and rctl to limit a jail to only using up to 4G of memory. Can I then tell from a process running inside the jail that these limits are in place? I tried dumping out sysctl -a and couldn't see anything that seemed to match up with the limits I put in place. I haven't yet tried writing some code to call cpuset(2) to see if that works. The reason I'm asking is that some software may make decisions based on the resources available and I'd like to have a way to accurately determine those resource limits for jailed processes. Any pointers appreciated. -- Greg From owner-freebsd-jail@freebsd.org Thu Nov 7 08:43:58 2019 Return-Path: Delivered-To: freebsd-jail@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 7CAD71ACAB6 for ; Thu, 7 Nov 2019 08:43:58 +0000 (UTC) (envelope-from SRS0=hUrZ=Y7=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 477xlK2Vfjz4K33 for ; Thu, 7 Nov 2019 08:43:56 +0000 (UTC) (envelope-from SRS0=hUrZ=Y7=quip.cz=000.fbsd@elsa.codelab.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id F26C02840C; Thu, 7 Nov 2019 09:43:53 +0100 (CET) Received: from illbsd.quip.test (ip-62-24-92-232.net.upcbroadband.cz [62.24.92.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 2A20028411; Thu, 7 Nov 2019 09:43:53 +0100 (CET) Subject: Re: Jail resource limits? To: Greg Lewis , freebsd-jail@freebsd.org References: <20191107044331.GA12545@misty.eyesbeyond.com> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <80f22ba1-1f52-bf50-eb79-80d3ed5a45c1@quip.cz> Date: Thu, 7 Nov 2019 09:43:52 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.3 MIME-Version: 1.0 In-Reply-To: <20191107044331.GA12545@misty.eyesbeyond.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 477xlK2Vfjz4K33 X-Spamd-Bar: +++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of SRS0=hUrZ=Y7=quip.cz=000.fbsd@elsa.codelab.cz has no SPF policy when checking 94.124.105.4) smtp.mailfrom=SRS0=hUrZ=Y7=quip.cz=000.fbsd@elsa.codelab.cz X-Spamd-Result: default: False [5.08 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[quip.cz]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.99)[0.989,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(0.90)[ip: (0.42), ipnet: 94.124.104.0/21(0.21), asn: 42000(3.76), country: CZ(0.09)]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[4.105.124.94.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(1.00)[0.999,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[000.fbsd@quip.cz,SRS0=hUrZ=Y7=quip.cz=000.fbsd@elsa.codelab.cz]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:42000, ipnet:94.124.104.0/21, country:CZ]; FROM_NEQ_ENVFROM(0.00)[000.fbsd@quip.cz,SRS0=hUrZ=Y7=quip.cz=000.fbsd@elsa.codelab.cz]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2019 08:43:58 -0000 Greg Lewis wrote on 11/07/2019 05:43: > Hi all, > > I've been playing with limiting FreeBSD jail resources with both cpuset and > rctl and I wondered if anyone knew of a way to tell from inside the jail > what these limits are? > > E.g. let's say I use cpuset to limit a jail to CPU0 and rctl to limit a jail > to only using up to 4G of memory. Can I then tell from a process running > inside the jail that these limits are in place? I tried dumping out > sysctl -a and couldn't see anything that seemed to match up with the limits > I put in place. I haven't yet tried writing some code to call cpuset(2) > to see if that works. > > The reason I'm asking is that some software may make decisions based on the > resources available and I'd like to have a way to accurately determine > those resource limits for jailed processes. cpuset called inside a jail will return available cores # cpuset -g pid -1 mask: 2, 3 I don't think it is possible to query rctl limits. Maybe somebody else knows better. Miroslav Lachman From owner-freebsd-jail@freebsd.org Thu Nov 7 21:34:59 2019 Return-Path: Delivered-To: freebsd-jail@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 CD45217A85F; Thu, 7 Nov 2019 21:34:59 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-il1-x134.google.com (mail-il1-x134.google.com [IPv6:2607:f8b0:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 478Grz2J98z4Pcy; Thu, 7 Nov 2019 21:34:59 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-il1-x134.google.com with SMTP id a7so2794846ild.6; Thu, 07 Nov 2019 13:34:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:subject :content-transfer-encoding; bh=cAu36a662H/qlhKReDcrJe23gn400vqUfg7weO/Kvmk=; b=dsqj+xPPFZOOWIq8NTqaf9j/qWT8Mecpr6762d7my3D2rMJGG8CSWtdUscpKQFt+vp jPpe9jubyKGR7tDlkP4ga8V9ov/fF+LeeAVdiJjfHJ2sHQDRyXItIp8AizmoIve7nIBY 6/xjXJsWuJKlL0ujG+d9pJBeUqfRCxf8iGZr/p9N5oPn3DPRUF/eTpG/LX3VlHUzlJcz R+rKADaxcbDF8p56O+/XhuwTZtAUDsOJUQcMQ0D811Ijz5dXo3avlTR0sDIBNPgkbX6q cgvyubnyb4dl6X78eo4K8u1U+BF32R80wYCCbXPfta39J/wbO/e/9ocKjB52LC8WWZ7N DMCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-transfer-encoding; bh=cAu36a662H/qlhKReDcrJe23gn400vqUfg7weO/Kvmk=; b=HIrYahAi/C02DDl8L3FKny3IN8OYfYFpqAR4TCliTJb8fejSav7TkhPk/+JgJp91p1 557oVc/H75xtT+3IWJvXHigwoziqPn5an2WOyl+6q41ggkXZPldREo9V27BCq9PMLkYV QFQHo0m+70y7l5VAlzQUn0T/P9JDdhuRgqUshXPN9st+N24evKjp5tLMRQYXtpgavWl1 DbBRvsm0zUCzAIqYa5ogwuUUxPQ/9gWmZdB3c1h5U0ZLY9l1XhpiwbtuQQV7PTo/1ucR DsTWs5p6dxiRTIph4vyFQnovGF6HpHQaTEXBoTr9Fsldan2f6UiRG4igb9QhgVVB+yRZ AR0g== X-Gm-Message-State: APjAAAXrTjjnAiM8JppK5Y8Lzf7I6dlMEmNJv40McIsAlzBmmnHQL9EX 1SeDWRxa308uUQDmjDLxT+IDwR9X X-Google-Smtp-Source: APXvYqz2883H1uadpb7TcYd5yex+4M+B48yx9IgozJ2M5IRJqp9G32B2wJ0FUoST4TZ/kJH20R2Kig== X-Received: by 2002:a92:7f0f:: with SMTP id a15mr7378608ild.116.1573162498171; Thu, 07 Nov 2019 13:34:58 -0800 (PST) Received: from [10.0.10.8] (cpe-65-25-53-210.neo.res.rr.com. [65.25.53.210]) by smtp.googlemail.com with ESMTPSA id j19sm475643ilg.80.2019.11.07.13.34.57 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 07 Nov 2019 13:34:57 -0800 (PST) Message-ID: <5DC48E00.30203@gmail.com> Date: Thu, 07 Nov 2019 16:34:56 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" , "freebsd-jail@freebsd.org" Subject: quotas in jails Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 478Grz2J98z4Pcy X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dsqj+xPP; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luzar722@gmail.com designates 2607:f8b0:4864:20::134 as permitted sender) smtp.mailfrom=luzar722@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[210.53.25.65.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.00)[ip: (-9.14), ipnet: 2607:f8b0::/32(-2.35), asn: 15169(-2.01), country: US(-0.05)]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Nov 2019 21:34:59 -0000 Has anyone been able to get quotas to work in multiple jails? If so please describe steps to accomplish it. If imposable to do that is also useful information. Thank you From owner-freebsd-jail@freebsd.org Sat Nov 9 13:49:30 2019 Return-Path: Delivered-To: freebsd-jail@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 B40571AA611 for ; Sat, 9 Nov 2019 13:49:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 479JQy4Q6Lz3HVG for ; Sat, 9 Nov 2019 13:49:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 9771F1AA610; Sat, 9 Nov 2019 13:49:30 +0000 (UTC) Delivered-To: jail@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 973391AA60F for ; Sat, 9 Nov 2019 13:49:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 479JQy3Spvz3HVD for ; Sat, 9 Nov 2019 13:49:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5BBC5F949 for ; Sat, 9 Nov 2019 13:49:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xA9DnUSF085615 for ; Sat, 9 Nov 2019 13:49:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xA9DnUoI085614 for jail@FreeBSD.org; Sat, 9 Nov 2019 13:49:30 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 238326] Kernel crash on jail stop (VIMAGE/VNET) Date: Sat, 09 Nov 2019 13:49:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: paul.le.gauret@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2019 13:49:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238326 paul.le.gauret@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Version|12.0-RELEASE |12.1-RELEASE --- Comment #1 from paul.le.gauret@gmail.com --- Issue had somehow disappeared from 12.0-RELEASE with one of the subsequent patches (think around -p3 or -p4).=20 It is unfortunately back after upgrading to 12.1-RELEASE. Adding back the 2 second sleep in jail.conf still works as a workaround though. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-jail@freebsd.org Sat Nov 9 14:04:01 2019 Return-Path: Delivered-To: freebsd-jail@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 9FBE51AAC9D for ; Sat, 9 Nov 2019 14:04:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 479Jlj3nZ2z3JKJ for ; Sat, 9 Nov 2019 14:04:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 820071AAC9C; Sat, 9 Nov 2019 14:04:01 +0000 (UTC) Delivered-To: jail@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 81C8D1AAC9B for ; Sat, 9 Nov 2019 14:04:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 479Jlj2rtcz3JKH for ; Sat, 9 Nov 2019 14:04:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 436F7FCCA for ; Sat, 9 Nov 2019 14:04:01 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id xA9E4186029037 for ; Sat, 9 Nov 2019 14:04:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id xA9E41Av029036 for jail@FreeBSD.org; Sat, 9 Nov 2019 14:04:01 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 238326] Kernel crash on jail stop (VIMAGE/VNET) Date: Sat, 09 Nov 2019 14:04:01 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Nov 2019 14:04:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238326 Bjoern A. Zeeb changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bz@FreeBSD.org --- Comment #2 from Bjoern A. Zeeb --- (In reply to paul.le.gauret from comment #1) if you have a coredump; check if you have the text files as well; a panic string etc would be helpful; the above 12.0 output was not. man crashinfo (which might automatically run on the boot following the cras= h) can help (/etc/rc.d/savecore). If you are running a release please make sure debug symbols are installed in /usr/lib/debug/boot/kernel. https://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerne= ldebug-gdb.html also has some info. --=20 You are receiving this mail because: You are the assignee for the bug.=