<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I probably should have said that I'm using the following options in m
config-file<br>
- setuid<br>
- setgid<br>
<br>
Which might explain the problem I saw before my hack. No problems have <br>
been seen after my modification.<br>
<br>
I've attached a patch-file which contains the changes as I made them. I
hope it <br>
comes through to the list.<br>
<br>
Regards,<br>
<br>
Ton<br>
<br>
Ton van Rosmalen schreef:
<blockquote cite="mid:49220808.8070003@netbase.nl" type="cite">
<pre wrap="">Hi again,
Ton van Rosmalen schreef:
</pre>
<blockquote type="cite">
<pre wrap="">I just downgraded the supermaster back to 2.9.21 and pdns_control
functions as it should.
It connects to the control-socket send the notify and exits.
When shutting down using the pdns-initscript it hung on 'pdns_control
ping', so all usage of the
control socket seems to give me problems.
Is there anything I can test to provide more info on this issue I'm
seeing?
</pre>
</blockquote>
<pre wrap=""><!---->After looking into the code and the diffs between 2.9.21 and the
snapshot I found the only difference
between the old and new in the manner in which the control-socket is
set-up in the server.
In 2.9.21 only the local unix socket existed and this was set-up.
In 2.9.22 both the local unix socket and a tcp/ip socket exist for which
a shared function
is create b the name 'createSocketAndBind'.
The problem seems to be that this function essentially does a bind() and
listen() after which the gid and mode
of the control-socket is changed.
Before it did a bind(), change gid/mode and listen().
I did a quick hack to change behaviour as it was in 2.9.21 and
pdns_control does everything I want it to.
At this time I'm getting a bit cloudy in my head ;-) so if I don't make
sense please forgive me.
If the hack I made is of interest to anyone please let me know and I'll
post a diff against snapshot 1293 to the list.
Regards,
Ton
_______________________________________________
Pdns-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pdns-users@mailman.powerdns.com">Pdns-users@mailman.powerdns.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.powerdns.com/mailman/listinfo/pdns-users">http://mailman.powerdns.com/mailman/listinfo/pdns-users</a>
</pre>
</blockquote>
</body>
</html>