Bugzilla Bug 250377: External modules of removed kernels are not removed
Jeremy Katz
katzj at redhat.com
Tue Aug 14 21:36:35 UTC 2007
On Tue, 2007-08-14 at 17:25 -0400, Jarod Wilson wrote:
> Roland McGrath wrote:
> > Is there a reason to add a hack to the kernel %post in particular,
> > instead of just making people use rpm triggers? I mean, horror and all that.
> > But at least it's generic SEP horror, and not new hair for the kernel rpm
> > itself (i.e. our problem).
>
> On the surface, I don't see why the couldn't. I suppose we should prod
> Matt Domsch on why he's against using triggers for dkms, since his
> objection in the bug doesn't list any details...
Triggers run at not exactly the time you expect them to. Which makes
them a little bit less helpful. Really, you want to plug-in after
depmod, etc are run but before the initrd is made. And you can't do
that from a trigger.
Also, triggers manage to cause all sorts of crazy fun weird corner
cases. Fear them. :-)
Jeremy
More information about the Fedora-kernel-list
mailing list