Bug#863601: systemd-notify doesn't work because of race condition
Андрей Доценко
cnconlinux at gmail.com
Mon May 29 08:20:52 BST 2017
Package: systemd
Version: 232
I used unit-file with options below:
Type=notify
NotifyAccess=all
Command `systemd-notify --ready` worked only once. All other times it did
nothing. Service was killed by systemd after timeout. systemd-notify
returned zero code (success). No error was reported.
Workaround script I used to solve the issue:
inport systemd.daemon;
systemd.daemon.notify('READY=1')
Another bug report might describe the same issue:
https://bugzilla.redhat.com/show_bug.cgi?id=982376
But in my case everything works without any sleeps.
I use Debian 9 Stretch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170529/7214bb72/attachment-0001.html>
More information about the Pkg-systemd-maintainers
mailing list