Create new version of systemd units
|Reported by:||Douglas R. Reno||Owned by:||Douglas R. Reno|
This will primarily be a cleanup release. Currently on my todo list for this:
================= BLFS SYSTEMD UNITS FIXES ================= - Remove obsolete kdm unit - Remove obsolete tor unit - Remove obsolete xinetd unit - Remove obsolete nscd unit - Samba AD Daemon (samba.service): Fix the PIDFile - Fix PID file in rpc-statd.service - Add conflicts to Postfix for exim and sendmail - Fix git-daemon to use /usr/libexec/git-core instead of /usr/lib/git-core - Add conflicts to Exim for postfix and sendmail - Add conflicts to dhclientat for dhcpcdat - Remove nscd.conf file since it's installed in LFS - NTPD (In NTP page itself) - correct PID file in /etc/ntp.conf - Add DJ's LSB Compliance stuff (LFS Ticket #4521)
For BLFS purposes, we should only have services/units for the packages which are in the book, and NSCD is also installed in glibc in LFS now rather than in BLFS (which was the case in around 2014 I think). Also, as noted above, add some conflicts:
For postfix, prevent installation of the unit if sendmail OR exim are installed. For Exim, prevent installation of the unit if sendmail OR postfix are installed. For dhclientat (dhclient@eth0), prevent installation of the unit if dhcpcd (dhcpcd@eth0) is installed.
There are a couple of PID File adjustments here for RPC-STATD (part of nfs-utils) and Samba (the AD server unit added by DJ). This is primarily to address incompatibilities with systemd-243.
The git-daemon executable has been moved to /usr/libexec/git-core from /usr/lib/git-core, so the unit file needs to be updated for that.
There are also a couple units that will get removed because their packages are either no longer in BLFS or never were in the first place.
I'll also analyze my logs for the packages that we have units for to see if any further changes need to be made as part of 243.