<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>191206</bug_id>
          
          <creation_ts>2007-09-04 03:15 0000</creation_ts>
          <short_desc>start-stop-daemon in baselayout-2.0.0_rc4 thinks dnetc has died</short_desc>
          <delta_ts>2007-09-07 00:55:14 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>baselayout</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>hoffbrinkle@hotmail.com</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>hoffbrinkle@hotmail.com</who>
            <bug_when>2007-09-04 03:15:29 0000</bug_when>
            <thetext>This appears to be similar to recently reported cases of apache being reported as dead by start-stop-daemon.  But those have been marked as fixed some time ago.  This is on my amd64 machine, which meaning it is dnetc version 2.9011.496-r1.

Reproducible: Always

Steps to Reproduce:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2007-09-04 09:15:39 0000</bug_when>
            <thetext>Created an attachment (id=129976)
Fix the issue

Please test this patch and let us know if it works or not. Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2007-09-04 11:10:10 0000</bug_when>
            <thetext>Fixed in rc4-r1</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hoffbrinkle@hotmail.com</who>
            <bug_when>2007-09-06 03:00:20 0000</bug_when>
            <thetext>Works as advertised.  Thanks!</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cwhamsun@yahoo.com</who>
            <bug_when>2007-09-06 04:04:38 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Fixed in rc4-r1
&gt; 
rc4-r1 does it to rsyncd
&quot; # /etc/init.d/rsyncd restart
rsyncd            | * Caching service dependencies ...                    [ ok ]
rsyncd            | * Starting rsyncd ...
rsyncd            | * start-stop-daemon: /usr/bin/rsync is already runnin [ !! ]
rsyncd            | * ERROR: rsyncd failed to start&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2007-09-06 10:12:51 0000</bug_when>
            <thetext>(In reply to comment #4)
&gt; rc4-r1 does it to rsyncd
&gt; &quot; # /etc/init.d/rsyncd restart
&gt; rsyncd            | * Caching service dependencies ...                    [ ok
&gt; ]
&gt; rsyncd            | * Starting rsyncd ...
&gt; rsyncd            | * start-stop-daemon: /usr/bin/rsync is already runnin [ !!
&gt; ]
&gt; rsyncd            | * ERROR: rsyncd failed to start

Not a baselayout error as such
rc thinks that rsyncd isn&apos;t running when it actually is.

killall rsyncd
/etc/init.d/rsyncd restart</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cwhamsun@yahoo.com</who>
            <bug_when>2007-09-06 21:41:04 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; rc4-r1 does it to rsyncd
&gt; &gt; &quot; # /etc/init.d/rsyncd restart
&gt; &gt; rsyncd            | * Caching service dependencies ...                    [ ok
&gt; &gt; ]
&gt; &gt; rsyncd            | * Starting rsyncd ...
&gt; &gt; rsyncd            | * start-stop-daemon: /usr/bin/rsync is already runnin [ !!
&gt; &gt; ]
&gt; &gt; rsyncd            | * ERROR: rsyncd failed to start
&gt; 
&gt; Not a baselayout error as such
&gt; rc thinks that rsyncd isn&apos;t running when it actually is.
&gt; 
&gt; killall rsyncd
&gt; /etc/init.d/rsyncd restart
&gt; 
So I have to do that every time I boot up? Sorry that output was from me trying to restart it. In my log it says &quot;/etc/init.d/rsyncd[4073]: start-stop-daemon: /usr/bin/rsync died&quot; next line says &quot;/etc/init.d/rsyncd[4044]: ERROR: rsyncd failed to start&quot;
It seemed to say more on boot up but it is not all in my logs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2007-09-06 22:23:11 0000</bug_when>
            <thetext>Well, it works for me here. Please open a new bug for this.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cwhamsun@yahoo.com</who>
            <bug_when>2007-09-07 00:55:14 0000</bug_when>
            <thetext>(In reply to comment #7)
&gt; Well, it works for me here. Please open a new bug for this.
&gt; 

It only does it with rc in parallel start mode. I changed to &quot;no&quot; for parallel and it didn&apos;t give the error. </thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>129976</attachid>
            <date>2007-09-04 09:15 0000</date>
            <desc>Fix the issue</desc>
            <filename>ssd.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IHNyYy9saWJyYy1kYWVtb24uYwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzcmMvbGlicmMtZGFlbW9u
LmMJKHJldmlzaW9uIDI4NjQpCisrKyBzcmMvbGlicmMtZGFlbW9uLmMJKHdvcmtpbmcgY29weSkK
QEAgLTExOCw3ICsxMTgsNyBAQAogCQkJY29udGludWU7CiAKIAkJaWYgKHVpZCkgewotCQkJc25w
cmludGYgKGJ1ZmZlciwgc2l6ZW9mIChidWZmZXIpLCAiL3Byb2MvJWQiLCBwaWQpOworCQkJc25w
cmludGYgKGJ1ZmZlciwgc2l6ZW9mIChidWZmZXIpLCAiL3Byb2MvJWQiLCBwKTsKIAkJCWlmIChz
dGF0IChidWZmZXIsICZzYikgIT0gMCB8fCBzYi5zdF91aWQgIT0gdWlkKQogCQkJCWNvbnRpbnVl
OwogCQl9Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>