Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2001 14:54:11 +0100
From:      "G D McKee" <freebsd@gdmckee.com>
To:        "Jim" <jameso@elwood.net>
Cc:        "questions@FreeBSD.ORG" <freebsd-questions@freebsd.org>
Subject:   Re: Creating Jails!!!!
Message-ID:  <013101c0ee90$2a120820$0a00a8c0@gdmckee.local>
References:  <000901c0ee62$4803fb00$0a00a8c0@gdmckee.local> <20010606083939.A5889@elwood.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Are you sure?

I cvsupped the src before I did it.  I did a make world and installed it
before I tryied the jail stuff - just incase the tree was out of sync with
the PC.

Doing the make world with the DESTDIR=$D didn't put any files into the jail
dir.  Is this normal?

Gordon

----- Original Message -----
From: "Jim" <jameso@elwood.net>
To: "G D McKee" <freebsd@gdmckee.com>
Cc: "questions@FreeBSD.ORG" <freebsd-questions@freebsd.org>
Sent: Wednesday, June 06, 2001 2:39 PM
Subject: Re: Creating Jails!!!!


> I created a Jail just the other day and it went fine. You might try
> re-cvsuping your source, doing a make clean, then try again. The man
> page walks through the process perfectly, follow it and it will work.
>
> On Wed, Jun 06, 2001 at 09:25:44AM +0100, G D McKee wrote:
> > Hi
> >
> > Trying to dreate a jail on FreeBSD 4.3-STABLE (5/6/01).  Following the
> > instructions in man jail and getting the following error?
> >
> > Does anyone have any ideas?
> >
> > Thanks in advance.
> >
> > Gordon
> >
> >
> > kursk# set D=/home/gdm/jail
> > kursk#
> > kursk# echo $D
> > /home/gdm/jail
> > kursk#
> > kursk#
> > kursk# cd /usr/src/
> > kursk# cd etc/
> > kursk# make distribution DESTDIR=$D NO_MAKEDEV=yes
> > (cd /usr/src/etc;  install -c -o root -g wheel -m 644 amd.map apmd.conf
> > auth.conf  crontab csh.cshrc csh.login csh.logout  dhclient.conf dm.conf
> > fbtab ftpusers gettytab group  hosts hosts.allow host.conf hosts.equiv
> > hosts.lpd  inetd.conf login.access login.conf  motd modems networks
> > newsyslog.conf  pam.conf phones printcap profile protocols  rc rc.atm
> > rc.devfs rc.diskless1 rc.diskless2 rc.firewall rc.firewall6  rc.isdn
> > rc.network rc.network6 rc.pccard rc.serial rc.shutdown  rc.syscons
rc.sysctl
> > remote rpc security services shells syslog.conf  usbd.conf
etc.i386/disktab
> > etc.i386/rc.i386  etc.i386/ttys
> > /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config
> > /usr/src/etc/../usr.bin/mail/misc/mail.rc
> > /usr/src/etc/../usr.bin/locate/locate/locate.rc /home/gdm/jail/etc;
> >  install -c -o root -g wheel -m 755 netstart pccard_ether rc.suspend
> > rc.resume /home/gdm/jail/etc;  install -c -o root -g wheel -m 644
> > defaults/rc.conf /home/gdm/jail/etc/defaults/;  install -c -o root -g
> > wheel -m 644 defaults/make.conf /home/gdm/jail/etc/defaults/;
 install -c -o
> > root -g wheel -m 644 defaults/pccard.conf /home/gdm/jail/etc/defaults/;
> > install -c -o root -g wheel -m 644 defaults/periodic.conf
> > /home/gdm/jail/etc/defaults/;  install -c -o root -g wheel -m 600
/dev/null
> > /home/gdm/jail/var/log/cron;  install -c -o root -g wheel -m 600
> > master.passwd /home/gdm/jail/etc;  ( cd /usr/src/etc/periodic; make
> > install );  ( cd /usr/src/etc/../gnu/usr.bin/send-pr; make
> > etc-gnats-freefall );  ( cd /usr/src/etc/../share/termcap; make
> > etc-termcap );  ( cd /usr/src/etc/../usr.sbin/rmt; make etc-rmt );  ( cd
> > /usr/src/etc/isdn; make install );  pwd_mkdb -p -d /home/gdm/jail/etc
> > /home/gdm/jail/etc/master.passwd;  install -c -o root -g wheel -m 555
> > MAKEDEV.local MAKEDEV /home/gdm/jail/dev )
> > usage: install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o owner]
file1
> > file2
> >        install [-CcDpsv] [-f flags] [-g group] [-m mode] [-o owner]
file1
> > ...
> >              fileN directory
> >        install -d [-v] [-g group] [-m mode] [-o owner] directory ...
> > *** Error code 64
> >
> > Stop in /usr/src/etc.
> > kursk#
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
> --
> Jim O'Gorman
> jameso@elwood.net
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013101c0ee90$2a120820$0a00a8c0>