[GH-ISSUE #876] Question: why when running as root does it mount over /dev/shm #592

Closed
opened 2026-05-05 06:14:33 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @endymon on GitHub (Oct 27, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/876

More or less self explanatory.

When running firejail as root user why does it force a new clean /dev/shm/ to be mounted?
This does not occur when running as a non root user. (appears to be by spec)

What is the reasoning behind this behavior?

Is there any way to disable this behavior?
I've tried --noblacklist=/dev/shm to no avail

Thanks
-- Matthew Hively

Originally created by @endymon on GitHub (Oct 27, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/876 More or less self explanatory. When running firejail as root user why does it force a new clean /dev/shm/ to be mounted? This does not occur when running as a non root user. (appears to be by spec) What is the reasoning behind this behavior? Is there any way to disable this behavior? I've tried --noblacklist=/dev/shm to no avail Thanks -- Matthew Hively
gitea-mirror 2026-05-05 06:14:33 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Oct 27, 2016):

In fact is mounting an empty temporary filesystem on top of /dev/shm. It is a leftover from long time ago, thanks for bringing it up. All fixed in git.

<!-- gh-comment-id:256663759 --> @netblue30 commented on GitHub (Oct 27, 2016): In fact is mounting an empty temporary filesystem on top of /dev/shm. It is a leftover from long time ago, thanks for bringing it up. All fixed in git.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#592
No description provided.