Quoting Jiri Denemark (jdenemar@xxxxxxxxxx): > On Mon, Apr 18, 2011 at 08:09:48 -0500, Serge Hallyn wrote: > > Quoting Jiri Denemark (jdenemar@xxxxxxxxxx): > > > 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 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list