Hello,

> Okay, forget I said anything about supervise; it does not seem to be
> applicable for jails at all :(
Why?

ns# cat /var/service/ns.XXX.hu/run
#!/bin/sh

exec /usr/sbin/jail /data/jail/ns.XXX.hu ns.XXX.hu 192.168.2.2 \
/usr/local/sbin/chrootuid / bind /usr/local/sbin/named -c \
/etc/bind/named.conf -f

In /data/jail/ns.XXX.hu there is only a single, statically linked named
binary, and the config files. named runs on a high port (>1024), so I can
start as the bind user. In front of the machine there is a packet filter,
which does NAT.

It is perfectly working with daemontools/supervise :)

--------[ Free Software ISOs - ftp://ftp.fsn.hu/pub/CDROM-Images/ ]-------
Attila Nagy                                     e-mail: [EMAIL PROTECTED]
Free Software Network (FSN.HU)            phone @work: +361 210 1415 (194)
                                                cell.: +3630 306 6758


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to