[GH-ISSUE #2543] 'firejail --list' does not list sandboxes started with '--x11=none' #1641

Closed
opened 2026-05-05 08:17:31 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @hvhaugwitz on GitHub (Mar 8, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2543

If I start a sandbox with --x11=none (firejail --private --x11=none --net=none bash -l) and a sandbox without that option (firejail --private --net=none bash -l) firejail --list shows only the last one:

$ firejail --list
26897:hvhaugwitz::firejail --private --net=none bash -l
$ ps aux | grep firejail
hvhaugw+ 25671  0.0  0.0   4120  2208 pts/36   S    10:00   0:00 firejail --private --x11=none --net=none bash -l
hvhaugw+ 25672  0.0  0.0   4132  2280 pts/36   S    10:00   0:00 firejail --private --x11=none --net=none bash -l
hvhaugw+ 26897  0.0  0.0   4120  2256 pts/37   S    10:01   0:00 firejail --private --net=none bash -l
hvhaugw+ 26910  0.0  0.0   4132  2256 pts/37   S    10:01   0:00 firejail --private --net=none bash -l
hvhaugw+ 31697  0.0  0.0   6208   892 pts/35   S+   10:03   0:00 grep --color=auto firejail

I'm running firejail on Debian unstable.

$ firejail --version
firejail version 0.9.58.2

Compile time support:
        - AppArmor support is enabled
        - AppImage support is enabled
        - chroot support is enabled
        - file and directory whitelisting support is enabled
        - file transfer support is enabled
        - networking support is enabled
        - overlayfs support is enabled
        - private-home support is enabled
        - seccomp-bpf support is enabled
        - user namespace support is enabled
        - X11 sandboxing support is enabled
Originally created by @hvhaugwitz on GitHub (Mar 8, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2543 If I start a sandbox with `--x11=none` (`firejail --private --x11=none --net=none bash -l`) and a sandbox without that option (`firejail --private --net=none bash -l`) `firejail --list` shows only the last one: ``` $ firejail --list 26897:hvhaugwitz::firejail --private --net=none bash -l ``` ``` $ ps aux | grep firejail hvhaugw+ 25671 0.0 0.0 4120 2208 pts/36 S 10:00 0:00 firejail --private --x11=none --net=none bash -l hvhaugw+ 25672 0.0 0.0 4132 2280 pts/36 S 10:00 0:00 firejail --private --x11=none --net=none bash -l hvhaugw+ 26897 0.0 0.0 4120 2256 pts/37 S 10:01 0:00 firejail --private --net=none bash -l hvhaugw+ 26910 0.0 0.0 4132 2256 pts/37 S 10:01 0:00 firejail --private --net=none bash -l hvhaugw+ 31697 0.0 0.0 6208 892 pts/35 S+ 10:03 0:00 grep --color=auto firejail ``` I'm running firejail on Debian unstable. ``` $ firejail --version firejail version 0.9.58.2 Compile time support: - AppArmor support is enabled - AppImage support is enabled - chroot support is enabled - file and directory whitelisting support is enabled - file transfer support is enabled - networking support is enabled - overlayfs support is enabled - private-home support is enabled - seccomp-bpf support is enabled - user namespace support is enabled - X11 sandboxing support is enabled ```
gitea-mirror 2026-05-05 08:17:31 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Mar 10, 2019):

I was able to reproduce it, thanks.

<!-- gh-comment-id:471303293 --> @netblue30 commented on GitHub (Mar 10, 2019): I was able to reproduce it, thanks.
Author
Owner

@netblue30 commented on GitHub (Mar 11, 2019):

Fixed on mainline git in c100c5cc9b

<!-- gh-comment-id:471521088 --> @netblue30 commented on GitHub (Mar 11, 2019): Fixed on mainline git in https://github.com/netblue30/firejail/commit/c100c5cc9b1a2c52cfb23a0252ffb1d9efc65b7a
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#1641
No description provided.