Re: Feedback needed: How to disable services at startup... and keep them so.



On Wed, Dec 08, 2010 at 08:24:51PM +0100, Sven Joachim wrote:
On 2010-12-07 17:21 +0100, Camaleón wrote:


A month ago, I disabled Network Manager service in my Squeeze system so
it doesn't run on start up. I wanted to keep NM installed (just in case)
but preferred to use the old "ifup" network setup method.

So I issued "update-rc.d network-manager remove" and also disabled gnome
NM applet from being started.

You should use "update-rc.d network-manager disable" instead. See
update-rc.d(8).

With that approach, how can you get a list of
services that have been disabled using updated-rc.d?

btw, I am curious that Debian now has several ways to enable/disable
services.

- installing/removing the package with apt-get
- editing the /etc/default/servicename file
- managing the symlinks with update-rc.d
- the permissions of the /etc/init.d/servicename script

Is this diversity intended to make systems easier to
administer? (I guess it's okay after you learn about it.)

Joel

Sven


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/87tyiom5j0.fsf@xxxxxxxxxxxxx


--
Joel Roth


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: 20101209075653.GA10372@sprite">http://lists.debian.org/20101209075653.GA10372@sprite



Relevant Pages

  • Re: How to change sound volume in gnome-shell?
    ... actually an applet. ... After installed pulseaudio and reboot, ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ... Trouble? ...
    (Debian-User)
  • Re: Feedback needed: How to disable services at startup... and keep them so.
    ... installing/removing the package with apt-get ... It doesn't work for someone who wants to disable samba or ... there's a box has a single admin and the package that owns a script ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: phpmyadmin
    ... I just don't really understand what is going on as the same server will serve up other php pages, but phpmyadmin seems only able to serve html pages. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ... Trouble? ...
    (Debian-User)
  • Re: _some_ DVDs wont play
    ... the DVD makes xine crash. ... No trouble playing almost all other DVDs. ... A borrowed set of LOTR discs will play on all machines. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: The "Oh, No..." error when gdm is trying to start
    ... with the error message that shows a picture of a sad ... and work from there until you correct the problem that makes gnome-shell ... The trouble is before that. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)