remove systemd while debian runs on systemd [was: Jokes on monday morning, at least where i am its monday morning]

Matthew Vernon matthewv at chiark.greenend.org.uk
Tue Apr 5 11:07:21 BST 2022


On 04/04/2022 15:00, Sabrina wrote:
> Hi,
> 
> On 4/4/22 14:13, tito wrote:
>> Hi,
>> testing it on a standard Debian 11 XFCE install it seems not be
>> like you said, systemd is not removed only systemd-sysv and
>> libpam-systemd. If you want to enjoy a really systemd free
>> system you could try Devuan whose devs jump through hops
>> to make that possible and you will find also instructions
>> about migration from Debian to Devuan.
> 
> I swear I installed debian from the netinstall-amd64 installer, 
> rebooted, installed vim and then wanted to change to sysV init.
> So I installed sysvinit-core. And the first time I did not even watch 
> what was written because well.. done it 50 times, know it all. ;-)

This is strange, because the systemd prerm won't let you remove it if 
it's the running init:

https://salsa.debian.org/systemd-team/systemd/-/blob/debian/master/debian/systemd.prerm

In general, you're better off switching init during the installation:

https://wiki.debian.org/Init#Changing_the_init_system_-_at_installation_time

...if you want to switch away from systemd on a running system, it's 
doable, but needs some care:

https://wiki.debian.org/Init#Changing_the_init_system_-_on_a_running_system

HTH,

Matthew




More information about the Debian-init-diversity mailing list