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 removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to systemd in Ubuntu. https://bugs.launchpad.net/bugs/1640293 Title: Backport graphical-session{,-pre}.target to xenial Status in systemd package in Ubuntu: Fix Released Status in systemd source package in Xenial: Fix Committed 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. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1640293/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp