X-Recipient: archive-cygwin AT delorie DOT 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:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=cVr7nuPk72QNdm6NzfUOc+vZNg8/7cUlIl5QmHdyehSDEywsBf/UV uVgs5gxB49QWTdN++dvGUA4m73RECwStVmAjKzO0uTgjFURy7IQp47t6RW4oiGDA CkwcMOSUmR5FGP6uK8lHq1gq614Tmg2F+TudSmMdzuMm+tfD9BYqj0= 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:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=4q3rUzJuvq5FXpQol7hz3KWsaYA=; b=OPkuR93BbgLiJ+5p8Dm5KGNkNpK5 uR2QM0iOqOUQiG2tObB78ZO4gi6S3IZ98awuj2hJVVxT5BugJmAkG4Mrzo1EKt/i 5pwxM/fwL5QUxpvLy0SzdgcFTZsK0jzQygh3W29+M3ClMXv1I8R3Se2DCQt01W+h hevZYeqJ+fH0eJI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-99.0 required=5.0 tests=BAYES_20,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=selfcontained, self-contained, well-known, wellknown X-HELO: mout.kundenserver.de Date: Fri, 22 Feb 2019 10:55:25 +0100 From: Corinna Vinschen To: Mike Brady Cc: cygwin AT cygwin DOT com Subject: Re: Question about D-Bus and cygrunsrv Message-ID: <20190222095525.GN4256@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Mike Brady , cygwin AT cygwin DOT com References: <287EA5C9-AEDB-417D-8E1D-29405AB24325 AT eircom DOT net> <23766B16-3812-4D94-AA7C-C61C167A05C9 AT eircom DOT net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oTjmB4SGUHx7SKxS" Content-Disposition: inline In-Reply-To: <23766B16-3812-4D94-AA7C-C61C167A05C9@eircom.net> User-Agent: Mutt/1.10.1 (2018-07-13) --oTjmB4SGUHx7SKxS Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Mike, On Feb 21 16:56, Mike Brady wrote: > Hello again. Further to the rather vague email below, here is a link to w= hat I did to install Shairport Sync on a fresh Cygwin installation:=20 >=20 > 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 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 --=20 Corinna Vinschen Cygwin Maintainer --oTjmB4SGUHx7SKxS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlxvxw0ACgkQ9TYGna5E T6AaZg/9Fqp5v4v78uNH/zJaUZBbSAU8weoOK8nzFXqQ6W4rSv4IsGkc4pGdvil/ /y/WTVrkLnq0Sjzz38N1PazYAUpHiK+GewpbDF6CYy4S/50zZV8LhBSuZzUBYQJ0 PpUeQyWZ3XUjjhZAa4kg5n70uYZvt2HjrqRLt6nadwh17Ci/CVNcgVBJDqC6xxKe uVNrNh4rndUO4d2oIBoEXHH5xCfhQVB+6CtCqpdjvnxt05eTbC36/X/3RpzLk/tR 6tKMx+HTITrOMGYqpj/aKO1l2bMykDXegAatD9lrKNyZvsKs19Gg7LMYI81Co2rR 3bWFLkoLnmlfiHCT+/KOZofWVrD61GOOf49DaNqqxqdsNLFDF5f3igp7TVrIRlpC m4X4T9mMB5fTZBYLEtba5QXipGsoXSDkAWOBEhEXh1XMBgRP21EtVXXOxySk9md3 lGghBCLPeDF1qkaGcfkVMu2dm+sZ4OAdtC0Lbd/aKaap9NoMVtTLN3VWstLh4aIt ADtcEsqHCJijWdRdmjNRObzS5kUp9fBBqjZz/OaogabzDb6tENg6EWiqQoLTlBAC KRuMsUk+nSsIWClrlZGZkQ91iebcm+iesOM0iGm/8ki0LkjEpyTc6SJBDB71boTe OiMqNRzoUB5V3xmdoHcwQedB9I7L4ZVIiNcPZusbY3o5oUMAa18= =JT+1 -----END PGP SIGNATURE----- --oTjmB4SGUHx7SKxS--