X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:mime-version:subject:date:references:to
	:in-reply-to:message-id:content-type:content-transfer-encoding;
	 q=dns; s=default; b=VGzRXEuxi4NjVE+EnEHZhmp6yHo3Yb4ZMU8K7envTqg
	K1zGnytO6+D6zhuroGMQzY2CT8Wd2bjK7wu5s8H5c8TTv6FfDPSSjcXHKWflpORP
	QXL7JkH53qvwqSauFd8XuCs6+u1QhpWYQ7cSuAow7VQ/Sur+Q9W4mLlghOH5tTxI
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:from:mime-version:subject:date:references:to
	:in-reply-to:message-id:content-type:content-transfer-encoding;
	 s=default; bh=gOCnZ3tuWjY7ra6oInKPb1nO2Pw=; b=yKDgDPyjp00ycqAu2
	cKJsq5VSDOsPmgTsr4r4Z7pYZ/Y8qIxxwvmzxLIqXnlcGccy34vYK7lkvf/WfUzi
	0pNUgdk0JPVOTI9AKOREzYDU2K4gG5KmaNVQJQOG/81jjfAZDUR5CyG7eTz+TLOB
	hhITZb0mR+HSTvPM84qgVYtg6A=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
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
X-Env-Mailfrom: mikebrady@eircom.net
X-Env-Rcptto: cygwin@cygwin.com
X-SourceIP: 37.228.204.209
From: Mike Brady <mikebrady@eircom.net>
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 10:20:53 +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: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x1MALEAo009096

Thanks for the response, Corinna, and the suggestion. I will do that and come back to you guys.
Mike


> On 22 Feb 2019, at 09:55, Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> 
> Hey Mike,
> 
> 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: 
>> 
>> https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md <https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md> <https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md <https://github.com/mikebrady/shairport-sync/blob/development/CYGWIN.md>>
>> 
>> Regards
>> Mike
>> 
>> 
>>> On 20 Feb 2019, at 21:50, Mike Brady <mikebrady@eircom.net> wrote:
>>> 
>>> Hi there. I'm trying to set up Shairport Sync as a CYGWIN service, and I'm trying to use cygrunsrv.
>>> 
>>> 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-known name on the "system" D-Bus.
>>> 
>>> I built a configuration and installer for shairport sync essentially by copying the avahi-daemon-config file.
>>> 
>>> 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.
>>> 
>>> 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 in account, everything is peachy.
>>> 
>>> Any suggestions gratefully received. Incidentally, I'm the main developer of Shairport Sync -- https://github.com/mikebrady/shairport-sync.
>>> 
>>> Best wishes
>>> Mike Brady
>>> 
> 
> 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 :}
> 
> 
> Corinna
> 
> -- 
> 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


