From owner-freebsd-jail@freebsd.org Mon Feb 17 16:51:45 2020 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 1780623E98A for ; Mon, 17 Feb 2020 16:51:45 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "post.wayne47.com", Issuer "post.wayne47.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 48Lql32Jgcz40pk for ; Mon, 17 Feb 2020 16:51:43 +0000 (UTC) (envelope-from wayne@post.wayne47.com) Received: from post.wayne47.com (post.wayne47.com [198.11.56.11]) by post.wayne47.com (8.15.2/8.15.2) with ESMTPS id 01HGpZZv052611 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 17 Feb 2020 11:51:35 -0500 (EST) (envelope-from wayne@post.wayne47.com) Received: (from wayne@localhost) by post.wayne47.com (8.15.2/8.15.2/Submit) id 01HGpZL0052610 for freebsd-jail@freebsd.org; Mon, 17 Feb 2020 11:51:35 -0500 (EST) (envelope-from wayne) Date: Mon, 17 Feb 2020 11:51:35 -0500 From: Mike Wayne To: freebsd-jail@freebsd.org Subject: Re: jails with quota Message-ID: <20200217165135.GF60273@post.wayne47.com> References: <5E46EC97.5080609@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5E46EC97.5080609@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 48Lql32Jgcz40pk X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of wayne@post.wayne47.com designates 198.11.56.11 as permitted sender) smtp.mailfrom=wayne@post.wayne47.com X-Spamd-Result: default: False [-1.80 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.89)[-0.893,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:198.11.56.11]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-jail@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; DMARC_NA(0.00)[wayne47.com]; IP_SCORE(-0.01)[country: US(-0.05)]; RCVD_COUNT_ONE(0.00)[1]; FORGED_SENDER(0.30)[FreeBSD_jail@wayne47.com,wayne@post.wayne47.com]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2015, ipnet:198.11.56.0/24, country:US]; FROM_NEQ_ENVFROM(0.00)[FreeBSD_jail@wayne47.com,wayne@post.wayne47.com]; RCVD_TLS_ALL(0.00)[]; ONCE_RECEIVED(0.10)[] 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: Mon, 17 Feb 2020 16:51:45 -0000 On Fri, Feb 14, 2020 at 01:53:11PM -0500, Ernie Luzar wrote: > > But after starting the fulljail with the allow.quotas option in > jail.config and entering the root console I get this > edquota -uh daddy message "NO quotas on any filesystem > repquota -ah gives nothing > quota -h daddy message Disk quotas for user daddy (uid1001): none > > I see that quota had bug fixed in 12.0 that is now in 12.1 release that > I am running on my host. Did that fix screw up jail quotas? Does the > /etc/fstab file in fulljail need a entry? If so what should it look like. I spent a lot of time messing with this and came to the conclusion that quotas no longer work in jails. I've been doing quotas in jails for many years, while it has always been a hack, it used to work well. Current releases seem to have completely broken quotas for jails.