From owner-freebsd-questions@FreeBSD.ORG Mon Jan 2 10:53:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A40CE16A41F for ; Mon, 2 Jan 2006 10:53:56 +0000 (GMT) (envelope-from rubenl@bloemgarten.demon.nl) Received: from post-25.mail.nl.demon.net (post-25.mail.nl.demon.net [194.159.73.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 232F743D5C for ; Mon, 2 Jan 2006 10:53:56 +0000 (GMT) (envelope-from rubenl@bloemgarten.demon.nl) Received: from axelds.demon.nl ([83.160.138.74]:63908 helo=abubbletprpdda) by post-25.mail.nl.demon.net with esmtp (Exim 4.51) id 1EtNK6-0001ID-Um; Mon, 02 Jan 2006 10:53:55 +0000 From: "Ruben Bloemgarten" To: =?iso-8859-1?B?J0v2dmVzZOFuIEfhYm9yJw==?= Date: Mon, 2 Jan 2006 11:53:35 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 In-reply-to: <43B84CA5.5030703@t-hosting.hu> Thread-Index: AcYPHDPZ8zk95fibTt2JNvejhIXGkwAbXAOw Cc: freebsd-questions@freebsd.org Subject: RE: Users unknown in jail, what to do? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ruben@bloemgarten.demon.nl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2006 10:53:56 -0000 Hi Gabor, I figured as much. A tip: install your "base" tools first, things like freebsd-update, portupgrade, webmin, etc. configure those and then tar = the /path/to/jail directory. That will give you a nice clean system to fall = back on and replicate whenever you need a new jail, and save you a lot of = time.=20 Regards,=20 Ruben=20 -----Original Message----- From: K=F6vesd=E1n G=E1bor [mailto:gabor.kovesdan@t-hosting.hu]=20 Sent: January 01, 2006 10:42 PM To: ruben@bloemgarten.demon.nl Subject: Re: Users unknown in jail, what to do? Hello, thanks. Actually, I just did a make installworld = DESTDIR=3D/path/to/jail,=20 I didn't follow the steps in jail(8) exactly and that was the problem. I = should have done a make distribution DESTDIR=3D/path/to/jail from=20 /usr/src/etc. Thanks, Gabor Ruben Bloemgarten wrote: >Hi Gabor,=20 > >Did you install the jail following the instructions of the man page ? = Which >version of FBSD are you running ? Assuming that u are running the jail >command from root, you don't have to specify the user.=20 > >Regards,=20 >Ruben=20 > >-----Original Message----- >From: owner-freebsd-questions@freebsd.org >[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of K=F6vesd=E1n = G=E1bor >Sent: December 30, 2005 10:36 PM >To: freebsd-questions@FreeBSD.ORG >Subject: Users unknown in jail, what to do? > >Hello, > >I've set up a jail and started it with: > >jail -u root /path/to/jail hostname ip /bin/sh > >When I tried to install a port inside the jail I got an error message=20 >that I don't have the mtree files. I don't know why those files haven't = >been built but I copied it from the host system to the jail. Now I get: > >mtree: line 6: unknown user root >*** Error code 1 > >I copied passwd, master.passwd, group, nsswitch.conf files, too, but I=20 >get the same. Could somebody tell me how can I solve this? > > =20 > --=20 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: = 12/30/2005 --=20 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.371 / Virus Database: 267.14.9/217 - Release Date: = 12/30/2005 =20