Re: update-rc.d creates unexpected sequence numbers

2016-05-22 Thread Jonathan de Boyne Pollard
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

Re: update-rc.d creates unexpected sequence numbers

2016-05-17 Thread Ansgar Burchardt
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

Re: update-rc.d creates unexpected sequence numbers

2016-05-17 Thread CN
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

Re: update-rc.d creates unexpected sequence numbers

2016-05-15 Thread Ansgar Burchardt
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:

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread Gene Heskett
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

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread Michael Biebl
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-rc

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread tomas
-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

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread Gene Heskett
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

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread tomas
-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? > > > >

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread 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.88dsf-41+deb7u1 "2.88dsf-59" from my VPS

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread tomas
-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

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread CN
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 >

Re: update-rc.d creates unexpected sequence numbers

2016-05-13 Thread tomas
-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

update-rc.d creates unexpected sequence numbers

2016-05-13 Thread CN
Hi! /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-Stop: 0 1 6 # Short-Description: