Skip to content

[Feature Request] Run patchman-client post action on RHEL #822

@glenmortt

Description

@glenmortt

It'd be great to have an analogue to Ubuntu's DPkg::Post-Invoke for RHEL.
Here's a proposed way:

  1. Install the plugin:
    sudo dnf install -y python3-dnf-plugin-post-transaction-actions # make it a dependency to patchman-client
  2. Configure post-transaction hook:
    echo "*:any:/bin/sh -c 'if [ -x /usr/sbin/patchman-client ]; then echo Sending report to patchman server...; /usr/sbin/patchman-client -n; fi'" | sudo tee /etc/dnf/plugins/post-transaction-actions.d/patchman.action > /dev/null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions