coreos / coreos/go-systemd

Missing interfaces for sd_pid_notify_with_fds and sd_listen_fds_with_names

Open
#199 3 comments 2 reactions 0 assignees View on GitHub

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:

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.