[GH-ISSUE #1072] --no-tmpfs option? #729

Closed
opened 2026-05-05 06:32:15 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @talwrii on GitHub (Jan 24, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1072

As part of my quest to misuse firejail for jailing zsh's, I'd quite like to get a zsh that is capable of reading /var/log, this doesn't seem to be possible since a tmpfs is mounted on top of it.

Would it make sense to have a --no-tmpfs option to disable default tmpfs mounts.

Originally created by @talwrii on GitHub (Jan 24, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1072 As part of my quest to misuse firejail for jailing zsh's, I'd quite like to get a zsh that is capable of reading /var/log, this doesn't seem to be possible since a tmpfs is mounted on top of it. Would it make sense to have a `--no-tmpfs` option to disable default tmpfs mounts.
gitea-mirror 2026-05-05 06:32:15 -06:00
Author
Owner

@netblue30 commented on GitHub (Jan 25, 2017):

I'll put something in, thanks.

<!-- gh-comment-id:275114747 --> @netblue30 commented on GitHub (Jan 25, 2017): I'll put something in, thanks.
Author
Owner

@netblue30 commented on GitHub (Jan 30, 2017):

All set in git:

       --writable-var-log
              Use the real /var/log directory, not  a  clone.  By  default,  a
              tmpfs  is  mounted  on top of /var/log directory, and a skeleton
              filesystem is created based on the original /var/log.

              Example:
              $ sudo firejail --writable-var-log
<!-- gh-comment-id:276103454 --> @netblue30 commented on GitHub (Jan 30, 2017): All set in git: ````` --writable-var-log Use the real /var/log directory, not a clone. By default, a tmpfs is mounted on top of /var/log directory, and a skeleton filesystem is created based on the original /var/log. Example: $ sudo firejail --writable-var-log `````
Author
Owner

@talwrii commented on GitHub (Jan 30, 2017):

Awesome :).

<!-- gh-comment-id:276112888 --> @talwrii commented on GitHub (Jan 30, 2017): Awesome :).
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#729
No description provided.