From tamaru@ap.t.u-tokyo.ac.jp  Sun Jun 23 10:17:01 1996
Received: from gin.myn.t.u-tokyo.ac.jp (gin.myn.t.u-tokyo.ac.jp [130.69.140.148])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA09352
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 23 Jun 1996 10:16:52 -0700 (PDT)
Received: (from tamaru@localhost) by gin.myn.t.u-tokyo.ac.jp (8.7.5/8.6.12) id CAA02258; Mon, 24 Jun 1996 02:16:49 +0900 (JST)
Message-Id: <199606231716.CAA02258@gin.myn.t.u-tokyo.ac.jp>
Date: Mon, 24 Jun 1996 02:16:49 +0900 (JST)
From: tamaru@ap.t.u-tokyo.ac.jp
Reply-To: tamaru@ap.t.u-tokyo.ac.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: sendmail before ldconfig in /etc/rc generates errors.
X-Send-Pr-Version: 3.2

>Number:         1346
>Category:       misc
>Synopsis:       sendmail before ldconfig in /etc/rc generates errors.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pst
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 23 10:20:03 PDT 1996
>Closed-Date:    Mon Jun 24 12:15:46 PDT 1996
>Last-Modified:  Mon Jun 24 12:16:59 PDT 1996
>Originator:     Hiroharu Tamaru
>Release:        FreeBSD 2.1-STABLE i386
>Organization:
Dept. of Appl. Phys., The Univ of Tokyo, Japan.
>Environment:

	users with slocal (in MH package) and such in thier ~/.forward

>Description:
	
	Current /etc/rc script executes ldconfig after recovering vi
	editor files and invoking sendmail daemon. If users are using
	slocal or similar programs via ~/.forward file, mails would
	bounce and/or generates error mails until the ldconfig
	completes and slocal can propery find its dynamic link
	libraries.

>How-To-Repeat:

	Use slocal in ~/.forward file of, say, the user who gets mails
	to the root user. Terminate a vi session to leave a recovery
	file in /var/tmp/vi.recover/ . Reboot the system.  Many error
	mails should come saying slocal couldn't run propery.

>Fix:
	
	Move the ldconfig stuff before virecovery stuff in /etc/rc
	file.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: pst 
State-Changed-When: Mon Jun 24 12:15:46 PDT 1996 
State-Changed-Why:  
Fixed in -current. 


Responsible-Changed-From-To: freebsd-bugs->pst 
Responsible-Changed-By: pst 
Responsible-Changed-When: Mon Jun 24 12:15:46 PDT 1996 
Responsible-Changed-Why:  
>Unformatted:
