On Thu, Jan 04, 2018 at 10:44:24PM +0300, Hleb Valoshka wrote:
Do we have runtime systemd detection in all software linked against libsystemd so it will work properly in absence of systemd? To rebuild software without libsystemd is the only reliable way to ensure that non-systemd code pathes are in use.
Whehter something has a systemd code path and whether it links to libsystemd is orthogonal. As smcv has indicated in another post, the canonical run-time check for systemd is the existence of /run/systemd/system. No libsystemd is required for that check and it's conceivable for software to perform systemd-specific functions without libsystemd. So, if your motivation is to test non-systemd code paths, this proposal is *not* sufficient for that purpose. -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ Jonathan Dowland ⢿⡄⠘⠷⠚⠋⠀ https://jmtd.net ⠈⠳⣄⠀⠀⠀⠀ Please do not CC me, I am subscribed to the list.