[Opendnssec-maintainers] 1.4.1 release candidate

Paul Wouters pwouters at redhat.com
Thu Jun 20 14:51:22 UTC 2013


On 06/20/2013 10:10 AM, Paul Wouters wrote:

> %postun
> if [ "$1" -ge "1" ]; then
>   ods-ksmutil update all ||: >/dev/null 2>/dev/null
>   /sbin/service ods-enforcerd condrestart >/dev/null 2>&1 || :
>   /sbin/service ods-signerd condrestart >/dev/null 2>&1 || :
> fi

I guess I should elaborate, as we don't use the ods-control script as that starts two services....

ods-signed initscript has:


  condrestart)
        [ -f /var/lock/subsys/ods-signerd ] && restart || :
	;;

and:

restart() {
	stop
	start
}

stop runs: /usr/sbin/ods-signer stop
which seems to work manually. If it fails with a non-zero exit code, it then sends a HUP signal to ods-signerd as well.

Note that my test machine has no large zones, so it could not be a delay from being busy

Paul



More information about the Opendnssec-maintainers mailing list