[Pkg-utopia-maintainers] Bug#543918: Bug#543918: network-manager: Changes hostname on first run

Stephen Kitt steve at sk2.org
Thu Aug 27 18:16:17 UTC 2009


On Thu, 27 Aug 2009 15:53:22 +0200, Michael Biebl <biebl at debian.org> wrote:
> Sorry, was to quick with closing this bug report. There is indeed code to
> update /etc/hosts if the hostname is not found in /etc/hosts
> 
> Could you send me the output of "hostname", "ifconfig" and /etc/hostname.

Thanks for the quick response!

Here is the information you requested:

steve at heffalump:~% hostname
heffalump.sk2.org
steve at heffalump:~% /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:0c:6e:d7:0a:b1  
          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::20c:6eff:fed7:ab1/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4420900 errors:0 dropped:0 overruns:0 frame:0
          TX packets:990084 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1125135528 (1.0 GiB)  TX bytes:126026694 (120.1 MiB)
          Interrupt:22 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2694538 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2694538 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:4238997839 (3.9 GiB)  TX bytes:4238997839 (3.9 GiB)

steve at heffalump:~% cat /etc/hostname
heffalump.sk2.org


I may have an idea of what caused the problem, given the behaviour you
mention. When I installed network-manager, it dropped eth0 and didn’t bring
it back up (I’m attaching the logs); if it then tried to determine
whether /etc/hosts contained a valid definition for the hostname, it might
have decided that heffalump.sk2.org didn’t correspond to anything it knew
about... I haven’t looked at the code so this speculation may be completely
useless!

Regards,

Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: network-manager.log
Type: text/x-log
Size: 8391 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090827/41bddb13/attachment-0001.bin>


More information about the Pkg-utopia-maintainers mailing list