2018-11-06 01:25:20 |
Sebastian Cruz |
bug |
|
|
added bug |
2018-11-06 02:24:38 |
Andrew Hayzen |
bug watch added |
|
https://github.com/systemd/systemd/issues/6414 |
|
2018-11-08 17:57:45 |
Sebastian Cruz |
bug watch added |
|
https://github.com/flatpak/flatpak/issues/25 |
|
2018-11-08 17:57:45 |
Sebastian Cruz |
bug watch added |
|
https://github.com/flatpak/flatpak/issues/2087 |
|
2018-11-08 23:59:13 |
Andrew Hayzen |
flatpak (Ubuntu): status |
New |
Confirmed |
|
2019-08-13 22:06:49 |
Jarno Suni |
bug |
|
|
added subscriber Jarno Suni |
2020-04-21 10:09:06 |
Jonas Dohse |
bug |
|
|
added subscriber Don Jones |
2020-07-07 20:30:10 |
Andrew Hayzen |
flatpak (Ubuntu): status |
Confirmed |
In Progress |
|
2020-07-07 20:30:14 |
Andrew Hayzen |
flatpak (Ubuntu): assignee |
|
Andrew Hayzen (ahayzen) |
|
2020-07-09 01:02:56 |
Andrew Hayzen |
description |
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) |
[Impact]
Flatpak gdm environment overwrites any custom configuration (eg in ~/.config/environment.d ) while using the Wayland session.
[Test Case]
Create a local environment configuration
$ mkdir -p ~/.config/environment.d
$ echo "XDG_DATA_DIRS=${XDG_DATA_DIRS}:/tmp" >> ~/.config/environment.d/test.conf
Reboot and ensure you use the Wayland session. Then check your XDG_DATA_DIRS from systemctl, the issue occurs when /tmp is not set, the issue is resolved if it is set.
$ systemctl --user show-environment |grep XDG_DATA_DIRS
[Regression Potential]
Low. This only affects users using the Wayland session with a custom environment (which are both non-standard configuration).
[Original Description]
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) |
|
2020-07-15 20:50:25 |
Ken VanDine |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2020-07-15 21:03:01 |
Ken VanDine |
nominated for series |
|
Ubuntu Focal |
|
2020-07-15 21:03:01 |
Ken VanDine |
bug task added |
|
flatpak (Ubuntu Focal) |
|
2020-07-15 21:04:12 |
Ken VanDine |
nominated for series |
|
Ubuntu Bionic |
|
2020-07-15 21:04:12 |
Ken VanDine |
bug task added |
|
flatpak (Ubuntu Bionic) |
|
2020-07-15 21:05:49 |
Ken VanDine |
flatpak (Ubuntu): status |
In Progress |
Fix Released |
|
2020-07-15 21:07:24 |
Andrew Hayzen |
flatpak (Ubuntu Focal): status |
New |
In Progress |
|
2020-07-15 21:07:32 |
Andrew Hayzen |
flatpak (Ubuntu Focal): assignee |
|
Andrew Hayzen (ahayzen) |
|
2020-07-15 21:07:36 |
Andrew Hayzen |
flatpak (Ubuntu Bionic): status |
New |
Confirmed |
|
2020-08-05 02:39:11 |
Chris Halse Rogers |
flatpak (Ubuntu Focal): status |
In Progress |
Fix Committed |
|
2020-08-05 02:39:14 |
Chris Halse Rogers |
bug |
|
|
added subscriber SRU Verification |
2020-08-05 02:39:19 |
Chris Halse Rogers |
tags |
amd64 apport-bug cosmic wayland-session |
amd64 apport-bug cosmic verification-needed verification-needed-focal wayland-session |
|
2020-08-05 21:24:25 |
Andrew Hayzen |
tags |
amd64 apport-bug cosmic verification-needed verification-needed-focal wayland-session |
amd64 apport-bug cosmic verification-done-focal verification-needed wayland-session |
|
2020-08-12 06:00:30 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2020-08-12 06:01:04 |
Launchpad Janitor |
flatpak (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|
2020-09-22 13:35:40 |
Sebastien Bacher |
bug task deleted |
flatpak (Ubuntu Bionic) |
|
|