r/linux •

Systemd for Upstart users

[deleted] — view deleted post

0 Upvotes

91 comments sorted by

View all comments

Show parent comment

6

u/[deleted] Oct 15 '15 edited Oct 15 '15

Systemd attempts to do many things which could exist in isolated functionality.

Christ, have a look at the (growing) list of binaries that make up systemd:

/usr/lib/systemd/systemd
/usr/lib/systemd/systemd-ac-power
/usr/lib/systemd/systemd-activate
/usr/lib/systemd/systemd-backlight
/usr/lib/systemd/systemd-binfmt
/usr/lib/systemd/systemd-bootchart
/usr/lib/systemd/systemd-bus-proxyd
/usr/lib/systemd/systemd-cgroups-agent
/usr/lib/systemd/systemd-coredump
/usr/lib/systemd/systemd-cryptsetup
/usr/lib/systemd/systemd-export
/usr/lib/systemd/systemd-fsck
/usr/lib/systemd/systemd-hibernate-resume
/usr/lib/systemd/systemd-hostnamed
/usr/lib/systemd/systemd-import
/usr/lib/systemd/systemd-importd
/usr/lib/systemd/systemd-initctl
/usr/lib/systemd/systemd-journal-gatewayd
/usr/lib/systemd/systemd-journal-remote
/usr/lib/systemd/systemd-journal-upload
/usr/lib/systemd/systemd-journald
/usr/lib/systemd/systemd-localed
/usr/lib/systemd/systemd-logind
/usr/lib/systemd/systemd-machined
/usr/lib/systemd/systemd-modules-load
/usr/lib/systemd/systemd-networkd
/usr/lib/systemd/systemd-networkd-wait-online
/usr/lib/systemd/systemd-pull
/usr/lib/systemd/systemd-quotacheck
/usr/lib/systemd/systemd-random-seed
/usr/lib/systemd/systemd-remount-fs
/usr/lib/systemd/systemd-reply-password
/usr/lib/systemd/systemd-resolve-host
/usr/lib/systemd/systemd-resolved
/usr/lib/systemd/systemd-rfkill
/usr/lib/systemd/systemd-shutdown
/usr/lib/systemd/systemd-sleep
/usr/lib/systemd/systemd-socket-proxyd
/usr/lib/systemd/systemd-sysctl
/usr/lib/systemd/systemd-timedated
/usr/lib/systemd/systemd-timesyncd
/usr/lib/systemd/systemd-udevd
/usr/lib/systemd/systemd-update-done
/usr/lib/systemd/systemd-update-utmp
/usr/lib/systemd/systemd-user-sessions
/usr/lib/systemd/systemd-vconsole-setup

Almost all of these have no tight coupling with systemd as PID1 - they'll happily run under whatever init system you choose.

Did you know Archlinux old init system leveraged some of these tools, like systemd-modules-load and systemd-binfmt to avoid having to duplicate code between their sysvinit support and systemd?

One repo != monolith. Tools that work together != monolith. Sharing code != monolith.

They're mostly independent programs that are triggered - through service files (no special integration magic) - at boot, or are optionally enabled, or when certain conditions are met.