[GH-ISSUE #1559] sudo firecfg : Add profiles in ~/.config/firejail #1036

Closed
opened 2026-05-05 07:20:17 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @curiosity-seeker on GitHub (Sep 17, 2017).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1559

The new profile build tool is very useful - thanks a lot, @netblue30 ! Now that creating one's own profiles is easier than ever - isnt't this an additional argument that sudo firecfg should also take the profiles in ~/.config/firejail into account?

Originally created by @curiosity-seeker on GitHub (Sep 17, 2017). Original GitHub issue: https://github.com/netblue30/firejail/issues/1559 The new profile build tool is very useful - thanks a lot, @netblue30 ! Now that creating one's own profiles is easier than ever - isnt't this an additional argument that `sudo firecfg` should also take the profiles in ~/.config/firejail into account?
gitea-mirror 2026-05-05 07:20:17 -06:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@netblue30 commented on GitHub (Sep 18, 2017):

Definitely a bug, thanks!

<!-- gh-comment-id:330205643 --> @netblue30 commented on GitHub (Sep 18, 2017): Definitely a bug, thanks!
Author
Owner

@netblue30 commented on GitHub (Sep 20, 2017):

Fixed, you can try it out.

<!-- gh-comment-id:330953232 --> @netblue30 commented on GitHub (Sep 20, 2017): Fixed, you can try it out.
Author
Owner

@curiosity-seeker commented on GitHub (Sep 21, 2017):

Thanks, but unfortunately this doesn't seem to work. I tested the profile build tool and created for fun a profile for speedcrunch in ~/.config/firejail. And it's, indeed, used whenever I execute firejail speedcrunch:

$? ✓ xxx@FEDORA ~ $ firejail speedcrunch
Reading profile /home/xxx/.config/firejail/speedcrunch.profile

However, sudo firecfg does not add a corresponding symlink in /usr/local/bin.

<!-- gh-comment-id:331118070 --> @curiosity-seeker commented on GitHub (Sep 21, 2017): Thanks, but unfortunately this doesn't seem to work. I tested the profile build tool and created for fun a profile for speedcrunch in ~/.config/firejail. And it's, indeed, used whenever I execute `firejail speedcrunch`: ``` $? ✓ xxx@FEDORA ~ $ firejail speedcrunch Reading profile /home/xxx/.config/firejail/speedcrunch.profile ``` However, `sudo firecfg` does **not** add a corresponding symlink in /usr/local/bin.
Author
Owner

@SkewedZeppelin commented on GitHub (Sep 21, 2017):

It seems to be looking in ~/.configure not ~/.config, see 4560185cfe (diff-23090d1a48862a575a2500a2ac321ed4R351)

However even then changing that it still doesn't seem to work.

<!-- gh-comment-id:331121102 --> @SkewedZeppelin commented on GitHub (Sep 21, 2017): It seems to be looking in ~/.configure not ~/.config, see https://github.com/netblue30/firejail/commit/4560185cfe17aff45659bdae51794732e456a433#diff-23090d1a48862a575a2500a2ac321ed4R351 However even then changing that it still doesn't seem to work.
Author
Owner

@netblue30 commented on GitHub (Sep 21, 2017):

I was looking in the wrong place in the code! I have a new fix in.

<!-- gh-comment-id:331180963 --> @netblue30 commented on GitHub (Sep 21, 2017): I was looking in the wrong place in the code! I have a new fix in.
Author
Owner

@curiosity-seeker commented on GitHub (Sep 21, 2017):

Great! The new fix worked for me :-) Thank you very much!

<!-- gh-comment-id:331200612 --> @curiosity-seeker commented on GitHub (Sep 21, 2017): Great! The new fix worked for me :-) Thank you very much!
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#1036
No description provided.