[GH-ISSUE #2859] Problem with Spotify #1783

Closed
opened 2026-05-05 08:27:05 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @stastnypremysl on GitHub (Jul 15, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2859

When I try to run Spotify, I get this error:

Reading profile /etc/firejail/spotify.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Warning: networking feature is disabled in Firejail configuration file
Parent pid 3003, child pid 3004
Warning: skipping pki for private /etc
Warning: skipping crypto-policies for private /etc
Private /etc installed in 25.61 ms
Warning: skipping spotify for private /opt
Error mount bind: fs_etc.c:182 fs_private_dir_list: No such file or directory
Error: proc 3003 cannot sync with peer: unexpected EOF
Peer 3004 unexpectedly exited with status 1

What does it mean please? How can I fix it?

Originally created by @stastnypremysl on GitHub (Jul 15, 2019). Original GitHub issue: https://github.com/netblue30/firejail/issues/2859 When I try to run Spotify, I get this error: ``` Reading profile /etc/firejail/spotify.profile Reading profile /etc/firejail/disable-common.inc Reading profile /etc/firejail/disable-devel.inc Reading profile /etc/firejail/disable-interpreters.inc Reading profile /etc/firejail/disable-passwdmgr.inc Reading profile /etc/firejail/disable-programs.inc Reading profile /etc/firejail/whitelist-common.inc Reading profile /etc/firejail/whitelist-var-common.inc Warning: networking feature is disabled in Firejail configuration file Parent pid 3003, child pid 3004 Warning: skipping pki for private /etc Warning: skipping crypto-policies for private /etc Private /etc installed in 25.61 ms Warning: skipping spotify for private /opt Error mount bind: fs_etc.c:182 fs_private_dir_list: No such file or directory Error: proc 3003 cannot sync with peer: unexpected EOF Peer 3004 unexpectedly exited with status 1 ``` What does it mean please? How can I fix it?
Author
Owner

@smitsohu commented on GitHub (Jul 15, 2019):

Can you post the output of ls -ld /opt /srv?

<!-- gh-comment-id:511415628 --> @smitsohu commented on GitHub (Jul 15, 2019): Can you post the output of `ls -ld /opt /srv`?
Author
Owner

@stastnypremysl commented on GitHub (Jul 15, 2019):

ls -ld /opt /srv
ls: cannot access '/opt': No such file or directory
drwxr-xr-x 2 root root 4096 Apr 27 13:30 /srv
<!-- gh-comment-id:511443266 --> @stastnypremysl commented on GitHub (Jul 15, 2019): ``` ls -ld /opt /srv ls: cannot access '/opt': No such file or directory drwxr-xr-x 2 root root 4096 Apr 27 13:30 /srv ```
Author
Owner

@SkewedZeppelin commented on GitHub (Jul 15, 2019):

@stastnypremysl distro? firejail version?

<!-- gh-comment-id:511560247 --> @SkewedZeppelin commented on GitHub (Jul 15, 2019): @stastnypremysl distro? firejail version?
Author
Owner

@stastnypremysl commented on GitHub (Jul 15, 2019):

Debian GNU/Linux 10 (buster)
firejail version 0.9.58.2

Thank you for you help.

On Mon, Jul 15, 2019 at 01:37:32PM -0700, SkewedZeppelin wrote:

@stastnypremysl distro? firejail version?

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/netblue30/firejail/issues/2859#issuecomment-511560247

<!-- gh-comment-id:511561025 --> @stastnypremysl commented on GitHub (Jul 15, 2019): Debian GNU/Linux 10 (buster) firejail version 0.9.58.2 Thank you for you help. On Mon, Jul 15, 2019 at 01:37:32PM -0700, SkewedZeppelin wrote: >@stastnypremysl distro? firejail version? > >-- >You are receiving this because you were mentioned. >Reply to this email directly or view it on GitHub: >https://github.com/netblue30/firejail/issues/2859#issuecomment-511560247
Author
Owner

@smitsohu commented on GitHub (Jul 16, 2019):

This error is caused by private-opt expecting an /opt directory.

So you have a choice: Either create a new /opt directory, or create an /etc/firejail/globals.local file and put ignore private-opt inside.

<!-- gh-comment-id:511697043 --> @smitsohu commented on GitHub (Jul 16, 2019): This error is caused by `private-opt` expecting an /opt directory. So you have a choice: Either create a new /opt directory, or create an /etc/firejail/globals.local file and put `ignore private-opt` inside.
Author
Owner

@stastnypremysl commented on GitHub (Jul 16, 2019):

Thanks. I created a new opt folder and everything is fine.

Isn't that bug by the way? Firejail shouldn't rely on existance of this folder, because it can be deleted any time by dpkg.
On Tue, Jul 16, 2019 at 12:17:54AM -0700, smitsohu wrote:

This error is caused by private-opt expecting an /opt directory.

So you have two choices: Either create a new /opt directory, or create a /etc/firejail/globals.local file and put ignore private-opt inside.

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/netblue30/firejail/issues/2859#issuecomment-511697043

<!-- gh-comment-id:511721136 --> @stastnypremysl commented on GitHub (Jul 16, 2019): Thanks. I created a new opt folder and everything is fine. Isn't that bug by the way? Firejail shouldn't rely on existance of this folder, because it can be deleted any time by dpkg. On Tue, Jul 16, 2019 at 12:17:54AM -0700, smitsohu wrote: >This error is caused by `private-opt` expecting an /opt directory. > >So you have two choices: Either create a new /opt directory, or create a /etc/firejail/globals.local file and put ignore `private-opt` inside. > >-- >You are receiving this because you were mentioned. >Reply to this email directly or view it on GitHub: >https://github.com/netblue30/firejail/issues/2859#issuecomment-511697043
Author
Owner

@smitsohu commented on GitHub (Jul 16, 2019):

Fixed!

<!-- gh-comment-id:511734941 --> @smitsohu commented on GitHub (Jul 16, 2019): Fixed!
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#1783
No description provided.