Use of invoke-rc.d as admin is bad (Was: Help with wireless)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10-07-2005 22:16, martin f krafft wrote:
> also sprach Jonas Smedegaard <dr@jones.dk> [2005.07.10.2216 +0300]:
>
>>Really? Why?
>
>
> Here's what I wrote in my book:
>
> The \programme{invoke-rc.d} script is Debian's way of interacting
> with the scripts in \dir{/etc/init.d}. However, it was not designed
> to be used by the system administrator, as it does not provide the
> necessary flexibility. For instance, a certain daemon may be
> stopped, but in a floating state, suggesting that it is perfectly
> okay for the daemon to be running in the current runlevel, it just
> has not been started. If the administrator were to use
> \programme{invoke-rc.d}, it would fail to start the daemon because
> of the lack of the corresponding \file{S} link in runlevel's
> \dir{rcX.d} directory.
>
> Obviously, if it works for you, use it. Just don't advocate it
> blindly to others until we had a chance to rework the policy layer.
I am not quite sure I understand. I assume that it is then no better to
directly use "/etc/init.d/jabber stop" instead, right?
What should then be used instead? Reading the init.d script to
understand what was in fact started, and then shutdown/kill each daemon
by other means?
>>And file-rc providing bash-completion for that command should be filed
>>as a bug?
>
>
> Probably. :)
Could you please do that? As I do not understand the issue raised I am
unable to help explain it to others as well.
- Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
- Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFC0YdTn7DbMsAkQLgRAhoiAKCVMBtmERZ2lK5b8uiRv0JyoHh2IQCgnoex
pFswKjRoeA2xIw2TuiN2udU=
=b1bf
-----END PGP SIGNATURE-----
--
To unsubscribe, send mail to debconf5-event-unsubscribe@lists.debconf.org.
Reply to: