[opensuse] Can I block a kernel version from being purged?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, There is a kernel update now to solve the DirtyCOW problem. However, the current kernel doesn't work right for me (hibernate crashes), so I have to use the previous one (3.12.59-47-desktop for 13.1). So I want to try the new kernel, but I want to avoid the previous-previous kernel from being purged out. I would like to lock 3.12.59-47 in place. Ideas? I think I could config that I want 3 kernels kept (I know how to do that), but then we may get 4 and I would have to again increase the variable.. Maybe I need coffe. I think I knew this years ago... - -- Cheers Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlgMwMgACgkQtTMYHG2NR9Uq4QCfbui9GkqwCaSRbhbDeCBA/tXu RBQAoI4wZg9qNdKCI9gG1P3smW6WmeAE =rinN -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Carlos E. R. composed on 2016-10-23 15:53 (UTC+0200):
There is a kernel update now to solve the DirtyCOW problem.
However, the current kernel doesn't work right for me (hibernate crashes), so I have to use the previous one (3.12.59-47-desktop for 13.1).
So I want to try the new kernel, but I want to avoid the previous-previous kernel from being purged out. I would like to lock 3.12.59-47 in place.
Ideas? I think I could config that I want 3 kernels kept (I know how to do that), but then we may get 4 and I would have to again increase the variable..
Maybe I need coffe. I think I knew this years ago...
zypper al kernel-desktop-3.12.59* Alternatively, disable purge-kernels.service, and delete excess kernels manually at your pleasure. -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 10/23/2016 09:53 AM, Carlos E. R. wrote:
Hi,
There is a kernel update now to solve the DirtyCOW problem.
However, the current kernel doesn't work right for me (hibernate crashes), so I have to use the previous one (3.12.59-47-desktop for 13.1).
So I want to try the new kernel, but I want to avoid the previous-previous kernel from being purged out. I would like to lock 3.12.59-47 in place.
Ideas? I think I could config that I want 3 kernels kept (I know how to do that), but then we may get 4 and I would have to again increase the variable..
Maybe I need coffe. I think I knew this years ago...
Yes. In /etc/zypper/zypp.conf there is this: ## Comma separated list of kernel packages to keep installed in parallel, if the ## above multiversion variable is set. Packages can be specified as ## 2.6.32.12-0.7 - Exact version to keep ## latest - Keep kernel with the highest version number ## latest-N - Keep kernel with the Nth highest version number ## running - Keep the running kernel ## oldest - Keep kernel with the lowest version number (the GA kernel) ## oldest+N - Keep kernel with the Nth lowest version number ## ## Note: This entry is not evaluated by libzypp, but by the ## purge-kernels service (via /sbin/purge-kernels). -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2016-10-23 20:16, Anton Aylward wrote:
On 10/23/2016 09:53 AM, Carlos E. R. wrote:
So I want to try the new kernel, but I want to avoid the previous-previous kernel from being purged out. I would like to lock 3.12.59-47 in place.
Ideas? I think I could config that I want 3 kernels kept (I know how to do that), but then we may get 4 and I would have to again increase the variable..
Maybe I need coffe. I think I knew this years ago...
Yes. In /etc/zypper/zypp.conf there is this:
Thank you both :-) I still have not updated, listening to the problem some have with sound. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)
participants (3)
-
Anton Aylward
-
Carlos E. R.
-
Felix Miata