Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191206 - start-stop-daemon in baselayout-2.0.0_rc4 thinks dnetc has died
Summary: start-stop-daemon in baselayout-2.0.0_rc4 thinks dnetc has died
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-04 03:15 UTC by Michael Hordijk
Modified: 2007-09-07 00:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix the issue (ssd.patch,406 bytes, patch)
2007-09-04 09:15 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hordijk 2007-09-04 03:15:29 UTC
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:
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-09-04 09:15:39 UTC
Created attachment 129976 [details, diff]
Fix the issue

Please test this patch and let us know if it works or not. Thanks!
Comment 2 Roy Marples (RETIRED) gentoo-dev 2007-09-04 11:10:10 UTC
Fixed in rc4-r1
Comment 3 Michael Hordijk 2007-09-06 03:00:20 UTC
Works as advertised.  Thanks!
Comment 4 Carl W. Harlow 2007-09-06 04:04:38 UTC
(In reply to comment #2)
> Fixed in rc4-r1
> 
rc4-r1 does it to rsyncd
" # /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"
Comment 5 Roy Marples (RETIRED) gentoo-dev 2007-09-06 10:12:51 UTC
(In reply to comment #4)
> rc4-r1 does it to rsyncd
> " # /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

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

killall rsyncd
/etc/init.d/rsyncd restart
Comment 6 Carl W. Harlow 2007-09-06 21:41:04 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > rc4-r1 does it to rsyncd
> > " # /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
> 
> Not a baselayout error as such
> rc thinks that rsyncd isn't running when it actually is.
> 
> killall rsyncd
> /etc/init.d/rsyncd restart
> 
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 "/etc/init.d/rsyncd[4073]: start-stop-daemon: /usr/bin/rsync died" next line says "/etc/init.d/rsyncd[4044]: ERROR: rsyncd failed to start"
It seemed to say more on boot up but it is not all in my logs.
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-09-06 22:23:11 UTC
Well, it works for me here. Please open a new bug for this.
Comment 8 Carl W. Harlow 2007-09-07 00:55:14 UTC
(In reply to comment #7)
> Well, it works for me here. Please open a new bug for this.
> 

It only does it with rc in parallel start mode. I changed to "no" for parallel and it didn't give the error.