Systemd

From SprezzOSWiki
Revision as of 18:53, 20 February 2013 by Dank (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

systemd is the "master process" of a SprezzOS instance. It is the first userspace process invoked following the kernel/initramfs, and lives as PID 1 throughout the instance, playing the traditional role of /sbin/init (indeed, /sbin/init is a symlink to /lib/systemd/systemd on a typical SprezzOS box).

The Debian packages from which we derived generally did not ship systemd service files, though some upstream projects did ship their own. For each such package, we must add systemd support. We want to remain compatible with the Debian /etc/default system, so our systemd units specify these as EnrionmentFile entries as appropriate. The sysvinit file installed into /etc/init.d, however, is removed, and symlinks are no longer set up in /etc/rc.d.

Conversion

Service Unit file Starts appropriately? Stops appropriately?
DBUS Yes, 1.6.8-SprezzOS1 Yes, 1.6.8-SprezzOS1
GPM No, 1.99.7-SprezzOS1git20130208 N/A
OpenNTPD Yes, 20080406p-SprezzOS8 Yes, 20080406p-SprezzOS8
OpenSSH Yes, 1:6.1p1-SprezzOS13 Yes, 1:6.1p1-SprezzOS13
Postfix Broken, 2.10.0-SprezzOS1 N/A

See Also