Re: (re)starting of a daemon after package update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Michal Hlavinka wrote:
> Correct approach would be to save state before installation of new 
> version starts and start dovecot (if flag is set) after old version is 
> removed - that would mean %postun script. This does not seem to work on 
> reinstall (the same version is installed) - %postun script is not executed.

Please also consider what happens when the new version of Dovecot requires a 
new version of some library. RPM will ensure that both packages are updated in 
the same transaction, but if I understand correctly it's not until %posttrans 
that you can be sure that the new library is in place.

Björn Persson

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux