[GH-ISSUE #4059] firejail.config not found after following git instructions on the source .tarball #2523

Closed
opened 2026-05-05 09:12:09 -06:00 by gitea-mirror · 5 comments
Owner

Originally created by @tredondo on GitHub (Mar 7, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4059

I followed the Debian/Ubuntu -> "With AppArmor" instructions, but instead of waiting to clone the whole repo, I downloaded the source tarball.

After following the build instructions when I run firejail, I get

Error: Firejail configuration file /usr/local/etc/firejail/firejail.config not found

Now I don't know how to uninstall this so it won't conflict with the firejail from the Ubuntu packages :(

Originally created by @tredondo on GitHub (Mar 7, 2021). Original GitHub issue: https://github.com/netblue30/firejail/issues/4059 I followed the [Debian/Ubuntu](https://github.com/netblue30/firejail/wiki/Using-firejail-from-git#debianubuntu) -> "With AppArmor" instructions, but instead of waiting to clone the whole repo, I downloaded [the source tarball](https://github.com/netblue30/firejail/releases/download/0.9.64.4/firejail-0.9.64.4.tar.xz). After following the build instructions when I run firejail, I get > Error: Firejail configuration file /usr/local/etc/firejail/firejail.config not found Now I don't know how to uninstall this so it won't conflict with the `firejail` from the Ubuntu packages :(
Author
Owner

@rusty-snake commented on GitHub (Mar 7, 2021):

but instead of waiting to clone the whole repo

FYI: git clone --depth=1 https://github.com/netblue30/firejail.git

Now I don't know how to uninstall this so it won't conflict with the firejail from the Ubuntu packages :(

If you have not delted you build dir yet: sudo make uninstall

<!-- gh-comment-id:792240286 --> @rusty-snake commented on GitHub (Mar 7, 2021): > but instead of waiting to clone the whole repo FYI: `git clone --depth=1 https://github.com/netblue30/firejail.git` > Now I don't know how to uninstall this so it won't conflict with the firejail from the Ubuntu packages :( If you have not delted you build dir yet: `sudo make uninstall`
Author
Owner

@ghost commented on GitHub (Mar 7, 2021):

I followed the Debian/Ubuntu -> "With AppArmor" instructions
Error: Firejail configuration file /usr/local/etc/firejail/firejail.config not found

That's odd. Seeing /usr/local/etc/firejail suggests you didn't use the --prefix=/usr part of the instructions:

$ ./configure --enable-apparmor --prefix=/usr && make && sudo make install-strip

There is also a PPA you can use that offers latest stable releases and which is maintained by one of our collaborators. That might be easier to keep up with than building from git.

<!-- gh-comment-id:792243883 --> @ghost commented on GitHub (Mar 7, 2021): > I followed the Debian/Ubuntu -> "With AppArmor" instructions Error: Firejail configuration file /usr/local/etc/firejail/firejail.config not found That's odd. Seeing /usr/local/etc/firejail suggests you didn't use the --prefix=/usr part of the instructions: ``` $ ./configure --enable-apparmor --prefix=/usr && make && sudo make install-strip ``` There is also a [PPA](https://launchpad.net/~deki/+archive/ubuntu/firejail) you can use that offers latest stable releases and which is maintained by one of our collaborators. That might be easier to keep up with than building from git.
Author
Owner

@tredondo commented on GitHub (Mar 7, 2021):

I'm 95% sure I copy-pasted that instruction line, because I was able to build from git using the same instructions, and it's working now.

@rusty-snake re "If you have not delted you build dir yet: sudo make uninstall"

https://github.com/netblue30/firejail/wiki/Using-firejail-from-git#cons says "uninstalling can be complicated if you delete the repo or run ./configure with other flags". Should that be amended to mention sudo make uninstall?

<!-- gh-comment-id:792249997 --> @tredondo commented on GitHub (Mar 7, 2021): I'm 95% sure I copy-pasted that instruction line, because I was able to [build from git](https://github.com/netblue30/firejail/discussions/4062) using the same instructions, and it's working now. @rusty-snake re "If you have not delted you build dir yet: `sudo make uninstall`" https://github.com/netblue30/firejail/wiki/Using-firejail-from-git#cons says "uninstalling can be complicated if you delete the repo or run ./configure with other flags". Should that be amended to mention `sudo make uninstall`?
Author
Owner

@rusty-snake commented on GitHub (Mar 14, 2021):

A uninstall instruction for https://github.com/netblue30/firejail/wiki/Using-firejail-from-git#makefile sound reasonable.

<!-- gh-comment-id:798971468 --> @rusty-snake commented on GitHub (Mar 14, 2021): A uninstall instruction for https://github.com/netblue30/firejail/wiki/Using-firejail-from-git#makefile sound reasonable.
Author
Owner

@rusty-snake commented on GitHub (May 12, 2021):

Added sudo make uninstall to https://github.com/netblue30/firejail/wiki/Using-firejail-from-git#makefile.

<!-- gh-comment-id:840009191 --> @rusty-snake commented on GitHub (May 12, 2021): Added `sudo make uninstall` to https://github.com/netblue30/firejail/wiki/Using-firejail-from-git#makefile.
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#2523
No description provided.