Project

General

Profile

Actions

Bug #6913

closed

reimplement systemd sd_notify w/o linking to libsystemd

Added by Victor Julien 7 months ago. Updated 7 months 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


Related issues 1 (1 open0 closed)

Blocks Suricata - Story #7147: misc: supply chain risk improvementsNewVictor JulienActions
Actions #1

Updated by Victor Julien 7 months 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 7 months ago

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

Updated by Victor Julien 7 months ago

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

Updated by Victor Julien 7 months ago

  • Status changed from In Review to Closed
Actions #5

Updated by Victor Julien 7 months ago

Should we backport this?

Actions #6

Updated by Victor Julien 4 months ago

  • Blocks Story #7147: misc: supply chain risk improvements added
Actions

Also available in: Atom PDF