mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3865] obs: program does not start #2433
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#2433
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 @energrizer-9032 on GitHub (Jan 2, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3865
I replaced my desktop shortcut of obs studio by running command
firecfg.obs studio is not even showing up.(it shows in htop )
Please help me
@rusty-snake commented on GitHub (Jan 2, 2021):
Which firejail version do you use? What distro are you on? Are there any errors in the terminal or in the syslog if you run
firejail /usr/bin/obs? Doesfirejail --noprofile /usr/bin/obswork? Has you made any custom overrides in~/.config/firejail?@energrizer-9032 commented on GitHub (Jan 3, 2021):
Firejail 0.9.64-2. I am on Manjaro. As far as I know there are no errors. yes
firejail --noprofile /usr/bin/obsdoes work. No custom overrides in config file@rusty-snake commented on GitHub (Jan 4, 2021):
That's good and bad. Bad: no error message means we have no hint what could go wrong. Good: because --noprofile works, this can be solved by adopting obs.profile.
Can you copy obs.profile to your home and the use
firejail --profile=./ob.profile /usr/bin/obsto start. Then you comment ~/.obs.profile and start uncommenting it line for line.@X6B commented on GitHub (Jan 5, 2021):
Add:
seccomp !kcmpto your local profile.@kmk3 commented on GitHub (Jan 5, 2021):
In that case, the cause is likely the same as #3219.
What's the gpu vendor/driver?
@X6B commented on GitHub (Jan 6, 2021):
In my case: Archlinux & AMD OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.3.2.
@kmk3 commented on GitHub (Jan 6, 2021):
Then it's probably #3219 indeed.
@energrizer-9032 Does https://github.com/netblue30/firejail/issues/3865#issuecomment-754582919 solve it for you?
If not, does
https://github.com/netblue30/firejail/blob/6d952144bd5049a95ea1799648ed4a3ee5ad1e76/etc/templates/syscalls.txt#L89
give any results?
@rusty-snake commented on GitHub (Jan 6, 2021):
Since firejail 0.9.64 you need to use
firejail --seccomp-error-action=kill …to get audit events.@kmk3 commented on GitHub (Jan 6, 2021):
It has always appeared on /var/log/kernel.log on Artix for me, using the
default firejail.config (which seems to use EPERM).
I just tested it again on 0.9.64 to confirm, by forcing the keepassxc violation
from #3760.
The way I understand it is that whenever there's a seccomp violation, the
kernel itself writes directly to the kernel log, regardless of the options.
@rusty-snake commented on GitHub (Jan 7, 2021):
Fedora 32; Firejail 0.9.65 (
d5824f1); Linux 5.9.16-100.fc32.x86_64gcc -o w w.cjournalctl --boot --pager-end --follow@X6B commented on GitHub (Jan 7, 2021):
What is not working is the virtual camera feature added some releases ago: https://github.com/obsproject/obs-studio/issues/3845
Even
firejail --noprofile obsdoes not work on Archlinux. That feature only works deleting the obs symlink created by firecfg.@kmk3 commented on GitHub (Jan 7, 2021):
@rusty-snake Alright, same results here.
Well, the only times I remember having seccomp issues were with keepassxc and
steam.
And strangely enough, these do not log:
(this works; not sure what to do to force it to fail)
But these always do:
The seccomp.drop line is this (from https://github.com/netblue30/firejail/issues/3267#issuecomment-596184708):
seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@swap,open_by_handle_at,name_to_handle_at,ioprio_set,ni_syscall,syslog,fanotify_init,add_key,request_key,mbind,migrate_pages,move_pages,keyctl,io_setup,io_destroy,io_getevents,io_submit,io_cancel,remap_file_pages,set_mempolicyvmsplice,umount,userfaultfd,acct,bpf,chroot,mount,nfsservctl,pivot_root,setdomainname,sethostname,umount2,vhangupMaybe it only happens with GUI programs or with specific syscalls?
@rusty-snake commented on GitHub (Jan 8, 2021):
Best (for debugging):
firejail --noprofile --shell=none --seccomp.drop=write --seccomp-error-action=log ./w@rusty-snake commented on GitHub (Mar 8, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you still have this issue.