Simo Sorce wrote:
With this patch we stop clearing the environment variables when running
binaries allowing for env variables to be passed down by default.

This fixes also the init script against Fedora 15 and systemd

Simo.


I think it would be better to import copy and use:

if env is None:
    env = copy.deepcopy(os.environ)
    env["PATH"] = "/bin:/sbin:..."

rob

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to