mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #360] CentOS 7: Cannot mount a new user namespace. Unshare: Invalid argument #257
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#257
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 @jlj2 on GitHub (Mar 9, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/360
Immediately after installing on CentOS 7.2 with
sudo yum localinstall firejail-0.9.38-1.x86_64.rpm:Perhaps some of my hardening has caused this? e.g.
If the hardening may be to blame, is there a way around this without reversing the hardening?
$ firejail --seccomp firefoxproduces a similar result. Thank you very much for your program; it worked well in another distro.
@netblue30 commented on GitHub (Mar 9, 2016):
Yes, this is a problem with how they implement user namespaces in the 3.10 kernel distributed with Centos 7. It used to work, but it was broken last month by a kernel update. You'll need to reconfigure firejail code with --disable-userns and recompile:
In the next version, the rpm packages will be fixed, I'll have a test version out in a few days.
@netblue30 commented on GitHub (Mar 10, 2016):
I put a fix in, disregard my previous comment. Thanks.
@jessfraz commented on GitHub (Aug 17, 2016):
@netblue30 do you have a link to the centos 7 bugzilla for this
@netblue30 commented on GitHub (Aug 18, 2016):
You mean on CentOS website?
@jessfraz commented on GitHub (Aug 18, 2016):
yeah I was trying to find one
@netblue30 commented on GitHub (Aug 20, 2016):
There isn't any, firejail is not included in CentOS, so they don't track firejail bugs.
@jessfraz commented on GitHub (Aug 20, 2016):
Obviously I meant with regard to their messed up user namespaces.
On Saturday, August 20, 2016, netblue30 notifications@github.com wrote:
Jessie Frazelle
4096R / D4C4 DD60 0D66 F65A 8EFC 511E 18F3 685C 0022 BFF3
pgp.mit.edu http://pgp.mit.edu/pks/lookup?op=get&search=0x18F3685C0022BFF3
@netblue30 commented on GitHub (Aug 20, 2016):
They are still running a 3.10 kernel. I think user namespace went in 3.8, and they've been fixing it ever since - mostly security problems. You really need a much newer kernel to be able to use them.