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

--overlayfs problem: user directory not recognize #880

Open
netblue30 opened this issue Oct 29, 2016 · 1 comment
Open

--overlayfs problem: user directory not recognize #880

netblue30 opened this issue Oct 29, 2016 · 1 comment
Labels
bug Something isn't working

Comments

@netblue30
Copy link
Owner

From wordpress:

rosika@rosika-Lenovo-H520e ~> firejail –overlay firefox
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/disable-mgmt.inc
Reading profile /etc/firejail/disable-secret.inc
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/whitelist-common.inc
Warning: –overlay and –noroot are mutually exclusive, noroot disabled
Parent pid 2362, child pid 2363
OverlayFS configured in /home/rosika/.firejail/2362 directory
Warning: cannot find home directory
***
*** Warning: cannot whitelist Downloads directory
*** Any file saved will be lost when the sandbox is closed.
*** Please create a proper Downloads directory for your application.
***
Blacklist violations are logged to syslog
Warning: failed to unmount /sys

Child process initialized
parent is shutting down, bye..

User is running Ubuntu 16.04, kernel version 4.4.0-45-generic x86_64 , home is mounted on a separate partition, "Warning: cannot find home directory" and "Warning: cannot whitelist Downloads directory".

@netblue30 netblue30 added the bug Something isn't working label Oct 29, 2016
@Hocuri
Copy link

Hocuri commented Nov 14, 2017

I also had this behavior and I think that is is because the separate home partition is not mounted properly (in a virtual machine with almost same setting but without separate home everything was fine).
And without a home directory at all something had to go wrong.

It also happens when you just execute firejail --overlay-tmpfs; then a firejailed shell appears but you can't do anything because there is no home directory.

With firejail --overlay-tmpfs --private firefox a firefox window appears but of course Downloads directory can't be whitelisted either and also --private option may be not wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants