mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3724] [abrt] firejail: iopl(): faudit killed by SIGSYS #2345
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#2345
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 @odubaj on GitHub (Nov 5, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3724
Firejail used: Target: Appimage
Version-Release number of selected component:
firejail-0.9.62
Additional info:
reporter: libreport-2.12.0
backtrace_rating: 4
cgroup: 0::/user.slice/user-1000.slice/user@1000.service/gnome-terminal-server.service
cmdline: /usr/lib64/firejail/faudit syscall iopl
crash_function: iopl
executable: /usr/lib64/firejail/faudit
journald_cursor: s=349286f12e264b8ab9b41b7b72e0f25b;i=1a5df;b=e56abb028e2b43a6bffd3ce1716070e0;m=4d5658ed4;t=59eed73218c61;x=6ef9763ce5a9c60c
kernel: 5.4.18-200.fc31.x86_64
rootdir: /
runlevel: N 5
type: CCpp
uid: 1000
Truncated backtrace:
Thread no. 1 (2 frames)
#0 iopl at ../sysdeps/unix/syscall-template.S:78
#1 syscall_helper at syscall.c:80
coredump.zip
@rusty-snake commented on GitHub (Nov 6, 2020):
What
firejai --auditdoes (manpage):So
firejail --auditrunsfauditinside the sandbox.fauditchecks some syscalls whether they are blacklisted or not. Until firejail 0.9.64 a program gets killed if it violates seccomp rules, that's why fauditforks andexecls and then makes the syscall and checks if the child was killed. The default rules forseccompblacklistiopl. If you now runfirejail --audit(orfirejai --audit firefox,firejail --audit --profile=totem, ...) with a seccomp filter, faudit gets killed. So if/usr/lib64/firejail/faudit(or better/usr/lib64/firejail/faudit syscall <SYSCALL>) crashes/gets killed, this is usually expected behaviour. The only thing that confuses me is that you have rhbz#1804702 and rhbz#1884143 but no for other syscalls such asioperm,pivot_root, ....IMHO abrt should ignore
fauditor at least/usr/lib64/firejail/faudit syscall <SYSCALL>. Maybe abrt should even ignore everything in a firejail sandbox or at least add a note that the crash was inside firejail. This could avoid bug searching in other programs where the sandbox is the cause.source. Normally it's faster to open a issue here, because here are around 6 persons frequently reading and answering (if they can say something useful) and much more who read and answer from time to time.
@rusty-snake commented on GitHub (Apr 6, 2021):
faudit was removed in
5c95f0f9