|
Bugzilla – Full Text Bug Listing |
| Summary: | Two kernels after update | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 10.3 | Reporter: | Holger Sickenberg <holgi> |
| Component: | YaST2 | Assignee: | Lukas Ocilka <locilka> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Major | ||
| Priority: | P5 - None | CC: | jsrain |
| Version: | Beta 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | y2logs.tgz | ||
|
Description
Holger Sickenberg
2007-08-22 09:54:46 UTC
Created attachment 158957 [details]
y2logs.tgz
Something for solver? No. Default will be installed due the normal update. bigsmp will be installed due YaST: 2007-08-22 04:44:45 <1> 10.10.2.108(3894) [YCP] Kernel.ycp:497 Selecting 'kernel-bigsmp' as kernel package ... .. . 2007-08-22 04:44:45 <1> 10.10.2.108(3894) [YCP] clients/update_proposal.ycp:163 Package kernel-bigsmp is not installed - forcing kernel update Katarina, could you please "reassign" ? Lukas, please take care of this one This seems to be undefined behavior without any documentation.
The problem definition is this:
* System before update had installed 'kernel-default'
* During update, solver has selected new 'kernel-default' as a replacement
for the old one.
* Additionally, update has selected new 'kernel-bigsmp' because of new
evaluation which kernel should be selected as default
* As a result, both kernel-default (replaced) and kernel-bigsmp (new)
were installed/updated.
Possible solutions:
1.) Do not select new kernel in case of update (when some kernel-* package
is already selected to be installed/updated).
2.) Force kernel selection by update_proposal and unselect other kernel-*
packages with one exception kernel-xen.
Side effects:
1.) If hardware has been changed, it would not have any effect on the fact
which kernel is selected. Even if the policy has changed between
releases it will not change. That seems to be wrong.
2.) Unselecting all kernels (but the selected one selected by the
update_proposal script and kernel-xen) seem to be a bit tricky.
It should be possible to prefer user-defined selections.
All in all, the solution "1" removes some functionality and the number "2" might be a bit dangerous when not done correctly. Anyway, the place, where the fix should be done, is Kernel.ycp, not update_proposal. I'd rather prefer solution "2".
- Preselecting new kernel if recommended and installed kernels do not match. Removing other kernels but kernel-xen (#302419). - yast2-update-2.15.21 |