Hacker News new | ask | show | jobs
by codyps 3948 days ago
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?
2 comments

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.

Well, no. The blog post argues it shouldn't be used for this purpose at all and to just use a service manager directly.