[GH-ISSUE #880] --overlayfs problem: user directory not recognize #597

Open
opened 2026-05-05 06:14:50 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @netblue30 on GitHub (Oct 29, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/880

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".

Originally created by @netblue30 on GitHub (Oct 29, 2016). Original GitHub issue: https://github.com/netblue30/firejail/issues/880 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".
gitea-mirror added the
bug
overlayfs
labels 2026-05-05 06:14:50 -06:00
Author
Owner

@Hocuri commented on GitHub (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.

<!-- gh-comment-id:344390569 --> @Hocuri commented on GitHub (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 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#597
No description provided.