indicator-network, under systemd, starts on u7 when it shouldn't

Bug #1648360 reported by Dimitri John Ledkov
22
This bug affects 6 people
Affects Status Importance Assigned to Milestone
indicator-network (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

indicator-network is meant to not start on u7, it should only be wanted by u8 session.

$ cat /usr/lib/systemd/user/indicator-network.service
[Unit]
Description=Indicator Network Backend
PartOf=graphical-session.target
After=indicators-pre.target
Wants=indicator-network-secret-agent.service

[Service]
ExecStart=/usr/lib/x86_64-linux-gnu/indicator-network/indicator-network-service
Restart=on-failure

vs in upstart user session:
pre-start script
 # NOTE: Only used on Unity8 today, not 7
 # Still allows manual starting
 if [ "x$DESKTOP_SESSION" != "xubuntu-touch" ] &&
    [ "x$DESKTOP_SESSION" != "xunity8" ]; then
  if [ "x$UPSTART_EVENTS" != "x" ] ; then
   stop; exit 0
  fi
 fi
end script

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: indicator-network 0.8.0+17.04.20161111-0ubuntu1
ProcVersionSignature: Ubuntu 4.8.0-30.32-generic 4.8.6
Uname: Linux 4.8.0-30-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Dec 8 09:54:18 2016
InstallationDate: Installed on 2016-01-26 (317 days ago)
InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160125)
SourcePackage: indicator-network
UpgradeStatus: Upgraded to zesty on 2016-12-05 (2 days ago)

Related branches

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Changed in indicator-network (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-network - 0.9.0+17.04.20161223.3-0ubuntu1

---------------
indicator-network (0.9.0+17.04.20161223.3-0ubuntu1) zesty; urgency=medium

  [ Dimitri John Ledkov ]
  * Remove xdg autolaunch desktop files (LP: #1648360)

  [ Pete Woods ]
  * Use plain NetworkManager radio control on desktop, URFKill on
    phablet (LP: #1652288)

 -- Pete Woods <email address hidden> Fri, 23 Dec 2016 13:58:36 +0000

Changed in indicator-network (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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