mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #749] 0.9.42~rc2: Runtime Errors #510
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#510
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 @githububub on GitHub (Aug 29, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/749
Arch. Stock kernel. Stock grsec kernel. Custom grsec kernel. Same results. Comment out private-dev in the profile and standard output kicks back a "fs_private_etc" error. Reinstalled 0.9.42~rc1. Everything works as expected.
Build log and a few test commands: http://pastebin.com/c7YBfchM
UPDATE: Rebuilt without -fPIE as I noted -fPIC and -pie were altready being passed. Same errors.
@manevich commented on GitHub (Aug 29, 2016):
Thanks for reporting.
My commits, especially
0ee599684care source of this problem.I am downloading Arch now to check it further.
I did tested it on Debian Linux with stock kernel and on Alpine Linux with grsec kernel before commiting.
@manevich commented on GitHub (Aug 29, 2016):
Unable to reproduce on fresh ArchLinux installation in VirtualBox, using latest git compiled/installed manually.
I am not familiar with Arch, so can you provide further details/suggestion?
@netblue30 commented on GitHub (Aug 29, 2016):
It is affected by umask. This is a small test program:
Compile and run I get:
umask setting is extracted from 0777 we intended for our directory. In "man 2 umask" they say:
So, we need to make a chmod after mkdir/open calls, something like this:
@reinerh commented on GitHub (Aug 29, 2016):
Running the test suite results in some additional errors:
https://gist.github.com/reinerh/71f4df0ab5486aa861111c072cc72132
[...]
@manevich commented on GitHub (Aug 29, 2016):
@netblue30 Thanks for pointing this! I completely forgot that umask affects mkdir too.
Will submit pull request soon.
@netblue30 commented on GitHub (Aug 30, 2016):
Sure, no problem.