[GH-ISSUE #2257] profiles not copied to etc when doing src install on fedora #1507

Closed
opened 2026-05-05 08:10:23 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @millerthegorilla on GitHub (Nov 10, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2257

I cloned the git repo, and ran the configure and make commands, then make install.
There were no profiles in the /etc/firejail/profiles afterwards.
Also, I've just reinstalled to check that the profiles were not installing, from memory, when I installed the last time, the firejail.user files were either created by myself or did not have the correct permissions (they had 0640).
I don't know if this is expected, but having installed on ubuntu in the past, there was a profile directory created. I am currently on fedora 29 with gnome 3.
Many thanks

Originally created by @millerthegorilla on GitHub (Nov 10, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2257 I cloned the git repo, and ran the configure and make commands, then make install. There were no profiles in the /etc/firejail/profiles afterwards. Also, I've just reinstalled to check that the profiles were not installing, from memory, when I installed the last time, the firejail.user files were either created by myself or did not have the correct permissions (they had 0640). I don't know if this is expected, but having installed on ubuntu in the past, there was a profile directory created. I am currently on fedora 29 with gnome 3. Many thanks
gitea-mirror 2026-05-05 08:10:23 -06:00
Author
Owner

@millerthegorilla commented on GitHub (Nov 10, 2018):

My bad. The profiles are in /usr/local/etc... doh. Thanks anyway.

<!-- gh-comment-id:437579020 --> @millerthegorilla commented on GitHub (Nov 10, 2018): My bad. The profiles are in /usr/local/etc... doh. Thanks anyway.
Author
Owner

@smitsohu commented on GitHub (Nov 10, 2018):

When installing from source, you'll get the profiles in /etc (and also the binary in the usual place) if you do ./configure --prefix=/usr

This is actually such a frequent source of confusion that I think it might be a good idea to have this documented on the homepage.

<!-- gh-comment-id:437580240 --> @smitsohu commented on GitHub (Nov 10, 2018): When installing from source, you'll get the profiles in /etc (and also the binary in the usual place) if you do `./configure --prefix=/usr` This is actually such a frequent source of confusion that I think it might be a good idea to have this documented on the homepage.
Author
Owner

@smitsohu commented on GitHub (Nov 10, 2018):

...but don't forget that usually (depending on $PATH) an installation in /usr/local is taking precedence over an installation in /usr/bin.

Having a second, unused installation of firejail on the system that is not receiving updates is kind of problematic anyways, so it would be wise to remove one of them.

<!-- gh-comment-id:437581331 --> @smitsohu commented on GitHub (Nov 10, 2018): ...but don't forget that usually (depending on $PATH) an installation in /usr/local is taking precedence over an installation in /usr/bin. Having a second, unused installation of firejail on the system that is not receiving updates is kind of problematic anyways, so it would be wise to remove one of them.
Author
Owner

@SkewedZeppelin commented on GitHub (Nov 10, 2018):

@millerthegorilla see https://github.com/netblue30/firejail/issues/2038#issuecomment-405096879

<!-- gh-comment-id:437609989 --> @SkewedZeppelin commented on GitHub (Nov 10, 2018): @millerthegorilla see https://github.com/netblue30/firejail/issues/2038#issuecomment-405096879
Author
Owner

@millerthegorilla commented on GitHub (Nov 24, 2018):

Many thanks

<!-- gh-comment-id:441373609 --> @millerthegorilla commented on GitHub (Nov 24, 2018): Many thanks
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#1507
No description provided.