From owner-freebsd-hackers Thu May 16 10: 5:52 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from south.nanolink.com (south.nanolink.com [217.75.134.10]) by hub.freebsd.org (Postfix) with SMTP id 3681E37B40D for ; Thu, 16 May 2002 10:05:41 -0700 (PDT) Received: (qmail 58334 invoked from network); 16 May 2002 17:13:32 -0000 Received: from unknown (HELO straylight.ringlet.net) (212.116.140.125) by south.nanolink.com with SMTP; 16 May 2002 17:13:32 -0000 Received: (qmail 47549 invoked by uid 1000); 16 May 2002 17:05:09 -0000 Date: Thu, 16 May 2002 20:05:09 +0300 From: Peter Pentchev To: Patrick Thomas Cc: "Marc G. Fournier" , freebsd-hackers@freebsd.org Subject: Re: reboot your own jail ? Message-ID: <20020516200509.K349@straylight.oblivion.bg> Mail-Followup-To: Patrick Thomas , "Marc G. Fournier" , freebsd-hackers@freebsd.org References: <20020516132640.N6260-100000@mail1.hub.org> <20020516095228.R79837-100000@utility.clubscholarship.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="wRokNccIwvMzawGl" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020516095228.R79837-100000@utility.clubscholarship.com>; from root@utility.clubscholarship.com on Thu, May 16, 2002 at 09:52:54AM -0700 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 --wRokNccIwvMzawGl Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 16, 2002 at 09:52:54AM -0700, Patrick Thomas wrote: > On Thu, 16 May 2002, Marc G. Fournier wrote: >=20 > > > > web interface that is password protected that does: > > > > ssh root@ kill -TERM -1 > > >=20 > why -TERM ? the jail man page recommends -KILL ... just curious... Uhm.. to allow processes to shut themselves down gracefully? IMHO, the best choice would be what init(8) does: send a TERM, wait a little, send a KILL. G'luck, Peter --=20 Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 I've heard that this sentence is a rumor. --wRokNccIwvMzawGl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE84+bF7Ri2jRYZRVMRAl/ZAJ99gOgzhB385nepAXuoOLREX5BDagCcD/2y IsOAaJhLBNBYSeTmXfekqCA= =XC/d -----END PGP SIGNATURE----- --wRokNccIwvMzawGl-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message