My Oracle Support Banner

Oracle Linux: How to Enable systemd.debug-shell in KVM Domains (Doc ID 3020028.1)

Last updated on MAY 02, 2024

Applies to:

Linux OS - Version Oracle Linux 7.9 and later
Linux x86-64

Goal

The Systemd Debug Shell (systemd.debug-shell) is a powerful troubleshooting tool in the Linux environment, provided by the systemd init system. It offers administrators a way to access a root shell during the early boot process, before the system fully initializes. This can be invaluable for diagnosing and resolving issues that occur during boot-up, such as failed services.

Enabling systemd.debug-shell within KVM domains presents a unique challenge due to the default console access limitations. Unlike the serial console accessible through the CLI, systemd.debug-shell utilizes tty9, a separate terminal interface typically inaccessible through standard methods.

This article outlines the step-by-step instructions to overcome this hurdle and enable systemd.debug-shell within KVM domains effectively.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.