Skip to content

dtprobed: drop libsystemd linkage #92

@thesamesam

Description

@thesamesam

Using libsystemd purely for sd_notify got a tonne of discussion after the xz backdoor.

At that time, Lennart himself posted saying that projects shouldn't bring in libsystemd purely for the simple sd_notify API:

In the past, I have been telling anyone who wanted to listen that if all you want is sd_notify() then don't bother linking to libsystemd, since the protocol is stable and should be considered the API, not our C wrapper around it.

See https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html#Standalone%20Implementations for an example.

Let's NIH the trivial protocol to drop a hefty library from a privileged, albeit tiny, daemon.

Metadata

Metadata

Assignees

Labels

local-reviewFix not yet publically visible, but coming

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions