:: Re: [DNG] Leave my runlevels alone
Top Page
Delete this message
Reply to this message
Author: Martin Kjær Jørgensen
Date:  
To: Lorenz
CC: dng
Subject: Re: [DNG] Leave my runlevels alone
On 07/17/26 23:49 PM, Lorenz wrote:
> Hi,
>
> On Mon, Jul 13, 2026 at 12:22 PM Martin Kjær Jørgensen via Dng
> <dng@???> wrote:
>>
>>
>> Hey list,
>>
>> I'm running latest Devuan Testing with OpenRC. Whenever I `apt
>> dist-upgrade|upgrade` major packages that changes runlevels or invoke
>> update-rc.d like postgresql, apache2 and similar, they add itself to default
>> runlevel even though I have disabled/removed them before.
>>
>> Is there a way for apt to inhibit changes to runlevels when updating?
>
> removing the link manually does not work (and is not supposed to):
> to remove them in Sysv init you should
> # update-rc.d name disable
> for example
> # update-rc.d apache2 disable
>
> I think it works for openrc too (but I don't use it, so not 100%
> sure), and if it doesn't
> there should be an openrc equivalent of update-rc.d
>
> Lorenzo
>
>


Using update-rc.d seem to work on OpenRC too. I tried update postgresql at it
did not re-enable on my system. Thanks for the hint :-)

>>
>> --
>> /Martin
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> Manage your subscription: https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>> Archive: https://lists.dyne.org/lurker/list/dng.en.html


--
/Martin