Public bug reported:
Package contains this file:
/usr/share/gdm/env.d/flatpak.env
With this single line content:
XDG_DATA_DIRS=$HOME/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
This is setting the XDG_DATA_DIRS variable, irrespective of it's
preexisting value.
In my system I have snapd installed and I have a local configuration for
that variable under .config/environment.d/, which gets overwritten and
causes issues.
----
1) The release of Ubuntu you are using, via 'lsb_release -rd' or System
-> About Ubuntu
Description: Ubuntu 18.10
Release: 18.10
2) The version of the package you are using, via 'apt-cache policy
pkgname' or by checking in Software Center
flatpak:
Installed: 1.0.4-1
Candidate: 1.0.4-1
Version table:
*** 1.0.4-1 500
500 http://ie.archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
100 /var/lib/dpkg/status
3) What you expected to happen
To have XDG_DATA_DIRS variable populated with the package's value as
well as my own.
4) What happened instead
Only the configuration from flatpak's package survived.
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: flatpak 1.0.4-1
ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
Uname: Linux 4.18.0-10-generic x86_64
ApportVersion: 2.20.10-0ubuntu13
Architecture: amd64
CurrentDesktop: GNOME
Date: Tue Nov 6 00:55:32 2018
InstallationDate: Installed on 2018-05-16 (173 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
SourcePackage: flatpak
UpgradeStatus: Upgraded to cosmic on 2018-10-18 (18 days ago)
** Affects: flatpak (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug cosmic wayland-session
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1801814
Title:
Environment overwrites XDG_DATA_DIRS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flatpak/+bug/1801814/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs