On Thu, Sep 14, 2006 at 02:52:35PM +0200, Robert Millan wrote:
> If you uninstall the modules for your running version of Linux, your system is
> broken untill you reboot.  

I disagree - my system is running just fine. All the modules I need
are loaded already. Why should I have to reboot just to clear up some
disk space? And, what if my kernel was built w/o modules - say I
netboot static images from a tftp server?

> oss-compat's postinst is set -e in purpose to exhibit
> the problem (rather than silently ignoring it).

A better error message would be more obvious. Something like:

"It appears that the kernel you are running is no longer or installed
 or does not include modules - you will need to reboot your system onto
 a proper kernel. Until then, oss-compat will not function properly"

> IMHO, prerm generated by kernel-package should prevent this from happening by
> aborting with error when attempting to remove modules for a running kernel.

It warns the user, and that's enough imo. If you convince
kernel-package to make this case a hard failure, then the oss-compat
behavior is probably acceptable (except for module-free kernels, of
course). But as long as the system permits you to remove a running
kernel, I would think other packages should deal with that corner case.

-- 
dann frazier | HP Open Source and Linux Organization


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to