[GH-ISSUE #2150] --build should not assume that firejail's default profile dir is /etc/firejail #1459

Closed
opened 2026-05-05 08:07:31 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @crass on GitHub (Oct 9, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2150

The option --build is hardcoded to build profiles assuming the firejail profile dir is /etc/local, but it may not be if firejail was installed in a non-default location. It should also use the ${CFG} macro in the output.

Originally created by @crass on GitHub (Oct 9, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2150 The option `--build` is hardcoded to build profiles assuming the firejail profile dir is `/etc/local`, but it may not be if firejail was installed in a non-default location. It should also use the `${CFG}` macro in the output.
gitea-mirror 2026-05-05 08:07:31 -06:00
Author
Owner

@reinerh commented on GitHub (Oct 9, 2018):

The option --build is hardcoded to build profiles assuming the firejail profile dir is /etc/local

I think you mean /etc/firejail?

I agree, it should use the configured sysconfdir instead of hardcoded paths.

Edit: wasn't aware of ${CFG}, which will be replaced by the sysconfdir. that's an even better solution.

<!-- gh-comment-id:428101358 --> @reinerh commented on GitHub (Oct 9, 2018): > The option --build is hardcoded to build profiles assuming the firejail profile dir is `/etc/local` I think you mean `/etc/firejail`? I agree, it should use the configured sysconfdir instead of hardcoded paths. Edit: wasn't aware of `${CFG}`, which will be replaced by the sysconfdir. that's an even better solution.
Author
Owner

@chiraag-nataraj commented on GitHub (May 20, 2019):

We should fix this!

<!-- gh-comment-id:494049071 --> @chiraag-nataraj commented on GitHub (May 20, 2019): We should fix this!
Author
Owner

@rusty-snake commented on GitHub (Jan 25, 2020):

Since 0.9.60 no /etc/firejail in profiles is needed.

Since --build is completely outdated anyway, IMHO it is better to remove it from firejail and replace it with an own firebuild program.

<!-- gh-comment-id:578391486 --> @rusty-snake commented on GitHub (Jan 25, 2020): Since 0.9.60 no `/etc/firejail` in profiles is needed. Since `--build` is completely outdated anyway, IMHO it is better to remove it from firejail and replace it with an own firebuild program.
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#1459
No description provided.