From owner-freebsd-questions@freebsd.org Fri Feb 14 18:53:17 2020 Return-Path: Delivered-To: freebsd-questions@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 D293223E20B; Fri, 14 Feb 2020 18:53:17 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: from mail-io1-xd2d.google.com (mail-io1-xd2d.google.com [IPv6:2607:f8b0:4864:20::d2d]) (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 48K2Zd6cycz42LC; Fri, 14 Feb 2020 18:53:13 +0000 (UTC) (envelope-from luzar722@gmail.com) Received: by mail-io1-xd2d.google.com with SMTP id c16so11639843ioh.6; Fri, 14 Feb 2020 10:53:13 -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=vZ/ubhiGdKdSnRVTGLIByDHn1oL9tWUAuOn/YogBgss=; b=dwDydHpMGKX316jt+wzLJRUL5PeDGk4qXBY0Q0dlcrR1DC1Op/JUm0vxe8fU6ST8f2 Kk+u73rqKeCr6sorU9mlp34MwohkPbmda/7ttThAhZ4I2haGV/jbLblWmwr3qN/xTUg+ i4/fsdn5PnzX6QAPPN9n3mEdMwY8/lcv2He6DdfdK6cUCTnu2oDPXWVVYH+Or1sbkpSz xOzoYLHGCdevzcx9AQUovxDDEjCAFd7edRGKSLaUv6P6O5rNKjF/2mVqPO9Mz16W/ZEh G2xZVQmvzC6mYC8YzBmAzXkWG53MzpqH1+d/iyfoODcEmFLGxEw1dxmdfWGXuSjL54mL z3fw== 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=vZ/ubhiGdKdSnRVTGLIByDHn1oL9tWUAuOn/YogBgss=; b=OHyBBI907PSUNfckir18dx1jdmrnozXMCxXoT2XSvZe6xt025/y7MHdhaioJK/TUtl SsZ6Kn9AmuPzPctdG3gx2oZyVhHebKRK/WxCBod1PpuPkBivML5k2A7nPQBukQCJTm2D dSje0L1frFNlyCuhuJ6gn1Gz7iL9i7gTsQGEOBaoSIMQILLCI1BC8cjIkZ9vFyLb8ZZ+ l5/7wVksZKJwbN9YOi/z5qEbBo65ZdxEJ/yHT4r3T1cMoF/3ZRwR+QI+XRGnQKgX7sHd EjRHxyStAPthKIji1+iLitiAQecAfh6UOiWuxH+5JGIMQVrY0QlhpvqokAD7IoDa1Ssf 95OA== X-Gm-Message-State: APjAAAXNX4WgdgVmlPgfSEx68U62H2xP9cqC5dQ3rRrsRGKDIXbeCm4T SLELh6HLn9Dxu45svER+PwWU+Zme X-Google-Smtp-Source: APXvYqyA0wJq3RnxXjBbv3TKUO91GhdGNek/bOG9n7XV73phALX2Ov36h1RpTuSwo/jc8tIdxQy8tA== X-Received: by 2002:a5e:aa0e:: with SMTP id s14mr3559687ioe.261.1581706392286; Fri, 14 Feb 2020 10:53:12 -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 r14sm2257949ilg.59.2020.02.14.10.53.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 14 Feb 2020 10:53:11 -0800 (PST) Message-ID: <5E46EC97.5080609@gmail.com> Date: Fri, 14 Feb 2020 13:53:11 -0500 From: Ernie Luzar User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" , jail@freebsd.org Subject: jails with quota Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48K2Zd6cycz42LC X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dwDydHpM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of luzar722@gmail.com designates 2607:f8b0:4864:20::d2d as permitted sender) smtp.mailfrom=luzar722@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(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:+]; 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]; IP_SCORE(0.00)[ip: (-6.66), ipnet: 2607:f8b0::/32(-1.90), asn: 15169(-1.68), country: US(-0.05)]; 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)[]; FROM_EQ_ENVFROM(0.00)[]; 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)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.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]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Feb 2020 18:53:17 -0000 Looked all over and only found small blurb in jail(8) manpage that really says next to nothing. I created /usr/jails/fulljail by un-compressing the downloaded base.txz file and then copying the hosts localtime file and resolv.conf file to the fulljail. This fulljail starts and stops with out problems. I have added a user called daddy to this jail. On the host I added quota_enable="YES" and check_quotas="YES" to the hosts rc.conf file. Also added userquota option to the hosts /etc/fstab file and rebooted the host. The quota commands repquota -ah, quota -h bob, and edquota -uh bob all work on the host. 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.