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
>
> --
> /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