From owner-freebsd-jail@FreeBSD.ORG Mon Sep 14 11:07:04 2009 Return-Path: Delivered-To: freebsd-jail@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74573106568B for ; Mon, 14 Sep 2009 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6258A8FC1D for ; Mon, 14 Sep 2009 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n8EB737m072389 for ; Mon, 14 Sep 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n8EB72N5072385 for freebsd-jail@FreeBSD.org; Mon, 14 Sep 2009 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Sep 2009 11:07:02 GMT Message-Id: <200909141107.n8EB72N5072385@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-jail@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-jail@FreeBSD.org X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Sep 2009 11:07:04 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/133265 jail [jail] is there a solution how to run nfs client in ja o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with 4 problems total. From owner-freebsd-jail@FreeBSD.ORG Fri Sep 18 06:21:55 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E78E1106566B for ; Fri, 18 Sep 2009 06:21:55 +0000 (UTC) (envelope-from greenx@yartv.ru) Received: from mail.yartv.ru (smtp.yartv.ru [94.158.0.17]) by mx1.freebsd.org (Postfix) with ESMTP id A16318FC0C for ; Fri, 18 Sep 2009 06:21:55 +0000 (UTC) Received: from greenx.yartelenet.ru (greenx.yartelenet.ru [94.158.0.2]) by mail.yartv.ru (Postfix) with ESMTP id 7E75C730CD for ; Fri, 18 Sep 2009 10:13:17 +0400 (MSD) Message-ID: <4AB324F5.3040106@yartv.ru> Date: Fri, 18 Sep 2009 10:13:09 +0400 From: Andrey Groshev User-Agent: Thunderbird 2.0.0.23 (X11/20090831) MIME-Version: 1.0 To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: df output into jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2009 06:21:56 -0000 Hi, All! I create garbage files. Mounted in the main system partition for data. #mount|grep /usr/jails/samba/ /dev/amrd0s4d.journal on /usr/jails/samba/data (ufs, asynchronous, local, noatime, nosuid, gjournal) /usr/jails/basejail on /usr/jails/samba/basejail (nullfs, local, read-only) devfs on /usr/jails/samba/dev (devfs, local) fdescfs on /usr/jails/samba/dev/fd (fdescfs) procfs on /usr/jails/samba/proc (procfs, local) And now... I see the output in the Jail "df-h" - it returns only the root mount. # df -h Filesystem Size Used Avail Capacity Mounted on /dev/amrd0s4a 18G 3.6G 13G 21% / If you ask specifically "df-h / data", then displays the desired data. # df -h /data Filesystem Size Used Avail Capacity Mounted on /dev/amrd0s4d.journal 178G 768M 163G 0% [restricted] Looking sources, decided that this is due to answer "mount". IMHO, should be able to see the file systems mounted below the directory of jail. From owner-freebsd-jail@FreeBSD.ORG Fri Sep 18 08:37:39 2009 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52A5B1065672 for ; Fri, 18 Sep 2009 08:37:39 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) by mx1.freebsd.org (Postfix) with ESMTP id 1452A8FC0A for ; Fri, 18 Sep 2009 08:37:38 +0000 (UTC) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 6758119E02A; Fri, 18 Sep 2009 10:18:35 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 52E9519E019; Fri, 18 Sep 2009 10:18:33 +0200 (CEST) Message-ID: <4AB34259.4010204@quip.cz> Date: Fri, 18 Sep 2009 10:18:33 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Andrey Groshev References: <4AB324F5.3040106@yartv.ru> In-Reply-To: <4AB324F5.3040106@yartv.ru> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-jail@freebsd.org Subject: Re: df output into jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Sep 2009 08:37:39 -0000 Andrey Groshev wrote: > Hi, All! > > I create garbage files. > Mounted in the main system partition for data. > > #mount|grep /usr/jails/samba/ > /dev/amrd0s4d.journal on /usr/jails/samba/data (ufs, asynchronous, > local, noatime, nosuid, gjournal) > /usr/jails/basejail on /usr/jails/samba/basejail (nullfs, local, read-only) > devfs on /usr/jails/samba/dev (devfs, local) > fdescfs on /usr/jails/samba/dev/fd (fdescfs) > procfs on /usr/jails/samba/proc (procfs, local) > > > And now... > I see the output in the Jail "df-h" - it returns only the root mount. > > # df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/amrd0s4a 18G 3.6G 13G 21% / > > If you ask specifically "df-h / data", then displays the desired data. > > # df -h /data > Filesystem Size Used Avail Capacity Mounted on > /dev/amrd0s4d.journal 178G 768M 163G 0% [restricted] > > Looking sources, decided that this is due to answer "mount". > IMHO, should be able to see the file systems mounted below the directory > of jail. I think you are looking for security.jail.enforce_statfs=1 Default is security.jail.enforce_statfs=2! See man jail(8) for more details. Miroslav Lachman