Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2007 09:54:29 GMT
From:      Volker Werth <volker@vwsoft.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/115035: [patch] mpd4: 'libpdel.so.4 not found' on startup - rcorder problem
Message-ID:  <200707300954.l6U9sT7D081114@www.freebsd.org>
Resent-Message-ID: <200707301000.l6UA07Er033494@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         115035
>Category:       ports
>Synopsis:       [patch] mpd4: 'libpdel.so.4 not found' on startup - rcorder problem
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 30 10:00:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Volker Werth
>Release:        6.2-RELEASE-p6
>Organization:
>Environment:
FreeBSD GwGrt.elbekies.net 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #7: Sat Jul 14 18:34:43 CEST 2007     root@GwGrt.elbekies.net:/usr/obj/usr/src/sys/GWGRT  i386
>Description:
mpd4 fails at startup as rcorder is wrong.

This has been filed in the logs:
Jul 28 12:53:23 GwGrt kernel: Starting mpd4.
Jul 28 12:53:23 GwGrt kernel: /libexec/ld-elf.so.1: 
Jul 28 12:53:23 GwGrt kernel: Shared object "libpdel.so.0" not found, required b
y "mpd4"

Another script (not quite sure which one but I suspect one from ports) has broken rcorder but the attached fix makes sure at least mpd4 can startup smoothly. Currently ldconfig is running really late and there seems to be the need to fix more rc.d scripts.

rc.d/mpd4 is being started before rc.d/ldconfig (I'm unable to recreate the wrong rcorder on a 6-STABLE box but the RELEASE version rcorder on one machine clearly shows the problem).

As I'm not happy with this quick mpd fix, I'll try to work out other rcorder dependency problems but I would like to have a quick fix for mpd first so the box is able to go online even with other rcorder problems. Also this fix will prevent us from similar problems in the future (which may get introduced easily).
>How-To-Repeat:

>Fix:
--- mpd4.orig   Mon Jul 30 11:27:59 2007
+++ mpd4        Mon Jul 30 10:03:34 2007
@@ -4,7 +4,7 @@
 #
 
 # PROVIDE: mpd
-# REQUIRE: SERVERS
+# REQUIRE: SERVERS ldconfig
 # BEFORE: DAEMON
 # KEYWORD: shutdown


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707300954.l6U9sT7D081114>