1st. login fails to create a complete $HOME directory in a ubuntu-wayland (defacto default) session

Bug #1708569 reported by Doug McMahon
74
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Xdg User Dirs
Fix Released
High
xdg-user-dirs (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Test case:
Use latest image (august 2 here
Install, reboot
Check contents of home folder

Seen here:
$ ls
Desktop examples.desktop

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: ubiquity (not installed)
ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8
Uname: Linux 4.11.0-10-generic x86_64
ApportVersion: 2.20.6-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Aug 3 22:07:38 2017
InstallCmdLine: BOOT_IMAGE=/casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash ---
InstallationDate: Installed on 2017-08-04 (0 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170802)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Doug McMahon (mc3man) wrote :
Revision history for this message
Doug McMahon (mc3man) wrote :

Switching to an actual x11 session & logging in then creates expected folders in $HOME

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubiquity (Ubuntu):
status: New → Confirmed
Changed in gnome-session (Ubuntu):
status: New → Confirmed
amano (jyaku)
tags: added: wayland
Revision history for this message
Oliver Grawert (ogra) wrote :

xdg-user-dirs normally runs on first login to create these dirs, not an installer issue ...

Changed in ubiquity (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xdg-user-dirs (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Right, as written on the duplicate bug

The current script uses Xsession.d which doesn't work under wayland, it looks like fedora added an autostart .desktop to do the job (which they didn't upstream :-(), we should have a look at doing the same

Changed in xdg-user-dirs (Ubuntu):
importance: Undecided → High
Changed in gnome-session (Ubuntu):
status: Confirmed → Invalid
Changed in xdg-user-dirs (Ubuntu):
status: Confirmed → Triaged
no longer affects: gnome-session (Ubuntu)
no longer affects: ubiquity (Ubuntu)
Revision history for this message
AsciiWolf (asciiwolf) wrote :

I think a better idea will be to upstream this. Last commit in xdg-user-dirs git is from 2014.

Revision history for this message
Doug McMahon (mc3man) wrote :

Well the command works fine in an ubuntu-wayland session so why not just run it once (on 1st. login) rather than wait for some unknown persons upstream?

summary: - Installer on latest image fails to create a complete $HOME directory
+ 1st. login fails to create a complete $HOME directory in a ubuntu-
+ wayland (defacto default) session
Revision history for this message
AsciiWolf (asciiwolf) wrote :

Yeah, that's true, but I still think that this should be also fixed upstream so others can benefit from it too.

tags: added: gnome-17.10
Jeremy Bícha (jbicha)
Changed in xdg-user-dirs (Ubuntu):
status: Triaged → Fix Committed
Changed in xdg-user-dirs:
importance: Unknown → High
status: Unknown → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xdg-user-dirs - 0.15-3ubuntu1

---------------
xdg-user-dirs (0.15-3ubuntu1) artful; urgency=medium

  * Sync with Debian (LP: #1708569). Remaining change:
    - Add launchpad_translation_export.patch:
      + update translations from Launchpad

xdg-user-dirs (0.15-3) unstable; urgency=medium

  * add-autostart-file.patch: Add autostart .desktop file to launch the user
    directory update in any session implementing the XDG autostart spec.
    This is required for proper Wayland support.
  * Remove Xsession.d launch file: We don't want to run twice in an X11 session.
  * Switch packaging to use minimal dh style, compat level 10
  * Update for standards version 4.0.0
    - We now run autoreconf by default
  * Resolve a typo in d/copyright

 -- Jeremy Bicha <email address hidden> Fri, 18 Aug 2017 14:25:32 -0400

Changed in xdg-user-dirs (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Matthias Klumpp (ximion) wrote :

FTR, this is also resolved upstream now :-)

Changed in xdg-user-dirs:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.