From dva.in-berlin.de!root@hirsch.in-berlin.de Mon Feb 7 16:01:53 2000 Return-Path: Received: from mail.vr.IN-Berlin.DE (gnu.in-berlin.de [192.109.42.4]) by builder.freebsd.org (Postfix) with ESMTP id 159CB40BA for ; Mon, 7 Feb 2000 16:01:44 -0800 (PST) Received: from hirsch.in-berlin.de (root@hirsch.in-berlin.de [192.109.42.6]) by mail.vr.IN-Berlin.DE (8.9.3/8.9.3) with ESMTP id BAA00656 for ; Tue, 8 Feb 2000 01:02:29 +0100 (CET) (envelope-from dva.in-berlin.de!root@hirsch.in-berlin.de) Received: by hirsch.in-berlin.de (Smail3.2) id ; Tue, 8 Feb 2000 01:02:28 +0100 (CET) Received: by dva.in-berlin.de (Postfix, from userid 0) id 2E655112E5; Tue, 8 Feb 2000 01:01:02 +0100 (CET) Message-Id: <20000208000102.2E655112E5@dva.in-berlin.de> Date: Tue, 8 Feb 2000 01:01:02 +0100 (CET) From: root@dva.in-berlin.de Sender: dva.in-berlin.de!root@hirsch.in-berlin.de Reply-To: root@dva.in-berlin.de To: FreeBSD-gnats-submit@freebsd.org Subject: missing aout shared libs -> panic X-Send-Pr-Version: 3.2 >Number: 16574 >Category: kern >Synopsis: missing aout shared libs -> panic >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 7 16:10:00 PST 2000 >Closed-Date: Thu Nov 8 02:32:05 PST 2001 >Last-Modified: Thu Nov 08 02:32:29 PST 2001 >Originator: Boris Staeblow >Release: FreeBSD 3.4-STABLE i386 >Organization: >Environment: FreeBSD-stable as of 6 Feb 2000, aout-binīs with missing shared libs >Description: The System panics when an aout bin with missing shared libs is executed. Sorry, no further logs. >How-To-Repeat: execute or `ldd` the described binary. The panic occurs within seconds. >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: iedowse State-Changed-When: Sun Aug 12 14:18:36 PDT 2001 State-Changed-Why: Does this still occur in more recent releases? http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16574 From: "Matthew Emmerton" To: , , Cc: Subject: Re: kern/16574: missing aout shared libs -> panic Date: Wed, 7 Nov 2001 20:48:08 -0500 I'm running 4.3-RELEASE-p15. I grabbed the Zeus FreeBSD-aout search cgi (http://support.zeus.com/security/search/search.cgi.FreeBSD-aout.gz) and tried to run it on my ELF-only system (no compat22 or aout libs installed.) Doing a 'ldd' on it and trying to run it gave: gabby# ldd search.cgi.FreeBSD-aout search.cgi.FreeBSD-aout: Couldn't open /usr/libexec/ld.so. search.cgi.FreeBSD-aout: exit status 1 gabby# ./search.cgi.FreeBSD-aout Couldn't open /usr/libexec/ld.so. gabby# After installing compat22 to get a.out compatibility: gabby# ldd search.cgi.FreeBSD-aout search.cgi.FreeBSD-aout: -lc.3 => /usr/lib/compat/aout/libc.so.3.1 (0x2002f000) gabby# ./search.cgi.FreeBSD-aout Content-Type: text/html Error Error:
Method not supported gabby# And, then after removing /usr/lib/compat/aout/libc.so.3.1 (to force a "missing library" condition): gabby# ldd search.cgi.FreeBSD-aout search.cgi.FreeBSD-aout: -lc.3 => not found (0x0) gabby# ./search.cgi.FreeBSD-aout ld.so failed: Can't find shared library "libc.so.3.1" gabby# So to me, it looks like missing aout libraries are handled gracefully now. -- Matt Emmerton From: Boris Staeblow To: Matthew Emmerton Cc: freebsd-gnats-submit@FreeBSD.org, root@dva.in-berlin.de, iedowse@FreeBSD.org Subject: Re: kern/16574: missing aout shared libs -> panic Date: Thu, 8 Nov 2001 10:55:52 +0100 On Wed, Nov 07, 2001 at 08:48:08PM -0500, Matthew Emmerton wrote: > So to me, it looks like missing aout libraries are handled gracefully now. I agree. This PR can be closed. B.Staeblow root@dva.in-berlin.de State-Changed-From-To: feedback->closed State-Changed-By: billf State-Changed-When: Thu Nov 8 02:32:05 PST 2001 State-Changed-Why: submitter reports that this problem has been fixed in recent release. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=16574 >Unformatted: