Missing interfaces for sd_pid_notify_with_fds and sd_listen_fds_with_names
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.7k
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Description
The methods are documented here:
- https://www.freedesktop.org/software/systemd/man/sd_notify.html
- https://www.freedesktop.org/software/systemd/man/sd_listen_fds.html
FYI I'm currently working on implementing these methods in the notify_fds branch of my fork, and I have a basic POC working (but without proper tests at the moment). I plan to contribute back my work under the CoreOS contribution guidelines. The use case is that we (Uber) have services where a single process needs to listen on multiple well-known ports, and we'd like to implement graceful restarts of these services.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the sd_notify and sd_listen_fds documentation linked in the issue, then inspect the notify_fds branch in the reporter's fork for the existing proof of concept. Compare the interfaces with the documented systemd methods and add proper tests before considering the work complete.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100