systemd-knowledge-patch

Validates systemd unit, journald, and networkd files for v255–v260 compatibility changes.

22|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/Nevaberry/nevaberry-plugins --skill systemd-knowledge-patch
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systemd-knowledge-patch
Source: https://github.com/Nevaberry/nevaberry-plugins/tree/main/plugins/systemd-knowledge-patch/skills/systemd-knowledge-patch
Command: npx skills add https://github.com/Nevaberry/nevaberry-plugins --skill systemd-knowledge-patch

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Prevents the creation and deployment of systemd unit files, journald commands, and networkd configurations that are incompatible with systemd changes introduced between v255 and v260, avoiding broken services, failed starts, and logging misconfigurations.

Core Features & Use Cases

  • Compatibility guidance: Summarizes breaking changes such as cgroup v1 removal, SysV init removal, and removal of the !! ExecStart prefix and explains their impact.
  • Unit file recommendations: Documents new and changed settings (PrivatePIDs, ProtectControlGroups, BindNetworkInterface, MemoryTHP, RestartMode=debug, DeferReactivation, PrivateUsers modes, StateDirectory:ro, PassFileDescriptorsToExec, WantsMountsFor, RefreshOnReload, x-systemd.wants) and migration patterns (IPForward → IPv4Forwarding/IPv6Forwarding).
  • journald & networkd updates: Shows journal invocation tracking, ForwardToSocket usage, and the new MobileNetwork section for cellular configuration.
  • Use case: When authoring or reviewing systemd unit files, timers, socket units, or networkd .network files, consult these guidelines to replace deprecated options, apply new settings, and ensure cgroup v2 compatibility.

Quick Start

Scan my repository for systemd unit and networkd files and update them to be cgroup v2 compatible, remove SysV generator dependencies, and apply recommended new settings such as PrivatePIDs and BindNetworkInterface.

Frequently Asked Questions about systemd-knowledge-patch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate systemd unit files for cgroup v2 compatibility?

Migrating systemd unit files for cgroup v2 compatibility requires removing deprecated cgroup v1 options and applying v2-only settings. You must update unit configurations to align with post-v255 systemd changes, ensuring legacy cgroup hierarchy dependencies are fully removed.

What systemd unit file settings are deprecated after v255?

Deprecated systemd settings after v255 include the !! ExecStart prefix, SysV init dependencies, and IPForward. These must be replaced with updated options like IPv4Forwarding, IPv6Forwarding, and new configuration patterns to prevent failed service starts and broken deployments.

How do I configure networkd .network files for MobileNetwork?

Configuring networkd .network files for MobileNetwork involves adding the new MobileNetwork section for cellular configuration. This ensures networkd correctly manages mobile broadband connections in systemd versions v255 through v260 and aligns with updated networkd configuration patterns.

Does systemd v260 still support SysV init scripts?

systemd v260 does not support SysV init scripts due to complete SysV removal. You must migrate all legacy init scripts to native systemd unit files and remove SysV generator dependencies to ensure services start correctly under the updated systemd architecture.

Why are my systemd journald logs failing after upgrading to v260?

systemd journald logs may fail after upgrading to v260 due to incorrect Storage behavior or missing ForwardToSocket usage. Validate deprecated journald invocations and apply correct journal forwarding settings to restore proper logging functionality and configuration.

What new systemd security settings should I apply to unit files?

New systemd security settings to apply to unit files include PrivatePIDs, ProtectControlGroups, and BindNetworkInterface. These settings enhance service isolation and should replace outdated options when authoring or reviewing units for post-v255 systemd compatibility.