← Back to team overview

desktop-packages team mailing list archive

[Bug 1433013] [NEW] Super -> exec vs Alt-F2 -> exec have different environment

 

Public bug reported:

upstart in user session manages environmental variables and most things
have them, however Alt-f2 started proccesses lack them.

to test

Super Key -> "xterm" -> Enter -> env | grep SSH

vs

Alt+F2 -> "xterm" -> Enter -> env | grep SSH

via Super Key -> the environment is correct

via Alt-F2 -> it is not


I believe Alt+F2 code path should call into upstart dbus api to "list-env" and import that environment before executing the search result.

** Affects: unity (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unity-lens-applications (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unity (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: unity-lens-applications (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: upstart (Ubuntu Trusty)
     Importance: Undecided
         Status: New

** Affects: unity (Ubuntu Utopic)
     Importance: Undecided
         Status: New

** Affects: unity-lens-applications (Ubuntu Utopic)
     Importance: Undecided
         Status: New

** Affects: upstart (Ubuntu Utopic)
     Importance: Undecided
         Status: New

** Affects: unity (Ubuntu Vivid)
     Importance: Undecided
         Status: New

** Affects: unity-lens-applications (Ubuntu Vivid)
     Importance: Undecided
         Status: New

** Affects: upstart (Ubuntu Vivid)
     Importance: Undecided
         Status: New

** Also affects: unity (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: unity-lens-applications (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: upstart (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Also affects: unity (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Also affects: unity-lens-applications (Ubuntu Vivid)
   Importance: Undecided
       Status: New

** Also affects: upstart (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: unity (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: unity-lens-applications (Ubuntu Trusty)
   Importance: Undecided
       Status: New

** Also affects: upstart (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Also affects: unity (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Also affects: unity-lens-applications (Ubuntu Utopic)
   Importance: Undecided
       Status: New

** Summary changed:

- upstart user session variables are not in dbus activated processes
+ Super -> exec vs Alt-F2 -> exec have different environment

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to unity in Ubuntu.
Matching subscriptions: dp-unity, dp-unity-lens-music
https://bugs.launchpad.net/bugs/1433013

Title:
  Super -> exec vs Alt-F2 -> exec have different environment

Status in unity package in Ubuntu:
  New
Status in unity-lens-applications package in Ubuntu:
  New
Status in upstart package in Ubuntu:
  New
Status in unity source package in Trusty:
  New
Status in unity-lens-applications source package in Trusty:
  New
Status in upstart source package in Trusty:
  New
Status in unity source package in Utopic:
  New
Status in unity-lens-applications source package in Utopic:
  New
Status in upstart source package in Utopic:
  New
Status in unity source package in Vivid:
  New
Status in unity-lens-applications source package in Vivid:
  New
Status in upstart source package in Vivid:
  New

Bug description:
  upstart in user session manages environmental variables and most
  things have them, however Alt-f2 started proccesses lack them.

  to test

  Super Key -> "xterm" -> Enter -> env | grep SSH

  vs

  Alt+F2 -> "xterm" -> Enter -> env | grep SSH

  via Super Key -> the environment is correct

  via Alt-F2 -> it is not

  
  I believe Alt+F2 code path should call into upstart dbus api to "list-env" and import that environment before executing the search result.

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


Follow ups

References