8 ms·
You can still use sysvinit, I've already tested servers and desktop builds. From my build box: chroot $MOUNTPOINT/ /bin/bash -c "http_proxy=$aptproxy apt-ge
by b112 1y ago
You can still use sysvinit, I've already tested servers and desktop builds.
From my build box:
chroot $MOUNTPOINT/ /bin/bash -c "http_proxy=$aptproxy apt-get -y --purge --allow remove-essential install sysvinit-core sysvinit-utils systemd-sysv- systemd-"
There is a weird depends you cannot get around without simultaneously removing and installing in parallel. A Debian bug highlighted the above, with a "-" for systemd-sysv- systemd- as a fix, along with allow remove essential.
After this fix, sysvinit builds with debootstrap were almost identical as to bookworm. This includes for desktops.
As per with bookworm through buster, you'll still need something like this too:
$ cat /etc/apt/preferences.d/systemd
# this is the only systemd package that is required, so we up its priority first...
Package: libsystemd0
Pin: release trixie
Pin-Priority: 700
# exclude the rest
Package: systemd
Pin: release *
Pin-Priority: -1
Package: *systemd*
Pin: release *
Pin-Priority: -1
Package: systemd:i386
Pin: release *
Pin-Priority: -1
Package: systemd:amd64
Pin: release *
Pin-Priority: -1
- egorfine 1y agoWait, sysvinit on debian 13 truly practically works?? as in, one can remove systemd and have a working server OS with sysv init??
- b112 1y agoYes. I run a full desktop too, without it. Multiple variants. I don't use gnome's Desktop Environment though (although I do run gtk/gnome software), so cannot comment on that.
- UncleSlacky 1y agoYes, MX Linux will be doing this (as a separate ISO, until now they're been able to provide a single ISO that lets you choose between systemd and sysvinit at every boot): https://mxlinux.org/blog/changes-coming-with-mx-25/ https://mxlinux.org/blog/changes-coming-with-mx-25/
- foresto 1y agoThank you for sharing this. I'm inclined to adopt it in my lxc containers, at least.
- RVuRnvbM2e 1y agoWhy would you want to do this?
- dur-randir 1y agoI've been living with sysvinit up until Debian 11. Then it became unusable with lxc containers :(, so I had to bite the bullet. But for the basic system it indeed works.
- JdeBP 1y agoI can credit you, in version 1.42, with more than a hyperlink to random posts on Hacker News if you have something better elsewhere on the WWW. (-: * https://jdebp.uk/Softwares/nosh/guide/services/systemd-logind.html https://jdebp.uk/Softwares/nosh/guide/services/systemd-login...