Re: [PATCH] Fix daemon auto-spawning

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

 



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: pgpAatGxMuouX.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]