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:from:mime-version:subject:date:references:to :in-reply-to:message-id:content-type:content-transfer-encoding; q=dns; s=default; b=jRumuWfeVVRBCod0nWQWQlV2UtCDQ5CzeZBzyRqHG7d fVsUH3c0bCmmyxol2VtgBTd6eY2g4yDIotz+VTpdSNASFbSWWzTb8YHvxRL004IT W+1rOLbq6vZoo1tP6kOF9bM5pAUmwvJGkq2a4W9PiCmEIbCwVZA5sc1MnrwWRaCU = 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=qke6izl4zM8JM3/Q0NMyxpWiVEo=; b=hra5AL+vDYjGwEL09 ueLHjYW9b4e00e621J01WYKS9y7GbL0f3USGpL/biSVOjgDwtGTP0FXAObNG8hlt MozKMi5gaLTrhEPtGdqusw5nIXdt9PYpKz8UGblmKJRkDShuZZz1s10PJMvDRYHQ F8cP/UAdWBnkUfDddgauzCx+Bo= 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=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 X-Env-Mailfrom: mikebrady AT eircom DOT net X-Env-Rcptto: cygwin AT cygwin DOT com X-SourceIP: 37.228.204.209 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 16:56:24 +0000 References: <287EA5C9-AEDB-417D-8E1D-29405AB24325 AT eircom DOT net> To: cygwin AT cygwin DOT 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: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x1LGugtK012137 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 Regards Mike > On 20 Feb 2019, at 21:50, Mike Brady 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 > -- 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