public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Starting/stopping services
@ 2003-01-18 17:52 Andy Arbon
  2003-01-18 18:09 ` Caleb Shay
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Andy Arbon @ 2003-01-18 17:52 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I'd like to mention a problem that I see occasionally and see if anyone
else considers it annoying enough to have fixed somehow.

The problem is that services can't be stopped (via /etc/init.d/* ) if
the process they started has died since the init script started it.

Presumably the scripts try to terminate the process, find that it's not
there anymore and exit with an error, but this means that there is no
way (aside from starting a process with the correct name then letting
the script kill it) to start the service again until the system
restarts, which proves very annoying if you're doing anything which
causes services to die frequently (in my case I'm playing with the
lircd, which is a little flaky sometimes).

Is there anything that can be done about this? If the script tries to
stop a service and finds the process has died then it probably should
report an error, but I think it should also register that the service
has stopped so that it can be restarted.

Cheers,

Andy



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+KZRqX3TTUvZURBERAu1/AKCOJ34Hz/aeL/piAOd2lOgPJSnnhgCfcogr
0D28blwIFmGEHKU+SfRs6O4=
=5djP
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-01-21 21:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-18 17:52 [gentoo-dev] Starting/stopping services Andy Arbon
2003-01-18 18:09 ` Caleb Shay
2003-01-18 18:09 ` Burton Samograd
2003-01-18 18:11 ` will
2003-01-21  8:56   ` Matt Tucker
2003-01-21  9:09     ` Mike Frysinger
2003-01-21 15:39       ` Dylan Carlson
2003-01-21 20:15         ` J Robert Ray
2003-01-21 21:15           ` Dylan Carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox