[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-09-22 Thread Andrew Hayzen
Not sure why this bug has been marked as "no longer affects Ubuntu Bionic", it was only fixed in Focal and Groovy, I believe Bionic could still have the bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-09-22 Thread Sebastien Bacher
** No longer affects: flatpak (Ubuntu Bionic) -- 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:

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-08-12 Thread Launchpad Bug Tracker
This bug was fixed in the package flatpak - 1.6.5-0ubuntu0.1 --- flatpak (1.6.5-0ubuntu0.1) focal; urgency=medium * New upstream release 1.6.5 (LP: #1884594) - Backports some of the OCI authenticator fixes from the 1.7 series - Fix a use-after free in libflatpak - Don't

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-08-05 Thread Andrew Hayzen
Awesome, thanks ! I have run the flatpak test plan on a Focal VM, which passed all tests successfully - I have noted the version of flatpak used below. Autopkgtest's are also passing. I have also used the test case for this bug to ensure the environment variables are set correctly in a Wayland

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-08-04 Thread Chris Halse Rogers
Hello Sebastian, or anyone else affected, Accepted flatpak into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/flatpak/1.6.5-0ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-07-15 Thread Andrew Hayzen
** Changed in: flatpak (Ubuntu Focal) Status: New => In Progress ** Changed in: flatpak (Ubuntu Focal) Assignee: (unassigned) => Andrew Hayzen (ahayzen) ** Changed in: flatpak (Ubuntu Bionic) Status: New => Confirmed -- You received this bug notification because you are a

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-07-15 Thread Ken VanDine
** Also affects: flatpak (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: flatpak (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: flatpak (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-07-08 Thread Andrew Hayzen
** Description changed: + [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

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-07-07 Thread Andrew Hayzen
@smcv Thanks for the info ! I'm going to look at backporting that change into 20.04 with the 1.6.5 SRU I'm currently doing. ** Changed in: flatpak (Ubuntu) Status: Confirmed => In Progress ** Changed in: flatpak (Ubuntu) Assignee: (unassigned) => Andrew Hayzen (ahayzen) -- You

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-07-07 Thread Simon McVittie
This is believed to be fixed by version 1.8.1-1, which converts the gdm env.d fragment into an example file (moving it from usr/share/gdm/env.d to usr/share/doc/flatpak/examples/etc/gdm3/env.d). If Ubuntu developers want to backport that change to 20.04, please see commit b634ea2a in the Debian

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-07-07 Thread Geoff Hickey
I've just run into this on 20.04 also. Installing flatpak broke all the snaps in my Wayland session because of the way flatpak overwrites the XDG_DATA_DIRS envar. It doesn't break snaps in xorg sessions. Removing flatpak to try to make Wayland sessions usable again breaks gnome-session on both

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2020-04-07 Thread Clévio Orlando
this is still happening on ubuntu 20.04 -- 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:

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2019-10-04 Thread Nick Zatkovich
Confirming this bug. More distressingly, after removing flatpak from my system with apt, this change persisted; it left /etc/profile.d/flatpak.sh on my system which would automatically run on my main user, since it still had some leftover files in .local/share/flatpak, and would crash the desktop

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2018-11-08 Thread Andrew Hayzen
Thanks for investigating further, yes [0] seems to be the issue upstream. I'll keep an eye on the pull request/issue and hopefully it will land into a release that can be SRU'd :-) 0 - https://github.com/flatpak/flatpak/issues/25 ** Changed in: flatpak (Ubuntu) Status: New => Confirmed

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2018-11-08 Thread Sebastian Cruz
Should've mentioned that this happens when using GNOME session under Wayland. Initially I found (IIRC on another Ubuntu bug) that snaps would not have icons showing in GNOME, and traced it back to XDG_DATA_DIRS not being correctly set for Wayland since there's no shell parsing .profile, .bashrc

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2018-11-05 Thread Andrew Hayzen
I also wonder if /etc/profile.d/ are having an affect, as in there I have flatpak.sh and xdg_dirs_desktop_session.sh. [4] mentions how the order of loading these was incorrect at one point in time for Debian and GNOME systems (but this was for PATH which is more of a special case). Also I'm not

[Bug 1801814] Re: Environment overwrites XDG_DATA_DIRS

2018-11-05 Thread Andrew Hayzen
Thank you for taking the time to report this bug and helping to make Ubuntu better. The .config/environment.d docs [0] and some info around gdm/env.d [1] don't seem to be too clear which order they would be loaded. But I would expect that the system gdm is loaded first then the local user one.