s6-supervise doesn't create service-lock file

From: Demi Marie Obenour <demiobenour_at_gmail.com>
Date: Thu, 25 Sep 2025 12:38:58 -0400

I tried using lock-fd for a service, and got this error in the logs:

s6-supervise systemd-udevd: warning: unable to open supervise/service-lock for writing (waiting 60 seconds): No such file or directory

The service is never actually started.

I suspect this is a bug in s6-supervise: it opens
supervise/service-lock without O_CREAT, so the file
is never created.

This can be worked around by using s6-setlock instead.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)


Received on Thu Sep 25 2025 - 18:38:58 CEST

This archive was generated by hypermail 2.4.0 : Thu Sep 25 2025 - 18:39:36 CEST