[GH-ISSUE #2011] invalid whitelist path if /var/tmp is symlink to /tmp #1354

Closed
opened 2026-05-05 07:55:16 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @msva on GitHub (Jun 23, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2011

Hi there!

I've faced sad issue on git HEAD:
if /var/tmp is symlink to /tmp, firejail refuses to start (because it includes /etc/firejail/whitelist-var-common.inc), and says:

...
Error: invalid whitelist path /var/tmp
Error: proc 1110 cannot sync with peer: unexpected EOF
Peer 1111 unexpectedly exited with status 1

Although, there is some checks for /var/tmp being a symlink in fs.c, it still fails in whitelist.c.

Can you fix it, please?

Originally created by @msva on GitHub (Jun 23, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2011 Hi there! I've faced sad issue on git HEAD: if /var/tmp is symlink to /tmp, firejail refuses to start (because it includes `/etc/firejail/whitelist-var-common.inc`), and says: ``` ... Error: invalid whitelist path /var/tmp Error: proc 1110 cannot sync with peer: unexpected EOF Peer 1111 unexpectedly exited with status 1 ``` Although, there is some checks for `/var/tmp` being a symlink in `fs.c`, it still fails in `whitelist.c`. Can you fix it, please?
Author
Owner

@smitsohu commented on GitHub (Jun 26, 2018):

I've pushed a fix, can you give it a try?

<!-- gh-comment-id:400134796 --> @smitsohu commented on GitHub (Jun 26, 2018): I've pushed a fix, can you give it a try?
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#1354
No description provided.