[Opendnssec-maintainers] 1.4.1 release candidate
Jerry Lundström
jerry at opendnssec.org
Thu Jun 20 14:39:56 UTC 2013
On 20 jun 2013, at 16:10, Paul Wouters <pwouters at redhat.com> 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
So it is updating the new software and triggering an configuration
update while the old software is running?
If so, please change to:
%prerun
- on update
- stop services
- wait for services to really exit, check pids or something
%postrun
- on update
- do database updates if needed
- issue config update (ksmutil, etc)
- start services
/Jerry
More information about the Opendnssec-maintainers
mailing list