mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #270] adduser doesn't work while firejail in use #187
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theotherandre on GitHub (Jan 29, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/270
I used the released package 0.9.36 as well as a self compiled 0.9.36 from Debian on my Jessie box.
Adding user "test" ...Adding new group "test" (1004) ...groupadd: failure while writing changes to /etc/groupadduser: "/usr/sbin/groupadd -g 1004 test" returned error code 10. Exiting.The same with firejail --noprofile firefox
Normal writing to /etc/group works. I think, there should be no relation between a jail started by a normal user and the denial of system task outside of the jail.
@manevich commented on GitHub (Jan 29, 2016):
Most likely, this is same issue as I reported: firejail blacklists important system files by mounting tmpfs over them. On older kernels, this causes error when you try to remove such files.
See issue https://github.com/netblue30/firejail/issues/261
No solution except upgrading to newer kernel.
With linux-image-4.2.0-0.bpo.1-amd64 everything fine.
@theotherandre commented on GitHub (Jan 30, 2016):
Yes I agree it appears to be the same problem. I tested it with a stock kernel 3.18.26 running on my server and the problem did not occur there.
An: netblue30/firejail firejail@noreply.github.com
CC: theotherandre theotherandre@noreply.github.com
Gesendet: 18:21 Freitag, 29.Januar 2016
Betreff: Re: [firejail] adduser doesn't work while firejail in use (#270)
Most likely, this is same issue as I reported: on older kernels firejail locks important system files by mounting tmpfs over them.
See issue #261
No solution except upgrading to newer kernel.
With linux-image-4.2.0-0.bpo.1-amd64 everything fine.—
Reply to this email directly or view it on GitHub.
@netblue30 commented on GitHub (Feb 1, 2016):
I documented the problem on the project page: https://firejail.wordpress.com/support/known-problems/