Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

RFE: sd_pid_get_unit and related functions from sd-login

Open
#135 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
c, python

Research direction

Start with the linked sd_pid_get_unit manual page and review the python-systemd wrapper entry points for sd-login functionality. Determine the related functions to expose and how the Python C API is used in this library. Done means the requested sd-login functions are available through the Python bindings without reimplementing their /proc-based behavior.

Written by the indexing model from the issue text.

Description

sd_pid_get_unit and related functions provided by sd-login do not use D-Bus and thus seem appropriate for this library. They are "just" string manipulation based on /proc/, but they don't seem trivial enough to just reimplement.

I haven't worked with the Python C API before, but if the maintainers agree this is in scope, I can take a stab at implementing them.

Dominant language
C
Stars
522
Forks
79
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from systemd/python-systemd

All issues in systemd/python-systemd

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.