mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3376] steam: cannot connect to the internet (ca-certificates) #2120
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#2120
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 @GreatBigWhiteWorld on GitHub (Apr 22, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3376
"firejail steam" gives me a popup saying I'm not connected to the internet.
I will not post the whole log but I think the key difference when using firejail is this line:
opensslconnection.cpp (1519) : Assertion Failed: unable to load trusted SSL root certificatesSecond unrelated issue I need to solve is this line:
@rusty-snake commented on GitHub (Apr 22, 2020):
Distro? firejail version? nVidia or AMD GPU? Any custom changes?
@GreatBigWhiteWorld commented on GitHub (Apr 22, 2020):
opensuse leap 15.1
version 0.9.62 from opensuse
nvidia latest version from opensuse
no custom change.
@ghost commented on GitHub (Apr 22, 2020):
The steam profile references both
ca-certificatesandsslinprivate-etc(amongst others) because on most distros /etc/ssl/certs contains symlinks to pem files in /etc/ca-certificates/extracted. That should be enough to load the SSL root certs. Does opensuse have a different way of organizing these files? If so you might need additional entrees in private-etc. Easily tested by temporarily commenting private-etc and checking if that changes anything. On a side-note I noticed the private-etc line contains alternatives twice. I'll rectify that in git master but I don't think this is related to your SSL issue.We have seen issues with noroot and Vulkan (e.g. #3012). Not sure why exactly, but you can try commenting that as well.
Edit: there's a comment for nvidia in the steam profile, suggesting to ignore nogroups/noroot. Have you tried that yet?
@GreatBigWhiteWorld commented on GitHub (Apr 23, 2020):
Vulkan issue can be solved by commenting out "noroot".
But commenting out "private-etc..." line does not solve the connection problem, and the error
opensslconnection.cpp (1519) : Assertion Failed: unable to load trusted SSL root certificatesstill presents.
@ghost commented on GitHub (Apr 23, 2020):
Thanks for confirming that. We can add a note to the steam profile to inform users.
A bit stumped on this one. Please inform us if it works when running
firejail --noprofile steam. If that works there is something in our profile that needs fixing. If you get the same popup/error with that command the problem lies elsewhere. At the moment I can't think of anything besidesseccompthat might be causing this, so it would be nice to know if commenting the seccomp line does anything to improve your steam connection troubles.@GreatBigWhiteWorld commented on GitHub (Apr 23, 2020):
commenting seccomp alone does not work.
--noprofile is the only way steam can launch without problem.
@rusty-snake commented on GitHub (Apr 23, 2020):
I would tend to
include disable-*. @GreatBigWhiteWorld is anything in the syslog? Can you start it with--tracelogand watch the syslog.@GreatBigWhiteWorld commented on GitHub (Apr 23, 2020):
Tried tracelog with or without --noprofile. I don't see any difference in the system log.
You mean add a line "include disable-*" in the steam.profile?
@rusty-snake commented on GitHub (Apr 23, 2020):
No, one (or more) of the disable-… includes disable something that is needed by steam. Try commenting all of them.
@GreatBigWhiteWorld commented on GitHub (Apr 23, 2020):
Tried disabling them two by two, still no connection.
@rusty-snake commented on GitHub (Apr 23, 2020):
No future idea what it could be. Looks like you need to comment option to find it.
@GreatBigWhiteWorld commented on GitHub (Apr 24, 2020):
Commenting on each line in the steam.profile to try?
@rusty-snake commented on GitHub (Apr 24, 2020):
Yes, comment line for line and try after every comment to find the problematic line.
@rusty-snake commented on GitHub (Jul 16, 2020):
I'm closing here due to inactivity, please fell free to reopen if you still have this issue.
@kevinlekiller commented on GitHub (Nov 8, 2020):
OpenSuse Tumbleweed.
The issue is the files are not available under the
steam.profile:Without firejail:
With firejail, the links resolve to nothing ( overriding /usr/bin/steam with ~/.local/bin/steam that runs a terminal and running
firejail steam):I haven't been able to figure out what in steam.profile prevents the files from showing up in /var/lib I'm guessing it's in one of the includes?
@rusty-snake commented on GitHub (Nov 8, 2020):
simpler:
firejail --profile=steam bashHmm
private-etccontainssslandinclude whitelist-var-common.inccontainswhitelist /var/lib/ca-certificates. Dofirejail --debug steamshows anything related?@kevinlekiller commented on GitHub (Nov 8, 2020):
That commit indeed fixes the issue, the package on OpenSuse is not using the latest version so doesn't include that fix yet (it should come soon, it's in review), I've added it to steam.local for now.
Thanks.