Wind River Support Network

HomeDefectsLINCD-8044
Fixed

LINCD-8044 : postgresql: PAM is not enabled

Created: Jan 29, 2022    Updated: Oct 12, 2022
Resolved Date: Sep 6, 2022
Found In Version: 10.22.09.0
Fix Version: 10.22.41.0
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Userspace

Description

1) setup.sh --machine intel-x86-64 --dl-layers 
2) add below line to conf/local.conf 
 IMAGE_INSTALL:append = " postgresql"
3) bitbake wrlinux-image-std
4) boot the target
root@intel-x86-64:~# rpm -ql postgresql | grep pam.d | grep postgresql
root@intel-x86-64:~#

Workaround

Manually install the required pam component?

Steps to Reproduce

 1) setup.sh

 /lpg-build/cdc/fast_prod/WRLINUX_MASTER_WR/MASTER_WR_GIT/wrlinux-10/setup.sh  --machine intel-x86-64 --dl-layers --distro nodistro --templates feature/LAMP feature/aws feature/azure feature/gcc-sanitizers feature/gperftools feature/grpc feature/ipv6 feature/krb5 feature/lttng feature/mariadb feature/network-bond-libteam feature/nfsd feature/ntp feature/opencv feature/package-management feature/pam-faillock feature/podman feature/python-tkinter feature/sftp-server feature/snmp feature/software-entropy feature/stig feature/sysklogd feature/system-stats feature/target-toolchain feature/tcpslice feature/xfce --layers meta-filesystems meta-iot-cloud meta-security-compliance meta-virtualization --dl-layers

2). ./environment-setup-x86_64-wrlinuxsdk-linux

3). ./oe-init-build-env build_test

4) vim conf/local.conf
IMAGE_INSTALL:append = " postgresql  postgresql-client"


5) bitbake wrlinux-image-std

6)  boot the target and run commands per problem description
Live chat
Online