[Opendnssec-develop] Re: [OpenDNSSEC] #202: ods-control stop hangs while stopping enforcer

OpenDNSSEC owner-dnssec-trac at kirei.se
Mon Dec 6 10:25:30 UTC 2010


#202: ods-control stop hangs while stopping enforcer
-----------------------------------------------------+----------------------
Reporter:  Gilles Massen <gilles.massen@…>           |       Owner:  sion    
    Type:  defect                                    |      Status:  accepted
Priority:  major                                     |   Component:  Enforcer
 Version:                                            |    Keywords:          
-----------------------------------------------------+----------------------
Changes (by sion):

  * status:  new => accepted


Old description:

> "ods-control stop" always hangs with "Stopping enforcer".
>
> While looking at ods-control, it appears that the kill -TERM `cat
> ...enforcerd.pid` stopps the process, but enforcerd fails to remove
> enforcerd.pid. As result ods-control hangs in a while loop.
>
> This is on a OpenSuse 11.3. Privileges of signer and enforcer are non-
> root (but the user has all permissions on pid and containing directory).

New description:

 "ods-control stop" always hangs with "Stopping enforcer".

 While looking at ods-control, it appears that the kill -TERM `cat
 ...enforcerd.pid` stopps the process, but enforcerd fails to remove
 enforcerd.pid. As result ods-control hangs in a while loop.

 This is on a OpenSuse 11.3. Privileges of signer and enforcer are non-root
 (but the user has all permissions on pid and containing directory).

--

Comment:

 I have tried to reproduce this on a 64-bit openSuse 11.3 VM with no
 success...

 There is now some extra code in the enforcer to log a message if the
 unlink fails which may help determine why this happens. Could you try
 again with svn r4251 or higher?

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/202#comment:1>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list