Bugzilla Bug 250377: External modules of removed kernels are not removed

Jarod Wilson jwilson at redhat.com
Tue Aug 14 21:43:48 UTC 2007


Jeremy Katz wrote:
> 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.

Ew, yeah, okay, I could see that having odd side-effects in a few
cases... So what you're saying is we should do this in new-kernel-pkg?
;) At least that would make it mostly mkinitrd's problem and not the
kernel's...

> Also, triggers manage to cause all sorts of crazy fun weird corner
> cases.  Fear them. :-)

/me cringes in terror... :)

-- 
Jarod Wilson
jwilson at redhat.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/kernel/attachments/20070814/ea63eefb/attachment.bin 


More information about the kernel mailing list