From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17043 invoked by alias); 20 Feb 2019 21:50:24 -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 16875 invoked by uid 89); 20 Feb 2019 21:50:22 -0000 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 Received: from vie01a-dmta-pe05-1.mx.upcmail.net (HELO vie01a-dmta-pe05-1.mx.upcmail.net) (84.116.36.11) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 20 Feb 2019 21:50:20 +0000 Received: from [172.31.216.235] (helo=vie01a-pemc-psmtp-pe12.mail.upcmail.net) by vie01a-dmta-pe05.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1gwZkw-00017N-8w for cygwin@cygwin.com; Wed, 20 Feb 2019 22:50:18 +0100 Received: from helix.aillwee.com ([37.228.204.209]) by vie01a-pemc-psmtp-pe12.mail.upcmail.net with ESMTP id wZkvgvzci2WSswZkwgrsii; Wed, 20 Feb 2019 22:50:18 +0100 X-Env-Mailfrom: mikebrady@eircom.net X-Env-Rcptto: cygwin@cygwin.com X-SourceIP: 37.228.204.209 Received: from [192.168.50.181] (apu.aillwee.com [192.168.50.1]) (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 4A2154E607 for ; Wed, 20 Feb 2019 21:50:17 +0000 (GMT) From: Mike Brady Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 22:01:00 -0000 To: cygwin@cygwin.com X-SW-Source: 2019-02/txt/msg00340.txt.bz2 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-know= n name on the "system" D-Bus. I built a configuration and installer for shairport sync essentially by cop= ying the avahi-daemon-config file. The Avahi deamon uses the system D-Bus successfully under the username "SYS= TEM" 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 al= lowed 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 o= f 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