From nobody@FreeBSD.ORG  Sun Oct 15 02:54:37 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 650AD37B503; Sun, 15 Oct 2000 02:54:37 -0700 (PDT)
Message-Id: <20001015095437.650AD37B503@hub.freebsd.org>
Date: Sun, 15 Oct 2000 02:54:37 -0700 (PDT)
From: tanbin@yourtender.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: after pkg_add 40upgrade-2000.08.25 telnetd, ftpd and wget all fail with coredump
X-Send-Pr-Version: www-1.0

>Number:         21997
>Category:       misc
>Synopsis:       after pkg_add 40upgrade-2000.08.25 telnetd, ftpd and wget all fail with coredump
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    asami
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 15 03:00:01 PDT 2000
>Closed-Date:    Sat Nov 11 22:48:39 PST 2000
>Last-Modified:  Sat Nov 11 22:49:30 PST 2000
>Originator:     tan bin
>Release:        4.0-RELEASE #0
>Organization:
empworld.com
>Environment:
FreeBSD wwwftp.empworld.com 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Mon Mar 20 22:50:22 GMT 2000     root@monster.cdrom.com:/usr/src/sys/compile/GENERIC  i386
>Description:
in order to install a webalizer upgrade, i first downloaded 40upgrade.tgz and run pkg_add 40upgrade.tgz *a few times*.
After that, wget will fail with a core dump, and i can no longer ftp or telnet from other machines to this host.
i have killall -HUP inetd a few times.
from /var/log/messages:
---snip--
Oct 15 16:24:09 wwwftp /kernel: pid 68960 (wget), uid 0: exited on signal 12 (core dumped)
Oct 15 16:54:12 wwwftp /kernel: pid 69192 (fetch), uid 0: exited on signal 12 (core dumped)
Oct 15 17:07:24 wwwftp /kernel: pid 69239 (telnetd), uid 0: exited on signal 12 (core dumped)

>How-To-Repeat:

>Fix:
reboot??

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->asami 
Responsible-Changed-By: will 
Responsible-Changed-When: Sun Oct 15 19:12:16 PDT 2000 
Responsible-Changed-Why:  
Over to MAINTAINER. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21997 

From: browser <sue@welearn.com.au>
To: freebsd-gnats-submit@FreeBSD.org, tanbin@yourtender.com,
	sue@welearn.com.au
Cc:  
Subject: Re: misc/21997: after pkg_add 40upgrade-2000.08.25 telnetd, ftpd and 
 wget all fail with coredump
Date: Wed, 01 Nov 2000 18:58:20 +1100

 Similar here. Two machines, each running 4.0R installed from CD set.
 Some ports installed from CD1 and working happily, no cvsup upgrades,
 no additional software added or upgraded from compiled sources.
 
 Downloaded 40upgrade.tgz this morning (12 hours ago) and pkg_add to
 both. Then added two packages (binaries) to each machine, downloaded
 from www.freebsd.org/ports
   libslang-1.4.2 (an earlier version was already installed)
   urlview
 On one of the two similar machines, I also installed the mutt-1.2.5
 package.
 
 After this, trouble began. Existing tcp/ip connections seemed fine, but
 new
 telnet and ftp attempts failed, both in and out. netstat stopped working
 (in both direcctions), so did w, arp, and mutt-generated connections to
 a pop3 server. But nslookup, ping, traceroute and ps still worked fine,
 and the machine which had apache installed still happily served pages to
 remote visitors.
 
 I've got enough cores here to start an orchard. Here's a sample of what
 happens:
 (vimutti is the affected system)
 
 sue@vimutti$ uname -a
 FreeBSD vimutti.welearn.com.au 4.0-RELEASE FreeBSD 4.0-RELEASE #0: Thu
 Aug 24 19:40:20 EST 2000    
 root@vimutti.welearn.com.au:/usr/src/sys/compile/VIMUTTI  i386
 
 sue@vimutti$ telnet phoenix
 phoenix: No address associated with hostname
 sue@vimutti$ ftp phoenix
 Bad system call (core dumped)
 sue@vimutti$ telnet phoenix smtp
 phoenix: No address associated with hostname
 sue@vimutti$ telnet phoenix 80
 phoenix: No address associated with hostname
 sue@vimutti$ ssh phoenix
 Bad system call
 sue@vimutti$ netstat
 Active Internet connections
 Proto Recv-Q Send-Q  Local Address          Foreign Address       
 (state)
 Bad system call
 sue@vimutti$
 sue@vimutti$ ping -c 3 phoenix
 PING phoenix.welearn.com.au (203.35.200.139): 56 data bytes
 64 bytes from 203.35.200.139: icmp_seq=0 ttl=255 time=1.187 ms
 64 bytes from 203.35.200.139: icmp_seq=1 ttl=255 time=1.106 ms
 64 bytes from 203.35.200.139: icmp_seq=2 ttl=255 time=1.094 ms
 
 --- phoenix.welearn.com.au ping statistics ---
 3 packets transmitted, 3 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 1.094/1.129/1.187/0.041 ms
 
 
 
 -- 
 
 Regards,
         -*Sue*-
 

From: Sue Blake <sue@welearn.com.au>
To: freebsd-gnats-submit@FreeBSD.org, tanbin@yourtender.com
Cc:  
Subject: Re: misc/21997: after pkg_add 40upgrade-2000.08.25 telnetd, ftpd and 
 wget all fail with coredump
Date: Wed, 01 Nov 2000 20:07:03 +1100

 Fixed one machine.
 
 I didn't think a reboot would help, so I tried to reverse the changes
 to files in /usr/lib by replacing with files from CD2. This resulted
 in a forced reboot of a confused system, finishing the upgrade-reversal
 in single user mode, and coming up fine after that. Does it work because
 I
 replaced all those new files with the old ones, or the reboot, or both?
 Dunno. I've got my machine back. I hope nobody else gets trapped without
 the CD.
 
State-Changed-From-To: open->closed 
State-Changed-By: asami 
State-Changed-When: Sat Nov 11 22:48:39 PST 2000 
State-Changed-Why:  
Package removed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21997 
>Unformatted:
