yum update removing kernels, is this safe?
Get the following when doing a yum update (or a yum upgrade) on CentOS:
Code:
[root@clubadmin ~]# yum upgrade |
Yes. By default it's set to keep a few old kernels but remove the oldest. Cross-reference that output with "uname -a" and what's in grub.conf.
|
I've seen that it does have the sense to not remove the currently running kernel (I have a couple of CentOS servers, currently on differing kernels due to different uptimes). So hopefully all should be fine.
|
I don't like removing kernels automagically, and leave one working one spare until I try the new one. If you don't plan on rebooting, it's a no brainer: You'd actually be deleting the kernel & modules you are running on, aren't you!? That would earn you a highly deserved kick where the sun doesn't shine :-/.
I have found booting problems with new kernels and updated kernels. I know nothing should go wrong . . go wrong . . go wrong |
CentOS leaves SEVERAL older kernels. 2.6.18-194, 2.6.18-194.1 and 2.6.18-194.3 are not touched.
|
See the manpages for yum.conf(5). This behavior is controlled by the installonlypkgs and installonly_limit directives.
|
i would let Cent save 3
the current kernel and the 2 back up . |
All times are GMT -5. The time now is 02:36 PM. |