Date: Fri, 6 Feb 2004 16:07:15 +0100 From: Harald Schmalzbauer <h@schmalzbauer.de> To: Colin Percival <colin.percival@wadham.ox.ac.uk> Cc: questions@freebsd.org Subject: Re: buildworld inside a jail Message-ID: <200402061607.19686@harrymail> In-Reply-To: <6.0.1.1.1.20040206125718.032e6420@imap.sfu.ca> References: <200402060259.07248@harrymail> <200402061350.04442@harrymail> <6.0.1.1.1.20040206125718.032e6420@imap.sfu.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-02=_n26IAUeD/LxuNpb Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Description: signed data Content-Disposition: inline On Friday 06 February 2004 14:06, Colin Percival wrote: > At 12:49 06/02/2004, Harald Schmalzbauer wrote: > >On Friday 06 February 2004 03:24, Harald Schmalzbauer wrote: > > > On Friday 06 February 2004 03:05, Colin Percival wrote: > > > > * The contents of /dev inside the jail? > > > *SNIP* > >I found out that if I don't hide any device it finishes compiling!?!?!? > > Interesting. I create a jailed /dev with the following commands: > > mount -t devfs devfs ${BASEDIR}/jail/dev > devfs rule -s 10 delset > devfs rule -s 10 add hide > devfs rule -s 10 add path null unhide > devfs rule -s 10 add path zero unhide > devfs rule -s 10 add path fd unhide > devfs rule -s 10 add path 'fd/*' unhide > devfs rule -s 10 add path 'std*' unhide > devfs -m ${BASEDIR}/jail/dev ruleset 10 > devfs -m ${BASEDIR}/jail/dev rule applyset > > and you've certainly got all of those devices. Ha, found my mistake. I had /dev/fd but not /dev/fd/* When unhiding fd/* like you (and the default) everything is compiling fine! But why do I need the floppydisk? Btw. I don't have a floppy in this machine. Thanks, -Harry > > >What device could be needed to compile source code? > > I'm not sure why this would make any difference, but try > with just /dev/null, /dev/zero, /dev/fd, /dev/fd/*, and > /dev/std*. > Also, try listing the contents of /dev before starting > the buildworld, to make sure that nothing is missing. > > Colin Percival > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" --Boundary-02=_n26IAUeD/LxuNpb Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAI62nBylq0S4AzzwRAl/mAJ9sZUPHIXi3vP6BelmsXskVzyJfpQCcCK5x 9s/AYvk5kPC9bW7Rot7a6Ec= =ClXu -----END PGP SIGNATURE----- --Boundary-02=_n26IAUeD/LxuNpb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402061607.19686>