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

Re: [libvirt] [PATCH v2] Experimental libvirtd upstart job



Quoting Jiri Denemark (jdenemar redhat com):
> On Mon, Apr 18, 2011 at 08:09:48 -0500, Serge Hallyn wrote:
> > Quoting Jiri Denemark (jdenemar redhat com):
> > > exec stanza instead of script ... no script. Unfortunately, with exec
> > > stanza environment variables can only be set within upstart script
> > > (i.e., configuration in /etc/sysconfig/libvirtd can't work). Hence, we
> > > need to use script stanza, source sysconfig, and execute libvirtd
> > > without --daemon. For similar reasons we can't use limit stanza and need
> > > to handle DAEMON_COREFILE_LIMIT in job's script.
> > 
> > Why can't you do that stuff in a pre-start script?
> 
> I tried that but any change to the variables didn't get propagated into
> variables used in the exec stanza.

Hm, right you are.  I was thinking pre-start could set up env's, but it
can't.

thanks,
-serge


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