<div class="gmail_quote">On Mon, Feb 16, 2009 at 11:31 AM, Jeremy Katz <span dir="ltr"><<a href="mailto:katzj@redhat.com">katzj@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Friday, February 13 2009, Joey Boggs said:<br>
> ---<br>
> installer/modules/ovirt/manifests/dns.pp | 4 ++++<br>
> 1 files changed, 4 insertions(+), 0 deletions(-)<br>
><br>
> diff --git a/installer/modules/ovirt/manifests/dns.pp b/installer/modules/ovirt/manifests/dns.pp<br>
> index cbe706a..8fb8045 100644<br>
> --- a/installer/modules/ovirt/manifests/dns.pp<br>
> +++ b/installer/modules/ovirt/manifests/dns.pp<br>
> @@ -66,6 +66,10 @@ define dns::common($mgmt_ipaddr="", $prov_ipaddr="",$mgmt_dev="",$prov_dev="") {<br>
> notify => Service[dnsmasq],<br>
> }<br>
><br>
> + single_exec {"make_dnsmasq_start_earlier":<br>
> + command => "/bin/mv /etc/rc3.d/S99dnsmasq /etc/rc3.d/S95dnsmasq;/bin/mv /etc/rc5.d/S99dnsmasq /etc/rc5.d/S95dnsmasq",<br>
> + require => Package["dnsmasq"]<br>
> + }<br>
> }<br>
<br>
</div>This is going to break in any circumstance that the dnsmasq package is<br>
upgraded or chkconfig is re-run for various reasons. This really needs<br>
to be fixed by changing the initscript in the package and not by moving<br>
symlinks around.<br>
<br>
Although, actually, it looks like there's also some support in chkconfig<br>
for override files -- read the bit on override files and chkconfig<br>
--override in chkconfig(8) to give a short-term solution until the<br>
package is changed<br>
<font color="#888888"><br>
Jeremy<br>
</font><div><div></div><div class="Wj3C7c"><br>
</div></div></blockquote></div>I just tested this out, does not work for me. Dnsmasq still starts
before taskomatic, and the files this patch moves do not seem to have
actually moved. Steps taken:<br>
1. update test branch with patch<br>
2. make build (from ovirt dir)<br>
3. make update-app<br>
4. virsh start ovirt-appliance<br>
5. virsh console ovirt-appliance<br>
<br>
Result:<br>
Starting ovirt-taskomatic: Error looking up SRV record: wrong number of arguments (0 for 1)<br>
Error looking up SRV record: wrong number of arguments (0 for 1)<br>
/usr/share/ovirt-server/task-omatic/taskomatic.rb:52:in `initialize':
Unable to determine qpid server from DNS SRV record (RuntimeError)<br>
from /usr/share/ovirt-server/task-omatic/taskomatic.rb:822:in `new'<br>
from /usr/share/ovirt-server/task-omatic/taskomatic.rb:822<br>
[FAILED]<br>
<br>
/etc/rc3 and rc5 both still show dnsmasq as 99, and I can see the dns.pp file in usr/share/ace../ is the new version<br>