Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firejail.config not found after following git instructions on the source .tarball #4059

Closed
tredondo opened this issue Mar 7, 2021 · 5 comments

Comments

@tredondo
Copy link
Contributor

tredondo commented Mar 7, 2021

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 :(

@rusty-snake
Copy link
Collaborator

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

@glitsj16
Copy link
Collaborator

glitsj16 commented 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.

@tredondo
Copy link
Contributor Author

tredondo commented 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?

@rusty-snake
Copy link
Collaborator

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

@rusty-snake
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants