<?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>4241</bug_id>
          
          <creation_ts>2013-04-10 19:13:31 +0000</creation_ts>
          <short_desc>[atom-pc] sudo segfaults</short_desc>
          <delta_ts>2013-04-12 09:22:59 +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>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>alexandrux.palalau</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>31856</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2013-04-10 19:13:31 +0000</bug_when>
    <thetext>Build Configuration:
BB_VERSION        = &quot;1.17.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-11.10&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;atom-pc&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.3+snapshot-20130410&quot;
TUNE_FEATURES     = &quot;m32 core2&quot;
TARGET_FPU        = &quot;&quot;
meta-yocto        
meta-yocto-bsp    
meta              = &quot;master:c31721e6372a52f8dfc516173e18f62266ac461f&quot;
meta-kernel-dev   = &quot;master:9df95d49188bacbe180bfac67edfaa682d542ed3&quot;


Attempting to poweroff from a sato image on atompc as the xuser results in a segfault:

$ sudo /sbin/poweroff
...
Password:
Segmentation fault
$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31900</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-11 11:10:35 +0000</bug_when>
    <thetext>I&apos;m nervous about the cause of this, we need to investigte...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31952</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-04-11 13:42:47 +0000</bug_when>
    <thetext>Confirmed.  Odd.  Also, &quot;sudo ls&quot; segfaults.

Appears to be caused by xuser having a locked account in /etc/shadow:

xuser:!:15806:0:99999:7:::

su&apos;ing to root and setting a password lets xuser attempt to sudo ls (which then fails as xuser isn&apos;t in /etc/sudoers)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31957</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-11 13:52:03 +0000</bug_when>
    <thetext>Is this related to the crypt issue we had recently?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31971</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-04-11 14:37:35 +0000</bug_when>
    <thetext>Yes.  Fixed locally.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31974</commentid>
    <comment_count>5</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-04-11 15:01:51 +0000</bug_when>
    <thetext>Patch sent to oe-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31991</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-04-11 16:16:15 +0000</bug_when>
    <thetext>Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=2d94f1bde7c63b56b33bef34573211ecbeffaf44</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>32033</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Palalau">alexandrux.palalau</who>
    <bug_when>2013-04-12 09:22:59 +0000</bug_when>
    <thetext>Verified on master branch.
Commit ID:2d94f1bde7c63b56b33bef34573211ecbeffaf44</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>