<div dir="ltr"><div style>Package: fetchmail</div><div style>Version: 6.3.22-2</div><div style>Severity: minor</div><div style><br></div><div style>Fetchmail's resolvconf update script (/etc/resolvconf/update-libc.d/fetchmail) can be simplified.</div>

<div style><br></div><div style>Resolvconf no longer calls update scripts with "--nscd" to indicate that nscd is running and has been restarted. (Resolvconf no longer restarts nscd when resolv.conf changes.) Consequently, the while...done statement can be deleted from fetchmail's resolvconf update script as shown in the appended patch.</div>

<div style><br></div><div style>Whether or not it is still necessary to "awaken" fetchmail after a resolv.conf change, I don't know. Someone who knows fetchmail better than I do will have to be the judge of that. They just need to be aware that the glibc resolver has been enhanced such that resolver clients are asked to re-initialize the resolver when resolv.conf changes. At least for nscd that means that nscd doesn't have to be restarted after a resolv.conf change (as it once did have to be).</div>

<div style>-- </div><div style>Thomas Hood</div><div><br></div><div><div>--- fetchmail_ORIG<span class="" style="white-space:pre">      </span>2013-01-31 11:11:39.926431750 +0100</div><div>+++ fetchmail<span class="" style="white-space:pre">   </span>2013-01-31 11:11:57.522479569 +0100</div>

<div>@@ -1,12 +1,5 @@</div><div> #!/bin/sh</div><div> </div><div>-while [ "$1" ]; do</div><div>-<span class="" style="white-space:pre">       </span>if [ "$1" = "--nscd" ]; then</div><div>-<span class="" style="white-space:pre">          </span>exit 0</div>

<div>-<span class="" style="white-space:pre">   </span>fi</div><div>-<span class="" style="white-space:pre">        </span>shift</div><div>-done</div><div>-</div><div> if [ -x /etc/init.d/fetchmail ] && [ -n "$(pidof fetchmail)" ]; then</div>

<div> <span class="" style="white-space:pre">   </span>/etc/init.d/fetchmail awaken</div><div> fi</div></div><div><br></div></div>