systemd-debug

Analyzes systemd logs, core dumps, and stack traces to produce debug-report.txt.

Updated Nov 29, 2025
One-click install
npx skills add https://github.com/thimslugga/agent-skills --skill systemd-debug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: systemd-debug
Source: https://github.com/thimslugga/agent-skills/tree/main/skills/linux/linux-review/systemd-debug
Command: npx skills add https://github.com/thimslugga/agent-skills --skill systemd-debug

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Debugging systemd issues such as crashes, hangs, and unexpected behavior by providing a structured workflow to analyze logs, core dumps, and stack traces, enabling faster root-cause identification.

Core Features & Use Cases

  • Structured debugging workflow for systemd components using journalctl output, core dumps, and error logs.
  • Reference-guided analysis with the included debugging protocols to ensure repeatability and thoroughness.
  • Use Case: When systemd crashes in production, create a detailed debug report for PR review and incident postmortems.

Quick Start

Analyze a failing systemd unit by loading the debugging references, collecting journalctl output, and generating a debug-report.txt with the findings.

Frequently Asked Questions about systemd-debug

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

FAQPage Schema
How do I debug a systemd crash using journalctl and core dumps?

Debugging a systemd crash involves analyzing journalctl outputs, core dumps, and stack traces to identify the root cause. A structured workflow evaluates error messages across systemd subsystems to resolve the failure.

What is the best way to troubleshoot a systemd service that hangs unexpectedly?

Troubleshooting a systemd hang requires analyzing journalctl logs and stack traces to isolate unexpected behavior. Using a structured debugging workflow identifies the blocking condition and resolves the issue.

Can I generate a debug report for a systemd production incident?

Yes, you can generate a debug-report.txt to document findings from a systemd crash. This report captures the analysis of core dumps and stack traces, providing a structured record for incident postmortems.

Does this systemd debugging workflow work for analyzing core dumps?

Yes, the workflow supports analyzing core dumps alongside journalctl outputs. It applies a protocol-compliant process with predefined reference materials to evaluate stack traces and resolve systemd crashes.

How do I identify the root cause of unexpected systemd behavior from error logs?

To identify the root cause of unexpected systemd behavior, analyze error logs and stack traces using a reference-guided workflow. This ensures thoroughness and repeatability when reviewing journalctl output and core dumps.