Your message dated Sat, 18 Feb 2012 15:36:11 +0100
with message-id <[email protected]>
and subject line Re: Bug#609851: summary
has caused the Debian Bug report #609851,
regarding wicd sometimes changes the machine host name to its IP address
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
609851: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609851
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wicd
Version: 1.7.0+ds1-6
Severity: critical
Justification: breaks unrelated software
wicd sometimes changes the machine host name to its IP address (I'm
connecting from a hotel). After that, various things no longer work,
such as starting X applications (though doing that after a logout
without disconnecting seems to be a workaround).
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages wicd depends on:
ii wicd-daemon 1.7.0+ds1-6 wired and wireless network manager
ii wicd-gtk [wicd-client] 1.7.0+ds1-6 wired and wireless network manager
wicd recommends no packages.
wicd suggests no packages.
Versions of packages wicd-gtk depends on:
ii python 2.6.7-1 interactive high-level object-orie
ii python-glade2 2.24.0-2 GTK+ bindings: Glade support
ii python-gtk2 2.24.0-2 Python bindings for the GTK+ widge
ii wicd-daemon 1.7.0+ds1-6 wired and wireless network manager
Versions of packages wicd-gtk recommends:
ii gksu 2.0.2-5 graphical frontend to su
ii python-notify 0.1.1-2+b3 Python bindings for libnotify
ii sudo 1.7.4p6-1 Provide limited super user privile
Versions of packages wicd-daemon depends on:
ii adduser 3.113 add and remove users and groups
ii dbus 1.4.12-5 simple interprocess messaging syst
ii debconf [debconf-2.0] 1.5.40 Debian configuration management sy
ii ethtool 1:2.6.39-1 display or change Ethernet device
ii iproute 20110629-1 networking and traffic control too
ii iputils-ping 3:20101006-1+b1 Tools to test the reachability of
ii isc-dhcp-client [dhcp3-c 4.1.1-P1-17 ISC DHCP client
ii lsb-base 3.2-27 Linux Standard Base 3.2 init scrip
ii net-tools 1.60-24.1 The NET-3 networking toolkit
ii psmisc 22.14-1 utilities that use the proc file s
ii python 2.6.7-1 interactive high-level object-orie
ii python-dbus 0.84.0-1 simple interprocess messaging syst
ii python-gobject 2.28.6-4 Python bindings for the GObject li
ii python-wicd 1.7.0+ds1-6 wired and wireless network manager
ii wireless-tools 30~pre9-5 Tools for manipulating Linux Wirel
ii wpasupplicant 0.7.3-3 client support for WPA and WPA2 (I
Versions of packages wicd-daemon recommends:
ii wicd-gtk [wicd-client] 1.7.0+ds1-6 wired and wireless network manager
Versions of packages wicd-daemon suggests:
ii pm-utils 1.4.1-8 utilities and scripts for power ma
Versions of packages python-wicd depends on:
ii python 2.6.7-1 interactive high-level object-orie
ii python-support 1.0.14 automated rebuilding support for P
-- debconf information:
* wicd/users: vinc17
* wicd/users: vinc17
--- End Message ---
--- Begin Message ---
Version: 4.2.2-2
On Sun, Dec 4, 2011 at 00:00:06 +0100, Helmut Grohne wrote:
> This is a summary for those attempting to squash rc bugs.
>
> As of 4.2.2-1 /sbin/dhclient-script implements a set_hostname function
> that unconditionally updates the host name if request host-name is set
> in /etc/dhcp/dhclient.conf which is the default. This means that in a
> default setup of dhcp any dhcp server can change the hostname. It is
> known that this break (among other things) X11. It also contradicts the
> documentation (man dhcp-options) "This option is only honored by
> dhclient-script(8) if the hostname for the client machine is not set."
>
That seems fixed (at least to some extent) in 4.2.2-2:
if [ -z "$current_hostname" ] ||
[ "$current_hostname" = '(none)' ] ||
[ "$current_hostname" = 'localhost' ] ||
[ "$current_hostname" = "$old_host_name" ]; then
if [ "$new_host_name" != "$old_host_name" ]; then
hostname "$new_host_name"
fi
fi
I.e. if the current host name doesn't match the previous one from dhcp
then don't change it.
Cheers,
Julien
signature.asc
Description: Digital signature
--- End Message ---