Tree/Branch: poky/master Git rev: 9ffee9add2d0380f4025e7a678a166f25a7d659e Steps: ################## 1.Add the following line to conf/local.conf: DISTRO_FEATURES_append = " pam" Then run bitbake core-image-sato-sdk to build a image 2. Following the section "PAM Unit Tests" in wiki page: https://wiki.yoctoproject.org/wiki/PAM_Integration to run pam unit test. ################## The tst-pam_pwhistory1 failed: ##################### # cd /usr/share/Linux-PAM/xtests # ./run-xtests.sh . tst-pam_pwhistory1 ./tst-pam_pwhistory1.sh: line 4: 1221 Segmentation fault ./tst-pam_pwhistory1 FAIL: tst-pam_pwhistory1 =================== 1 of 1 tests failed 0 tests not run =================== ####################
I was able to reproduce this behavior on master branch, commit ID:bdca49274173153b1b0a72887de6321b4756b684 Added the following in local.conf: ###################################################### DISTRO_FEATURES_append = " pam kernel-devlibpam" IMAGE_INSTALL_append = " libpam libpam-xtests" ###################################################### core-image-sato-sdk qemux86-64 image.
Backport commits from linux-pam git repo to fix this issue: https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=bd07ad3adc626f842a4391d256541883426fd389 https://git.fedorahosted.org/cgit/linux-pam.git/commit/?id=8dc056c1c8bc7acb66c4decc49add2c3a24e6310
Could not reproduce it under dylan, commit ID: 789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4
Fix was merged into master and dylan: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c1ac96dde194e326d98fb9a82ed002ce2e03c2ea
Verified on master branch. Commit ID:853bc53cd58a621918f0e5ce662dba263d1befb4