HowTo: systemd on Exherbo
Exherbo / October 18, 2010

This comes up all too often, so here’s a HowTo for systemd on Exherbo: You have to run a Linux kernel >=2.6.39. The new kernel is only needed at runtime, not for building systemd. You should run a Linux kernel >=3.8. The new kernel is only needed at runtime, not for building systemd. Kernel options for systemd: cf. systemd’s README, here’s an excerpt: CONFIG_DEVTMPFS CONFIG_CGROUPS (it’s OK to disable all controllers) CONFIG_INOTIFY_USER CONFIG_SIGNALFD CONFIG_TIMERFD CONFIG_EPOLL CONFIG_NET CONFIG_SYSFS Linux kernel >= 3.8 for Smack support Udev will fail to work with the legacy layout: CONFIG_SYSFS_DEPRECATED=n Legacy hotplug slows down the system and confuses udev: CONFIG_UEVENT_HELPER_PATH=”” Userspace firmware loading is deprecated, will go away, and sometimes causes problems: CONFIG_FW_LOADER_USER_HELPER=n Some udev rules and virtualization detection relies on it: CONFIG_DMIID Mount and bind mount handling might require it: CONFIG_FHANDLE Optional but strongly recommended: CONFIG_IPV6 CONFIG_AUTOFS4_FS CONFIG_TMPFS_POSIX_ACL CONFIG_TMPFS_XATTR CONFIG_SECCOMP For systemd-bootchart a kernel with procfs support and several proc output options enabled is required: CONFIG_PROC_FS CONFIG_SCHEDSTATS CONFIG_SCHED_DEBUG For UEFI systems: CONFIG_EFI_VARS CONFIG_EFI_PARTITION Furthermore: CONFIG_FANOTIFY=y (only used for readahead stuff which is not enabled by default.) CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y (only used for readahead stuff which is not enabled by default.)   Set the “systemd” option globally in /etc/paludis/options.conf: */* systemd Install…