Ross S. W. Walker
2007-Dec-06 18:41 UTC
[CentOS] Prevent kernel upgrade unless given dependencies satisfied
Dear List Members, Is there a way to prevent a kernel from being upgraded unless a list of given dependencies are satisfied? What I am getting at is sometimes updated kernels are available before the upgraded versions of the kernel modules in 'extras' are (ie drbd). If there were a way to list these modules as dependencies that must be satisfied before a kernel upgrade can be performed it would prevent a lot of pain around upgrade management. Thanks, Ross S. W. Walker Information Systems Manager Medallion Financial, Corp. 437 Madison Avenue 38th Floor New York, NY 10022 Tel: (212) 328-2165 Fax: (212) 328-2125 WWW: http://www.medallion.com <http://www.medallion.com/> ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20071206/cbaad485/attachment-0003.html>
Fabian Arrotin
2007-Dec-06 18:45 UTC
[CentOS] Prevent kernel upgrade unless given dependencies satisfied
On Thu, 2007-12-06 at 13:41 -0500, Ross S. W. Walker wrote:> Dear List Members, > > Is there a way to prevent a kernel from being upgraded unless > a list of given dependencies are satisfied? > > What I am getting at is sometimes updated kernels are available > before the upgraded versions of the kernel modules in 'extras' > are (ie drbd). > > If there were a way to list these modules as dependencies that > must be satisfied before a kernel upgrade can be performed it > would prevent a lot of pain around upgrade management. >Yes : when you have production machine using such modules (sitting in the extras repository, or third-party), i advice you to exclude the kernel (exclude=) in your yum config ... i *always* update manually such things, especially when dealing with sensitive data that needs to be replicated through DRBD ... My two cents .. -- Fabian Arrotin <fabian.arrotin at arrfab.net> Solution ? echo '16i[q]sa[ln0=aln100%Pln100/snlbx]sbA0D4D465452snlbxq' | dc -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20071206/8733b4fc/attachment-0003.sig>