Bug 20882 - Gnome: default xdg user directories not created
Summary: Gnome: default xdg user directories not created
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: release_blocker normal
Target Milestone: Mageia 6
Assignee: Shlomi Fish
QA Contact:
URL:
Whiteboard:
Keywords: FOR_ERRATA6
Depends on:
Blocks:
 
Reported: 2017-05-17 11:14 CEST by Chris B
Modified: 2017-07-10 23:01 CEST (History)
3 users (show)

See Also:
Source RPM: xdg-user-dirs-0.15-6.mga6.src.rpm
CVE:
Status comment:


Attachments

Description Chris B 2017-05-17 11:14:13 CEST
When installing Gnome (without any other DE) or when running Gnome LiveDVD the default xdg user directories are not created.
Manually running:
$ xdg-user-dirs-update
will fix it.
It affects the latest LiveDVD and CI.

It should be done automaticaly for the user, and fixed before M6 goes final.

I don't know what package should do this or the assignee.
Marja Van Waes 2017-05-17 11:42:04 CEST

Assignee: bugsquad => gnome
CC: (none) => marja11

Comment 1 Martin Whitaker 2017-06-19 22:10:35 CEST
Testing this, it only occurs for GNOME on Wayland. This is because xdg-user-dirs-update is run by an xinit.d script, which of course won't be executed when starting Wayland.

Fedora fixed this by replacing the xinit.d script with a xdg autostart file:

http://pkgs.fedoraproject.org/cgit/rpms/xdg-user-dirs.git/commit/?id=ab68ec8fc845792c964732801d5fe2d337c10e47

but I don't know if that works for all DEs.

Reassigning to the registered maintainer of xdg-user-dirs.

It would be nice if this could be fixed before release, as it does affect the Live DVD.

Assignee: gnome => shlomif
Source RPM: (none) => xdg-user-dirs-0.15-6.mga6.src.rpm
CC: (none) => mageia

Comment 2 Chris B 2017-07-03 14:00:27 CEST
The fedora xdg autostart file works in Gnome Wayland, tested.
Xfce is not affected, uses its own initscript to create the user dirs.
No clue about Plasma and other DE's.
We do have already an /etc/xdg/autostart/user-dirs-update-gtk.desktop, but that has a different exec binary which does nothing for Wayland.

I think its much too late for M6, unfortunately since we'd need good testing for all DE's.

Workaround:
* Live Gnome: add 'nowayland' to the grub options to start the live system, and the dirs are created.
* Or after install with Wayland, as a user run:
xdg-user-dirs-update

As this can't be fixed after M6 goes final, and the maintainer doesn't answer, should we just close this bug? Or leave it open for M7?
Comment 3 Thomas Backlund 2017-07-08 20:27:33 CEST
Gah, this one should have been a release_blocker as it has a simple fix :/

I just re-installed my laptop with "final isos" and this is a "cosmetic issue" that is somewhat wisible...

CC: (none) => tmb

Rémi Verschelde 2017-07-09 08:18:44 CEST

Priority: Normal => High
Target Milestone: --- => Mageia 6

Rémi Verschelde 2017-07-09 08:20:37 CEST

Keywords: (none) => FOR_ERRATA6

Comment 4 Thomas Backlund 2017-07-10 12:21:56 CEST
I've pushed a fixed xdg-user-dirs-0.15-7.mga6 to updates_testing that adds the missing /etc/xdg/autostart/xdg-user-dirs.desktop.

If you have a system that does not have the dirs, install the rpm, logout and login again and the dirs should be there
Comment 5 Rémi Verschelde 2017-07-10 12:41:57 CEST
Marking as release_blocker so that we don't forget to ensure it's in core/release before spinning new ISOs.

Priority: High => release_blocker

Comment 6 Rémi Verschelde 2017-07-10 23:01:23 CEST
Fixed in xdg-user-dirs-0.15-7.mga6.

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.