Catalin Rapiteanu d7a5842450 Source lsb init-functions directly in fm init scripts
The /etc/init.d/functions symlink was provided by the
centos-debian-compat package, which is being removed from trixie.
Source /lib/lsb/init-functions directly instead, which is the same
file the symlink pointed to. This keeps the init scripts working on
both bullseye and trixie.

fminit also called status(), a CentOS-style wrapper around
status_of_proc that was installed by the same package. Call
status_of_proc directly instead, passing the daemon path and name as
the function expects ("status_of_proc daemon name"). The pidfile
lookup is unchanged: it is derived from the daemon basename, so it
still resolves to /var/run/fmManager.pid.

Test Plan:
PASS: Build fm-rest-api and fm-mgr and verify the init scripts are
    installed
PASS: Boot trixie and bullseye images without centos-debian-compat
    and verify fm-api starts, stops and reports status
PASS: Boot trixie and bullseye images without centos-debian-compat
    and verify fminit starts, stops and reports status

Story: 2011909
Task: 55832

Assisted-By: Kiro (claude-sonnet-5.5)
Change-Id: I6f380ae8e778f0018030594d7266d11727e7cfe4
Signed-off-by: Catalin Rapiteanu <viorel-catalin.rapiteanu@windriver.com>
2026-10-23 11:30:44 +03:00
2023-08-29 17:33:47 -03:00
2019-04-19 19:52:34 +00:00
2021-09-01 08:58:34 -04:00
2018-05-31 07:36:00 -07:00
2023-07-19 10:48:29 -03:00

Fault Management (FM)

The starlingx/fault repository handles Fault Management (FM) services1, and provides the fm command-line interface (CLI)2.

This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest3.

References


  1. https://docs.starlingx.io/api-ref/fault↩︎

  2. https://docs.starlingx.io/cli_ref/fm.html↩︎

  3. https://opendev.org/starlingx/manifest.git↩︎

S
Description
StarlingX Fault Management
Readme Apache-2.0
7.4 MiB
2 Watchers 0 Forks
Languages
Python 74.2%
C++ 22%
Shell 2%
C 1%
Makefile 0.7%