Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(rpm): Delay Naemon restart until posttrans #456

Merged
merged 1 commit into from
Mar 2, 2024

Commits on Mar 1, 2024

  1. fix(rpm): Delay Naemon restart until posttrans

    The posttrans scriptlet executes after the RPM transaction has
    concluded, i.e. when all packages have been installed or upgraded.
    Delaying the Naemon restart until posttrans prevents API compatibility
    issues when naemon-core upgrades before naemon-livestatus. See
    naemon#454.
    
    Note that it is not possible to infer the RPM operation (install or
    upgrade) from the posttrans scriptlet argument, since they are the same:
    https://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets#Syntax
    This should not cause any problems since the scriptlet only restarts
    Naemon if it was already running. In other words, it won't cause Naemon
    to start immediately after installation.
    imre-sidn committed Mar 1, 2024
    Configuration menu
    Copy the full SHA
    5130816 View commit details
    Browse the repository at this point in the history