← Back to team overview

dx-packages team mailing list archive

[Bug 777594] Re: unity tries to kill all unity-panel-service processes on startup (even other users’)

 

** Changed in: unity
   Importance: Low => Medium

** Changed in: unity (Ubuntu)
   Importance: Low => Medium

** Changed in: unity
       Status: Confirmed => Triaged

** Changed in: unity (Ubuntu)
       Status: Confirmed => Triaged

** Changed in: unity
    Milestone: None => 7.2.0

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/777594

Title:
  unity tries to kill all unity-panel-service processes on startup (even
  other users’)

Status in Unity:
  Triaged
Status in “unity” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: unity

  The run_unity function in /usr/bin/unity tries to do:
          subprocess.Popen(["killall", "unity-panel-service"])
  If there are other users logged into the system, this spews “Operation not permitted” errors (unless you’re logging in as root, in which case it will probably actually kill every user’s panel process!).  The killall should at least be limited by username, and ideally by session as well.

  By the way, it’s rather sloppy that wait() isn’t called on that subprocess object; that results in a zombie killall process being leaked:
  jarthur  25886 25884  0 01:42 ?        00:00:00 [killall] <defunct>

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: unity 3.8.12-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.39-0.5-generic 2.6.39-rc5
  Uname: Linux 2.6.39-0-generic x86_64
  NonfreeKernelModules: openafs
  Architecture: amd64
  CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,grid,imgpng,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,unitymtgrabhandles,scale,session,unityshell]
  Date: Thu May  5 01:47:46 2011
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: unity
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/777594/+subscriptions