mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #918] seccomp: document logging and audit.d #624
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#624
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 @vn971 on GitHub (Nov 18, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/918
Consider a program trying to execute a forbidden syscall. According to this guide [1], firejail should generate a syslog/journalctl warning showing the failing syscall.
In practice, I observe the program dying silently.
For example, this command:
Will generate a syslog/systemctl entry
But no entry for the forbidden syscall.
Thoughts?
Operating system is amd64 ArchLinux.
[1] https://firejail.wordpress.com/documentation-2/seccomp-guide/
@reinerh commented on GitHub (Nov 18, 2016):
You need to run auditd.
And depending on its configuration it will log to /var/log/(audit/)audit.log, but you can probably configure it to forward to syslog.
@vn971 commented on GitHub (Nov 18, 2016):
@reinerh thanks! Indeed.
What makes things works, ArchLinux does not have audit enabled at kernel build time by default (CONFIG_AUDIT). So you have to compile the kernet to enable audit: https://wiki.archlinux.org/index.php/Audit_framework
BTW, it's not just logging, firejail really needs this kernel functionality, right?
@vn971 commented on GitHub (Nov 19, 2016):
BTW, I think it would be nice to mention this stuff in seccomp documentation.
But it's on wordpress, so my only option is to.. /Ping @netblue30. Could you please add some info about that on the page?
If it's not convenient, feel free to close this issue for now. Thanks in either case.
@netblue30 commented on GitHub (Nov 19, 2016):
I'll add it to the man page.
@vn971 commented on GitHub (Nov 19, 2016):
@netblue30 Should I create a PR?)
@netblue30 commented on GitHub (Nov 19, 2016):
Yes!