|
Bugzilla – Full Text Bug Listing |
| Summary: | "Your system is up to date" even though "zypper lp" lists a patch | ||
|---|---|---|---|
| Product: | [SUSE Appliance Toolkit] WebYaST | Reporter: | Martin Vidner <mvidner> |
| Component: | Patch/Update | Assignee: | Ladislav Slezák <lslezak> |
| Status: | RESOLVED FIXED | QA Contact: | Klaus Kämpf <kkaempf> |
| Severity: | Major | ||
| Priority: | P1 - Urgent | CC: | jreidinger |
| Version: | SLE11 SP1 RC2 | ||
| Target Milestone: | SLE11 SP1 RC4 | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Martin Vidner
2010-04-13 12:46:17 UTC
I also reproduce this issue. It is regression as it works in previous RC ( I test it in RC1 and it works). Yes, and I can also reproduce it. After I have switched off the background mode everything works fine. Lada could you please check ? In bug 565930 comment 5 schubi says: With RC3 the system reports "your system is ok" although there is a patch for installation. This patch will be shown after I have added the key with zypper again. To comment #4: that's a different problem, here it works fine when the background mode is not used... I have found the reason (it's quite tricky): in the background mode the patch module starts for querying available patches a helper command like this: script/runner -e production vendor/plugins/software/scripts/list_patches.rb :available (It must be done in a separate process because ruby-dbus is not thread safe.) The problem is that the list_patches.rb receives "-e production :available" arguments, i.e. it gets even the arguments which are for the runner itself. So the script then searches for patch "-e" which is apparently not found and it returns empty patch list as the result. Solution: Adding argument parsing to the helper script is overkill to me, I'll simply remove passing an argument, it will always search for available packages only. Fixed in webyast-software-ws-0.1.20. |