Date: Thu, 16 May 2002 17:10:06 +0200 (CEST) From: Attila Nagy <bra@fsn.hu> To: Peter Pentchev <roam@ringlet.net> Cc: freebsd-hackers@FreeBSD.org Subject: Re: reboot your own jail ? Message-ID: <Pine.LNX.4.44.0205161706340.26003-100000@scribble.fsn.hu> In-Reply-To: <20020516180414.H349@straylight.oblivion.bg> References: <20020516003127.I17484-100000@utility.clubscholarship.com> <20020516144159.C349@straylight.oblivion.bg> <Pine.LNX.4.44.0205161348501.26003-100000@scribble.fsn.hu> <20020516162219.E45898@mail.webmonster.de> <20020516180414.H349@straylight.oblivion.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
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: Attila.Nagy@fsn.hu Free Software Network (FSN.HU) phone @work: +361 210 1415 (194) cell.: +3630 306 6758 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0205161706340.26003-100000>