Package: dhcpcd
Version: 1:3.2.3-5
Severity: normal

Excuse me for my bad English :-)

I have install dhcpcd with Synaptic, then reboot nachine and still have 
previous DHCP client running:

$ ps ax|grep dhcp
 1477 ?        Ss     0:00 dhclient -v -pf /var/run/dhclient.eth0.pid -lf 
/var/lib/dhcp/dhclient.eth0.leases eth0

I tried dpkg-reconfigure dhcpcd in hope that it give me some menu for DHCP 
client selection
but it did not say nothing.

I am sure that I am not understand something in Debian configuration traditions.
But I am sure that operating system must be more user-friendly and must not
eat many time for it reconfiguration.

If dhcpcd conflicts with other dhcp clients - then installation system must ask 
user what
client he/she want to use after installation.

As a minimal variant installation process should give user message with info 
that
dhcpcd will not run by default and user should change this manually (+ some 
hints how).

Also "dpkg-reconfigure dhcpcd" should check: is dhcpcd selected as default DHCP 
client or not?
It should be something that browsers like to do: check: is browser default or 
not.

Regards, Sergey.


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
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.2-10  Embedded GNU C Library: Shared lib
ii  procps                        1:3.2.8-9  /proc file system utilities

dhcpcd recommends no packages.

dhcpcd suggests no packages.

-- Configuration Files:
/etc/default/dhcpcd changed:
case ${INTERFACE} in
eth0) 
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

Reply via email to