Description of problem: If /etc/hosts contains a line with a static IP number and a name for localhost the static IP number for the computer name will be set to 127.0.0.1. The original IP number will be lost. This is extremely bad in situations where a static IP / computer name relation is required (software licenses, etc.) Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. edit /etc/hosts with mcc: $ cat /etc/hosts # generated by drakhosts 127.0.0.1 localhost 10.1.192.3 pnet3 2. create a network connection with mcc: $ cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=static IPADDR=10.1.192.3 NETMASK=255.255.255.0 GATEWAY=10.1.192.254 ONBOOT=yes METRIC=10 MII_NOT_SUPPORTED=no USERCTL=no DNS1=10.1.0.200 RESOLV_MODS=no LINK_DETECTION_DELAY=6 IPV6INIT=no IPV6TO4INIT=no ACCOUNTING=no NM_CONTROLLED=no 3. look at /etc/hosts: $ cat /etc/hosts # generated by drakconnect 127.0.0.1 pnet3 127.0.0.1 localhost
Hi, thanks for reporting this bug. Assigned to the package maintainer.
Keywords: (none) => TriagedCC: (none) => stormiAssignee: bugsquad => mageiaSource RPM: (none) => drakx-net
Version: 2 => Cauldron
Actually this may have been fixed for mga4 by http://gitweb.mageia.org/software/drakx-net/commit/?id=619387ddae0b76970fc78b7928d3b97fbfc04193 Can you try Mga4 RC?
Keywords: (none) => NEEDINFOCC: (none) => thierry.vignaud
(In reply to Thierry Vignaud from comment #2) > Actually this may have been fixed for mga4 by > http://gitweb.mageia.org/software/drakx-net/commit/ > ?id=619387ddae0b76970fc78b7928d3b97fbfc04193 > > Can you try Mga4 RC? The problem does not appear in Mga4 RC anymore.
closing then
Status: NEW => RESOLVEDResolution: (none) => FIXED