public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Question about D-Bus and cygrunsrv
@ 2019-02-20 22:01 Mike Brady
  2019-02-21 17:40 ` Mike Brady
  0 siblings, 1 reply; 9+ messages in thread
From: Mike Brady @ 2019-02-20 22:01 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-10-22 14:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-20 22:01 Question about D-Bus and cygrunsrv Mike Brady
2019-02-21 17:40 ` Mike Brady
2019-02-22 10:21   ` Corinna Vinschen
2019-02-22 15:14     ` Mike Brady
2019-02-23  0:00     ` René Berber
2019-02-26  8:41       ` L A Walsh
2019-02-27 12:37         ` Mike Brady
2019-10-22 14:07     ` Mike Brady
2019-10-22 14:33       ` Mike Brady

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).