Opened 2 years ago

Last modified 18 months ago

#4521 new task

Configure systemd sysv-compat for LSB compliance

Reported by: DJ Lucas Owned by: lfs-book
Priority: lowest Milestone: Future
Component: Book Version: systemd
Severity: normal Keywords:
Cc:

Description

  1. Create a "install-systemd" target in the LFS-Bootscripts package to provide SysV compat directory layout and install /lib/lsb/init-functions
  2. Create a lsb-facilities "bootscript" for systemd that does nothing but exit(0) and provide all of the required LSB facilities. Link to /etc/rc.d/rcS.d/S00lsb-facilities and /etc/rc.d/rc{0,6}/K99lsb-facilities (make Required-Start: $first, and Required-Stop: $last).
  3. Preferably, install this with the systemd package in LFS (not BLFS) so the existing note can remain without further complicating BLFS.

Change History (7)

comment:1 by DJ Lucas, 2 years ago

On second thought, this could be configured in BLFS with the blfs-systemd-units package. There is some risk of divergence, but it's minimal (when was the last time that init-functions was updated?). Just need a para to install from LSB-Tools package in BLFS-systemd.

comment:2 by Douglas R. Reno, 2 years ago

DJ, do you think this would be more efficient in BLFS or LFS?

comment:3 by Douglas R. Reno, 2 years ago

I'll drop this into BLFS systemd units, but I'd like to make it fully optional. I've been meaning to look into the PID problems in lightdm anyway that I spotted around 9.0's release cycle (but long after the package was tagged).

comment:4 by Douglas R. Reno, 2 years ago

Owner: changed from lfs-book to Douglas R. Reno
Status: newassigned

comment:5 by Bruce Dubbs, 22 months ago

Owner: changed from Douglas R. Reno to lfs-book
Status: assignednew

comment:6 by Bruce Dubbs, 19 months ago

Milestone: 9.19.2

comment:7 by Douglas R. Reno, 18 months ago

Milestone: 9.2Future
Priority: normallowest

At this point, let's mark this as a "Nice to have", until DJ is ready to take care of this

Note: See TracTickets for help on using tickets.