Merge lp:~ubuntu-mate-dev/ubiquity/mate-compatibility into lp:ubiquity

Proposed by Martin Wimpress on 2016-06-13
Status: Merged
Approved by: Mathieu Trudel-Lapierre on 2016-06-22
Approved revision: 6451
Merged at revision: 6451
Proposed branch: lp:~ubuntu-mate-dev/ubiquity/mate-compatibility
Merge into: lp:ubiquity
Diff against target: 35 lines (+8/-8)
1 file modified
bin/ubiquity-dm (+8/-8)
To merge this branch: bzr merge lp:~ubuntu-mate-dev/ubiquity/mate-compatibility
Reviewer Review Type Date Requested Status
Mathieu Trudel-Lapierre 2016-06-13 Approve on 2016-06-22
Ubuntu Sponsors Team 2016-06-13 Pending
Canonical Foundations Team 2016-06-13 Pending
Review via email: mp+297180@code.launchpad.net

Description of the Change

The Ubuntu MATE seeds/meta-packages have been modified to follow Recommends. This means that unity-control-center and unity-settings-daemon are now unavoidably seeded in Ubuntu MATE 16.10 as they are pulled in via libaccount-plugin-1.0-0 which includes Recommends: unity-control-center-signon

This merge proposal changes the order the settings daemons are attempted to be started in ubiquity-dm. mate-settings-daemon is now first. This will not introduce any issues for Ubuntu or Ubuntu GNOME because neither seed anything that might pull in mate-settings-daemon.

To post a comment you must log in.
Mathieu Trudel-Lapierre (cyphermox) wrote :

Seems like whatever pulls in u-s-d and/or g-s-d should be fixed (add an alternate Depends on the right settings-daemon, instead of reordering things here).

If some other package Depends on u-s-d, it probably already also depends on u-s-d | g-s-d. In this sense, it makes sense to add "| m-s-d" rather than modifying the order in which things are loaded here.

review: Needs Fixing
Mathieu Trudel-Lapierre (cyphermox) wrote :

Sounds like there is decent justification for having the change after all; approved.

FTR; there is a complex chain of dependencies from wanting to land shotwell, which suggests some account-plugin-* packages which in turn will eventually depend on u-s-d magic. Having u-s-d in the image would make it loaded first by ubiquity-dm, since it's evaluated first.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/ubiquity-dm'
2--- bin/ubiquity-dm 2016-04-18 15:19:40 +0000
3+++ bin/ubiquity-dm 2016-06-13 12:01:35 +0000
4@@ -451,11 +451,16 @@
5 stdin=null, stdout=logfile, stderr=logfile,
6 preexec_fn=self.drop_privileges)
7
8+ msd = '/usr/bin/mate-settings-daemon'
9 usd = '/usr/lib/unity-settings-daemon/unity-settings-daemon'
10 gsd = '/usr/lib/gnome-settings-daemon/gnome-settings-daemon'
11- msd = '/usr/bin/mate-settings-daemon'
12-
13- if osextras.find_on_path(usd):
14+
15+ if osextras.find_on_path(msd):
16+ extras.append(subprocess.Popen(
17+ [msd], stdin=null, stdout=logfile, stderr=logfile,
18+ preexec_fn=self.drop_privileges))
19+
20+ elif osextras.find_on_path(usd):
21 extras.append(subprocess.Popen(
22 [usd], stdin=null, stdout=logfile, stderr=logfile,
23 preexec_fn=self.drop_privileges))
24@@ -465,11 +470,6 @@
25 [gsd], stdin=null, stdout=logfile, stderr=logfile,
26 preexec_fn=self.drop_privileges))
27
28- elif osextras.find_on_path(msd):
29- extras.append(subprocess.Popen(
30- [msd], stdin=null, stdout=logfile, stderr=logfile,
31- preexec_fn=self.drop_privileges))
32-
33 elif background_image and osextras.find_on_path('feh'):
34 subprocess.call(
35 ['feh', '--bg-fill', background_image],

Subscribers

People subscribed via source and target branches

to status/vote changes: