reassign 680062 ddclient
retitle 680062 ddclient: start-stop-daemon does not stop process with name 
changed
thanks

On Wed, 2012-07-04 at 06:59:38 +0200, Frank Sell wrote:
> Am 03.07.2012 18:11, schrieb Guillem Jover:
> > On Tue, 2012-07-03 at 12:07:35 +0200, Frank Sell wrote:
> > > ddclient not stopped using init-script.
> > >
> > > # /etc/init.d/ddclient stop
> > > + [ true != true ]
> > > + start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile 
> > > /var/run/ddclient.pid --name ddclient
> > > + return 1
> > > + [ no != no ]
> > >
> > > exit 0
> > > + exit 0
> > >
> > > # start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile 
> > > /var/run/ddclient.pid --name ddclient
> > >
> > > # echo $?
> > > 1
> > >
> > > # cat /var/run/ddclient.pid
> > > 10983
> > >
> > > # ps -ef | grep ddclient
> > > root     10983     1  0 11:41 pts/3    00:00:00 ddclient - sleeping for 
> > > 80 seconds

> > My guess is that the daemon changes the process name (as seen above) and
> > as such --name does not match on ddclient.
> >
> > Please check the process name from /proc/PID/stat, the field between
> > parenthesis, and if it's not ddclient then this bug needs to be
> > reassigned.

> here it is:
> 
> ps -ef | grep ddclient
> root      3347     1  0 Jul03 ?        00:00:01 ddclient - sleeping
> for 50 seconds
> 
> cat /proc/3347/stat
> 3347 (ddclient - slee) S 1 2142 2142 0 -1 4202560 1816 2386 1 0 140
> 22 0 1 20 0 1 0 1804 36909056 1741 18446744073709551615 4194304
> 4199188 140733608185232 140733608184120 140599795144752 0 0 128
> 16385 0 0 0 17 3 0 0 1 0 0

> Debian squeeze:
> 
> ps -ef | grep ddclient
> root     15085     1  2 06:55 pts/5    00:00:00 ddclient - sleeping
> for 300 seconds
> 
> cat /proc/15085/stat
> 15085 (ddclient) S 1 15081 15014 34821 15108 4202560 938 0 0 0 4 0 0
> 0 20 0 1 0 439350038 38285312 1733 18446744073709551615 4194304
> 4198788 140734354547760 140734354546664 140031245433344 0 0 128
> 16385 0 0 0 17 3 0 0 1 0 0
> 
> The name is different.

Thanks Frank, I'm reassigning it now with this mail.

regards,
guillem



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to