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. From owner-freebsd-jail@freebsd.org Mon Feb 17 17:14:27 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 D4B8023FA5D for ; Mon, 17 Feb 2020 17:14:27 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from kicp.uchicago.edu (kicp.uchicago.edu [128.135.20.70]) by mx1.freebsd.org (Postfix) with ESMTP id 48LrFG30QLz4Ly1 for ; Mon, 17 Feb 2020 17:14:26 +0000 (UTC) (envelope-from galtsev@kicp.uchicago.edu) Received: from [128.135.52.252] (unknown [128.135.52.252]) (Authenticated sender: galtsev) by kicp.uchicago.edu (Postfix) with ESMTPSA id 4557F4E6B9; Mon, 17 Feb 2020 11:14:25 -0600 (CST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: jails with quota From: Valeri Galtsev In-Reply-To: <20200217165135.GF60273@post.wayne47.com> Date: Mon, 17 Feb 2020 11:14:25 -0600 Cc: freebsd-jail@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <0EF25B11-D54E-4D3C-8C1E-336547EC22E6@kicp.uchicago.edu> References: <5E46EC97.5080609@gmail.com> <20200217165135.GF60273@post.wayne47.com> To: Mike Wayne X-Mailer: Apple Mail (2.3608.60.0.2.5) X-Rspamd-Queue-Id: 48LrFG30QLz4Ly1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=uchicago.edu (policy=none); spf=none (mx1.freebsd.org: domain of galtsev@kicp.uchicago.edu has no SPF policy when checking 128.135.20.70) smtp.mailfrom=galtsev@kicp.uchicago.edu X-Spamd-Result: default: False [-1.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_POLICY_SOFTFAIL(0.10)[uchicago.edu : No valid SPF, No valid DKIM,none]; NEURAL_HAM_MEDIUM(-0.82)[-0.822,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.12)[ip: (0.35), ipnet: 128.135.0.0/16(0.17), asn: 160(0.14), country: US(-0.05)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[70.20.135.128.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:160, ipnet:128.135.0.0/16, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] 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 17:14:27 -0000 > On Feb 17, 2020, at 10:51 AM, Mike Wayne = wrote: >=20 > On Fri, Feb 14, 2020 at 01:53:11PM -0500, Ernie Luzar wrote: >>=20 >> But after starting the fulljail with the allow.quotas option in=20 >> 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 >>=20 >> I see that quota had bug fixed in 12.0 that is now in 12.1 release = that=20 >> I am running on my host. Did that fix screw up jail quotas? Does the=20= >> /etc/fstab file in fulljail need a entry? If so what should it look = like. >=20 > 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. I am sure jail restricts commands related to filesystem management and = information on purpose. Therefore all commands related to quotas if = executed inside jail will fail [or rather not provide any information. = Quotas, however, will still be enforced, as filesystem I/O operations = are being passed over to be executed on actual filesystem outside on the = jail. The above sentiment is related to the way I mount filesystem to have = quota restrictions inside jail. I mount actual filesysten with quotas into /some/place and enable quotas on the as usually. Then I mount that nullfs inside = jails (have line in /etc/fstab resembling the following mount command): mount -t nullfs /some/place /place/inside/jail/mountpoint And users inside jail are being restricted to the qutas defined for = their userid=E2=80=99s. I hope, this helps. Valeri > _______________________________________________ > freebsd-jail@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-jail > To unsubscribe, send any mail to = "freebsd-jail-unsubscribe@freebsd.org" ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-jail@freebsd.org Mon Feb 17 18:15:36 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 49C642417EA for ; Mon, 17 Feb 2020 18:15:36 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io1-xd36.google.com (mail-io1-xd36.google.com [IPv6:2607:f8b0:4864:20::d36]) (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 48Lsbq0Hnyz4JhB for ; Mon, 17 Feb 2020 18:15:34 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io1-xd36.google.com with SMTP id n21so7278403ioo.10 for ; Mon, 17 Feb 2020 10:15:34 -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:cc:subject :references:in-reply-to:content-transfer-encoding; bh=mtzUheTwddbUUu9DHH08s3SfX2hcaMqZJW1ESA7EpVA=; b=Qv22X5fD2f2/mWB5rDRhjXBJ+2dqs911Vhl3KcJHfMJVnm5PFw9Qmwbz9lz0/loM7k 2oQbzIty27S5CtFNfneP7sIv9JKujx+z8WCsVQFwu0Uh+zpjS866Z6+60MDDApdx/78X GrKhFxT7wNAH8JHoI8YMmM7Vq/d7amoDyOzwq7whKCGqVaJymQoS9hOlam4k5sgs+Q9C /uSBWfHfB668QGdw3y7I+KKwRubcK+fzp+1Zy7r1dEcVgu2S+odzuynlUcxQq9Nv65jg xQF/WC4L0GYneLXbobdAIXSLmyVDznWRtDVpg6JKYqIb1fDm1yyeJZJ4dBudKJlLizc5 95GQ== 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 :cc:subject:references:in-reply-to:content-transfer-encoding; bh=mtzUheTwddbUUu9DHH08s3SfX2hcaMqZJW1ESA7EpVA=; b=qFyAeorZw2LUY4WR5ibw58FfDDApGhAB81l1ZRaOyeyIMHBmaqYHkAveJAfGJ8XlMA aa2s+ok2J6gnOfmyB5aC0EyStDxLbNC0WjWJzqHyKTaRJs7B/wC8/WQOfVql7f+EdYB+ FT8GZmGq78uaIuOoRvWRoYWlkn7C5dLSusE0KcuegOmeyhDrYel4/MAK8rzsPwS/G8AQ OmGD5EXMJNC7r0qiAzTnLV1WjbnmIXA173gicwZUg1yG9R4a/euf5JG9YEj6/16ZM42q SNw/aMuhp4rWUFgPOQh/PsFE9tdK5baX1uVOY9ZynycWmi47Tq5NkzXUeifiETgyftTg eIgQ== X-Gm-Message-State: APjAAAX6VVdeXXmVGL5CboAQtssltky+5f1+OYs0OerBvjCn3r1YT/h9 jdxAZmgz5dYnVL6xzAfZgNpk03np X-Google-Smtp-Source: APXvYqykFPnLucqDKsOVRMbi4lg4cEw3APSitdIIo7WKX+c8VFUbL+WOQ1wiswCJohlNtYDUTQ3mKA== X-Received: by 2002:a6b:7d01:: with SMTP id c1mr12817280ioq.172.1581963333619; Mon, 17 Feb 2020 10:15:33 -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 w15sm224368iol.86.2020.02.17.10.15.32 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Feb 2020 10:15:32 -0800 (PST) Message-ID: <5E4AD843.3010300@gmail.com> Date: Mon, 17 Feb 2020 13:15:31 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Valeri Galtsev CC: Mike Wayne , freebsd-jail@freebsd.org Subject: Re: jails with quota References: <5E46EC97.5080609@gmail.com> <20200217165135.GF60273@post.wayne47.com> <0EF25B11-D54E-4D3C-8C1E-336547EC22E6@kicp.uchicago.edu> In-Reply-To: <0EF25B11-D54E-4D3C-8C1E-336547EC22E6@kicp.uchicago.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 48Lsbq0Hnyz4JhB X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Qv22X5fD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luzar722@gmail.com designates 2607:f8b0:4864:20::d36 as permitted sender) smtp.mailfrom=luzar722@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; 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)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-jail@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.d.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]; IP_SCORE(0.00)[ip: (-6.42), ipnet: 2607:f8b0::/32(-1.89), asn: 15169(-1.68), country: US(-0.05)]; 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: Mon, 17 Feb 2020 18:15:36 -0000 Valeri Galtsev wrote: > >> On Feb 17, 2020, at 10:51 AM, Mike Wayne wrote: >> >> 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. > > I am sure jail restricts commands related to filesystem management and information on purpose. Therefore all commands related to quotas if executed inside jail will fail [or rather not provide any information. Quotas, however, will still be enforced, as filesystem I/O operations are being passed over to be executed on actual filesystem outside on the jail. > > The above sentiment is related to the way I mount filesystem to have quota restrictions inside jail. > > I mount actual filesysten with quotas into > > /some/place > > and enable quotas on the as usually. Then I mount that nullfs inside jails (have line in /etc/fstab resembling the following mount command): > > mount -t nullfs /some/place /place/inside/jail/mountpoint > > > And users inside jail are being restricted to the qutas defined for their userid’s. > > I hope, this helps. > > Valeri > What you are doing is a work around where you make each directory tree jail look like a filesystem. This same thing can also be done using mdconfig command. This solution is not documented as a requirement of jails with quota. If you look at bugzilla you will see many bug reports about quota not working going back to 2017 and release 9.0. quota is antique software developed when ufs was the only filesystem available. It's obvious that quota has not gotten the maintenance it needs to stay current with changing times. The FreeBSd Foundation needs to provide funding to attract someone to put the effort into quota to bring it up to current standards. Then again quota has such a small user group because it only works on ufs filesystem that it should have never been added to the base release kernel no longer requiring a kernel compile to enable it. From owner-freebsd-jail@freebsd.org Tue Feb 18 19:53:23 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 782CF244B8E for ; Tue, 18 Feb 2020 19:53:23 +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 48MWk95brVz3FsW for ; Tue, 18 Feb 2020 19:53:20 +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 01IJrDUt030471 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 18 Feb 2020 14:53:14 -0500 (EST) (envelope-from wayne@post.wayne47.com) Received: (from wayne@localhost) by post.wayne47.com (8.15.2/8.15.2/Submit) id 01IJrDsj030470 for freebsd-jail@freebsd.org; Tue, 18 Feb 2020 14:53:13 -0500 (EST) (envelope-from wayne) Date: Tue, 18 Feb 2020 14:53:13 -0500 From: Mike Wayne To: freebsd-jail@freebsd.org Subject: Re: jails with quota Message-ID: <20200218195313.GA7295@post.wayne47.com> Mail-Followup-To: freebsd-jail@freebsd.org References: <5E46EC97.5080609@gmail.com> <20200217165135.GF60273@post.wayne47.com> <0EF25B11-D54E-4D3C-8C1E-336547EC22E6@kicp.uchicago.edu> <5E4AD843.3010300@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5E4AD843.3010300@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Queue-Id: 48MWk95brVz3FsW 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.81 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.90)[-0.896,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: Tue, 18 Feb 2020 19:53:23 -0000 On Mon, Feb 17, 2020 at 01:15:31PM -0500, Ernie Luzar wrote: > > What you are doing is a work around where you make each directory tree > jail look like a filesystem. This same thing can also be done using > mdconfig command. This is the route I went, creating filesystems with md for each user. Not as clean as using quotas but it works. From owner-freebsd-jail@freebsd.org Thu Feb 20 12:03:14 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 8E9E825EF52 for ; Thu, 20 Feb 2020 12:03:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 48NYBp3BKdz3K5w for ; Thu, 20 Feb 2020 12:03:14 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 6D39525EF50; Thu, 20 Feb 2020 12:03:14 +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 6CF1325EF4F for ; Thu, 20 Feb 2020 12:03:14 +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 48NYBp2DrLz3K5t for ; Thu, 20 Feb 2020 12:03:14 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 45DC0216BB for ; Thu, 20 Feb 2020 12:03:14 +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 01KC3E6a065741 for ; Thu, 20 Feb 2020 12:03:14 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 01KC3EAM065740 for jail@FreeBSD.org; Thu, 20 Feb 2020 12:03:14 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 244193] quota not working for jails in release 12.0 & 12.1 Date: Thu, 20 Feb 2020 12:03:14 +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 Many People X-Bugzilla-Who: linimon@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: assigned_to 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: Thu, 20 Feb 2020 12:03:14 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244193 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |jail@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.=