|
Home > Archive > Debian Developers > August 2005 > not starting daemons at boot: ln -s disabled
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
not starting daemons at boot: ln -s disabled
|
|
| Dan Jacobson 2005-08-05, 8:48 pm |
| One way of having some daemons not start at boot (e.g., if we only use
our printer once a year) is to remove certain /etc/rc?.d/ links.
But the downsize is later, unless one keeps records, one isn't quite
sure of just what tampering one has done in /etc/rc?.d/
So in /etc/default/* we can set NO_START_AT_BOOT=1 etc., at least we
can see and comment what we did.
However there still is a way to know what we tampered with in
/etc/rc?.d/: instead of telling the user to just remove some links,
have them instead ln -s to /dev/null or better: /etc/init.d/disabled perhaps,
an empty file mode 555.
And those link manager programs could do the same.
So then one could see clearly that S20cwdaemon -> ../init.d/disabled
etc. Or use DISABLED for extra clarity.
Not as efficient as removing the link, but at least one can see what
one did later.
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Steve Greenland 2005-08-06, 5:51 pm |
| On 05-Aug-05, 16:22 (CDT), Dan Jacobson <jidanni@jidanni.org> wrote:
> One way of having some daemons not start at boot (e.g., if we only use
> our printer once a year) is to remove certain /etc/rc?.d/ links.
>
> But the downsize is later, unless one keeps records, one isn't quite
> sure of just what tampering one has done in /etc/rc?.d/
mv S20foo s20foo
Steve
--
Steve Greenland
The irony is that Bill Gates claims to be making a stable operating
system and Linus Torvalds claims to be trying to take over the
world. -- seen on the net
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| John Hasler 2005-08-06, 5:51 pm |
| Dan Jacobson writes:
> But the downsize is later, unless one keeps records, one isn't quite sure
> of just what tampering one has done in /etc/rc?.d/
Sysvconfig keeps records.
--
John Hasler
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Anthony DeRobertis 2005-08-07, 5:53 pm |
| Dan Jacobson wrote:
> One way of having some daemons not start at boot (e.g., if we only use
> our printer once a year) is to remove certain /etc/rc?.d/ links.
Hmmm, does init respect policy-rc.d? If so, it'd be fairly easy to do it
that way...
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
| |
| Andrew Pollock 2005-08-10, 2:50 am |
| On Sat, Aug 06, 2005 at 12:15:29PM -0500, John Hasler wrote:
> Dan Jacobson writes:
>
> Sysvconfig keeps records.
Sweet. Now I get a Red Hat-like service command as well. Nice.
regards
Andrew
--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
|
|
|
|
|