Project

General

Profile

Actions

Bug #6913

closed

reimplement systemd sd_notify w/o linking to libsystemd

Added by Victor Julien about 1 month ago. Updated 30 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html#Notes

"PSA: In context of the xzpocalypse we now added an example reimplementation of sd_notify() to our man page:

https://www.freedesktop.org/software/systemd/man/devel/sd_notify.html#Notes

It's pretty comprehensive (i.e. uses it for reload notification too), but still relatively short.

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. After all, the protocol is so trivial"
From: https://mastodon.social/@pid_eins/112202687764571433

Actions #1

Updated by Victor Julien about 1 month ago

  • Subject changed from reimplment systemd sd_notify w/o linking to libsystemd to reimplement systemd sd_notify w/o linking to libsystemd
Actions #2

Updated by Victor Julien about 1 month ago

  • Status changed from New to In Progress
  • Assignee changed from OISF Dev to Victor Julien
Actions #3

Updated by Victor Julien about 1 month ago

  • Status changed from In Progress to In Review
Actions #4

Updated by Victor Julien 30 days ago

  • Status changed from In Review to Closed
Actions #5

Updated by Victor Julien 30 days ago

Should we backport this?

Actions

Also available in: Atom PDF