This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
rpm5 [2012-11-24 17:39] glen use spec syntax hiliting |
rpm5 [2012-12-11 23:28] baggins vserver database upgrade |
||
---|---|---|---|
Line 45: | Line 45: | ||
If DBI debugging is enabled, additional diagnostics are printed, otherwise a basic retry and success message is added to show that the failure was resolved. | If DBI debugging is enabled, additional diagnostics are printed, otherwise a basic retry and success message is added to show that the failure was resolved. | ||
+ | |||
+ | |||
+ | ===== Vserver maintanance ===== | ||
+ | |||
+ | After upgrading rpm on a vserver host you need to convert rpm databases of vservers with external package management (default). | ||
+ | For this purpose a special option has been added to vrpm wrapper from util-vserver in PLD. Use the following command to convert | ||
+ | rpm database for a single vserver: | ||
+ | |||
+ | <code>vrpm <vserver> --convertdb</code> | ||
Line 102: | Line 111: | ||
%endif | %endif | ||
</file> | </file> | ||
+ | |||
+ | ==== changes in triggers ==== | ||
+ | |||
+ | currently webapp register is [[http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2012-November/023331.html|broken]] due triggers misbehave. here's quick fix for lighttpd: | ||
+ | |||
+ | <code sh> | ||
+ | for a in /etc/webapps/*/lighttpd.conf; do a=${a#/etc/webapps/}; a=${a%/*}; webapp register lighttpd $a; done | ||
+ | </code> |