-
Notifications
You must be signed in to change notification settings - Fork 555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not create AF_NETLINK socket error with LXImage-Qt #6031
Comments
Please test with the following: $ cat ~/.config/firejail/lximage-qt.local
protocol unix,netlink |
The error about AF_NETLINK is gone, but the program still doesn't run.
|
So we don't need netlink in the protocol, which is a good thing for a sandbox. While you were testing I installed lximage-xt on my Arch Linux box. Here it starts and seems to work as expected. I also get those AF_NETLINK warnings but not the D-Bus related last lines from your output:
The lximage-qt profile doesn't restrict dbus (not even the system bus) so I'm not sure what's that about. What happens when you run |
If I run
|
Odd. But I'm not familiar with Artix, especially not regarding its D-Bus functionality. Perhaps @kmk3 can assist, IIRC they're on Artix too. Is DBUS_SESSION_BUS_ADDRESS exported correctly? Is the user socket actually created on your system? Apologies for not being more helpfull, but for now I just cannot reproduce. |
Don't worry, thanks for the help! The |
That might explain things. There's a |
You are right, adding |
The socket also appears on /tmp for me with dwm on Artix. My guess: dbus is started before whatever it is that sets up I think that (e)logind is supposed to do this. The dbus package appears to depend on (e)logind while the elogind service Though I'm not sure and I don't really use dbus. If anyone finds out more details about this, feel free to post here. |
That's nice. At least you're aware of this now. Thanks a lot for bringing all this to our attention! |
Description
LXImage-Qt doesn't start if Firejail is on with a "Could not create AF_NETLINK socket" error.
Steps to Reproduce
firejail lximage-qt
.Expected behavior
Actual behavior
Behavior without a profile
If I start the program without Firejail it works.
Additional context
I haven't touched anything in the Firejail configs, it's the standard installation.
Environment
Checklist
/usr/bin/vlc
) "fixes" it).https://github.com/netblue30/firejail/issues/1139
)browser-allow-drm yes
/browser-disable-u2f no
infirejail.config
to allow DRM/U2F in browsers.--profile=PROFILENAME
to set the right profile. (Only relevant for AppImages)Log
The text was updated successfully, but these errors were encountered: