Wind River Support Network

HomeDefectsLIN5-2252
Fixed

LIN5-2252 : 32-bit pam modules not installed when added to 64-bit rootfs

Created: May 8, 2013    Updated: Dec 19, 2017
Resolved Date: Jun 3, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.4
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Build & Config

Description

When PAM is included in a build there should be a set of /lib/security/pam_*.so or /lib64/security/pam_*.so files included in the target rootfs.

This is working for the version of PAM which matches the default rootfs type (32- or 64-bit) but not for the alternate when added.

Workaround

Manually install the missing 32-bit packages.

Steps to Reproduce

$ configure --enable-board=qemux86-64 --enable-rootfs=glibc_cgl --enable-kernel=cgl

Add 32-bit version of PAM to the 64-bit rootfs:
$ make -C build lib32-libpam.addpkg
$ make fs

Look for "security" directory/content:
$ find export/dist/ -name security
export/dist/lib64/security
export/dist/etc/security
export/dist/usr/lib64/security

Notice that only the lib64 version is present.

Many of the pam_*.so files come from the pam-plugin-*.rpm files and these packages are being built for the 32-bit version as well as the 64-bit version, they are just not being installed.

Other Downloads


Live chat
Online