Re: named in sandbox
From: Nelis Lamprecht (nelis_at_8ball.co.za)
Date: 05/21/04
- Previous message: Louis A. Mamakos: "Re: Problems setting up Vonage VoIP with FreeBSD + ipfilter"
- In reply to: Matthew Seaman: "Re: named in sandbox"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Date: Fri, 21 May 2004 14:00:54 +0200
On Fri, 2004-05-21 at 13:16, Matthew Seaman wrote:
> However, remember that's written netbsd-centrically, and you'll have
> to adapt the instructions for use under FreeBSD -- use ports instead
> of pkgsrc, and you'll need to investigate what to do to make devfs(8)
> create the requited device nodes under the chroot, rather than using
> mknod.
>
You can simply symlink the device nodes:
guardian# ls -la /var/chroot/named/dev/
total 4
drwxr-xr-x 2 bind bind 512 Mar 3 11:21 .
drwx------ 5 bind bind 512 Mar 3 11:18 ..
lrwxr-xr-x 1 root bind 9 Mar 3 11:21 null -> /dev/null
lrwxr-xr-x 1 root bind 11 Mar 3 11:21 random -> /dev/random
lrwxr-xr-x 1 root bind 9 Mar 3 11:21 zero -> /dev/zero
Cheers,
-- Nelis Lamprecht PGP: http://www.8ball.co.za/pgpkey/nelis.asc "Unix IS user friendly.. It's just selective about who its friends are."
- application/pgp-signature attachment: This is a digitally signed message part
- Previous message: Louis A. Mamakos: "Re: Problems setting up Vonage VoIP with FreeBSD + ipfilter"
- In reply to: Matthew Seaman: "Re: named in sandbox"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]