Allow for unsetting inherited variables

Bug #1159895 reported by Stéphane Graber on 2013-03-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart
Undecided
James Hunt

Bug Description

Currently "initctl unset-env" only works for environment variables set through "initctl set-env", this is fine for the most common cases, however there are a few cases where we want to be able to unset inherited variables.

One such case is the IM_CONFIG_PHASE environment variable which we inherit from Xsession and is required by the im-config upstart job, however once im-config is started, it's no longer needed and may actually confuse some scripts, so it'd be good to be able to do something along the lines of "initctl unset-env --global --inherited IM_CONFIG_PHASE" so that it's unset for any child process starting after that point.

Related branches

James Hunt (jamesodhunt) on 2013-05-16
Changed in upstart:
assignee: nobody → James Hunt (jamesodhunt)
James Hunt (jamesodhunt) on 2013-05-22
Changed in upstart:
status: New → In Progress
James Hunt (jamesodhunt) on 2013-07-08
Changed in upstart:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers