From owner-freebsd-stable@FreeBSD.ORG Fri Oct 24 08:57:08 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 325A89AE for ; Fri, 24 Oct 2014 08:57:08 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E94A5DD6 for ; Fri, 24 Oct 2014 08:57:07 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1Xhag1-0006Y0-36; Fri, 24 Oct 2014 10:56:59 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "FreeBSD Stable" , "Tim Daneliuk" Subject: Re: /usr/lib/pam_opie.so.5: Shared object "libopie.so.8" not found References: <5447EFD2.9000609@tundraware.com> <5447F802.6010600@tundraware.com> Date: Fri, 24 Oct 2014 10:56:51 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <5447F802.6010600@tundraware.com> User-Agent: Opera Mail/12.17 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: -- X-Spam-Score: -2.9 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED, BAYES_00 autolearn=disabled version=3.3.2 X-Scan-Signature: 448baf4759cd3283a5930955cc61e1db X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2014 08:57:08 -0000 On Wed, 22 Oct 2014 20:31:30 +0200, Tim Daneliuk wrote: > On 10/22/2014 01:16 PM, Ronald Klop wrote: >> On Wed, 22 Oct 2014 19:56:34 +0200, Tim Daneliuk >> wrote: >> >>> I mentioned this yesterday and someone suggested a fix had been >>> committed ... >>> Well, not so much as of FreeBSD 10.1-PRERELEASE #2 r273434. >>> >>> This is still breaking cron and saslauthd, for example. >>> >>> The workaround is an appropriate entry in /usr/local/etc/libmap.d of >>> the form: >>> >>> libopie.so.8 libopie.so.7 >>> >>> >> >> Rebuild the port for saslauthd so it will pick up the right version of >> libopie >> again. > > > The particular error I saw was from cron, so doing what you suggest will > not > fix all use cases. /usr/sbin/cron is not directly linked to libopie. $ ldd -a /usr/sbin/cron /usr/sbin/cron: libpam.so.5 => /usr/lib/libpam.so.5 (0x20043000) libutil.so.9 => /lib/libutil.so.9 (0x20057000) libc.so.7 => /lib/libc.so.7 (0x20071000) /usr/lib/libpam.so.5: libc.so.7 => /lib/libc.so.7 (0x20071000) /lib/libutil.so.9: libc.so.7 => /lib/libc.so.7 (0x20071000) But depending on your pam configuration some dependency might be dynamically loaded. Like this: $ ldd -a /usr/lib/pam_opie.so.5 /usr/lib/pam_opie.so.5: libopie.so.7 => /usr/lib/libopie.so.7 (0x801602000) libpam.so.5 => /usr/lib/libpam.so.5 (0x80180b000) libc.so.7 => /lib/libc.so.7 (0x80081f000) /usr/lib/libopie.so.7: libmd.so.6 => /lib/libmd.so.6 (0x801a17000) libc.so.7 => /lib/libc.so.7 (0x80081f000) /usr/lib/libpam.so.5: libc.so.7 => /lib/libc.so.7 (0x80081f000) /lib/libmd.so.6: libc.so.7 => /lib/libc.so.7 (0x80081f000) So rebuild those and things should be resolved again. Ronald.