https://bugzilla.redhat.com/show_bug.cgi?id=870694
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #2 from Jens Petersen petersen@redhat.com --- Thanks for bringing this up - for long I was not completely happy with the cronjob hack either but hadn't found time to look into a better solution yet.
Paul: I wonder why it failed for you? Is above the complete cron mail?
Let me make a few comments on the current cronjob:
- it was indeed introduced because running in %post slowed down installation of ghc-*-devel very considerably when there are many libs installed/being installed
- the cronjob runs as root which is also highly undesirable
- the cronjob is hourly but basically uses 0 cpu unless any ghc-*-devel have been newly installed/updated.
I will move to using /var/lib/rpm-state/ghc/ as soon as possible. Running once per rpm transaction in %posttrans should be no problem.