Am 13.09.23 um 15:14 schrieb Cornelius Hoffmann:
Package: systemd
Version: 252.12-1~deb12u1
Severity: normal

This issue was already reported upstream
(https://github.com/systemd/systemd/issues/26903) and is already
resolved upstream and shipped in release 254. The upstream PR for the
fix is
https://github.com/systemd/systemd/pull/28215.

A simple testcase is creating two unit files
```
# /etc/systemd/system/myservice.service
[Unit]
OnSuccess=mysuccess.service
StartLimitBurst=2
StartLimitIntervalSec=1h


[Service]
Type=oneshot
ExecStart=/usr/bin/false
Restart=on-failure

# /etc/systemd/system/mysuccess.service
[Service]
Type=oneshot
ExecStart=/usr/bin/true
```

Starting myservice.service also causes mysuccess.service to be started.
A backport of the pull request mentioned above would be nice.


This should be backported upstream and made available via the v252-stable branch

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

Reply via email to