Package: fetchmail
Version: 6.4.0~beta4-3
Severity: normal
Tags: patch

Dear Maintainer,

fetchmail 6.4.0~beta4-3 doesn't play nicely with
init-system-helpers 1.56+nmu1 in Unstable. We get the following error on
device ifdown:

[schwarzgerat](0) $ sudo ifdown iw7260
...blahblah....
DHCPRELEASE of ******
/etc/resolvconf/update-libc.d/fetchmail: 4: 
/etc/resolvconf/update-libc.d/fetchmail: invoke-rc.d: not found
run-parts: /etc/resolvconf/update-libc.d/fetchmail exited with return code 127
run-parts: /etc/resolvconf/update.d/libc exited with return code 1
[schwarzgerat](0) $

The problem is resolved by supplying the full path (among other possible
solutions). I've included a patch to do this. Thanks!

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.0.7 (SMP w/20 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fetchmail depends on:
ii  adduser           3.118
ii  debianutils       4.8.6.1
ii  libc6             2.28-8
ii  libcom-err2       1.45.0-1
ii  libgssapi-krb5-2  1.17-2
ii  libk5crypto3      1.17-2
ii  libkrb5-3         1.17-2
ii  libssl1.1         1.1.1b-1
ii  lsb-base          10.2019031300

Versions of packages fetchmail recommends:
ii  ca-certificates  20190110

Versions of packages fetchmail suggests:
pn  fetchmailconf                   <none>
ii  postfix [mail-transport-agent]  3.4.5-1
ii  resolvconf                      1.79

-- no debconf information
diff -ur fetchmail-6.4.0~beta4/debian/resolvconf 
fetchmail-6.4.0~beta4-new/debian/resolvconf
--- fetchmail-6.4.0~beta4/debian/resolvconf     2018-06-23 11:52:22.000000000 
-0400
+++ fetchmail-6.4.0~beta4-new/debian/resolvconf 2019-04-09 18:53:43.756857127 
-0400
@@ -1,5 +1,5 @@
 #!/bin/sh
 
 if [ -x /etc/init.d/fetchmail ] && [ -n "$(pidof fetchmail)" ]; then
-    invoke-rc.d --quiet fetchmail awaken
+    /usr/sbin/invoke-rc.d --quiet fetchmail awaken
 fi

Reply via email to