[PATCH][CK] autoconf fixes, separate pamlibdir variable, path expansion at make time

David Zeuthen david at fubar.dk
Mon Apr 2 11:38:49 PDT 2007


On Mon, 2007-04-02 at 20:27 +0200, Michael Biebl wrote:
> The last commit 5f3b3a7aec1c2ef81dfe28d6167049ef82e81860 to ConsoleKit
> had the unpleasant side effect, that you are now forced to install
> libck_connector to /lib (as the pam modules are in /lib/security),
> even if you want to install libck_connector to /usr/lib (as it
> dependencies, like libdbus, are in /usr/lib).

In Fedora, libdbus is in /lib

 $ rpm -ql dbus|grep libdbus
 /lib/libdbus-1.so.3
 /lib/libdbus-1.so.3.2.0

You really always want libck_connector to be in /lib because some
application such as /bin/login might want use the pam_ckconnector.so
(that requires libck_connector) before /usr is mounted. 

As a side effect, this means that you need D-Bus in /lib if you want to
use pam_ckconnector.so in /bin/login and want to handle cases where /usr
is not mounted. Which I think you do.

My assumption is that /bin/login aborts when it can't load libdbus for
pam_ckconnector.so...

     David




More information about the hal mailing list