Re:Avoid D-Bus bus activation
by codyps on Thursday August 20, 2015 @10:19PM
(#10095660)
I wonder if anyone has submitted patches to dbus-daemon adding support for non-systemd "daemon managers". If the article is to be believed it should be really easy. Maybe that could have been done instead of writing a blog post? Or in addition to?
[ Parent
| on HN ]
It's pretty easy. The right way is to patch D-Bus, but you can just drop in a replacement for dbus-daemon-launch-helper, which is a standalone executable. I've done this on a system where interactive logins took place in temporary chroots; we were having bus-spawned daemons started outside the chroot, so I just wrote a wrapper to chroot and then exec the real dbus-daemon-launch-helper.
EDIT: Also, Ubuntu has been shipping Upstart activation support in D-Bus since 2010.
Re:Avoid D-Bus bus activation
by vezzy-fnord on Thursday August 20, 2015 @10:25PM
(#10095675)
Well, no. The blog post argues it shouldn't be used for this purpose at all and to just use a service manager directly.