Bug 2481569 - At the end of a selinux sandbox, some of its runtime directories are not removed
Summary: At the end of a selinux sandbox, some of its runtime directories are not removed
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 44
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Petr Lautrbach
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-05-26 17:37 UTC by Alphonse Steiner
Modified: 2026-05-26 17:39 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
Handle the forgotten runtime directories (1.12 KB, patch)
2026-05-26 17:39 UTC, Alphonse Steiner
no flags Details | Diff

Description Alphonse Steiner 2026-05-26 17:37:48 UTC
When running a sandbox command, it creates runtime directories into /tmp.
Some of them are not removed when the sandbox is closed (/tmp/.sandbox_runtime_XXXX, /tmp/.sandbox-$USER-XXXX)
I am attaching a patch to handle them.

Reproducible: Always

Steps to Reproduce:
1.run a sandbox
2.look at the output of: ls -l /tmp/.sandbox*
3.some runtime directories are still there

Comment 1 Alphonse Steiner 2026-05-26 17:39:09 UTC
Created attachment 2143010 [details]
Handle the forgotten runtime directories


Note You need to log in before you can comment on or make changes to this bug.