From owner-freebsd-hackers Thu May 16 8:10:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scribble.fsn.hu (scribble.fsn.hu [193.224.40.95]) by hub.freebsd.org (Postfix) with SMTP id E26E837B40B for ; Thu, 16 May 2002 08:09:03 -0700 (PDT) Received: (qmail 29223 invoked by uid 1000); 16 May 2002 15:10:06 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 16 May 2002 15:10:06 -0000 Date: Thu, 16 May 2002 17:10:06 +0200 (CEST) From: Attila Nagy To: Peter Pentchev Cc: freebsd-hackers@FreeBSD.org Subject: Re: reboot your own jail ? In-Reply-To: <20020516180414.H349@straylight.oblivion.bg> Message-ID: References: <20020516003127.I17484-100000@utility.clubscholarship.com> <20020516144159.C349@straylight.oblivion.bg> <20020516162219.E45898@mail.webmonster.de> <20020516180414.H349@straylight.oblivion.bg> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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