[GH-ISSUE #5652] Error: cannot create /run/firejail/profile/... (new profile) #3056

Open
opened 2026-05-05 09:42:05 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @orochimaru76 on GitHub (Feb 8, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5652

Hi netblue30,

need help to run my firejail profile of a webbrowser.

When I run:
firejail --profile=/path/to/name.profile "/path/to/exec"

Terminal shows me a error message:
Error: cannot create /run/firejail/profile/2768

Here's my profile config:

include /path/to/name.local

ignore noexec ${HOME}

noblacklist ${HOME}/webbrowser

include allow-bin-sh.inc

blacklist /etc
blacklist /opt
blacklist /srv
blacklist /sys
blacklist /tmp
blacklist /usr/games
blacklist /usr/libexec
blacklist /usr/local
blacklist /usr/src
blacklist /var

include disable-common.inc
include disable-devel.inc
include disable-exec.inc
include disable-interpreters.inc
include disable-proc.inc
include disable-programs.inc
include disable-shell.inc
include disable-X11.inc
include disable-xdg.inc

whitelist /run/user

whitelist /usr/share/glib-2.0/schemas/gschemas.compiled

whitelist /usr/share/icons/Adwaita

whitelist /usr/share/mime/magic
whitelist /usr/share/misc/magic

whitelist /usr/share/X11/xkb

caps.drop all
hostname host
ipc-namespace
machine-id
netfilter

protocol unix,inet

no3d
novideo
notv

nodvd

nosound
noautopulse

nodbus
nou2f

noinput

nogroups
noroot
nonewprivs

seccomp !chroot,@memlock,@setuid,@timer,io_pgetevents
seccomp.block-secondary
seccomp-error-action kill

disable-mnt

private ${HOME}/webbrowser
private-bin bash,dirname,env,expr,file,getconf,grep,rm,sh
private-cache
private-dev
private-tmp

dbus-user none
dbus-system none

env GTK_THEME=Adwaita

read-only ${HOME}
read-write ${HOME}/webbrowser/Browser

name webbrowser

What's wrong?
Please help! :) Thanks!
Best regards!

Originally created by @orochimaru76 on GitHub (Feb 8, 2023). Original GitHub issue: https://github.com/netblue30/firejail/issues/5652 Hi netblue30, need help to run my firejail profile of a webbrowser. When I run: **firejail --profile=/path/to/name.profile "/path/to/exec"** Terminal shows me a error message: **Error: cannot create /run/firejail/profile/2768** Here's my profile config: ``` include /path/to/name.local ignore noexec ${HOME} noblacklist ${HOME}/webbrowser include allow-bin-sh.inc blacklist /etc blacklist /opt blacklist /srv blacklist /sys blacklist /tmp blacklist /usr/games blacklist /usr/libexec blacklist /usr/local blacklist /usr/src blacklist /var include disable-common.inc include disable-devel.inc include disable-exec.inc include disable-interpreters.inc include disable-proc.inc include disable-programs.inc include disable-shell.inc include disable-X11.inc include disable-xdg.inc whitelist /run/user whitelist /usr/share/glib-2.0/schemas/gschemas.compiled whitelist /usr/share/icons/Adwaita whitelist /usr/share/mime/magic whitelist /usr/share/misc/magic whitelist /usr/share/X11/xkb caps.drop all hostname host ipc-namespace machine-id netfilter protocol unix,inet no3d novideo notv nodvd nosound noautopulse nodbus nou2f noinput nogroups noroot nonewprivs seccomp !chroot,@memlock,@setuid,@timer,io_pgetevents seccomp.block-secondary seccomp-error-action kill disable-mnt private ${HOME}/webbrowser private-bin bash,dirname,env,expr,file,getconf,grep,rm,sh private-cache private-dev private-tmp dbus-user none dbus-system none env GTK_THEME=Adwaita read-only ${HOME} read-write ${HOME}/webbrowser/Browser name webbrowser ``` What's wrong? Please help! :) Thanks! Best regards!
gitea-mirror added the
needinfo
label 2026-05-05 09:42:05 -06:00
Author
Owner

@kmk3 commented on GitHub (Feb 9, 2023):

Basic debugging information is missing; please follow the bug report template:

<!-- gh-comment-id:1423846667 --> @kmk3 commented on GitHub (Feb 9, 2023): Basic debugging information is missing; please follow the bug report template: * <https://github.com/netblue30/firejail/issues/new?template=bug_report.md>
Author
Owner

@kmk3 commented on GitHub (Feb 9, 2023):

(Offtopic)

Please see the following links for how to format code blocks in markdown:

<!-- gh-comment-id:1423846944 --> @kmk3 commented on GitHub (Feb 9, 2023): (Offtopic) Please see the following links for how to format code blocks in markdown: * <https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks> * <https://github.github.com/gfm/#fenced-code-blocks>
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#3056
No description provided.