Red Hat Bugzilla – Bug 979446
RFE: journald: provide API to register a callback for events
Last modified: 2015-03-03 18:07:25 EST
Description of problem:
The current journald API doesn't seem to provide a way to register a callback to events, so the only way to detect a new crash is to poll the journald which feels wrong - the polling is wrong and ABRT should react to the crash immediately, it also saves some data from /proc/<pid> which should be also somehow accessible when we give up the core_pattern hook to journald.
Version-Release number of selected component (if applicable):
Can't use journald core collection functionality without loosing features
Seamless transition to journald without loosing functionality
has been requested quite some time ago:
It is planned that messages carrying:
MESSAGE_ID=<128 bit uuid>
are able to "activate" services.
It's not entirely trivial to implement that, so it might take a while until we
get to it, considering the long TODO list we have at the moment.
It is in any case something that sounds useful and which we want for our own
stuff too, it's just not available or implemented at this moment in time.