Skip to content

servicelog_notify is not proper to act as a postscript #131

@pfliu

Description

@pfliu

In the spec,
%ifarch ppc64 ppc64le
servicelog_notify --remove --command=/usr/lib/kdump/kdump-migrate-action.sh 2>/dev/null
servicelog_notify --add --command=/usr/lib/kdump/kdump-migrate-action.sh --match='refcode="#MIGRATE" and serviceable=0' --type=EVENT --method=pairs_stdin >/dev/null
%endif

This works if the installation target is local. But in the case of bootc etc, the image-builder is not the installation target, and it is pointless to run "servicelog_notify" to register the event in the db, in fact, there is no access to the db on the image-builder machine.

This is reported in RHEL-71502

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions