[GH-ISSUE #308] --name option no longer works #216

Closed
opened 2026-05-05 05:20:23 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ghost on GitHub (Feb 19, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/308

Looks like recent commits broke support for the --name option. I see the below both when using the --name option from cli and when setting name in a *.profile file under ~/.config/firejail:

$ firejail --name=firefox --private=$HOME firefox
Reading profile /home/dirkos/.config/firejail/firefox.profile
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/disable-mgmt.inc
Reading profile /etc/firejail/disable-secret.inc
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-terminals.inc
Reading profile /etc/firejail/whitelist-common.inc
Error: cannot create /run/firejail/name/2197

$ firejail --version
firejail version 0.9.39

$ ls -l /run/firejail
dr-x------ 2 root root 40 Feb 19 22:28 firejail.ro.dir
-r-------- 1 root root 0 Feb 19 22:28 firejail.ro.file
drwxr-xr-x 2 root root 40 Feb 19 22:28 mnt

The above output is from a machine running Arch Linux, but I get the exact same error(s) on a Ubuntu machine, both running latest firejail from git.

Originally created by @ghost on GitHub (Feb 19, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/308 Looks like recent commits broke support for the --name option. I see the below both when using the --name option from cli and when setting name in a *.profile file under ~/.config/firejail: $ firejail --name=firefox --private=$HOME firefox Reading profile /home/dirkos/.config/firejail/firefox.profile Reading profile /etc/firejail/firefox.profile Reading profile /etc/firejail/disable-mgmt.inc Reading profile /etc/firejail/disable-secret.inc Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-terminals.inc Reading profile /etc/firejail/whitelist-common.inc Error: cannot create /run/firejail/name/2197 $ firejail --version firejail version 0.9.39 $ ls -l /run/firejail dr-x------ 2 root root 40 Feb 19 22:28 firejail.ro.dir -r-------- 1 root root 0 Feb 19 22:28 firejail.ro.file drwxr-xr-x 2 root root 40 Feb 19 22:28 mnt The above output is from a machine running Arch Linux, but I get the exact same error(s) on a Ubuntu machine, both running latest firejail from git.
Author
Owner

@ghost commented on GitHub (Feb 20, 2016):

EDIT: after updating to current git things are back to normal. Please regard the above as obsolete.

<!-- gh-comment-id:186621889 --> @ghost commented on GitHub (Feb 20, 2016): EDIT: after updating to current git things are back to normal. Please regard the above as obsolete.
Author
Owner

@netblue30 commented on GitHub (Feb 20, 2016):

No problem, I was moving things around lately!

<!-- gh-comment-id:186631672 --> @netblue30 commented on GitHub (Feb 20, 2016): No problem, I was moving things around lately!
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#216
No description provided.