Re: systemd rejecting messages from s6-notify-socket-from-fd

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Wed, 27 May 2026 11:49:52 +0000

>I tried replacing s6-notifyoncheck with s6-notify-socket-from-fd, but my
>service never becomes ready. systemd logs:
>
>systemd[1]: Extra notification messages sent with BARRIER=1, ignoring everything.
>
>Is it perhaps not valid to send BARRIER=1 in the same datagram as the
>other messages?

  Congratulations, you made me download the systemd git in order to
grep the message 😄

  And yes, it appears you're right:
https://github.com/systemd/systemd/blob/main/src/core/manager.c#L2796

  which is not intuitive at all from the client part that I modelled
s6-notify-socket-from-fd after:
https://github.com/systemd/systemd/blob/main/src/libsystemd/sd-daemon/sd-daemon.c#L676

  Ah well, it wouldn't be systemd if it was that easy.
  Thanks for the report, will fix.

--
  Laurent
Received on Wed May 27 2026 - 13:49:52 CEST

This archive was generated by hypermail 2.4.0 : Wed May 27 2026 - 13:50:33 CEST