Package: dhcpcd Version: 1:3.2.3-5 Severity: normal Tags: upstream Setting SET_NTP='yes' as described in the doc doesn't seem to have any effect. Also, looking at the source, it looks as though the code expects to use /etc/init.d/ntpd to restart ntpd but in Debian it is installed as /etc/init.d/ntp.
-- System Information: Debian Release: 6.0.5 APT prefers stable APT policy: (1001, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/dash Versions of packages dhcpcd depends on: ii bsdutils 1:2.17.2-9 Basic utilities from 4.4BSD-Lite ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib ii procps 1:3.2.8-9squeeze1 /proc file system utilities dhcpcd recommends no packages. dhcpcd suggests no packages. -- Configuration Files: /etc/default/dhcpcd changed: case ${INTERFACE} in eth0) SET_HOSTNAME='yes' SET_NTP='yes' OPTIONS=() ;; *) ;; esac /etc/dhcpcd.sh changed: set -o noglob if [ $# -lt 2 ]; then logger -s -p local0.err -t dhcpcd.sh "wrong usage" exit 1 fi hostinfo="$1" state="$2" if ! [ -f ${hostinfo} ]; then logger -s -p local0.err -t dhcpcd.sh "No hostinfo file" exit 1 fi . ${hostinfo} write_resolv_info() { dnsservs=${DNSSERVERS} r="" [ "$dnsservs" != "" ] && [ "$DNSSEARCH" != "" ] && r="${r}search $DNSSEARCH " [ "$dnsservs" != "" ] && [ "$DNSSEARCH" == "" ] && [ "$DNSDOMAIN" != "" ] && r="${r}search $DNSDOMAIN " for serv in $dnsservs; do r="${r}nameserver $serv " done if [ -x /sbin/resolvconf ] ; then echo -n "$r" | /sbin/resolvconf -a "$INTERFACE" else # set /etc/dhcpc/resolv.conf for compatiblity with older packages echo -n "$r" >| /etc/dhcpc/resolv.conf chmod 644 /etc/dhcpc/resolv.conf fi } delete_resolv_info() { if [ -x /sbin/resolvconf ] ; then /sbin/resolvconf -d "$INTERFACE" fi } case ${state} in up) logger -s -p local0.info -t dhcpcd.sh "interface ${INTERFACE} has been configured with old IP=${IPADDR}" write_resolv_info ;; new) logger -s -p local0.info -t dhcpcd.sh "interface ${INTERFACE} has been configured with new IP=${IPADDR}" write_resolv_info ;; down) logger -s -p local0.info -t dhcpcd.sh "interface ${INTERFACE} has been brought down" delete_resolv_info ;; esac exit 0 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org