[Bug 1179629] New: Fresh install: flatpak application won't run without static hostname
http://bugzilla.opensuse.org/show_bug.cgi?id=1179629 Bug ID: 1179629 Summary: Fresh install: flatpak application won't run without static hostname Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.2 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME Assignee: gnome-bugs@suse.de Reporter: maurizio.galli@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Created attachment 844145 --> http://bugzilla.opensuse.org/attachment.cgi?id=844145&action=edit Error log How to reproduce: 1. Fresh install of openSUSE Leap 15.2 2. Install flatpak + any flatpak application 3. run application e.g flatpak run com.github.tchx84.Flatseal 4. Application crashes see error logs attached The issue seems to be related to name@localhost assigned by default Workaround: Setup a static hostname via Yast > Network > Hostname/DNS I received several reports of people with a fresh install and confirming fixing it with a static hostname. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179629 http://bugzilla.opensuse.org/show_bug.cgi?id=1179629#c6 Luquet <dev@mail.sleepingtux.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dev@mail.sleepingtux.fr --- Comment #6 from Luquet <dev@mail.sleepingtux.fr> --- Hello. I confirm the bug with SDDM too. (kde install) If you choose X11, with flatpak i got the same problem too. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179629 http://bugzilla.opensuse.org/show_bug.cgi?id=1179629#c7 Sebastian Wagner <sebix+novell.com@sebix.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |sebix+novell.com@sebix.at Version|Leap 15.2 |Leap 15.3 --- Comment #7 from Sebastian Wagner <sebix+novell.com@sebix.at> --- This is the upstream bug report: https://github.com/flatpak/flatpak/issues/4043 It runs down to the issue that, by default "localhost.localdomain" is the hostname and openSUSE-specific behaviour in some xauth-related stuff causes troubles with the dot. Hostnames with dots cause that flatpaks based on KDE won't run (sounds crazy, yes) According to https://github.com/flatpak/flatpak/pull/4130/commits/fd6a3b79f4e022e3f41f0c7... there's a fix in flatpak's versions 1.11.2 1.11.1 , but openSUSE Leaps' version is 1.10 AFAIK (both in 15.2 and 15.3). Hope this helps. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179629 http://bugzilla.opensuse.org/show_bug.cgi?id=1179629#c8 Fabian Vogt <fabian@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fabian@ritter-vogt.de --- Comment #8 from Fabian Vogt <fabian@ritter-vogt.de> --- (In reply to Sebastian Wagner from comment #7)
This is the upstream bug report: https://github.com/flatpak/flatpak/issues/4043
It runs down to the issue that, by default "localhost.localdomain" is the hostname and openSUSE-specific behaviour in some xauth-related stuff causes troubles with the dot.
Really? AFAIK the issue is that: 1. openSUSE adjusts the hostname based on DHCP and reverse DNS (other distros by default don't) 2. To mitigate xauth related issues, libxcb is patched to handle $XAUTHLOCALHOSTNAME The issue is that flatpak applications don't use the system libxcb, and are thus affected by 1. I don't think there's any issue with the hostname format by itself. Without patching libxcb or mitigating the issue in another way (SDDM and GDM in TW use FamilyWild, which doesn't depend on hostnames), this can't be fixed completely because the hostname can still change dynamically.
Hostnames with dots cause that flatpaks based on KDE won't run (sounds crazy, yes)
According to https://github.com/flatpak/flatpak/pull/4130/commits/ fd6a3b79f4e022e3f41f0c71ab7c6f21393c0db1 there's a fix in flatpak's versions 1.11.2 1.11.1 , but openSUSE Leaps' version is 1.10 AFAIK (both in 15.2 and 15.3).
Hope this helps.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179629 http://bugzilla.opensuse.org/show_bug.cgi?id=1179629#c9 --- Comment #9 from Sebastian Wagner <sebix+novell.com@sebix.at> ---
Really? AFAIK the issue is that:
I just re-phrased what was in the upstream issue and have no deeper knowledge. Sorry for mis-interpreting that, I'm sure you have a better understanding of the issue and how and where it can be resolved. The workaround to set a hostname works for me and I'm satisfied for now. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1179629 Alexei Sorokin <sor.alexei@meowr.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|sor.alexei@meowr.ru |gnome-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com