[GH-ISSUE #309] Error: line 2 in the custom profile is invalid #215

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

Originally created by @BCOH on GitHub (Feb 20, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/309

I just installed the new version of Firejail firejail_0.9.38_1_amd64.deb but now when I try to start Firefox I get the error: Error:

  • Command name #firefox#
  • Found firefox profile in /etc/firejail directory
  • Reading profile /etc/firejail/firefox.profile
  • Error: line 2 in the custom profile is invalid

Here is the profile from the firejail directory in the error above.

Firejail profile for Mozilla Firefox (Iceweasel in Debian)

noblacklist ${HOME}/.mozilla
include /etc/firejail/disable-mgmt.inc
include /etc/firejail/disable-secret.inc
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-devel.inc
caps.drop all
seccomp
protocol unix,inet,inet6,netlink
netfilter
tracelog
noroot
whitelist ${DOWNLOADS}
whitelist ~/.mozilla
whitelist ~/.cache/mozilla/firefox
whitelist ~/dwhelper
whitelist ~/.zotero
whitelist ~/.lastpass
whitelist ~/.vimperatorrc
whitelist ~/.vimperator
whitelist ~/.pentadactylrc
whitelist ~/.pentadactyl
whitelist ~/.keysnail.js
whitelist ~/.config/gnome-mplayer
whitelist ~/.cache/gnome-mplayer/plugin
include /etc/firejail/whitelist-common.inc

experimental features

private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse

I was unable to locate any information about the error. System spec. Kubuntu 15.10 & FF 44.0.2

Thanks in advance

Originally created by @BCOH on GitHub (Feb 20, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/309 I just installed the new version of Firejail firejail_0.9.38_1_amd64.deb but now when I try to start Firefox I get the error: Error: - Command name #firefox# - Found firefox profile in /etc/firejail directory - Reading profile /etc/firejail/firefox.profile - Error: line 2 in the custom profile is invalid Here is the profile from the firejail directory in the error above. # Firejail profile for Mozilla Firefox (Iceweasel in Debian) noblacklist ${HOME}/.mozilla include /etc/firejail/disable-mgmt.inc include /etc/firejail/disable-secret.inc include /etc/firejail/disable-common.inc include /etc/firejail/disable-devel.inc caps.drop all seccomp protocol unix,inet,inet6,netlink netfilter tracelog noroot whitelist ${DOWNLOADS} whitelist ~/.mozilla whitelist ~/.cache/mozilla/firefox whitelist ~/dwhelper whitelist ~/.zotero whitelist ~/.lastpass whitelist ~/.vimperatorrc whitelist ~/.vimperator whitelist ~/.pentadactylrc whitelist ~/.pentadactyl whitelist ~/.keysnail.js whitelist ~/.config/gnome-mplayer whitelist ~/.cache/gnome-mplayer/plugin include /etc/firejail/whitelist-common.inc # experimental features # private-etc passwd,group,hostname,hosts,localtime,nsswitch.conf,resolv.conf,gtk-2.0,pango,fonts,iceweasel,firefox,adobe,mime.types,mailcap,asound.conf,pulse I was unable to locate any information about the error. System spec. Kubuntu 15.10 & FF 44.0.2 Thanks in advance
gitea-mirror 2026-05-05 05:20:23 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Can you please run "firejail --debug firefox" in a terminal and put the output here. Thanks.

<!-- gh-comment-id:186823614 --> @netblue30 commented on GitHub (Feb 21, 2016): Can you please run "firejail --debug firefox" in a terminal and put the output here. Thanks.
Author
Owner

@BCOH commented on GitHub (Feb 21, 2016):

Output from firejail --debug firefox

firejail --debug firefox
Command name #firefox#
Found firefox profile in /etc/firejail directory
Reading profile /etc/firejail/firefox.profile
Error: line 2 in the custom profile is invalid

<!-- gh-comment-id:186855934 --> @BCOH commented on GitHub (Feb 21, 2016): Output from firejail --debug firefox firejail --debug firefox Command name #firefox# Found firefox profile in /etc/firejail directory Reading profile /etc/firejail/firefox.profile Error: line 2 in the custom profile is invalid
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#215
No description provided.