Re: s6, listen(8), etc.

2016-09-05 Thread Daniel Kahn Gillmor
On Mon 2016-09-05 02:48:54 -0400, Jonathan de Boyne Pollard wrote: > Daniel Kahn Gillmor: > >> #!/bin/sh >> mkdir -p /run/kresd/workdir && \ >> setfacl -m u:kresd:rwx /run/kresd/workdir && \ >> cd /run/kresd/workdir && \ >> exec listen -udp::53 \ >>

Re: Mass bug filing: use and misuse of dbus-launch (dbus-x11)

2016-09-05 Thread Steve Litt
On Sun, 4 Sep 2016 17:30:43 +0100 Jonathan de Boyne Pollard wrote: > Simon McVittie: > > > This can already work. If you put XDG_RUNTIME_DIR in user programs' > > environment, and arrange for your favourite service manager to make > > a dbus-daemon (or

Re: s6, listen(8), etc.

2016-09-05 Thread Jonathan de Boyne Pollard
Laurent Bercot: how does the daemon know what fd corresponds to what use? In the wild, it's generally a for() loop over the passed-in descriptors that checks each socket type. In the wild, only one of any type is often the case. "If AF_INET4 and SOCK_DGRAM, this must be my UDP4 socket."

Re: s6, listen(8), etc.

2016-09-05 Thread Jonathan de Boyne Pollard
Daniel Kahn Gillmor wrote: So i'm hoping that it'll find a taker in one of these more toolkit-style supervisor suites. http://jdebp.eu./Softwares/nosh/#Features socket services section