On Mon, 7 Apr 2014 17:05, Cristian Rodríguez <crrodriguez@...> wrote:
El 07/04/14 07:28, Olaf Hering escribió:
On Fri, Apr 04, Cristian Rodríguez wrote:
does not get automatically enabled.
While I dont particular care about logrotate, a quick check with logrotate.rpm from 13.1 indicates that it was enabled by default due to the presence of /etc/cron.daily/logrotate. AFAIK cron is enabled by default, so logrotate was up to now enabled per default as well.
With logrotate.rpm from Base:System logrotate is not automatically started. How is that supposed to be handled _automatically_ by upgrade or update?
What is enabled by default is configured by presets.
cat /usr/lib/systemd/system-preset/90-default-openSUSE.preset
of course the updated preset has to installed *before* the logrotate update, otherwise the call to systemctl preset "$service" in the package's %post scriptlet will do nothing ;)
If a patch is done for the 'software-management' stack, a special flag is set in the patch, to mark the patch to be installed before the others. Marking the updated systemd-presets the same way should lessen the impact of the logrotate update wrt. to the %post scriptlet. Does RPM / Zypp honor "PreReq:" ? If so, a PreReq: systemd-presets >= {updated-version} would also help. - Yamaban.