mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5320] lutris: cannot open preferences: ModuleNotFoundError: No module named 'lsb_release' #2956
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#2956
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 @mYnDstrEAm on GitHub (Aug 15, 2022).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5320
Description
I can't open the preferences window in Lutris 0.5.10 with firejail & firejail-profiles 0.9.70-1 in Debian11/KDE.
Also see #4895
When I launch it in the console this is the ouput that shows after clicking on the burger menu in the top right -> Preferences:
Steps to Reproduce
Steps to reproduce the behavior
Expected behavior
Should open Prefences window.
Actual behavior
Nothing (except the error in the console).
Behavior without a profile
It works when not using firejail.
Additional context
Environment
Checklist
/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
@rusty-snake commented on GitHub (Aug 15, 2022):
What does
firejail --profile=lutris /usr/bin/lsb_release -ashow?@mYnDstrEAm commented on GitHub (Aug 15, 2022):
Only
@rusty-snake commented on GitHub (Aug 15, 2022):
And
/usr/bin/lsb_release -a?@mYnDstrEAm commented on GitHub (Aug 15, 2022):
@mYnDstrEAm commented on GitHub (Aug 16, 2022):
Sorry, what I posted was the content of
/home/username/.config/firejail/lutris.local, not the output offirejail --profile=lutris /usr/bin/lsb_release -a, which is:@mYnDstrEAm commented on GitHub (Dec 10, 2022):
Tried it with the latest lutris.profile and firejail v 0.9.70-2 and I still get this in the console:
I also get this before lutris is started:
dbind-WARNING **: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown. In the profile there have been changes toseccompshell none, it also doesn't work if I use these former commands.@kmk3 commented on GitHub (Dec 12, 2022):
@mYnDstrEAm on Aug 16:
It works for me:
How about the following?
@mYnDstrEAm commented on GitHub (Dec 12, 2022):
It's still (when not adding --quiet; output as above when added):
I don't think this is relevant or needed here though.
Do I need to have something installed to use lsb_release?
@kmk3 commented on GitHub (Dec 12, 2022):
@mYnDstrEAm on Dec 12:
It seems that it expects a
lsb_releasePython module to exist (from a quicksearch here, I did not find any packages that provide that on Artix).
From the output it kind of looks like
/usr/bin/lsb_releaseis a Pythonscript, which would be strange.
What is the output of
tail -n 10 /usr/bin/lsb_release?How/where did you install Lutris from?
What is the version of lsb-release? Example on Artix:
My best guess for narrowing it down would be to comment parts of lutris.profile
until running
lsb_release -aworks with it.@ghost commented on GitHub (Dec 12, 2022):
Strange perhaps, but as far as I know, on Debian/Ubuntu /usr/bin/lsb_release is indeed a Python script.
Ubuntu:
Arch Linux:
That being said, our lutris.profile allows Python 2 and Python 3. So there's that.
@mYnDstrEAm commented on GitHub (Dec 12, 2022):
tail -n 10 /usr/bin/lsb_releasereturns:It would be easier to check how I installed lutris if my bash history wasn't constantly deleted by this bug of Wayland+KDE in Debian...pretty sure I installed it from the GitHub releases (0.5.11).
lsb-release is v 11.1.0
Concerning python, see this question...should I set some environment variable (and what should
echo $PATHcontain if something should be there)? If I change the $PATH to actually load the paths from .bashrc via. ~/.bashrc, it still doesn't work.@ghost commented on GitHub (Dec 12, 2022):
You shouldn't have to change any environment variables. Do you have $PYTHONPATH set?
I can only add that you could check if lsb_release is working correctly on your system. Reinstall it if necessary. See this file list for comparison.
@mYnDstrEAm commented on GitHub (Dec 12, 2022):
No, I don't have that set. Doesn't this imply it works correctly? It's installed from the Debian repos, and I think there should be a warning when running debsums when some of its files are missing or altered.