[Bug 1222222] New: XDG_DATA_DIRS is not set unless flatpak is installed
https://bugzilla.suse.com/show_bug.cgi?id=1222222 Bug ID: 1222222 Summary: XDG_DATA_DIRS is not set unless flatpak is installed Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: jonaski@opensuse.org QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- XDG_DATA_DIRS is not set unless the flatpak package is installed. I do not know when this happened, all I know is that flatpak have been installed at some point and I'm trying to get rid of it. With flatpak it looks like this: jonas@jonas:~> echo $XDG_DATA_DIRS /home/jonas/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1222222 Jonas Kvinge <jonaski@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonaski@opensuse.org -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1222222 https://bugzilla.suse.com/show_bug.cgi?id=1222222#c1 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(jonaski@opensuse. | |org) Assignee|screening-team-bugs@suse.de |gnome-bugs@suse.de Component|Basesystem |GNOME CC| |Andreas.Stieger@gmx.de --- Comment #1 from Andreas Stieger <Andreas.Stieger@gmx.de> --- It is perfectly acceptable that $XDG_DATA_DIR is unset set unless needed. Specification: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Code: /etc/profile.d/flatpak.sh Do you have reason to believe it should be set to specific paths even when flatpak is not installed? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1222222 https://bugzilla.suse.com/show_bug.cgi?id=1222222#c2 --- Comment #2 from Jonas Kvinge <jonaski@opensuse.org> --- This actually breaks many things. Several things in Qt rely on it, for example: QStandardPaths. When was it removed and what's the reasoning? And why is it set when flatpak is installed? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1222222 https://bugzilla.suse.com/show_bug.cgi?id=1222222#c3 --- Comment #3 from Andreas Stieger <Andreas.Stieger@gmx.de> --- (In reply to Jonas Kvinge from comment #2)
This actually breaks many things.
How?
Several things in Qt rely on it, for example: QStandardPaths.
According to the specification this is a bug in these packages.
When was it removed and what's the reasoning?
unknown. When was it last working, maybe start with the changes since.
And why is it set when flatpak is installed?
Because flatpak needs it, the script finds it empty and sets it to it's needs, adding it's own path plus the default from the specification. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com