From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121183 invoked by alias); 22 Feb 2019 10:21:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 121147 invoked by uid 89); 22 Feb 2019 10:21:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,HTML_MESSAGE,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*c:alternative, life, H*c:HHHH, H*c:HHHHHHHH X-HELO: vie01a-dmta-pe07-3.mx.upcmail.net Received: from vie01a-dmta-pe07-3.mx.upcmail.net (HELO vie01a-dmta-pe07-3.mx.upcmail.net) (84.116.36.19) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 22 Feb 2019 10:21:01 +0000 Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe07.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1gx7wv-0003AW-44 for cygwin@cygwin.com; Fri, 22 Feb 2019 11:20:57 +0100 Received: from helix.aillwee.com ([37.228.204.209]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id x7wugtTs12WSsx7wugIj6s; Fri, 22 Feb 2019 11:20:57 +0100 X-Env-Mailfrom: mikebrady@eircom.net X-Env-Rcptto: cygwin@cygwin.com X-SourceIP: 37.228.204.209 Received: from brady.scss.tcd.ie (brady.scss.tcd.ie [134.226.35.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by helix.aillwee.com (Postfix) with ESMTPSA id 2FC354E607 for ; Fri, 22 Feb 2019 10:20:55 +0000 (GMT) From: Mike Brady Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Question about D-Bus and cygrunsrv Date: Fri, 22 Feb 2019 15:14:00 -0000 References: <287EA5C9-AEDB-417D-8E1D-29405AB24325@eircom.net> <23766B16-3812-4D94-AA7C-C61C167A05C9@eircom.net> <20190222095525.GN4256@calimero.vinschen.de> To: cygwin@cygwin.com In-Reply-To: <20190222095525.GN4256@calimero.vinschen.de> Message-Id: <9206BDB6-3B7B-43F5-833D-A97524DF3635@eircom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-02/txt/msg00371.txt.bz2 Thanks for the response, Corinna, and the suggestion. I will do that and co= me back to you guys. Mike > On 22 Feb 2019, at 09:55, Corinna Vinschen wr= ote: >=20 > Hey Mike, >=20 > On Feb 21 16:56, Mike Brady wrote: >> Hello again. Further to the rather vague email below, here is a link to = what I did to install Shairport Sync on a fresh Cygwin installation:=20 >>=20 >> https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md <= https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md> > >>=20 >> Regards >> Mike >>=20 >>=20 >>> On 20 Feb 2019, at 21:50, Mike Brady wrote: >>>=20 >>> Hi there. I'm trying to set up Shairport Sync as a CYGWIN service, and = I'm trying to use cygrunsrv. >>>=20 >>> Briefly, I can get everything to work properly except the D-Bus interfa= ce -- when shairport-sync is installed as a service, it can't "own" a well-= known name on the "system" D-Bus. >>>=20 >>> I built a configuration and installer for shairport sync essentially by= copying the avahi-daemon-config file. >>>=20 >>> The Avahi deamon uses the system D-Bus successfully under the username = "SYSTEM" and without (AFAICS) changing IDs. But for the life of me, I can't= get Shairport Sync to work the same way. >>>=20 >>> Incidentally, if I change the D Bus policy file for Shairport Sync to b= e allowed to own its well-known name on D Bus when running under the logged= in account, everything is peachy. >>>=20 >>> Any suggestions gratefully received. Incidentally, I'm the main develop= er of Shairport Sync -- https://github.com/mikebrady/shairport-sync. >>>=20 >>> Best wishes >>> Mike Brady >>>=20 >=20 > You have been heard, but I have not the faintest clue what d-bus or, > FWIW, avahi are doing. Ideally, if you could break down the problem > to a simple, self-contained testcase which shows what exactly is not > working on a plain libc level, help may be possible :} >=20 >=20 > Corinna >=20 > --=20 > Corinna Vinschen > Cygwin Maintainer -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple