From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS202042 185.6.76.0/22 X-Spam-Status: No, score=-1.6 required=3.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_NONE shortcircuit=no autolearn=unavailable version=3.3.2 X-Original-To: unicorn-public@bogomips.org Received: from mailer.skroutz.gr (mailer.skroutz.gr [185.6.78.18]) by dcvr.yhbt.net (Postfix) with ESMTP id ADF23203BB for ; Tue, 30 Jun 2015 08:47:49 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailer.skroutz.gr (Postfix) with ESMTP id C6F592A4281; Tue, 30 Jun 2015 11:47:47 +0300 (EEST) Received: from mailer.skroutz.gr ([127.0.0.1]) by localhost (mailer.skroutz.gr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ah_kS9-pT-cm; Tue, 30 Jun 2015 11:47:47 +0300 (EEST) Received: from luke.ws.skroutz.gr (luke.ws.skroutz.gr [185.6.78.148]) by mailer.skroutz.gr (Postfix) with ESMTPSA id 61C1D2A4135; Tue, 30 Jun 2015 11:47:47 +0300 (EEST) Date: Tue, 30 Jun 2015 11:47:46 +0300 From: Christos Trochalakis To: Eric Wong Cc: Dmitry Smirnov , Hleb Valoshka <375gnu@gmail.com>, unicorn@packages.debian.org, unicorn-public@bogomips.org Subject: Re: [RFC] emulate sd_listen_fds for systemd support Message-ID: <20150630084746.GA6022@luke.ws.skroutz.gr> References: <3137844.nsIDTWmvl4@debstor> <20150625083118.GA22140@luke.ws.skroutz.gr> <20150625232626.GA23882@dcvr.yhbt.net> <20150626114129.GA25883@luke.ws.skroutz.gr> <20150627030501.GA24759@dcvr.yhbt.net> <20150627040136.GA13070@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20150627040136.GA13070@dcvr.yhbt.net> User-Agent: Mutt/1.5.23 (2014-03-12) List-Id: On Sat, Jun 27, 2015 at 04:01:36AM +0000, Eric Wong wrote: >Unfortunately, testing this is tricky because FD=3 >(SD_LISTEN_FDS_START) tends to be grabbed by (MRI) Ruby 1.9.3 >and onwards for the internal self-pipe. > >So for now, I've manually tested this with a systemd installation > >Disclaimer: this is also my first experience using systemd > I have also tested it and works as expected. Also, hardcoding SD_LISTEN_FDS_START seems like the best option. I 'd like to see that applied to master.