Bug 236382
Summary: | yum removed currently running kernel-debug | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dave Jones <davej> |
Component: | yum | Assignee: | Seth Vidal <skvidal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | herrold, opensource, pfrields |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 3.2.8 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-12-07 02:45:25 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 150225 |
Description
Dave Jones
2007-04-13 15:08:54 UTC
The recent yum update (yum-3.2.2-1.fc7) may introduce more problems like this:
On Monday 23 July 2007 17:46:11 updates wrote:
> - integrated installonlyn plugin functionality - new config option
> installonly_limit will remove old, non-running kernels from your system as
> you add more. In fedora, if you had disabled the installonlyn plugin you
> will have to disable it your /etc/yum.conf with 'installonly_limit = 0'.
from man yum.conf:
| installonlypkgs
| List of packages that should only ever be installed, never
| updated. Kernels in particular fall into this category.
| Defaults to ‘kernel,
| kernel-smp, kernel-bigmem, kernel-enterprise, kernel-debug,
| kernel-unsupported’.
Imho kernel-PAE and kernel-xen are here missing, also the installonlyn
supported some more kernel packages, here are the suffixes:
31 for s in ("bigmem", "enterprise", "smp", "hugemem", "PAE", "rt",
32 "guest", "hypervisor", "xen0", "xenU", "xen", "debug"):
And will the new yum also keep the the regarding -devel packages installed?
Oh, when I look into the source
(/usr/lib/python2.5/site-packages/yum/config.py) the default values differ in
reality:
490 installonlypkgs = ListOption(['kernel', 'kernel-bigmem',
491 'kernel-enterprise','kernel-smp', 'kernel-modules', 'kernel-debug',
492 'kernel-unsupported', 'kernel-source', 'kernel-devel'])
493 installonly_limit = IntOption(2)
494 kernelpkgnames =
ListOption(['kernel','kernel-smp', 'kernel-enterprise',
495 'kernel-bigmem', 'kernel-BOOT'])
496 exactarchlist = ListOption(['kernel', 'kernel-smp', 'glibc',
497 'kernel-hugemem', 'kernel-enterprise', 'kernel-bigmem',
498 'kernel-devel'])
Is it correct that kernelpkgnames and exactarchlist do not include every
kernel package name that installonlypkgs does?
Is this still happening? It seems to have vanished in one of the various updates. reopen if it is, okay? |