Debian: ntp is not being monitored by pmon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Luis Eduardo Angelini Marquitti |
Bug Description
Brief Description
-----------------
The ntpd process is monitored by the maintenance process monitor (pmond) but has no recovery method.
Looks like the service file changed from ntpd.service in CentOS to ntp.service in Debian.
This needs to be correct in a way that handles both CentOS and Debian.
[sysadmin@
● ntp.service - Network Time Service
Loaded: loaded (/lib/systemd/
Active: active (running) since Fri 2022-07-29 19:34:06 UTC; 22h ago
Docs: man:ntpd(8)
Main PID: 67281 (ntpd)
Tasks: 2 (limit: 151609)
Memory: 952.0K
CPU: 4.214s
CGroup: /system.
[sysadmin@
Unit ntpd.service could not be found.
[sysadmin@
[process]
process = ntpd
Severity
--------
Minor: The ntpd process failure will not be recovered and will lead to a stuck alarm.
Steps to Reproduce
------------------
kill ntpd process ; "sudo pkill -int ntpd"
Expected Behavior
------------------
Process recovery and cleared alarm.
Actual Behavior
----------------
No process recovery and stuck alarm.
Reproducibility
---------------
100%
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
Any Debian load
Last Pass
---------
In CentOS where there is a recovery method and works fine.
Timestamp/Logs
--------------
2022-07-
Alarms
None. Process is not monitored.
Test Activity
-------------
Unit Testing
Workaround
----------
None
Changed in starlingx: | |
assignee: | nobody → Luis Eduardo Angelini Marquitti (leduard1) |
status: | New → In Progress |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.8.0 stx.config |
Fix proposed to branch: master /review. opendev. org/c/starlingx /stx-puppet/ +/864244
Review: https:/