Bug 572883
| Summary: | proper kmod handling | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Levente Farkas <lfarkas> | ||||
| Component: | yum | Assignee: | James Antill <james.antill> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | BaseOS QE Security Team <qe-baseos-security> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 6.0 | ||||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2010-08-02 14:56: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: | |||||||
| Attachments: |
|
||||||
|
Description
Levente Farkas
2010-03-12 09:17:33 UTC
could you change it to rhel-6 I'm not exactly a kmod* packaging expert, but: 1. The only examples I can find of packages requiring kmod's, they require the virtual provide (this also seems sane, or it could never work). However these are kmod2 style packages (see below). 2. yum in RHEL-6 has new additions to compare_providers(), most importantly the fact it'll try and install the provider which requires the fewest deps. ... this might be enough to work out PAE vs. non-PAE on it's own. 3. kmod's in rpmfusion have moved away from using the yum-kmod plugin altogether, see: http://rpmfusion.org/Packaging/KernelModules/Kmods2 4. While we (RH) ship kmod-xfs and xfsprogs etc. in RHEL-5 ... we don't have a dep. between userspace and the kernel module. ...do you still want/need to change something ... if so what? This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. ps. jon masters is the master of kmod:-) may be he can be added to the cc list. there is no longer pae kernel in rhel-6 so it's no longer an issue, but - you can remove yum-kernel-module and yum-fedorakmod - or fix it. as in rhel kernel among dot release eg 6.0. 6.3 are kabi compatible it has no reason to keep different kmods for different kernel (one works for all), but if i modify something in a kmod package the it'd be useful (and imho the only good solution) to update kmod package and not install. ie: if i have installed kmod-foo-1.0 and in any repo there is a kmod-foo-1.1 then yum update do NOT install the new package, but update it. and that's the main problem currently with yum. This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. It has been denied for the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** Created attachment 435745 [details]
fix installonlypkgs and kernelpkgnames
first of all remove 'kernel-modules' from the installonlypkgs and i try to make it clear the installonlypkgs and kernelpkgnames variable. does anyone really know what they good for??? eg installonlypkgs: - it contains kernel-devel but not kernel-PAE-devel - it contains kernel-debug but not kernel-debug-devel - it contains kernel-PAE but not kernel-xen - it not contains kernel-doc and kernel-headers - it contains some magic names like kernel-source kernel-unsupported - it contains kernel-PAE-debug (typo of kernel-PAE-devel?) kernelpkgnames: - it contains kernel-PAE-debug but not kernel-debug etc... it would be nice to clean up! > eg installonlypkgs:
> - it contains kernel-devel but not kernel-PAE-devel
That's not true. I've fixed the documentation to be clearer upstream:
List of package provides that should only ever be installed, never updated.
Kernels in particular fall into this category. Defaults to kernel,
kernel-bigmem, kernel-enterprise, kernel-smp, kernel-modules, kernel-debug,
kernel-unsupported, kernel-source, kernel-devel, kernel-PAE, kernel-PAE-debug.
Note that because these are provides, and not just package names, kernel-devel
will also apply to kernel-debug-devel, etc.
the original reason for this bugzilla was the kernel-modules. as i already white and discussed many places it should have to be removed from this list: https://bugzilla.redhat.com/show_bug.cgi?id=502140 http://lists.elrepo.org/pipermail/elrepo-devel/2009-August/thread.html http://lists.elrepo.org/pipermail/elrepo-devel/2010-July/000268.html so can i reopen this bug for further discussion? If newer kmods aren't meant to be "installonly" why are they providing kernel-modules? Just remove that provide, and it'll be happy. |