Mailinglist Archive: opensuse-bugs (4172 mails)

< Previous Next >
[Bug 513033] New: yast2 host "erase" localhosts
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Sun, 14 Jun 2009 15:03:10 -0600
  • Message-id: <bug-513033-21960@xxxxxxxxxxxxxxxxxxxxxxxx/>
http://bugzilla.novell.com/show_bug.cgi?id=513033


Summary: yast2 host "erase" localhosts
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Critical
Priority: P5 - None
Component: YaST2
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: andrea@xxxxxxxxxxxx
QAContact: jsrain@xxxxxxxxxx
Found By: ---


Created an attachment (id=297995)
--> (http://bugzilla.novell.com/attachment.cgi?id=297995)
y2logs

editing /etc/hosts with yast2 make yast erase localhost infos

description:
default /etc/hosts file is:

anubis@suse-netbook:~> cat /etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 localhost

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 ipv6-localnet

ff00::0 ipv6-mcastprefix
ff02::1 ipv6-allnodes
ff02::2 ipv6-allrouters
ff02::3 ipv6-allhosts
127.0.0.2 suse-netbook.site suse-netbook


i edit /etc/hosts using yast2 host and i add the name:

81.31.152.94 --> www.qsibrindisi.it

than i save.

new /etc/hosts is now:

anubis@suse-netbook:~> cat /etc/hosts
#
# hosts This file describes a number of hostname-to-address
# mappings for the TCP/IP subsystem. It is mostly
# used at boot time, when no name servers are running.
# On small systems, this file can be used instead of a
# "named" name server.
# Syntax:
#
# IP-Address Full-Qualified-Hostname Short-Hostname
#

127.0.0.1 nil

# special IPv6 addresses
::1 localhost ipv6-localhost ipv6-loopback

fe00::0 nil

ff00::0 nil
ff02::1 nil
ff02::2 nil
ff02::3 nil
127.0.0.2 suse-netbook.site suse-netbook
81.31.152.94 www.qsibrindisi.it


this is critical most of all because the system lose IPv4 localhost name, and
results in problems like no more working cups (if ipv6 is disabled),
http://forums.opensuse.org/applications/416308-cups-problems-without-ipv6.html
; or troubles with apache and so on...

able to reproduce it: always

i'm not sure if that is another bug, but if you try to manually edit any of
that "nil" names using yast, the first time it complain about:

Invalid arguments for the TextEntry widget

the second time complain about:

no dialog existing

than it crash with:

suse-netbook:/home/anubis # yast2 host
terminate called after throwing an instance of 'YUINoDialogException'
what(): No dialog existing
YaST got signal 6 at YCP file network/services/host.ycp:148
/sbin/yast2: line 437: 5196 Abortito $ybindir/y2base $module
"$@" "$SELECTED_GUI" $Y2_GEOMETRY $Y2UI_ARGS



y2logs attached

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >