Bug#863601: systemd-notify doesn't work because of race condition
Michael Biebl
biebl at debian.org
Sat Mar 9 23:21:55 GMT 2019
Control: forwarded -1 https://github.com/systemd/systemd/issues/2739
On Thu, 1 Jun 2017 17:50:27 +0200 Michael Biebl <biebl at debian.org> wrote:
> On Mon, 29 May 2017 09:20:52 +0200
> =?UTF-8?B?0JDQvdC00YDQtdC5INCU0L7RhtC10L3QutC+?= <cnconlinux at gmail.com>
> wrote:
> > 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.
>
> Can you please share the complete unit file and the script you used so
> we have a minimal test case to reproduce the issue.
I tried the test service that was linked in the bugzilla bug report but
was not able to reproduce the issue.
Do you still see the problem with a recent version of systemd?
That said, I suppose the referenced upstream bug report is about the
same issue and still marked as unfixed. So tentatively marking the bug
as forwarded.
Regards,
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190310/524b30b8/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list