Recently almost every distribution started switching to systemd
as init replacement, including the upcoming Debian release, jessie.
Also, Gnome3 and other tools depend on systemd via logind or the like.
While I agree that the process management of systemd is wonderful and clearly beats sysvinit
, systemd has some issues that are not yet been really dealt with:
systemctl disable apt-daily-upgrade.timer apt-daily.timer ; systemctl stop apt-daily-upgrade.timer apt-daily.timer
Yes, PID 1 code and PID 1 reloading are being tested a lot, but considering the damage a single once-in-a-milllion incident can do, that's ...
Too much for my own taste, especially for servers running 24x7 services, particularily for Virtual Root hosting like OpenVZ on which we rely for almost everything.
I assume the issues mentioned above will be dealt with in the mid to far future, because over time "enough" incidents will occur ...
Several projects try to solve this painful situation:
Not sure yet. Perhaps blocking systemd with a pin priority of -1 (see below) before the dist-upgrade is all that's needed. Input welcome.
# Approach: # 1. install replacements for things to remove # 2. remove any package depending on systemd or containing "systemd" # Exception: libsystemd0. This only seems to contain functions for software that optionally can use systemd. apt-get install sysvinit-core # recommend to reboot, because removing systemd while it's the active init system usually fails reboot # remove the "evil" # on some of my systems this removed xfce4, vlc, ..., not sure why, I was able re-install most of those apt-get remove systemd libsystemd-journal0 systemd-shim # check for other systemd packages dpkg -l |grep systemd |grep -v libsystemd0 # evtl. get rid of things that are not required any more apt-get autoremove |
To prevent "Recommendations" from beeing treated as dependencies, edit an existing /etc/apt/apt.conf.d/99synaptic
, or create some /etc/apt/apt.conf.d/999_suppress_install-recommends
to contain this:
APT::Install-Recommends "false"; # or simple echo 'APT::Install-Recommends "false";' >>/etc/apt/apt.conf.d/999_suppress_install-recommends |
To block systemd 100%, specify a negativ pin priority in /etc/apt/preferences.d/pin
:
Package: systemd Pin: release * Pin-Priority: -1 |
If you have are make multiple entries, don't forget to separate each paragraphs with an empty line.
To get a full list call apt-cache showpkg x-display-manager
and look below "Reverse Provides:".
xdm
. The original display manager. Doesn't even allow to choose among installed window managers
wdm
. (WINGs display manager). Like xdm in WindowMaker style, with window manager selection, but no locale selection.slim
. Really slim, F1 rotates through available sessions (window managers)lightdm
. Allows to choose window manager and locale. Pulls in libpam-systemd
but allows to remove it afterwards.startx
". Not a display manager of course, but in some setups one doesn't need a display manager.xfce4
(screenshots), my favourite. But there are add-ons, namely xfce4-power-manager, that depend on systemdopenbox
(screenshots). Rudimentary but may all one needs. Comes without a taskbar but supports others like xfce4-panel
.A long list of window managers can be found at http://www.gilesorr.com/wm/table.html.
wicd
, with wicd-gtk
or wicd-kde
as frontend manages LAN and WLAN connections ok.wvdial
was always my favourite for dial-up connectivitysshfs
.To be continued ...