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:content-type:content-transfer-encoding :mime-version:subject:message-id:date:to; q=dns; s=default; b=U2 QYQr1ds1ObKOYENRJId2+9KsgivilVn8boUmnmp2gQxYZ4e6GJ2Unxn1mUAAI6xu XYE0XPWQhwnV5Cbb3yN+Dw+AqUexyAwNN4nfDUsCHsYYn2rrFVZ9jvEV02ctZ3W5 0eEFrcag4O9VghvYwSq3sV681h866bfr5t8BS5dVs= 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:content-type:content-transfer-encoding :mime-version:subject:message-id:date:to; s=default; bh=s6R48lzV i3NukXOYidGWFyN8GKY=; b=BrW3wSpukisqx1IVETaSJ8KITz0qlNvAKee8CnJs O9QWq8xVuUW5/qdpsQgtNUk8Q11XaFApFoEnaLrEqkQphisErRK4be1saVKfF572 au9gCtcR1PWDPsQC18GzunOTd4B1fV5oYeTtRXlbecwSAz6YNx30SRNbh1ZSH2Lh nOo= 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=-1.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=briefly, well-known, wellknown, gratefully X-HELO: vie01a-dmta-pe05-1.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 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Question about D-Bus and cygrunsrv Message-Id: <287EA5C9-AEDB-417D-8E1D-29405AB24325@eircom.net> Date: Wed, 20 Feb 2019 21:50:16 +0000 To: cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x1KLodUV021729 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