From owner-freebsd-bugs@FreeBSD.ORG Sun May 4 15:10:02 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F3FB637B401 for ; Sun, 4 May 2003 15:10:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1027843FD7 for ; Sun, 4 May 2003 15:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h44MA0Up052117 for ; Sun, 4 May 2003 15:10:00 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h44MA0Da052116; Sun, 4 May 2003 15:10:00 -0700 (PDT) Resent-Date: Sun, 4 May 2003 15:10:00 -0700 (PDT) Resent-Message-Id: <200305042210.h44MA0Da052116@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dominic Mitchell Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA53637B401 for ; Sun, 4 May 2003 15:01:04 -0700 (PDT) Received: from happygiraffe.net (happygiraffe.net [81.6.215.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45C5943FAF for ; Sun, 4 May 2003 15:01:04 -0700 (PDT) (envelope-from dom@happygiraffe.net) Received: by happygiraffe.net (Postfix, from userid 1001) id 54BB95C2E; Sun, 4 May 2003 23:01:02 +0100 (BST) Message-Id: <20030504220102.54BB95C2E@happygiraffe.net> Date: Sun, 4 May 2003 23:01:02 +0100 (BST) From: Dominic Mitchell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/51767: /etc/rc.d/virecover in wrong order X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dominic Mitchell List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2003 22:10:02 -0000 >Number: 51767 >Category: bin >Synopsis: /etc/rc.d/virecover in wrong order >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun May 04 15:10:00 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Dominic Mitchell >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD ppe.happygiraffe.net 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Sun May 4 13:54:29 BST 2003 root@ppe.happygiraffe.net:/usr/obj/usr/src/sys/PPE i386 >Description: I've been running with rcNG for a while, but I've only just noticed this problem. When I rebooted last, I got this message: Recovering vi editor sessions:/usr/libexec/ld-elf.so.1: Shared object "libsasl2.so.2" not found . After a little bit of nosing around, I realised that it's because I have postfix installed as my MTA, linked against the SASL library. The thing that came immediately after that error on my boot sequence was: ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout The virecover script was trying to send mail, but failing because postfix couldn't find its libraries yet. >How-To-Repeat: * Set up an alternative MTA to the one in the base system. Ensure that it is dynamically linked against something in /usr/local/lib (sasl or ldap should do). * Start editing a file using /usr/bin/vi. * Kill the vi process from another terminal. * Reboot the system. * Watch the errors... >Fix: I guess that the virecover script needs to have ldconfig listed as a depdendency. I'm not sure whether any other scripts might need this as well... >Release-Note: >Audit-Trail: >Unformatted: