debcrafters-packages team mailing list archive
-
debcrafters-packages team
-
Mailing list archive
-
Message #07028
[Bug 2122474] Re: Directory /run contains unexpected files and directories in the live image
The debootstrap process seems to leave files in the /run directory. I've
noticed this behavior even in a basic chroot. Could this be related to
how it handles runtime directories, which are not mounted as tmpfs
during the build?
** Summary changed:
- Directory /run contains unexpected files and directories in the live image, causing potential issues
+ Directory /run contains unexpected files and directories in the live image
** Package changed: ubuntu => debootstrap (Ubuntu)
--
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/2122474
Title:
Directory /run contains unexpected files and directories in the live
image
Status in base-files package in Ubuntu:
New
Status in debootstrap package in Ubuntu:
New
Bug description:
Description of the Bug's Symptoms
When booting into the Ubuntu 25.04 live image, it has been observed
that the /run directory is not empty. The directory is intended for
temporary files and should be empty at boot time.
This suggests an error in the live image creation process, where files
are left behind in the directory.
How to Repeat the Problem
Boot the computer using the Ubuntu live image.
Open a terminal in the live environment.
The live system's /run directory is already mounted in RAM. To access
the original contents of the / root directory, you need to create a
new mount point and use the mount --bind command. Run the following
commands:
sudo mkdir /mnt/root
sudo mount --bind / /mnt/root
sudo ls -la /mnt/root/run
Expected Outcome: The ls -la /mnt/root/run command should show an
empty directory (only . and .. files).
Actual Outcome: The directory contains one or more files or
subdirectories that were left behind in the live image.
Environment Details
Ubuntu version: 25.04, 25.10
Environment: Live image
Tested Versions: 25.04 Desktop, 25.10 Desktop, 25.10 Server
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/2122474/+subscriptions