[GH-ISSUE #739] Invalid whitelist path #499

Closed
opened 2026-05-05 05:59:28 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @DDoubleU on GitHub (Aug 21, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/739

Hi,
I want to use Firejail for Spotify as well, but had to change the profile because I added some local files to it. These are located on an NTFS volume mounted to /mnt/Data.
After updating the profile I resulted in the following error:

$ firejail spotify
Reading profile /etc/firejail/spotify.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/whitelist-common.inc
Warning: user namespaces not available in the current kernel.
Parent pid 1257, child pid 1258
Error: invalid whitelist path /mnt/Data/Spotify-local
Error: cannot establish communication with the parent, exiting...

The only thing I changed was this:

whitelist ${HOME}/.config/spotify
whitelist ${HOME}/.local/share/spotify
whitelist ${HOME}/.cache/spotify
whitelist** /mnt/Data/Spotify-local

Do you have any idea what might be the cause of this?
Thanks in advance!

Originally created by @DDoubleU on GitHub (Aug 21, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/739 Hi, I want to use Firejail for Spotify as well, but had to change the profile because I added some local files to it. These are located on an NTFS volume mounted to /mnt/Data. After updating the profile I resulted in the following error: `$ firejail spotify` `Reading profile /etc/firejail/spotify.profile` `Reading profile /etc/firejail/disable-common.inc` `Reading profile /etc/firejail/disable-programs.inc` `Reading profile /etc/firejail/disable-devel.inc` `Reading profile /etc/firejail/disable-passwdmgr.inc` `Reading profile /etc/firejail/whitelist-common.inc` `Warning: user namespaces not available in the current kernel.` `Parent pid 1257, child pid 1258` `Error: invalid whitelist path /mnt/Data/Spotify-local` `Error: cannot establish communication with the parent, exiting...` The only thing I changed was this: `whitelist ${HOME}/.config/spotify` `whitelist ${HOME}/.local/share/spotify` `whitelist ${HOME}/.cache/spotify` `whitelist** /mnt/Data/Spotify-local` Do you have any idea what might be the cause of this? Thanks in advance!
gitea-mirror 2026-05-05 05:59:28 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@Fred-Barclay commented on GitHub (Aug 21, 2016):

Hey mate! Could you post your entire spotify profile? I think I see what the problem is but I want to make sure. :)
Also, what version of firejail are you using? firejail --version if you're not sure.

<!-- gh-comment-id:241270531 --> @Fred-Barclay commented on GitHub (Aug 21, 2016): Hey mate! Could you post your entire spotify profile? I think I see what the problem is but I want to make sure. :) Also, what version of firejail are you using? `firejail --version` if you're not sure.
Author
Owner

@netblue30 commented on GitHub (Aug 22, 2016):

It could be because of NTFS, I'll have to give it a try.

<!-- gh-comment-id:241386409 --> @netblue30 commented on GitHub (Aug 22, 2016): It could be because of NTFS, I'll have to give it a try.
Author
Owner

@DDoubleU commented on GitHub (Aug 22, 2016):

My apologies, I was a bit brief in my opening post. The entire spotify.profile file looks as following:

# Spotify media player profile
noblacklist ${HOME}/.config/spotify
noblacklist ${HOME}/.cache/spotify
noblacklist ${HOME}/.local/share/spotify
include /etc/firejail/disable-common.inc
include /etc/firejail/disable-programs.inc
include /etc/firejail/disable-devel.inc
include /etc/firejail/disable-passwdmgr.inc

# Whitelist the folders needed by Spotify - This is more restrictive
# than a blacklist though, but this is all spotify requires for
# streaming audio
mkdir ${HOME}/.config
mkdir ${HOME}/.config/spotify
whitelist ${HOME}/.config/spotify
mkdir ${HOME}/.local
mkdir ${HOME}/.local/share
mkdir ${HOME}/.local/share/spotify
whitelist ${HOME}/.local/share/spotify
mkdir ${HOME}/.cache
mkdir ${HOME}/.cache/spotify
whitelist ${HOME}/.cache/spotify
whitelist /mnt/Data/Spotify-local
include /etc/firejail/whitelist-common.inc

caps.drop all
seccomp
protocol unix,inet,inet6,netlink
netfilter
nonewprivs
noroot

The version of Firejail I'm using is 0.9.40.

I mount the NTFS volume using NTFS-3g (version 2016.2.22).

<!-- gh-comment-id:241557347 --> @DDoubleU commented on GitHub (Aug 22, 2016): My apologies, I was a bit brief in my opening post. The entire spotify.profile file looks as following: `# Spotify media player profile` `noblacklist ${HOME}/.config/spotify` `noblacklist ${HOME}/.cache/spotify` `noblacklist ${HOME}/.local/share/spotify` `include /etc/firejail/disable-common.inc` `include /etc/firejail/disable-programs.inc` `include /etc/firejail/disable-devel.inc` `include /etc/firejail/disable-passwdmgr.inc` ` ` `# Whitelist the folders needed by Spotify - This is more restrictive ` `# than a blacklist though, but this is all spotify requires for ` `# streaming audio` `mkdir ${HOME}/.config` `mkdir ${HOME}/.config/spotify` `whitelist ${HOME}/.config/spotify` `mkdir ${HOME}/.local` `mkdir ${HOME}/.local/share` `mkdir ${HOME}/.local/share/spotify` `whitelist ${HOME}/.local/share/spotify` `mkdir ${HOME}/.cache` `mkdir ${HOME}/.cache/spotify` `whitelist ${HOME}/.cache/spotify` `whitelist /mnt/Data/Spotify-local` `include /etc/firejail/whitelist-common.inc` ` ` `caps.drop all` `seccomp` `protocol unix,inet,inet6,netlink` `netfilter` `nonewprivs` `noroot` The version of Firejail I'm using is 0.9.40. I mount the NTFS volume using NTFS-3g (version 2016.2.22).
Author
Owner

@netblue30 commented on GitHub (Sep 6, 2016):

whitelist /mnt/Data/Spotify-local

The problem is /mnt is not yet supported for whitelisting. I was afraid it had something to do with NTFS. I added an entry on my todo list to bring in support for whitelisting /mnt.

<!-- gh-comment-id:244939757 --> @netblue30 commented on GitHub (Sep 6, 2016): > whitelist /mnt/Data/Spotify-local The problem is /mnt is not yet supported for whitelisting. I was afraid it had something to do with NTFS. I added an entry on my todo list to bring in support for whitelisting /mnt.
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#499
No description provided.