Allow for unsetting inherited variables

Bug #1159895 reported by Stéphane Graber
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
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)
Changed in upstart:
assignee: nobody → James Hunt (jamesodhunt)
James Hunt (jamesodhunt)
Changed in upstart:
status: New → In Progress
James Hunt (jamesodhunt)
Changed in upstart:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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