add bus property for socket units showing the used selinux label of the socket

Open
#4,231 1 comment 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, linux

Research direction

Start by locating the socket-unit show or status output and the code that determines the SELinux context from the service's ExecStart path. Done means the socket unit exposes the path used for context determination, making failed socket startup easier to troubleshoot.

Written by the indexing model from the issue text.

Description

pid1 RFE 🎁 selinux

Currently, systemd starts a socket using the sexlinux context of the corresponding service's ExecStart path. This behavior is opaque to an administrator who is troubleshooting a failed socket unit startup. We should consider displaying the path used for context determination in the show or status output of the socket unit.

Dominant language
C
Stars
16.7k
Forks
4.7k
Avg merge
1d 6h
Merged PRs (30d)
140

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.

More from systemd/systemd

All issues in systemd/systemd

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.