Skip to content

[Improvement idea] Lack of post-stop chrony control in sfptpd service #18

@sasharozenson

Description

@sasharozenson

When running sfptpd alongside chrony, there’s a risk that chrony's clock control state may remain altered if sfptpd fails or crashes. Without specific commands to reset chrony's state after a failure, chrony may continue to operate in an unintended state, potentially affecting the clock.

Suggested Improvement

To address this, I propose adding an ExecStopPost command to the sfptpd.service file. This will ensure that if sfptpd stops unexpectedly, chrony’s state will be reset as needed.

ExecStopPost=/usr/libexec/sfptpd/chrony_clockcontrol.py enable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions