21 May
2007
21 May
'07
22:16
Marcus Rueckert escribió:
imho the problem is more general.
Yes, and I was unableto figure a better solution, that's the reason why I used that. ;)
lets say i upgrade apache + modules:
%postun in the apache package does: %restart_on_update apache2
now the other modules will be installed. that can already take your server offline. if the apache mmn changes the old modules that are still installed wont be loaded in the newer apache.
there is yet another issue with this approach, the "restart" must be done when the transaction finishes, if I install apache2-mod_php5 it may pull other PHP modules that really needs to be updated **before** restarting.
which can be picked up by some SuSEconfig script in the end. [1]
wasnt it deprecated ? ;)