On 02/21/2018 10:07 PM, A. Wan wrote:
Is there even one other compelling reason for using systemd?
Many. To name a few, simple replacements for logging (journal), cron (timers), sntp, dhcp, resolver, on-demand daemons, etc. Simplified management of services, auto dependency resolution for services, services/sockets (analogous to init scripts and socket activation scripts for inetd) provided by upstream. New kernel features require it for some software, specifically cgroups and logind --Read: Gnome (though I hear it's now working fairly easily with elogind cut out of systemd (similar to eudev we currently use in sysv)). Simplified log parsing by unit (service, socket, timer, etc).
Now, there is lots of new stuff to learn, but for end users, not much gain (if any). But, keep in mind that the above are completely subjective. I'd be more than happy to find a replacement just because of the heavy hand, and I've been looking, but have yet to create a suitable replacement for my needs. Ultimately, it just comes down to personal preference.
By the way I haven't been able to get systemd to work because I cannot build a boot device that used systemd from a system that is not running systemd, because systemd's configuration programs will edit only the running operating system.
Not sure what you are referring to. I'll guess it has to do with running the *ctl programs? Yes these are intended for a running system. If you need to edit the settings prior to booting the system, just use an editor. If you happen to have specific examples, I can try to provide answers for where to edit if you should want to try it again.
I know there is some kind of special "chroot" (because normal "chroot" won't work), which of course, also requires the running operating to be running systemd.
The init system should have no bearing on your chroot environment, but I suspect that has to do with the first problem above. Not sure what your other issue are, I'd need to see specific errors, but will be more than happy to help if needed. I've managed to build LFS-systemd from a current LFS-SysV less than a week ago.
--DJ -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
