Bug#975591: update-rc.d disable

2025-03-04 Thread Mark Hindley
Thorsten, I don't see the suggestion having been made of removing the executable bit from the initscript? It should ensure the script is never run and the K and S symlinks are removed. Does that achieve what you wanted? Best wishes Mark

Bug#975591: update-rc.d disable

2020-12-21 Thread Lorenzo
On Mon, 21 Dec 2020 13:19:59 -0400 Jesse Smith wrote: > As I understand it Thorsten is looking for a way to have a service > installed, that can be run or stopped manually. But the service is > never started/stopped automatically when switching runlevels. Is that > correct? I think he might have

Bug#975591: update-rc.d disable

2020-12-21 Thread Thorsten Glaser
On Mon, 21 Dec 2020, Tom H wrote: > >> But you want to disable an init script, start it manually, change > > > > (or start the daemon manually without that init script) > > That's irrelevant: No, it’s not. As I already wrote, start-stop-daemon can do more for daemons running under different use

Bug#975591: update-rc.d disable

2020-12-21 Thread Tom H
On Mon, Dec 21, 2020 at 8:11 AM Thorsten Glaser wrote: > On Mon, 21 Dec 2020, Tom H wrote: >>> It means “do not call this init script in any runlevel”, >>> which *ought* to be very obvious. >> >> "do not call this init script in any runlevel" can be understood >> as "kill it in any runlevel". >

Bug#975591: update-rc.d disable

2020-12-20 Thread Thorsten Glaser
On Mon, 21 Dec 2020, Tom H wrote: > > It means “do not call this init script in any runlevel”, > > which *ought* to be very obvious. > > "do not call this init script in any runlevel" can be understood as > "kill it in any runlevel". No, absolutely not, NO, NO, *NO*. *GAH!* > But you want to di

Bug#975591: update-rc.d disable

2020-12-20 Thread Tom H
On Mon, Dec 21, 2020 at 12:16 AM Ian Jackson wrote: > Thorsten Glaser writes ("Bug#975591: update-rc.d disable"): >> On Sun, 20 Dec 2020, Tom H wrote: >>> >>> It depends what's meant by "disable". >> >> Which part of “disable an ini

Bug#975591: update-rc.d disable

2020-12-20 Thread Tom H
On Sun, Dec 20, 2020 at 11:44 PM Thorsten Glaser wrote: > On Sun, 20 Dec 2020, Tom H wrote: >>> There *absolutely* HAS to be some way to disable an init script > >> It depends what's meant by "disable". > > Which part of “disable an init script” did you not understand? Perhaps all of it :) >>

Bug#975591: update-rc.d disable

2020-12-20 Thread Thorsten Glaser
On Sun, 20 Dec 2020, Ian Jackson wrote: > Thorsten Glaser writes ("Bug#975591: update-rc.d disable"): > > On Sun, 20 Dec 2020, Tom H wrote: > > > It depends what's meant by "disable". > > > > Which part of “disable an init script” did you not

Bug#975591: update-rc.d disable

2020-12-20 Thread Ian Jackson
Thorsten Glaser writes ("Bug#975591: update-rc.d disable"): > On Sun, 20 Dec 2020, Tom H wrote: > > It depends what's meant by "disable". > > Which part of “disable an init script” did you not understand? This is really rather rude. It seemed to me

Bug#975591: update-rc.d disable

2020-12-20 Thread Thorsten Glaser
On Sun, 20 Dec 2020, Tom H wrote: > > There *absolutely* HAS to be some way to disable an init script > It depends what's meant by "disable". Which part of “disable an init script” did you not understand? > If it means "disable from starting at boot", then No. > If it means "disable from st

Bug#975591: update-rc.d disable

2020-12-20 Thread Tom H
>> The only way supported in update-rc.d to disable a service is >> update-rc.d disable > > … but not this. > > “update-rc.d disable” does *NOT* disable a service. Instead, it > sets it to “stopped in all runlevels”, which is evidently *not* > the same. > > I don’t care if “update-rc.d disable” get