Skip to content

Update unit.pyi with latest systemd D-Bus interfaces#117

Draft
aleivag wants to merge 1 commit intosystemd:mainfrom
aleivag:update-unit-pyi-interfaces
Draft

Update unit.pyi with latest systemd D-Bus interfaces#117
aleivag wants to merge 1 commit intosystemd:mainfrom
aleivag:update-unit-pyi-interfaces

Conversation

@aleivag
Copy link
Collaborator

@aleivag aleivag commented Jan 21, 2026

Add new properties and methods from systemd's org.freedesktop.systemd1.Unit and org.freedesktop.systemd1.Service interfaces while preserving backward compatibility with existing types.

Unit interface additions:

  • New properties: AccessSELinuxContext, ActivationDetails, CanFreeze, CanLiveMount, DebugInvocation, FreezerState, Markers, OnFailureOf, OnSuccess, OnSuccessJobMode, OnSuccessOf, PropagatesStopTo, SliceOf, StopPropagatedFrom, SurviveFinalKillSignal, UpheldBy, Upholds, WantsMountsFor
  • New methods: Freeze, Thaw, KillSubgroup, QueueSignal

Service interface additions:

  • BPF delegation properties
  • Credential management (LoadCredential, SetCredential, ImportCredential)
  • Memory management (MemoryPeak, MemoryZSwap*, ManagedOOM*)
  • Namespace/container settings (PrivateIPC, PrivatePIDs, ProtectClock, etc.)
  • Directory quota properties
  • New methods: BindMount, DumpFileDescriptorStore, MountImage, RemoveSubgroup

Add new properties and methods from systemd's org.freedesktop.systemd1.Unit
and org.freedesktop.systemd1.Service interfaces while preserving backward
compatibility with existing types.

Unit interface additions:
- New properties: AccessSELinuxContext, ActivationDetails, CanFreeze,
  CanLiveMount, DebugInvocation, FreezerState, Markers, OnFailureOf,
  OnSuccess, OnSuccessJobMode, OnSuccessOf, PropagatesStopTo, SliceOf,
  StopPropagatedFrom, SurviveFinalKillSignal, UpheldBy, Upholds, WantsMountsFor
- New methods: Freeze, Thaw, KillSubgroup, QueueSignal

Service interface additions:
- BPF delegation properties
- Credential management (LoadCredential, SetCredential, ImportCredential)
- Memory management (MemoryPeak, MemoryZSwap*, ManagedOOM*)
- Namespace/container settings (PrivateIPC, PrivatePIDs, ProtectClock, etc.)
- Directory quota properties
- New methods: BindMount, DumpFileDescriptorStore, MountImage, RemoveSubgroup
@aleivag aleivag force-pushed the update-unit-pyi-interfaces branch from 8f29ed3 to 608df4e Compare January 25, 2026 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant