From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/592 Path: main.gmane.org!not-for-mail From: John Nielsen Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: kdm not working in run script - SOLVED!! Date: Fri, 1 Oct 2004 21:27:16 +0200 Message-ID: <200410012127.16016.knoglen@tele2.fr> References: <200409301921.17935.knoglen@tele2.fr> <200410012124.12011.knoglen@tele2.fr> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1096658846 21113 80.91.229.6 (1 Oct 2004 19:27:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2004 19:27:26 +0000 (UTC) Original-X-From: supervision-return-831-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Oct 01 21:27:22 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14] ident=qmailr) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1CDT3p-00050M-00 for ; Fri, 01 Oct 2004 21:27:21 +0200 Original-Received: (qmail 8162 invoked by uid 76); 1 Oct 2004 19:27:43 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 8156 invoked from network); 1 Oct 2004 19:27:43 -0000 X-T2-Posting-ID: XVyhlaLmORYmA+UmLIX/2mWnGm/y6HUcgqmE6/b6m9s= Original-To: supervision@list.skarnet.org User-Agent: KMail/1.6.2 In-Reply-To: <200410012124.12011.knoglen@tele2.fr> Content-Disposition: inline Xref: main.gmane.org gmane.comp.sysutils.supervision.general:592 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:592 On Friday 01 October 2004 21:24, John Nielsen wrote: > On Thursday 30 September 2004 21:41, Paul Jarc wrote: > > John Nielsen wrote: > > > Im not really sure what, since kdm is still in my path. > > > > It's in *your* $PATH, but is it in runit's? > > $ tr \\0 \\n < /proc/$pid/environ | grep \^PATH= > > > > (Or add 'echo "PATH=$PATH"' to your run script and look for that in > > the log.) > > You are right. Indeed kdm was not in the runit path. I guess I still have > to get used to the services being managed like that. > > This sheltered life of the daemons however seems to be causing me some > problems however. > > When I try to shut down the pc, it Aaargh.... When i try to shut down the pc, it wont run the /sbin/halt and /sbin/reboot commands (I have them symlinked to init 0 and init 6). Well yes, it runs them, but it only returns me to the prompt. It doesnt actueally reboot or halt the pc. Im not entirely sure what is going on here since this works fine from the getties which are allso run from within a run script. Any ideas? John