[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] Fix daemon auto-spawning



On Thu, Jul 12, 2012 at 01:23:15PM +0100, Daniel P. Berrange wrote:
> > ---
> >  src/rpc/virnetsocket.c |    3 +++
> >  1 file changed, 3 insertions(+)
> > 
> > diff --git a/src/rpc/virnetsocket.c b/src/rpc/virnetsocket.c
> > index 0b32ffe..08dfbb0 100644
> > --- a/src/rpc/virnetsocket.c
> > +++ b/src/rpc/virnetsocket.c
> > @@ -97,6 +97,9 @@ static int virNetSocketForkDaemon(const char *binary)
> >                                               NULL);
> >  
> >      virCommandAddEnvPassCommon(cmd);
> > +    virCommandAddEnvPass(cmd, "XDG_CACHE_HOME");
> > +    virCommandAddEnvPass(cmd, "XDG_CONFIG_HOME");
> > +    virCommandAddEnvPass(cmd, "XDG_RUNTIME_DIR");
> >      virCommandClearCaps(cmd);
> >      virCommandDaemonize(cmd);
> >      ret = virCommandRun(cmd, NULL);
> 
> ACK

Thanks, pushed.

Christophe

Attachment: pgp4mPj266bmU.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]