<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4107</bug_id>
          
          <creation_ts>2013-03-26 06:04:02 +0000</creation_ts>
          <short_desc>PAM unit test failed: segmentation fault for tst-pam_pwhistory1</short_desc>
          <delta_ts>2013-09-25 06:27:53 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>1.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Kai Kang">kai.kang</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>hongxu.jia</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>Qi.Chen</cc>
    
    <cc>richard.purdie</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31153</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-03-26 06:04:02 +0000</bug_when>
    <thetext>Tree/Branch: poky/master
Git rev: 9ffee9add2d0380f4025e7a678a166f25a7d659e

Steps:
##################
1.Add the following line to conf/local.conf:
DISTRO_FEATURES_append = &quot; pam&quot;
Then run bitbake core-image-sato-sdk to build a image

2. Following the section &quot;PAM Unit Tests&quot; 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
===================
####################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31502</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-04-04 10:37:06 +0000</bug_when>
    <thetext>I was able to reproduce this behavior on master branch, commit ID:bdca49274173153b1b0a72887de6321b4756b684

Added the following in local.conf:
######################################################
DISTRO_FEATURES_append = &quot; pam kernel-devlibpam&quot;
IMAGE_INSTALL_append = &quot; libpam libpam-xtests&quot;
######################################################

core-image-sato-sdk qemux86-64 image.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32269</commentid>
    <comment_count>2</comment_count>
    <who name="Kai Kang">kai.kang</who>
    <bug_when>2013-04-17 09:14:54 +0000</bug_when>
    <thetext>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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32435</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-04-22 09:13:05 +0000</bug_when>
    <thetext>Could not reproduce it under dylan, commit ID: 789b2b7e0cca404ff8ba8ed5ba823d215e6ba5b4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32440</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-22 09:58:05 +0000</bug_when>
    <thetext>Fix was merged into master and dylan: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c1ac96dde194e326d98fb9a82ed002ce2e03c2ea</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37152</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-09-25 06:27:53 +0000</bug_when>
    <thetext>Verified on master branch.
Commit ID:853bc53cd58a621918f0e5ce662dba263d1befb4</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>