Backport graphical-session{,-pre}.target to xenial

Bug #1640293 reported by Martin Pitt
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Fix Released
Undecided
Unassigned
Xenial
Fix Released
Undecided
Unassigned

Bug Description

Ted Gould and Dimitri Ledkov requested that the graphical-session{,-pre}.target user units introduced in yakkety should be backported to xenial, so that snapd units can use them.

At the moment they will *not* be used by default by any desktop session in xenial, so they will stay inert. The net effect is solely to ship those two new unit files.

TEST CASE: Verify that these two new units exist in the -proposed version:

  /usr/lib/systemd/user/graphical-session-pre.target
  /usr/lib/systemd/user/graphical-session.target

and that they are *not* running (systemctl --user status graphical-session{,-pre}.target)

REGRESSION POTENTIAL: Practically zero.

Revision history for this message
Martin Pitt (pitti) wrote :
Changed in systemd (Ubuntu):
status: New → Fix Released
Changed in systemd (Ubuntu Xenial):
status: New → In Progress
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Martin, or anyone else affected,

Accepted systemd into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemd/229-4ubuntu13 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in systemd (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Dan Streetman (ddstreet) wrote :

I verified this does add the targets, without enabling them.

with systemd 229-4ubuntu7:

ubuntu@lp1640293:~$ systemctl --user status graphical-session{,-pre}.target
● graphical-session.target
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

● graphical-session-pre.target
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

after adding xenial-proposed repo and upgrading to systemd 229-4ubuntu13:

ubuntu@lp1640293:~$ systemctl --user status graphical-session{,-pre}.target
● graphical-session.target - Current graphical user session
   Loaded: loaded (/usr/lib/systemd/user/graphical-session.target; static; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:systemd.special(7)

● graphical-session-pre.target - Session services which should run early before the graphical sessio
   Loaded: loaded (/usr/lib/systemd/user/graphical-session-pre.target; static; vendor preset: enable
   Active: inactive (dead)
     Docs: man:systemd.special(7)

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package systemd - 229-4ubuntu13

---------------
systemd (229-4ubuntu13) xenial; urgency=medium

  [ Martin Pitt ]
  * Backport graphical-session{,-pre}.target user units, for future usage from
    snaps. (LP: #1640293)
  * debian/rules: Clean up *.busname units. They are useless in 16.04 as they
    will always be "condition failed" as kdbus has never existed. But they add
    ordering constraints which make it impossible to start
    systemd-networkd.service during early boot, which is an upcoming
    requirement for cloud-init. (Part of LP: #1636912)
  * Drop systemd-networkd's "After=dbus.service" ordering so that it can start
    during early boot (for cloud-init.service). It will auto-connect to D-Bus
    once it becomes available later, and transient (from DHCP) hostname and
    timezone setting do not work in 16.04 anyway. (LP: #1636912)

  [ Dan Streetman ]
  * rules: introduce disk/by-id (wwid and model_serial) symlinks
    for NVMe drives (LP: #1642903)

 -- Martin Pitt <email address hidden> Thu, 24 Nov 2016 12:41:23 +0100

Changed in systemd (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Steve Langasek (vorlon) wrote : Update Released

The verification of the Stable Release Update for systemd has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.