<?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>4896</bug_id>
          
          <creation_ts>2013-07-23 05:56:13 +0000</creation_ts>
          <short_desc>[lsb image] pidof:  invalid options on command line</short_desc>
          <delta_ts>2013-07-30 02:12:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>1.5</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>ke.zou</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>ning.zhang</cc>
    
    <cc>Qi.Chen</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>34774</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2013-07-23 05:56:13 +0000</bug_when>
    <thetext>Git rev: 31e6eee860b5f9f4ac9ef0889bcff5648de6e3f9

Steps:
1. Download the poky source and build a qemux86-64 lsb image
2. When reboot the system, some kill processes would print the following message:
######################
pidof: invalid options on command line!
######################

In /etc/init.d/functions.lsbinitscripts, the killproc function uses pidof command to get the pid. But pidof from sysvinit package doesn&apos;t support -m option.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34798</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-07-24 08:20:10 +0000</bug_when>
    <thetext>Invoke reboot is not easy to trace the result, invoke status also could
verify this issue.

Test Case:

*On host: build core-image-lsb

*On target:
~# . /etc/init.d/functions
~# status sshd
sshd (pid  670) is running...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35137</commentid>
    <comment_count>2</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2013-07-30 02:12:18 +0000</bug_when>
    <thetext>Merged into master
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=63fd65796b53cbdaeb9dd5611ff625a0ed62bb6a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>