From xi@andorian.borderworlds.dk  Wed Nov  2 18:28:28 2005
Return-Path: <xi@andorian.borderworlds.dk>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6C24516A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 Nov 2005 18:28:28 +0000 (GMT)
	(envelope-from xi@andorian.borderworlds.dk)
Received: from ferengi.borderworlds.dk (ferengi.borderworlds.dk [80.166.152.7])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EAF8E43D45
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 Nov 2005 18:28:27 +0000 (GMT)
	(envelope-from xi@andorian.borderworlds.dk)
Received: from andorian.borderworlds.dk (unknown [10.1.0.4])
	by ferengi.borderworlds.dk (Postfix) with ESMTP id 514A8B81D
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  2 Nov 2005 19:28:26 +0100 (CET)
Received: by andorian.borderworlds.dk (Postfix, from userid 1001)
	id 9841811B1C; Wed,  2 Nov 2005 19:28:26 +0100 (CET)
Message-Id: <20051102182826.9841811B1C@andorian.borderworlds.dk>
Date: Wed,  2 Nov 2005 19:28:26 +0100 (CET)
From: Christian Laursen <xi@borderworlds.dk>
Reply-To: Christian Laursen <xi@borderworlds.dk>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ggatec and ggated links to library in /usr/lib 
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         88404
>Category:       bin
>Synopsis:       ggatec and ggated links to library in /usr/lib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    matteo
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 02 18:30:23 GMT 2005
>Closed-Date:    Fri Sep 29 07:05:07 GMT 2006
>Last-Modified:  Fri Sep 29 07:10:19 GMT 2006
>Originator:     Christian Laursen
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
The Border Worlds 
>Environment:
System: FreeBSD andorian.borderworlds.dk 6.0-RELEASE FreeBSD 6.0-RELEASE #16: Wed Nov 2 12:55:44 CET 2005 root@andorian.borderworlds.dk:/usr/obj/usr/src/sys/ANDORIAN i386


	
>Description:
/sbin/ggatec and /sbin/ggated both link to /usr/lib/libpthread.so.2.

The result is that ggatec and ggated do not work when in single user mode with
only / mounted.

$ ldd /sbin/ggatec
/sbin/ggatec:
        libgeom.so.3 => /lib/libgeom.so.3 (0x28077000)
        libsbuf.so.3 => /lib/libsbuf.so.3 (0x2807b000)
        libbsdxml.so.2 => /lib/libbsdxml.so.2 (0x2807e000)
        libutil.so.5 => /lib/libutil.so.5 (0x2809b000)
        libpthread.so.2 => /usr/lib/libpthread.so.2 (0x280a7000)
        libc.so.6 => /lib/libc.so.6 (0x280cc000)

	
>How-To-Repeat:
Run ggatec or ggated without /usr mounted.
	
>Fix:
libpthread.so.2 should probably be moved to /lib.
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->matteo 
Responsible-Changed-By: matteo 
Responsible-Changed-When: Thu Sep 28 16:24:29 UTC 2006 
Responsible-Changed-Why:  
ru@ fixed this on HEAD. I'm going to MFC it if I get re@ approval. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88404 
State-Changed-From-To: open->closed 
State-Changed-By: matteo 
State-Changed-When: Fri Sep 29 07:04:41 UTC 2006 
State-Changed-Why:  
This was fixed both in HEAD and in RELENG_6 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/88404: commit references a PR
Date: Fri, 29 Sep 2006 07:04:22 +0000 (UTC)

 matteo      2006-09-29 07:04:17 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     lib/libpthread       Makefile 
   Log:
   MFC rev. 1.58:
   Install shared libpthread library into /lib; needed by some
   /sbin programs.
   
   PR:             bin/88404
   Reviewed by:    ru@
   Approved by:    re@ (kensmith@)
   
   Revision  Changes    Path
   1.53.2.2  +1 -0      src/lib/libpthread/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
