[Freeipa-devel] [PATCH] fixes #1193 init script related

Simo Sorce ssorce at redhat.com
Wed Apr 27 15:26:35 UTC 2011


On Wed, 2011-04-27 at 10:59 -0400, Rob Crittenden wrote:
> Simo Sorce wrote:
> > On Tue, 2011-04-26 at 17:08 -0400, Rob Crittenden wrote:
> >> 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
> >
> > Updated patch attached.
> >
> > Simo.
> >
> 
> ack

Pushed to master.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list