From owner-freebsd-jail@FreeBSD.ORG Mon Jul 14 11:07:00 2008 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 DDB351065709 for ; Mon, 14 Jul 2008 11:07:00 +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 D221A8FC29 for ; Mon, 14 Jul 2008 11:07:00 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6EB70o5014461 for ; Mon, 14 Jul 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6EB70Cc014457 for freebsd-jail@FreeBSD.org; Mon, 14 Jul 2008 11:07:00 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 Jul 2008 11:07:00 GMT Message-Id: <200807141107.m6EB70Cc014457@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 Jul 2008 11:07:01 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- s kern/89528 jail [jail] [patch] impossible to kill a jail o kern/119842 jail [smbfs] [jail] "Bad address" with smbfs inside a jail 2 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/32828 jail [jail] w(1) incorrectly handles stale utmp slots with o kern/68192 jail [quotas] [jail] Cannot use quotas on jailed systems o kern/72498 jail [libc] [jail] timestamp code on jailed SMP machine gen o kern/74314 jail [resolver] [jail] DNS resolver broken under certain ja o kern/84215 jail [jail] [patch] wildcard ip (INADDR_ANY) should not bin o kern/89989 jail [jail] [patch] Add option -I (ASCII 73) PID to specif o kern/97071 jail [jail] [patch] add security.jail.jid sysctl o bin/99566 jail [jail] [patch] fstat(1) according to specified jid o kern/120753 jail [jail] Zombie jails (jailed child process exits while 9 problems total. From owner-freebsd-jail@FreeBSD.ORG Wed Jul 16 23:26:06 2008 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 164831065672 for ; Wed, 16 Jul 2008 23:26:06 +0000 (UTC) (envelope-from oscar@cubarte.cult.cu) Received: from mail.cult.cu (mail.cult.cu [200.0.24.2]) by mx1.freebsd.org (Postfix) with ESMTP id 603AF8FC22 for ; Wed, 16 Jul 2008 23:26:05 +0000 (UTC) (envelope-from oscar@cubarte.cult.cu) Received: from [200.0.24.5] (helo=perfilo.cult.cu) by mail.cult.cu with esmtp (Exim 4.34) id 1KJFoq-000KN8-4N for freebsd-jail@freebsd.org; Wed, 16 Jul 2008 18:49:56 -0400 Received: from [200.0.24.49] (helo=xxx.cult.cu) by perfilo.cult.cu with esmtp (Exim 4.34) id 1KJFfz-0003np-Pb for freebsd-jail@freebsd.org; Wed, 16 Jul 2008 18:40:47 -0400 Message-ID: <487E7B0C.40402@cubarte.cult.cu> Date: Wed, 16 Jul 2008 18:49:48 -0400 From: Oscar Glez User-Agent: Thunderbird 2.0.0.9 (X11/20071125) MIME-Version: 1.0 To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Mount problems 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: Wed, 16 Jul 2008 23:26:06 -0000 I'm using FreeBSD 6.3 and ezjail. When I try to mount the cdrom device, previously unhidden with a devfs rule and visible in /dev directory, it returns "Operation not permitted" The same happens when I try to mount a nullfs. The nullfs module is loaded inside jail. Is this a normal behavior? From owner-freebsd-jail@FreeBSD.ORG Fri Jul 18 14:30:53 2008 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 D7120106564A for ; Fri, 18 Jul 2008 14:30:53 +0000 (UTC) (envelope-from s.musatov@penza.ertelecom.ru) Received: from mail.penza.ertelecom.ru (mail.penza.ertelecom.ru [91.144.144.49]) by mx1.freebsd.org (Postfix) with ESMTP id EEBCE8FC0A for ; Fri, 18 Jul 2008 14:30:52 +0000 (UTC) (envelope-from s.musatov@penza.ertelecom.ru) MIME-Version: 1.0 Content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Fri, 18 Jul 2008 18:18:46 +0400 Message-ID: <6CF3873CD4BBE6489ABF5DD499DA909AC16EF7@PENZAMAIL.penza.ertelecom.loc> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: update freebsd 6.3 to 7.0 Thread-Index: Acjo4TBqY6Cnee6fReCGVmG/xHk92Q== From: =?koi8-r?B?7dXTwdTP1yDz1MHOydPMwdcg5dfHxc7YxdfJ3g==?= To: Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: update freebsd 6.3 to 7.0 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 Jul 2008 14:30:53 -0000 Hello, I will like to update FreeBSD 6.3 GENERIC to FreeBSD 7.0. I have = some problems: When I was refreshed the system, all jails have ceased to work. Only if iam update all jails to freebsd 7.0 all will be work. How to force to work jails without upgrade him? There are 10 Very important jails in our system. From owner-freebsd-jail@FreeBSD.ORG Sat Jul 19 12:57:08 2008 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 95194106566B for ; Sat, 19 Jul 2008 12:57:08 +0000 (UTC) (envelope-from jeno.kiev@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.231]) by mx1.freebsd.org (Postfix) with ESMTP id 54E6D8FC1E for ; Sat, 19 Jul 2008 12:57:08 +0000 (UTC) (envelope-from jeno.kiev@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so817221rvf.43 for ; Sat, 19 Jul 2008 05:57:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=RZSLZ/qvGXboKDRO1q3CJL7Ze9Dd9/rWM/1lKOKsl4M=; b=IWsrfO1CNQwHf1s9itDfXIGj+jZuTm2jRSZn6zKumoJmpy52BXgXbG3614E923mEf/ ODs38gBGdYx4XmzzlVmDkkbrYkks5fVbbettqmhcyWTGC/Z/TGRxHOdThGEwqXJAfIh/ 2cW3lTPBJAgqE8e5MF11KCaMEi9eCuBmJe2ns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=qixXdm3W3r+NYo7C1clC59DuzJAigPHuwvlavRi58Aui38tpday9TzFDbmyBFjAOwU hDYNPx8GD9nIj6Czg4PodVUQ/9QAGwU8Gf6wMGPPQiQ8DH4PYHzznz29CZfCWAKY9jRS JYkaDvrbyyU7wN7wlLX0v/LnO32ZfWodi78dw= Received: by 10.140.135.19 with SMTP id i19mr689456rvd.169.1216470589853; Sat, 19 Jul 2008 05:29:49 -0700 (PDT) Received: by 10.140.226.8 with HTTP; Sat, 19 Jul 2008 05:29:49 -0700 (PDT) Message-ID: Date: Sat, 19 Jul 2008 15:29:49 +0300 From: "=?KOI8-R?B?5dfHxc7JyiD7wdDP18HM?=" To: freebsd-jail@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: getpwnam: root: No such file or directory 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: Sat, 19 Jul 2008 12:57:08 -0000 hello =) When I try to start jail (/etc/rc.d/jail start) I have: ==== /etc/rc.conf: //: Permission denied Configuring jails:. Starting jails: cannot start jail "test": jail: getpwnam: root: No such file or directory ==== how it's correct? =\ Thanks! From owner-freebsd-jail@FreeBSD.ORG Sat Jul 19 13:23:32 2008 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 02A1C1065675 for ; Sat, 19 Jul 2008 13:23:32 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9F1FC8FC12 for ; Sat, 19 Jul 2008 13:23:25 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id EE38419E023; Sat, 19 Jul 2008 15:23:24 +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 CEC5E19E019; Sat, 19 Jul 2008 15:23:22 +0200 (CEST) Message-ID: <4881EAE1.8060008@quip.cz> Date: Sat, 19 Jul 2008 15:23:45 +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: jeno.kiev@gmail.com References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-jail@freebsd.org Subject: Re: getpwnam: root: No such file or directory 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: Sat, 19 Jul 2008 13:23:32 -0000 Евгений Шаповал wrote: > hello =) > > When I try to start jail (/etc/rc.d/jail start) I have: > > ==== > /etc/rc.conf: //: Permission denied > Configuring jails:. > Starting jails: cannot start jail "test": > jail: getpwnam: root: No such file or directory > ==== > > how it's correct? =\ Can you post your rc.conf and how you populated jail environment? Miroslav Lachman From owner-freebsd-jail@FreeBSD.ORG Sat Jul 19 18:58:51 2008 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 1A7B6106566B for ; Sat, 19 Jul 2008 18:58:51 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from smtp.tal.navalradio.cl (smtp.tal.navalradio.cl [201.236.67.155]) by mx1.freebsd.org (Postfix) with ESMTP id 486C78FC17 for ; Sat, 19 Jul 2008 18:58:50 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from [172.18.64.125] ([172.18.64.125]) (authenticated bits=0) by smtp.tal.navalradio.cl (8.13.8/8.13.8) with ESMTP id m6JIW3V8084441 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 19 Jul 2008 18:32:09 GMT (envelope-from mikhailg@webanoide.org) Message-ID: <488233B0.1000904@webanoide.org> Date: Sat, 19 Jul 2008 14:34:24 -0400 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: =?UTF-8?B?0JXQstCz0LXQvdC40Lkg0KjQsNC/0L7QstCw0Ls=?= References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-jail@freebsd.org Subject: Re: getpwnam: root: No such file or directory 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: Sat, 19 Jul 2008 18:58:51 -0000 Евгений Шаповал wrote: > hello =) > > When I try to start jail (/etc/rc.d/jail start) I have: > > ==== > /etc/rc.conf: //: Permission denied > Configuring jails:. > Starting jails: cannot start jail "test": > jail: getpwnam: root: No such file or directory You need to rebuild your master.passwd file: /usr/sbin/pwd_mkdb -d /jaildir/etc -p /jaildir/etc/master.passwd Regards, Mikhail. -- Mikhail Goriachev Webanoide From owner-freebsd-jail@FreeBSD.ORG Sat Jul 19 21:31:22 2008 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 DDF08106567C for ; Sat, 19 Jul 2008 21:31:22 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from smtp.tal.navalradio.cl (smtp.tal.navalradio.cl [201.236.67.155]) by mx1.freebsd.org (Postfix) with ESMTP id 6C9428FC0A for ; Sat, 19 Jul 2008 21:31:22 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from [172.18.96.244] ([172.18.96.244]) (authenticated bits=0) by smtp.tal.navalradio.cl (8.13.8/8.13.8) with ESMTP id m6JLSgow087362 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 19 Jul 2008 21:28:49 GMT (envelope-from mikhailg@webanoide.org) Message-ID: <48825D18.1010001@webanoide.org> Date: Sat, 19 Jul 2008 17:31:04 -0400 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: =?KOI8-R?Q?=E5=D7=C7=C5=CE=C9=CA_=FB=C1=D0=CF=D7=C1=CC?= , freebsd-jail@freebsd.org References: <488233B0.1000904@webanoide.org> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: getpwnam: root: No such file or directory 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: Sat, 19 Jul 2008 21:31:23 -0000 å×ÇÅÎÉÊ ûÁÐÏ×ÁÌ wrote: > Thanks! > > I try: > # /usr/sbin/pwd_mkdb -d /usr/local/jails/test/etc -p > /usr/local/jails/test/etc/master.passwd > > and I have: > > # pwd_mkdb: /usr/local/jails/test/etc/master.passwd: No such file or directory > > then I make empty file: > > # touch /usr/local/jails/test/etc/master.passwd > > all good! no errors, no messages... > > I try start jail again, and I have: =\ > > ============================= > /etc/rc.conf: //: Permission denied > Configuring jails:. > Starting jails: cannot start jail "test": > jail: root: no such user > ============================= The jail hasn't been completely populated. As Miroslav already stated, can you show us the rc.conf of the host and the way you populated the jail? Regards, Mikhail. -- Mikhail Goriachev Webanoide