Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8023

Raspberry Pi OS • Re: Systemd AND systemd-sysv

$
0
0
can someone tell why this happening and the both needed ? and where
and why ?
You probably need to subscribe to Debian mailing lists or so, it should be a topic I think.

I just checked on 1 of my Opensuse Tumbleweed installs and it has no /etc/init and no /etc/init.d/ anymore. Already long time ago at least /etc/init.d/ was empty. I know because I have at least 1 SW program that does still come with only sysV init method, so I created an own systemd .service file. It is easier nowadays I think as the generator tool creates perfect .service files in /run/ on tmpfs in RAM, you just copy that to non-volatile.

On my RPI4 with RPIOS64 Trixie/Testing, all is still there. It is always dist-upgraded from an 2020-05-27 image. I guess Debian will keep sysV around for another release round.
But dpkg -L systemd-sysv shows things like
/usr/sbin/halt
/usr/sbin/init
/usr/sbin/poweroff
/usr/sbin/reboot
/usr/sbin/runlevel
/usr/sbin/shutdown

ls -l /usr/sbin/init
lrwxrwxrwx 1 root root 22 Jun 25 14:40 /usr/sbin/init -> ../lib/systemd/systemd

So a matter of when to do native systemd and get rid of all symlinks. Or maybe never and keep sysV symlinks/generation/compatibility around forever.

Statistics: Posted by redvli — Thu Jul 31, 2025 7:51 am



Viewing all articles
Browse latest Browse all 8023

Trending Articles