Control: tags -1 + moreinfo unreproducible Hello Alexandre
Am 20.10.21 um 18:08 schrieb Alexandre Rossi:
Package: systemd Version: 247.3-6 Severity: normal Dear Maintainer, man:org.freedesktop.systemd1 says: JobRemoved() are sent out each time a new job is queued or dequeued. [...] done indicates successful execution of a job. However, when I subscribe to the JobRemoved signal and I restart a failing job, I get 'done' as a result.
I tried to reproduce this issue with a more minimal service: # systemctl cat fail.service # /etc/systemd/system/fail.service [Unit] Description=fail [Service] Type=oneshot ExecStart=/bin/false # systemctl start failJob for fail.service failed because the control process exited with error code. See "systemctl status fail.service" and "journalctl -xeu fail.service" for details.
$ python3 demo.py received event for unit fail.service with result failed Looks all fine to me.
OpenPGP_signature
Description: OpenPGP digital signature