From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14817 invoked by alias); 21 Feb 2019 16:56:32 -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 14780 invoked by uid 89); 21 Feb 2019 16:56:31 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=BAYES_20,FREEMAIL_FROM,HTML_MESSAGE,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=well-known, wellknown, dbus, D-Bus X-HELO: vie01a-dmta-pe06-2.mx.upcmail.net Received: from vie01a-dmta-pe06-2.mx.upcmail.net (HELO vie01a-dmta-pe06-2.mx.upcmail.net) (84.116.36.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Feb 2019 16:56:30 +0000 Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe06.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1gwre7-0007Eh-CB for cygwin@cygwin.com; Thu, 21 Feb 2019 17:56:27 +0100 Received: from helix.aillwee.com ([37.228.204.209]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id wre6gRHiB2WSswre7g7Ura; Thu, 21 Feb 2019 17:56:27 +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 96EAA4E607 for ; Thu, 21 Feb 2019 16:56:25 +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: Thu, 21 Feb 2019 17:40:00 -0000 References: <287EA5C9-AEDB-417D-8E1D-29405AB24325@eircom.net> To: cygwin@cygwin.com In-Reply-To: <287EA5C9-AEDB-417D-8E1D-29405AB24325@eircom.net> Message-Id: <23766B16-3812-4D94-AA7C-C61C167A05C9@eircom.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-SW-Source: 2019-02/txt/msg00357.txt.bz2 Hello again. Further to the rather vague email below, here is a link to wha= t I did to install Shairport Sync on a fresh Cygwin installation:=20 https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md Regards Mike > 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 interface= -- when shairport-sync is installed as a service, it can't "own" a well-kn= own name on the "system" D-Bus. >=20 > I built a configuration and installer for shairport sync essentially by c= opying the avahi-daemon-config file. >=20 > The Avahi deamon uses the system D-Bus successfully under the username "S= YSTEM" and without (AFAICS) changing IDs. But for the life of me, I can't g= et Shairport Sync to work the same way. >=20 > Incidentally, if I change the D Bus policy file for Shairport Sync to be = allowed to own its well-known name on D Bus when running under the logged i= n account, everything is peachy. >=20 > Any suggestions gratefully received. Incidentally, I'm the main developer= of Shairport Sync -- https://github.com/mikebrady/shairport-sync. >=20 > Best wishes > Mike Brady >=20 -- 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