missing /lib/security bug or feature?

Asked by Andrey Bondarenko

Hi,

I've created pbuilder environment with foloowing command:

   sudo pbuilder --create precise --debootstrapopts --variant=buildd

then try to build pam_ssh with

    bzr bd --builder=pdebuild

and found it fails because of installation of pam_ssh.so into /usr/lib instead of /lib/security. in build logs I've found following:

    checking if we can install PAM modules in /lib/security... no
    checking if we can install PAM modules in /usr/lib/security... no
    checking if we can install PAM modules in /usr/lib/pam... no
    checking if we can install PAM modules in /usr/lib... yes

Looks like pbuilder environment does not have /lib/security and I have to use --with-pam-dir=/lib/security in debian/rules.

Can anybody say if missing /lib/security bug or feature?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pbuilder Edit question
Assignee:
No assignee Edit question
Solved by:
Andrey Bondarenko
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I'd report a bug

Revision history for this message
Andrey Bondarenko (abone) said :
#2

I've found that /lib/security become /lib/$(DEB_HOST_MULTIARCH)/security after Multiarch introduction. Catalog exists in pbuilder environment, but configure does not find it. Probably bug or missing feature in autoconf.