update-rc.d my-program defaults 20 80
update-rc.d my-program defaults start 20 2 3 4 5 . stop 80 0 1 6 .
Support for run levels in "start" and "stop" subcommands was dropped
from update-rc.d by Roger Leigh in 2013. You'll find that the command
has been warning you about using explicit run lev
Hi,
CN writes:
> On Sun, May 15, 2016, at 10:05 PM, Ansgar Burchardt wrote:
>> That doesn't look correct: unless you defined a "$postgresql" system
>> facility (in /etc/insserv.conf), you should require "postgresql" and
>> not "$postgresql".
>>
>
> Many thanks for the correction, which seems to ha
Hi! Ansgar,
On Sun, May 15, 2016, at 10:05 PM, Ansgar Burchardt wrote:
>
> That doesn't look correct: unless you defined a "$postgresql" system
> facility (in /etc/insserv.conf), you should require "postgresql" and
> not "$postgresql".
>
Many thanks for the correction, which seems to have fixed
Hi,
CN writes:
> /etc/init.d/my-program is correctly prepared with LSB header comments
> like this:
>
> #!/bin/sh
> ### BEGIN INIT INFO
> # Provides: my-program
> # Required-Start: $postgresql
> # Required-Stop:$postgresql
> # Default-Start:2 3 4 5
> # Default-St
On Friday 13 May 2016 16:10:17 to...@tuxteam.de wrote:
> On Fri, May 13, 2016 at 03:35:29PM -0400, Gene Heskett wrote:
>
> [...]
>
> > But for the above comparison to work correctly, you (and everybody
> > responding to your message) would have to post the version number of
> > the parent package
Am 13.05.2016 um 16:16 schrieb CN:
> On Fri, May 13, 2016, at 09:14 PM, to...@tuxteam.de wrote:
>> Jessie/Sid here. But the more important thing is... what version of
>> sysv-rc is yours? What update-rc.d are you using?
>>
>
> "dpkg -l sysv-rc" show this from local host:
>
> ii sysv-rc2.8
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, May 13, 2016 at 03:35:29PM -0400, Gene Heskett wrote:
[...]
> But for the above comparison to work correctly, you (and everybody
> responding to your message) would have to post the version number of the
> parent package that held this file
On Friday 13 May 2016 10:16:00 CN wrote:
> On Fri, May 13, 2016, at 09:14 PM, to...@tuxteam.de wrote:
> > Jessie/Sid here. But the more important thing is... what version of
> > sysv-rc is yours? What update-rc.d are you using?
>
> "dpkg -l sysv-rc" show this from local host:
>
> ii sysv-rc
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, May 13, 2016 at 10:16:00PM +0800, CN wrote:
> On Fri, May 13, 2016, at 09:14 PM, to...@tuxteam.de wrote:
> > Jessie/Sid here. But the more important thing is... what version of
> > sysv-rc is yours? What update-rc.d are you using?
> >
>
> "dp
On Fri, May 13, 2016, at 09:14 PM, to...@tuxteam.de wrote:
> Jessie/Sid here. But the more important thing is... what version of
> sysv-rc is yours? What update-rc.d are you using?
>
"dpkg -l sysv-rc" show this from local host:
ii sysv-rc2.88dsf-41+deb7u1
"2.88dsf-59" from my VPS provid
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, May 13, 2016 at 09:09:56PM +0800, CN wrote:
> On Fri, May 13, 2016, at 08:46 PM, to...@tuxteam.de wrote:
> >
> > Bizarre. Just tried in my box and it behaves as it should. It comes from
> >
> > sysv-rc 2.88dsf-41+deb7u1
> >
> > What versio
On Fri, May 13, 2016, at 08:46 PM, to...@tuxteam.de wrote:
>
> Bizarre. Just tried in my box and it behaves as it should. It comes from
>
> sysv-rc 2.88dsf-41+deb7u1
>
> What version is yours? And... just to double-check:
>
> tomas@rasputin:~$ sha1sum /usr/sbin/update-rc.d
> 19d097b7dbe7
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Fri, May 13, 2016 at 07:54:55PM +0800, CN wrote:
> Hi!
[...]
> Both of these two commands
>
> update-rc.d my-program defaults 20 80
> update-rc.d my-program defaults start 20 2 3 4 5 . stop 80 0 1 6 .
>
> yield the same incorrect sequence numbers
François Patte wrote:
> While installing some packages, I get this message:
>
> update-rc.d: warning: start and stop actions are no longer supported;
> falling back to defaults
>
> What does it mean?
Sid Unstable and Jessie Testing have moved on past hard listed boot
number ordering and have gon
On Tue, 2013-08-20 at 09:42 +0200, François Patte wrote:
> Le 18/08/2013 12:37, Ralf Mardorf a écrit :
> > On Sun, 2013-08-18 at 12:35 +0200, Ralf Mardorf wrote:
> >> On Sun, 2013-08-18 at 12:26 +0200, François Patte wrote:
> >>> update-rc.d: warning: start and stop actions are no longer supported;
On Sun, 2013-08-18 at 12:35 +0200, Ralf Mardorf wrote:
> On Sun, 2013-08-18 at 12:26 +0200, François Patte wrote:
> > update-rc.d: warning: start and stop actions are no longer supported;
> > falling back to defaults
>
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717553
What packages did yo
On Sun, 2013-08-18 at 12:26 +0200, François Patte wrote:
> update-rc.d: warning: start and stop actions are no longer supported;
> falling back to defaults
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717553
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of
Art Huston wrote:
> I added /etc/init.d/tightvncserver to start a VNC server. It looks fine --
> I have the LSB comments and it works when invoked directly from the
> command-line, e.g.
>
> cd /etc/init.d
> ./tightvncserver start
>
> But update-rc.d gives an error:
>
> root@debian01:/etc/init.d#
From: "iforone" <[EMAIL PROTECTED]>
Newsgroups: linux.debian.user
Subject: Re: update-rc.d questions: best practice?
Date: Wed, 01 Mar 2006 20:49:42 -0800
Ivan Teliatnikov wrote:
> Hi everyone.
> [...]
> 2. Is there a command/tool to display status of all
services in
L.V.Gandhi wrote:
> which package has update-rc.d
It's in sysv-rc. It's a required package, so you have it.
I suggest that you look at the sysvconfig package, though.
--
John Hasler
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTE
On Wed, 1 Mar 2006 16:14:46 -0800
L.V.Gandhi <[EMAIL PROTECTED]> wrote:
> On 3/1/06, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
>
> > update-rc.d defaults
>
> which package has update-rc.d
I honestly don't know, its in the minimal system.
A
>
> --
> L.V.Gandhi
> http://lvgandhi.tripod
On 3/1/06, Andrew Sackville-West <[EMAIL PROTECTED]> wrote:
> update-rc.d defaults
which package has update-rc.d
--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042
On Wed, 01 Mar 2006 23:35:03 +1100
Ivan Teliatnikov <[EMAIL PROTECTED]> wrote:
> Hi everyone.
>
> I am pursing a task of establishing a procedure among my colleagues -
> system administrator which will help us enable/disable services on
> Debian servers.
>
> I am considering "update-rc.d" script
Ivan Teliatnikov writes:
> Is there a command/tool to display status of all services in all
> runlevels.
I suggest that you install sysvconfig. It will do most or all of what you
need.
--
John Hasler
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Cont
On Wed, 01 Mar 2006 17:57:55 +1100
Ivan Teliatnikov <[EMAIL PROTECTED]> wrote:
> Hi everyone.
>
> I am pursing a task of establishing a procedure among my colleagues -
> system administrator which will help us enable/disable services on
> Debian servers.
>
> I am considering "update-rc.d" script
On Sat, 10 Jul 2004 03:34:22 +0100, Thomas Adam wrote:
>> what is the right way to specify a service that only has start but no
>> stop?
>
> station:~# update-rc.d local start 80 2 3 4 5 .
> Adding system startup for /etc/init.d/local ...
>/etc/rc2.d/S80local -> ../init.d/local
>/etc/rc
--- * Tong* <[EMAIL PROTECTED]> wrote:
> what is the right way to specify a service that only has start but no
> stop?
station:~# update-rc.d local start 80 2 3 4 5 .
Adding system startup for /etc/init.d/local ...
/etc/rc2.d/S80local -> ../init.d/local
/etc/rc3.d/S80local -> ../init.d/l
On Sat, 10 Jul 2004 01:25:07 +0100, Thomas Adam wrote:
>> # update-rc.d local defaults start 80
>> update-rc.d: error: codenumber must be a number between 0 and 99
>
> update-rc.d local defaults 80
Come on, Thomas, I notice that you seldom read people's posting closely.
What I was asking was:
* Tong* wrote:
> Q: In RedHat, the chkconfig can also be used to generate a code
>skeleton that have start/stop, etc. Can we do it in debian?
update-rc.d would be the equivalent tool.
> Q: what is the right way to specify a service that
>only has start but no stop?
Make the script do no
--- * Tong* <[EMAIL PROTECTED]> wrote:
>
> # update-rc.d local defaults start 80
> update-rc.d: error: codenumber must be a number between 0 and 99
update-rc.d local defaults 80
-- Thomas Adam
=
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor" -- http:/
On Fri, 09 Jul 2004 23:44:07 +0100, Thomas Adam wrote:
>> % update-rc.d local defaults 80-start
>> update-rc.d: error: codenumber must be a number between 0 and 99
>> usage: update-rc.d [-n] [-f] remove
>>update-rc.d [-n] defaults [NN | sNN kNN]
>
> RTFM would help here. You're almost t
--- * Tong* <[EMAIL PROTECTED]> wrote:
> % update-rc.d local defaults 80-start
> update-rc.d: error: codenumber must be a number between 0 and 99
> usage: update-rc.d [-n] [-f] remove
>update-rc.d [-n] defaults [NN | sNN kNN]
RTFM would help here. You're almost there but you need to s
martin f krafft writes:
> So what's the recommended way of disabling services?
I suggest sysvconfig.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
On Mon, 21 Jun 2004, martin f krafft wrote:
> The recommended way to disable a service, or to move its
> initialisation priority is update-rc.d. However, when the package is
update-rc.d is for THE PACKAGING SYSTEM. It is not meant as an
admin tool. It could be made smarter, like dpkg-divert, and
Hello
T. Albert (<[EMAIL PROTECTED]>) wrote:
> what's the equivalence of chkconfig --list in debian using
> update-rc.d ? i have difficulties in listing what services are on on
> init level 3 for example. thank you.
ls -l /etc/rcS.d /etc/rc3.d
I don't think update-rc.d can do tha
In article <[EMAIL PROTECTED]>,
Miguel Alvarez Blanco <[EMAIL PROTECTED]> wrote:
>As I said in the first message, I do not know how to keep a package
>installed in the system and yet be able to de-activate its startup
>scripts, sort of like leaving it unconfigured.
# cd /etc/init.d
# mv script
One suggestion here might be to put an exit statement on a line by itself
near the beginning of the script, before anything is executed. This will
prevent the script from running even though the rc.d links are in
place. When you update the package, the install script should detect
that the init scr
Miguel Alvarez Blanco <[EMAIL PROTECTED]> writes:
> a) if the sysadmin wants to fiddle with the links, he may do so
> (presumably by hand?) and the packaging system will not touch them
> *provided the sysadmin leaves at least one of the links*. Now, I can
> see how to use this to remove all but an
Henrique de Moraes Holschuh wrote:
update-rc.d is working as intended. Read its manpage about how you as the
local admin should interact with it.
In particular, update-rc.d is to be used ONLY by the packaging system, not
by the local admin.
Thanks for the quick response. However, I am not sure if I
On Wed, 12 Nov 2003, Miguel Alvarez Blanco wrote:
> I do not really know if this is a bug or a "feature", so I am not
update-rc.d is working as intended. Read its manpage about how you as the
local admin should interact with it.
In particular, update-rc.d is to be used ONLY by the packaging syst
On 30-Nov-2001 Oki DZ wrote:
> Hi,
>
> We can have update-rc.d -f remove to remove the daemon from
> the init script. Why can't we have update-rc.d -l to list
> the init levels in which the daemon will be started.
>
because debian by default does not mess with run levels. Either we are in
si
On Fri, Nov 30, 2001 at 02:39:43PM +0700, Oki DZ wrote:
> We can have update-rc.d -f remove to remove the daemon from
> the init script. Why can't we have update-rc.d -l to list
> the init levels in which the daemon will be started.
$ ls -1 /etc/rc?.d/???ssh
This gives nice list for ssh. K for
On Sat, Mar 27, 1999 at 09:35:27AM +0100, Piotr Legiecki wrote:
> Hi
> I'v received an answer to my question about managing links in rcx.d
> directories, but it wasn't what I was talking about.
> The update-rc.d scripts simply removes links AND scripts from init.d
> directory and I want only temp
>
> Hi
> I'v received an answer to my question about managing links in rcx.d
> directories, but it wasn't what I was talking about.
> The update-rc.d scripts simply removes links AND scripts from init.d
> directory and I want only temporarly disable
> running some daemons during system startup (
On Fri, 18 Jul 1997, Mathieu Legrand wrote:
> Hello,
>
> I'm trying to install Debian Linux 1.3.1. I already installed Debian 1.2
> and now I want to do a totally new installation. This new revision has a
> really good installation system, but I have two problems:
>
> - first of all, a ma
45 matches
Mail list logo