From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16764 invoked by uid 1002); 18 Jan 2003 18:02:09 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 4984 invoked from network); 18 Jan 2003 18:02:08 -0000 Message-ID: <3E29946B.4000004@andrewarbon.co.uk> Date: Sat, 18 Jan 2003 17:52:43 +0000 From: Andy Arbon User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030102 X-Accept-Language: en, en-us MIME-Version: 1.0 To: gentoo-dev@gentoo.org X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] Starting/stopping services X-Archives-Salt: 73b70c99-106a-404f-b422-29dcf616d92b X-Archives-Hash: ca8ff4180efd2adfa4c9560ea006f21f -----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