supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: John Nielsen <knoglen@tele2.fr>
Subject: Re: kdm not working in run script - SOLVED!!
Date: Fri, 1 Oct 2004 21:27:16 +0200	[thread overview]
Message-ID: <200410012127.16016.knoglen@tele2.fr> (raw)
In-Reply-To: <200410012124.12011.knoglen@tele2.fr>

On Friday 01 October 2004 21:24, John Nielsen wrote:
> On Thursday 30 September 2004 21:41, Paul Jarc wrote:
> > John Nielsen <knoglen@tele2.fr> 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


  reply	other threads:[~2004-10-01 19:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30 17:21 kdm not working in run script John Nielsen
2004-09-30 19:34 ` kdm not working in run script - SOLVED!! John Nielsen
2004-09-30 19:41   ` Paul Jarc
2004-10-01 19:24     ` John Nielsen
2004-10-01 19:27       ` John Nielsen [this message]
2004-10-01 19:31       ` Charlie Brady
2004-10-01 20:12         ` John Nielsen
2004-10-03  2:29           ` Vincent Danen
2004-10-03 17:05             ` supervising autofs (was Re: kdm not working in run script - SOLVED!!) Charlie Brady
2004-10-04 19:01               ` Vincent Danen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200410012127.16016.knoglen@tele2.fr \
    --to=knoglen@tele2.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).