The Debian technical committee vote concludes
The Debian technical committee vote concludes
Posted Feb 11, 2014 16:58 UTC (Tue) by rahvin (guest, #16953)In reply to: The Debian technical committee vote concludes by tsmithe
Parent article: The Debian technical committee vote concludes
Posted Feb 11, 2014 18:53 UTC (Tue)
by dfsmith (guest, #20302)
[Link] (14 responses)
Look at the dependency lists (1st level):
sysvinit (132kB): libc6, libselinux1, libsepol1, debianutils, initscripts, sysv-rc, sysvinit-utils
upstart (486kB): libc6, libdbus-1-3, libjson0, libnih-dbus1, libnih1, libselinux1, libudev0, sysvinit-utils, sysv-rc, initscripts, mountall, ifupdown, udev
systemd (1445kB): libacl1, libaudit0, libc6, libcap2, libcryptsetup4, libdbus-1-3, libkmod2, liblzma5, libpam0g, libselinux1, libsystemd-daemon0, libsystemd-id128-0, libsystemd-journal0, libsystemd-login0, libudev0, libwrap0, util-linux, initscripts, udev, dpkg
Posted Feb 11, 2014 19:11 UTC (Tue)
by proski (subscriber, #104)
[Link] (5 responses)
util-linux, initscripts and udev belong to a minimal system, so the dependency is a non-issue.
Dependencies of some libraries can be made dynamic. Yes, systemd is still a big thing, but so is a modern OS.
Posted Feb 11, 2014 19:20 UTC (Tue)
by bluss (guest, #47454)
[Link] (3 responses)
Posted Feb 11, 2014 22:44 UTC (Tue)
by anselm (subscriber, #2796)
[Link] (1 responses)
The problem here is that systemd does various useful things by itself that the other inits either don't do at all or push into (optional) other packages that helpfully come with init scripts so there is no dependency on that package on the part of the init systems. If these other packages then depend on other stuff, that other stuff will not show up in the init's list of dependencies.
Chances are that if you examine the transitive closure over all dependencies rather than just the direct dependencies of the init system, the difference between a system based on systemd and one based on SysV init with the same functionality will no longer be all that great.
Posted Feb 14, 2014 10:16 UTC (Fri)
by Wol (subscriber, #4433)
[Link]
I thought one of the major selling points of systemd was that a 100-line systemd init script was *huge*. For sysvinit that's miniscule, isn't it?
So while systemd itself may be pretty large for an init system, that is far more than compensated for by the reduction in size in packages that make use of it.
Cheers,
Posted Feb 14, 2014 8:20 UTC (Fri)
by smurf (subscriber, #17840)
[Link]
Of more interest is the main memory which systemd-as-PID-1 actually uses. That boils down to 2.8MB on my system, vs. 0.8MB for sysvinit. Compared with its long list of features, that's not bad at all.
Posted Feb 14, 2014 7:54 UTC (Fri)
by smurf (subscriber, #17840)
[Link]
Posted Feb 11, 2014 19:46 UTC (Tue)
by dag- (guest, #30207)
[Link] (1 responses)
Only systemd understands ACLs (libacl), integrates with the auditing framework (libaudit), can use Linux/POSIX capabilities (libcap), integrates with crypted block devices (libcryptsetup), integrates with the recent kernel module interface (libkmod), integrates with PAM (libpam), integrates with udev (libudev), integrates with tcp_wrappers (libwrap).
This is all a good thing, since all of the above means richness and a full-featured init/xinet-system. What's worrying is that upstart doesn't seem to have the same integration. For sysvinit the above complexity (when available) is moved to the scripts on a case-by-case basis, with no consistency at all.
What I do not understand is why systemd is lacking SELinux support (libselinux/libsepol) maybe because it was disabled on build ?
Posted Feb 11, 2014 20:18 UTC (Tue)
by jspaleta (subscriber, #50639)
[Link]
Posted Feb 11, 2014 20:01 UTC (Tue)
by vonbrand (subscriber, #4458)
[Link]
Check also the slew of programs called from the rc scripts and the "libraries" of functions they call for a balanced comparison.
Posted Feb 11, 2014 21:10 UTC (Tue)
by rodgerd (guest, #58896)
[Link] (3 responses)
1/ systemd is a blob that does everything.
Posted Feb 12, 2014 16:26 UTC (Wed)
by rgmoore (✭ supporter ✭, #75)
[Link] (2 responses)
I think the basic idea is that systemd tries to do too many low-level things that really ought to be broken up. That results in it being large by itself and it having a large number of dependencies.
Posted Feb 12, 2014 16:49 UTC (Wed)
by HelloWorld (guest, #56129)
[Link] (1 responses)
Posted Feb 12, 2014 22:17 UTC (Wed)
by vonbrand (subscriber, #4458)
[Link]
... and those tasks are done in separate, small, simple binaries.
Posted Feb 12, 2014 11:57 UTC (Wed)
by jond (subscriber, #37669)
[Link]
The Debian technical committee vote concludes
systemd depends on dpkg? I think it's some Debian technicality. It's not the case on Fedora :)
The Debian technical committee vote concludes
Those were stats for wheezy (stable), stats for jessie (current testing) are:
The Debian technical committee vote concludes
Version: 204-6
Installed size: 4984 KB
Depends: libacl1, libaudit1, libc6, libcap2, libcryptsetup4, libdbus-1-3,
libgcrypt11, libkmod2, liblzma5, libpam0g, libselinux1, libsystemd-daemon0,
libsystemd-journal0, libudev1, libwrap0, libsystemd-login0, util-linux,
initscripts, udev, acl, adduser
Recommends: libpam-systemd
The Debian technical committee vote concludes
The Debian technical committee vote concludes
Wol
The Debian technical committee vote concludes
The Debian technical committee vote concludes
The Debian technical committee vote concludes
The Debian technical committee vote concludes
The Debian technical committee vote concludes
The Debian technical committee vote concludes
2/ systemd has too many external dependencies.
The Debian technical committee vote concludes
The Debian technical committee vote concludes
The Debian technical committee vote concludes
The Debian technical committee vote concludes