purge conf files on removal of upstart (was session fails to start after an upgrade from xenial to bionic)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Critical
|
Dimitri John Ledkov | ||
Bionic |
Invalid
|
Critical
|
Dimitri John Ledkov | ||
xorg (Ubuntu) |
Fix Released
|
Critical
|
Dimitri John Ledkov | ||
Bionic |
Fix Released
|
Critical
|
Dimitri John Ledkov |
Bug Description
[Testcase]
1. Launch xenial lxd container
2. install x11-common upstart
3. do-release-upgrade to bionic
4. Upgrade to bionic removes upstart
5. upgrade to new x11-common, make sure the upstart snippets are gone from disk: /etc/X11/
/etc/X11/
6. for the new release-upgrader, check that upstart is purged, if user selects to remove packages at the end of the do-release-upgrade.
After an upgrade from Xenial to Bionic the session fails to start and returns immediately to the login screen.
There is this line in the journal
[...] /usr/lib/
(full journal from a failed attempt attached)
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-session 3.26.1-0ubuntu9
ProcVersionSign
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.8-0ubuntu8
Architecture: amd64
Date: Tue Feb 13 15:11:12 2018
InstallationDate: Installed on 2018-02-07 (6 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-session
UpgradeStatus: Upgraded to bionic on 2018-02-13 (0 days ago)
Related branches
tags: | added: id-5a84d0daccdf6dc3246140b9 |
Changed in upstart (Ubuntu Bionic): | |
status: | Triaged → Won't Fix |
Changed in xorg (Ubuntu Bionic): | |
status: | New → Triaged |
no longer affects: | upstart (Ubuntu) |
no longer affects: | upstart (Ubuntu Bionic) |
Changed in xorg (Ubuntu Bionic): | |
importance: | Undecided → Critical |
assignee: | nobody → Dimitri John Ledkov (xnox) |
tags: | removed: rls-bb-incoming |
description: | updated |
Changed in xorg (Ubuntu Bionic): | |
status: | Triaged → Fix Committed |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | Triaged → In Progress |
tags: | added: id-5ab94216b63b7b701162c622 |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | In Progress → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | In Progress → Invalid |
in /etc/X11/Xsession.d there are these 2 files:
00upstart
99upstart
The session starts after removing these 2 files.