Web lists-archives.com

Re: Bug#922353: ITP: socket-activate -- Run a socket-activated daemon with minimal dependencies




On Sat, Feb 16, 2019 at 03:32:46PM +0100, Guillem Jover wrote:
> Hi!
> 
> On Fri, 2019-02-15 at 10:46:43 -0500, Daniel Kahn Gillmor wrote:
> > Control: clone 922353 -2
> > Control: reassign -2 dpkg
> > Control: retitle -2 start-stop-daemon should support socket-activation via the sd_listen_fds(3) convention
> > Control: severity -2 wishlist
> 
> Thanks.
> 
> > On Fri 2019-02-15 04:34:47 +0100, Guillem Jover wrote:
> > > Another option would be to implement this in start-stop-daemon, like
> > > the similar support for the systemd readiness protocol was recently
> > > implemented there too.
> > 
> > Thanks for the suggestion!  How widely-distributed is start-stop-daemon
> > outside of debian?  I see it's been ported to OpenBSD; are they
> > syncing from upstream?
> 
> <https://wiki.debian.org/Teams/Dpkg/Downstream>. For the BSDs to use
> this more seriously the code would probably need to be split into its
> own project, so that it does not pollute their licensing. Its current
> "license" might also need to be clarified (PD), and "relicensed" into
> MIT or similar.
> 
> This is something I've actually pondered doing anyway, so this might
> be a good excuse, I guess.
> 
> > The code i have is just python3 right now (simple argument parsing made
> > development much quicker), but it's not too terrible to do it in C.
> 
> Yes, and it should be pretty generic and portable.
> 
> > I'm opening this as a wishlist issue for dpkg just so we don't lose
> > track of it, since it might take me some cycles to get the C
> > implementation in shape.  If anyone else wants to beat me to it, i
> > certainly wouldn't complain :)
> 
> I'll probably look into it once I've gone over some of the immediate
> stuff I have on my plate, if there's been no patch submitted by then.
> :)

Here you go :)

https://gitlab.com/dkg/socket-activate/merge_requests/1#note_142084524

G'luck,
Peter

-- 
Peter Pentchev  roam@{ringlet.net,debian.org,FreeBSD.org} pp@xxxxxxxxxxxx
PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13

Attachment: signature.asc
Description: PGP signature