Package: dibbler-client
Version: 1.0.1-1
Severity: normal
Tags: ipv6 patch

Dear Maintainer,

   * What led up to the situation?
Installed dibbler-client

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Start the dibbler-client daemon

   * What was the outcome of this action?
The /etc/resolv.conf symlink was overwritten with a resolv.conf file

   * What outcome did you expect instead?
dibbler-client should call resolvconf to let it update the file linked to by
/etc/resolv.conf.


Installing and compiling the dibbler source package, I found in
dibbler-config.h

   /* Support for /sbin/resolvconf enabled? */
   /* #undef MOD_RESOLVCONF */

i.e. the package is compiled without resolvconf support.


Adding the attached patch solved the problem.


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dibbler-client depends on:
ii  debconf [debconf-2.0]  1.5.59
ii  libc6                  2.22-11
ii  libgcc1                1:6.1.1-7
ii  libstdc++6             6.1.1-7
ii  ucf                    3.0036

Versions of packages dibbler-client recommends:
ii  dibbler-doc  1.0.1-1
ii  resolvconf   1.79

dibbler-client suggests no packages.

-- Configuration Files:
/etc/init.d/dibbler-client changed:
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/dibbler-client
NAME=dibbler-client
DESC="DHCPv6 client"
DAEMON_OPTS=run
test -x $DAEMON || exit 0
if [ -f /etc/default/dibbler ] ; then
        . /etc/default/dibbler
fi
set -e
case "$1" in
  start)
        echo -n "Starting $DESC: "
        $DAEMON start 2>&1 > /dev/null
        echo "$NAME."
        ;;
  stop)
        echo -n "Stopping $DESC: "
        ($DAEMON stop 2>&1 > /dev/null || true)
        echo "$NAME."
        ;;
  status)
        echo "Status $DESC: $NAME"
        $DAEMON status
        ;;
  #reload)
        #
        #       If the daemon can reload its config files on the fly
        #       for example by sending it SIGHUP, do it here.
        #
        #       If the daemon responds to changes in its config file
        #       directly anyway, make this a do-nothing entry.
        #
        # echo "Reloading $DESC configuration files."
        # start-stop-daemon --stop --signal 1 --quiet --pidfile \
        #       /var/run/$NAME.pid --exec $DAEMON
  #;;
  restart|force-reload)
        #
        #       If the "reload" option is implemented, move the "force-reload"
        #       option to the "reload" entry above. If not, "force-reload" is
        #       just the same as "restart".
        #
        echo -n "Restarting $DESC: "
        ($DAEMON stop 2>&1 > /dev/null || true)
        sleep 1
        $DAEMON start 2>&1 > /dev/null
        echo "$NAME."
        ;;
  *)
        N=/etc/init.d/$NAME
        # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
        echo "Usage: $N {start|stop|restart|force-reload}" >&2
        exit 1
        ;;
esac
exit 0


-- debconf information:
* dibbler-client/options: dns, domain
* dibbler-client/interfaces: eth0
  dibbler-client/title:
* dibbler-client/start: true
diff --git a/debian/rules b/debian/rules
index 700412f..9039143 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,6 +12,10 @@ override_dh_strip:
        dh_strip -pdibbler-client --dbg-package=dibbler-client-dbg
        dh_strip -pdibbler-relay  --dbg-package=dibbler-relay-dbg
 
+.PHONY: override_dh_auto_configure
+override_dh_auto_configure:
+       dh_auto_configure -- --enable-resolvconf
+
 %:
        dh $@ --with autotools_dev

Reply via email to