From owner-freebsd-hackers Thu May 16 9:57:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id BF7D637B401 for ; Thu, 16 May 2002 09:57:08 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g4GGqst06830; Thu, 16 May 2002 09:52:54 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Thu, 16 May 2002 09:52:54 -0700 (PDT) From: Patrick Thomas To: "Marc G. Fournier" Cc: Subject: Re: reboot your own jail ? In-Reply-To: <20020516132640.N6260-100000@mail1.hub.org> Message-ID: <20020516095228.R79837-100000@utility.clubscholarship.com> 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 why -TERM ? the jail man page recommends -KILL ... just curious... On Thu, 16 May 2002, Marc G. Fournier wrote: > > web interface that is password protected that does: > > ssh root@ kill -TERM -1 > > > > > > On Thu, 16 May 2002, Patrick Thomas wrote: > > > > > currently I reboot jails with this process: > > > > 1. someone logs into the jail and runs `kill -KILL -1` > > 2. someone logs onto the BASE machine and starts it up again. > > > > I wish I could do this without involving the admin of the base machine. > > > > Has anyone come up with a strategy for allowing the root jail user to > > successfully reboot their own jail without outside help ? > > > > I can think of some horrible hacks involving constantly checking if the > > jail is running....and if it ever stops (presumably someone rebooted it) > > then start it again...hopefully there is sonhmething more elegant than > > that. > > > > --pt > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-hackers" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message