My Oracle Support Banner

Oracle Linux: lxc-start Creates Undesired Container Directory Name and Log (Doc ID 2425125.1)

Last updated on AUGUST 29, 2023

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.0 with Unbreakable Enterprise Kernel [3.8.13] and later
Linux x86-64

Symptoms

When running lxc-start with a container name that does not exist it creates a folder under "/container" directory and its associated log file. This can occur when mistyping a container name. This can cause confusion when you want to go back and clean up the container directory. Especially when the name mistake is of by one letter.

ie: container_name and contairner_name

In above example, the problematic letter is the "r" that  could be typed by mistake. This could potentially impact a user as they might inadvertently delete the wrong directory.

For example:

One first creates the container with correct name

The result is a new container created with the wrong name mistyped  "contairner_name".

Cause

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
Symptoms
Cause
Solution


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