I have been using `--print-pid=3` as readiness notification for dbus-daemon
for quite a while now on my user services and I haven't had any problems
with it so far. IIRC, looking at dbus-daemon code, it actually prints the
socket address first then its pid. So, I use the `--print-address=` option
On Sat, Apr 6, 2024, 19:43 Guillermo wrote:
> But then, there is a problem if one actually wants the server address
> information that --print-address provides. Alexis' 'run' script for
> example wants to save that to a file (apparently in a directory
> suitable for s6-envdir). If the output is
But then, there is a problem if one actually wants the server address
information that --print-address provides. Alexis' 'run' script for
example wants to save that to a file (apparently in a directory
suitable for s6-envdir). If the output is sent to the notification
pipe instead,
El mié, 3 abr 2024 a las 8:37, Laurent Bercot escribió:
>
> >2) The presence of a notification-fd file tells s6 that dbus-daemon
> >can be somehow coerced into producing an s6-style readiness
> >notification using file descriptor 3 without changing its code, are
> >you sure that's the case with
2) The presence of a notification-fd file tells s6 that dbus-daemon
can be somehow coerced into producing an s6-style readiness
notification using file descriptor 3 without changing its code, are
you sure that's the case with this script? My service definition for
the system-wide message bus
Guillermo writes:
1) Why are you telling dbus-daemon to --fork? That defeats the
purpose
of service supervision. The service definition for the
system-wide
message bus that I have on a Gentoo VM of mine with s6 + s6-rc +
s6-linux-init uses --nofork.
2) The presence of a notification-fd
Hi Hoël,
Thanks for your reply!
Hoël Bézier writes:
I feel you. IRC without bouncer is not always great for getting
help
on some topics. ^^’
:-) Yeah, most of the time that i'm on IRC - which is rarely
nowadays, due to the aforementioned "lots on my plate" issue -
it's usually to try
Hello,
El mar, 2 abr 2024 a las 1:42, Alexis escribió:
>
>
> S6RC_SERVICE_REPO=${HOME}/src/srht/gentoo-overlay/sys-apps/s6-rc-services/files/
>
> * The above directory contains two service directories:
> ** dbus-session-bus/, containing:
> *** type: longrun
> *** notification-fd: 3
> ***
Hi,
(resending this to the list as I only replied to Alexis, sorry Alexis for the
double send.)
Am Tue, Apr 02, 2024 at 03:42:06PM +1100 schrieb Alexis:
Hi all,
Laurent has suggested i ask on IRC about this, but since (a) i'm
in UTC+10, (b) i'm constantly moving between a few different
Hi all,
Laurent has suggested i ask on IRC about this, but since (a) i'm
in UTC+10, (b) i'm constantly moving between a few different
networks, and (c) my bouncer is currently out of action (it's a
Story), i thought i'd ask on these lists instead, to facilitate
asynchronous replies. :-)
10 matches
Mail list logo