Summary: | sd-daemon.c: should be possible to avoid mq support and hence -lrt dependency | ||
---|---|---|---|
Product: | systemd | Reporter: | Simon McVittie <smcv> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | Keywords: | patch |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | sd-daemon.c: allow use of -lrt to be avoided |
Description
Simon McVittie
2013-04-05 12:57:34 UTC
Applied. That said, a nicer alternative would be to change dbsu to actually link dynamically against libsystem-daemon.so. We nowadays ship this as shared library, so there's no need to deal with the drop-in stuff anymore... (In reply to comment #1) > a nicer alternative would be to change dbsu to actually > link dynamically against libsystem-daemon.so Yeah, I did consider it. At the moment I believe dbus can accept the systemd LISTEN_FDS protocol (which is, admittedly, hardly rocket science) without actually being linked against libsystemd-daemon; so this would be a small feature regression. I've actually considered turning dbus-launch into a two-stage thing - listen on the socket, then start dbus-daemon when its activation environment is ready and use the LISTEN_FDS protocol to give it the socket - to avoid bugs like <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682375> without necessarily needing systemd --user. (I realise your answer is going to be "use systemd --user then".) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.