[GH-ISSUE #1276] 0.9.46 Breaks Profile Links #869

Closed
opened 2026-05-05 07:00:19 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @pigmonkey on GitHub (May 17, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1276

After upgrading to 0.9.46, I can no longer use symbolic links to profiles.

For example, I can create a simple profile. This works fine:

$ mkdir ~/tmp/firejail
$ cd ~/tmp/firejail
$ echo "include /etc/firejail/disable-common.inc" > test.profile
$ firejail --profile=/home/pigmonkey/tmp/firejail/link.profile bash
Reading profile /home/pigmonkey/tmp/firejail/test.profile
Reading profile /etc/firejail/disable-common.inc
Parent pid 20256, child pid 20258
Warning: /sbin directory link was not blacklisted
Warning: /usr/sbin directory link was not blacklisted
Child process initialized in 50.43 ms
[pigmonkey@nous firejail]$

But as soon as I create a link to the same profile, it fails:

$ ln -s ~/tmp/firejail/test.profile ~/tmp/firejail/link.profile
$ firejail --profile=/home/pigmonkey/tmp/firejail/link.profile bash
Error: invalid profile file

I have a number of customized profiles in ~/.config/firejail. However, these are all links to the profiles in my dotfiles repository. All of them are now broken. Everything worked fine in 0.9.44.10.

Originally created by @pigmonkey on GitHub (May 17, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1276 After upgrading to 0.9.46, I can no longer use symbolic links to profiles. For example, I can create a simple profile. This works fine: ``` $ mkdir ~/tmp/firejail $ cd ~/tmp/firejail $ echo "include /etc/firejail/disable-common.inc" > test.profile $ firejail --profile=/home/pigmonkey/tmp/firejail/link.profile bash Reading profile /home/pigmonkey/tmp/firejail/test.profile Reading profile /etc/firejail/disable-common.inc Parent pid 20256, child pid 20258 Warning: /sbin directory link was not blacklisted Warning: /usr/sbin directory link was not blacklisted Child process initialized in 50.43 ms [pigmonkey@nous firejail]$ ``` But as soon as I create a link to the same profile, it fails: ``` $ ln -s ~/tmp/firejail/test.profile ~/tmp/firejail/link.profile $ firejail --profile=/home/pigmonkey/tmp/firejail/link.profile bash Error: invalid profile file ``` I have a number of customized profiles in `~/.config/firejail`. However, these are all links to the profiles in my dotfiles repository. All of them are now broken. Everything worked fine in 0.9.44.10.
gitea-mirror 2026-05-05 07:00:19 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@startx2017 commented on GitHub (May 17, 2017):

fixed

<!-- gh-comment-id:302115872 --> @startx2017 commented on GitHub (May 17, 2017): fixed
Author
Owner

@pigmonkey commented on GitHub (May 17, 2017):

Thanks. I hope we can get 0.9.46.1 tagged soon.

<!-- gh-comment-id:302143675 --> @pigmonkey commented on GitHub (May 17, 2017): Thanks. I hope we can get 0.9.46.1 tagged soon.
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#869
No description provided.