[Bug 1235480] [NEW] upstart-local-bridge clobbers $PATH with its events

Steve Langasek steve.langasek at canonical.com
Fri Oct 4 21:31:21 UTC 2013


Public bug reported:

The dbus bridge was recently fixed to not clobber $PATH in its events,
but it turns out the same bug affects the local bridge.

        var = NIH_MUST (nih_sprintf (NULL, "PATH=%s", socket_path));
        NIH_MUST (nih_str_array_addp (&env, NULL, NULL, var));

This should be fixed to be called e.g. SOCKET_PATH instead.  Or maybe
just dropped?  I'm not sure there's really a need to include this info
in the event.

** Affects: upstart
     Importance: Undecided
     Assignee: James Hunt (jamesodhunt)
         Status: New

** Affects: upstart (Ubuntu)
     Importance: High
     Assignee: Steve Langasek (vorlon)
         Status: Triaged

** Affects: upstart (Ubuntu Saucy)
     Importance: High
     Assignee: Steve Langasek (vorlon)
         Status: Triaged

** Changed in: upstart (Ubuntu)
       Status: New => Triaged

** Changed in: upstart (Ubuntu)
   Importance: Undecided => High

** Also affects: upstart (Ubuntu Saucy)
   Importance: High
       Status: Triaged

** Changed in: upstart (Ubuntu Saucy)
     Assignee: (unassigned) => James Hunt (jamesodhunt)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1235480

Title:
  upstart-local-bridge clobbers $PATH with its events

Status in Upstart:
  New
Status in “upstart” package in Ubuntu:
  Triaged
Status in “upstart” source package in Saucy:
  Triaged

Bug description:
  The dbus bridge was recently fixed to not clobber $PATH in its events,
  but it turns out the same bug affects the local bridge.

          var = NIH_MUST (nih_sprintf (NULL, "PATH=%s", socket_path));
          NIH_MUST (nih_str_array_addp (&env, NULL, NULL, var));

  This should be fixed to be called e.g. SOCKET_PATH instead.  Or maybe
  just dropped?  I'm not sure there's really a need to include this info
  in the event.

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



More information about the foundations-bugs mailing list