#1193 ipautil.run fails to preserve environment variables
Closed: Fixed None Opened 12 years ago by simo.

In ipautil.run() we fail to preserve env vars if we pass None to the env parameter (note that None means we want to use the default environament).

That happens because if env is None we enforce a PATH variable which then becomes the only environment variable available.

This breaks ipactl which depends on passing down some env vars to init scripts.


Metadata Update from @simo:
- Issue assigned to simo
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/01

7 years ago

Login to comment on this ticket.

Metadata