[Bug 830658] New: server:monitoring/nagios-plugins-zypper: Bug
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c0 Summary: server:monitoring/nagios-plugins-zypper: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: SLES 11 Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: lrupp@suse.com ReportedBy: opensuse@dschung.de QAContact: opensuse-communityscreening@forge.provo.novell.com CC: nix@opensuse.org Found By: --- Blocker: --- If multiple runs of zypper are required, check_zypper only uses the result of the first run: # /usr/lib/nagios/plugins/check_zypper Updates WARNING : 2 recommended update(s); | security=0;;;; recommended=2;;;; optional=0;;;; packages=0;;;; # zypper lp Loading repository data... Reading installed packages... The following software management updates will be installed first: Repository | Name | Version | Category | Status -------------------+-----------------------------+---------+-------------+------- sled11_sp2_updates | sledsp2-softwaremgmt-201306 | 8047 | recommended | needed sles11_sp2_updates | slessp2-softwaremgmt-201306 | 8047 | recommended | needed The following updates are also available: Repository | Name | Version | Category | Status ----------------------+----------------------------+---------+-------------+------- sle11_sdk_sp2_updates | sdksp2-SDK-SP3-Migration | 8061 | recommended | needed sle11_sdk_sp2_updates | sdksp2-ibutils | 8029 | security | needed sle11_sdk_sp2_updates | sdksp2-subversion | 7930 | security | needed sle11_sdk_sp2_updates | sdksp2-yast2-mail | 7870 | recommended | needed sled11_sp2_updates | sledsp2-SLED-SP3-Migration | 8037 | recommended | needed sled11_sp2_updates | sledsp2-brasero | 7950 | recommended | needed sled11_sp2_updates | sledsp2-curl | 7867 | security | needed sled11_sp2_updates | sledsp2-firefox-20130628 | 7976 | security | needed sled11_sp2_updates | sledsp2-gvfs | 8049 | recommended | needed sled11_sp2_updates | sledsp2-kernel | 7960 | security | needed sled11_sp2_updates | sledsp2-krb5 | 7968 | security | needed sled11_sp2_updates | sledsp2-kvm | 7906 | security | needed sled11_sp2_updates | sledsp2-postfix | 8008 | recommended | needed sled11_sp2_updates | sledsp2-timezone-2013d | 8025 | recommended | needed sled11_sp2_updates | sledsp2-yast2-mail | 7870 | recommended | needed sles11_sp2_updates | slessp2-SLES-SP3-Migration | 8065 | recommended | needed sles11_sp2_updates | slessp2-brasero | 7950 | recommended | needed sles11_sp2_updates | slessp2-curl | 7867 | security | needed sles11_sp2_updates | slessp2-firefox-20130628 | 7976 | security | needed sles11_sp2_updates | slessp2-gvfs | 8049 | recommended | needed sles11_sp2_updates | slessp2-ibutils | 8029 | security | needed sles11_sp2_updates | slessp2-kernel | 7960 | security | needed sles11_sp2_updates | slessp2-krb5 | 7968 | security | needed sles11_sp2_updates | slessp2-kvm | 7906 | security | needed sles11_sp2_updates | slessp2-postfix | 8008 | recommended | needed sles11_sp2_updates | slessp2-timezone-2013d | 8025 | recommended | needed sles11_sp2_updates | slessp2-yast2-mail | 7870 | recommended | needed (in the form above, I can only select "unspecified" under "Found in Version") -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c1 Lars Vogdt <lrupp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |RESOLVED CC| |lrupp@suse.com Resolution| |FIXED --- Comment #1 from Lars Vogdt <lrupp@suse.com> 2013-07-31 18:32:50 CEST --- The current logic of the check script does not "see" the other updates (you should get the same result if you run "zypper --xmlout --non-interactive list-updates -t package -t patch" - this inconsistency of zypper is currently tracked in bnc #832605. I provide a patched check_zypper version 1.48 in server:monitoring (I guess this is where you get the package from) now, that handles all updates of the software management stack as cricital including a hint that there might be more updates pending for a machine. I know that this is just a workaround, but with this workaround, you should at least be aware that there might be more update pending. I hope this can be changed once the zypper maintainer finds a solution for the other bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c2 --- Comment #2 from Swamp Workflow Management <swamp@suse.de> 2013-08-07 10:04:23 UTC --- openSUSE-RU-2013:1308-1: An update that has two recommended fixes can now be installed. Category: recommended (low) Bug References: 830658,832605 CVE References: Sources used: openSUSE 12.2 (src): nagios-plugins-zypper-1.48-1.5.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c3 --- Comment #3 from Swamp Workflow Management <swamp@suse.de> 2013-08-07 10:04:53 UTC --- openSUSE-RU-2013:1309-1: An update that has two recommended fixes can now be installed. Category: recommended (low) Bug References: 830658,832605 CVE References: Sources used: openSUSE 12.3 (src): nagios-plugins-zypper-1.48-1.3.1, nagios-plugins-zypper-1.48-1.4.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c4 Gregor Dschung <opensuse@dschung.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |opensuse@dschung.de Resolution|FIXED | --- Comment #4 from Gregor Dschung <opensuse@dschung.de> 2013-08-10 18:33:55 UTC --- Nice to see some development :-) I've just updated nagios-plugins-zypper on an openSUSE 12.3, and your line return ( 'There is a pending update of the update-stack itself. This plugin can not check if there are more updates pending.', 'CRITICAL') if (/softwaremgmt/); unfortunately doesn't fetch the "Software stack"-Update, as openSUSE doesn't use as handy patch names as SUSE does: sb23:/ # zypper lp Loading repository data... Reading installed packages... The following software management updates will be installed first: Repository | Name | Version | Category | Status | Summary ---------------------+-------------------+---------+-------------+--------+--------------------------- openSUSE-12.3-Update | openSUSE-2013-609 | 1 | recommended | needed | Softwarestack update 06/13 The following updates are also available: Repository | Name | Version | Category | Status | Summary ---------------------+-------------------+---------+-------------+--------+---------------------------------------------------------------------------------------------------------------- openSUSE-12.3-Update | openSUSE-2013-556 | 1 | security | needed | MozillaFirefox: Update to Firefox 22.0 release openSUSE-12.3-Update | openSUSE-2013-558 | 1 | security | needed | update for xorg-x11-server openSUSE-12.3-Update | openSUSE-2013-560 | 1 | recommended | needed | xf86-video-modesetting: Update to 0.8.0 and several fixes openSUSE-12.3-Update | openSUSE-2013-568 | 1 | recommended | needed | fuse: bugfix update to 2.9.2 openSUSE-12.3-Update | openSUSE-2013-569 | 1 | recommended | needed | libyui-ncurses: bugfixes for YaST2 ncurses mode openSUSE-12.3-Update | openSUSE-2013-575 | 1 | security | needed | update for ruby19 openSUSE-12.3-Update | openSUSE-2013-577 | 1 | security | needed | Mesa: security fixes for Intel drivers openSUSE-12.3-Update | openSUSE-2013-581 | 1 | recommended | needed | Fix eog crash openSUSE-12.3-Update | openSUSE-2013-582 | 1 | recommended | needed | timezone: July 2013 update openSUSE-12.3-Update | openSUSE-2013-583 | 1 | recommended | needed | xorg-x11-Xvnc: Use correct keycode for level3 shift. openSUSE-12.3-Update | openSUSE-2013-584 | 1 | recommended | needed | Update to KDE 4.10.5. This would be the last bugfix release for KDE 4.10 (bnc#822760). Due to various testing-> openSUSE-12.3-Update | openSUSE-2013-588 | 1 | security | needed | qemu: security update openSUSE-12.3-Update | openSUSE-2013-592 | 1 | security | needed | libxml2: security update to fix out of bounds reads openSUSE-12.3-Update | openSUSE-2013-594 | 1 | recommended | needed | sudo: Enable SSSD as a sudoers data source openSUSE-12.3-Update | openSUSE-2013-595 | 1 | recommended | needed | xorg-x11-server: fix Xephyr incorrect commandline arguments parsing openSUSE-12.3-Update | openSUSE-2013-597 | 1 | recommended | needed | gettext: Fix broken handling of unicode code point escapes in Tcl openSUSE-12.3-Update | openSUSE-2013-598 | 1 | recommended | needed | python: fix bundle-lang bug with missing translations openSUSE-12.3-Update | openSUSE-2013-602 | 1 | security | needed | lcms2: updated to 2.5 to fix several security issues and bugs openSUSE-12.3-Update | openSUSE-2013-604 | 1 | security | needed | update for php5 openSUSE-12.3-Update | openSUSE-2013-605 | 1 | recommended | needed | grub2: recommanded update to fix grub2-mkconfig in xen domU openSUSE-12.3-Update | openSUSE-2013-606 | 1 | recommended | needed | plymouth: Fix possible hang for plymouth quit openSUSE-12.3-Update | openSUSE-2013-610 | 1 | recommended | needed | tightvnc: Add '-securitytypes none', that is necessary for tigervnc again. openSUSE-12.3-Update | openSUSE-2013-613 | 1 | recommended | needed | xorg-x11-Xvnc: fix for memory leaks on keypresses openSUSE-12.3-Update | openSUSE-2013-614 | 1 | recommended | needed | wireless-tools: rename iwlagn modprobe snippet openSUSE-12.3-Update | openSUSE-2013-619 | 1 | recommended | needed | tcl: Link tclsh against libpthread without enabling thread support openSUSE-12.3-Update | openSUSE-2013-621 | 1 | security | needed | subversion: update to 1.7.11 openSUSE-12.3-Update | openSUSE-2013-627 | 1 | security | needed | libgcrypt: update to 1.5.3 openSUSE-12.3-Update | openSUSE-2013-629 | 1 | recommended | needed | logrotate: Call prerotate/postrotate script only for really rotated files in nosharedscripts mode openSUSE-12.3-Update | openSUSE-2013-630 | 1 | recommended | needed | perl-Net-HTTP: fix Net::HTTP chunk handling broken for non-blocking sockets openSUSE-12.3-Update | openSUSE-2013-631 | 1 | recommended | needed | kernel-firmware: Update to git snapshot 2013/7/14 sb23:/ # /usr/lib/nagios/plugins/check_zypper -v Updates WARNING : 1 recommended update(s); recommended patch: openSUSE-2013-609| security=0;;;; recommended=1;;;; optional=0;;;; packages=0;;;; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c Gregor Dschung <opensuse@dschung.de> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|SLES 11 |openSUSE 12.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c5 Lars Vogdt <lrupp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #5 from Lars Vogdt <lrupp@suse.com> 2013-08-30 15:55:18 CEST --- ------------------------------------------------------------------- Fri Aug 30 13:52:41 UTC 2013 - lars@linux-schulserver.de - also use the keyword "Softwarestack" as indication for an update of the software stack as such ( bnc#830658 ) ------------------------------------------------------------------- Well, I know that this should not be the correct development form, but I have currently not other way and just limited time to rework the plugin... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-10-21 12:00:14 CEST --- This is an autogenerated message for OBS integration: This bug (830658) was mentioned in https://build.opensuse.org/request/show/204101 12.2+12.3 / nagios-plugins-zypper -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=830658 https://bugzilla.novell.com/show_bug.cgi?id=830658#c7 --- Comment #7 from Swamp Workflow Management <swamp@suse.de> 2013-10-28 12:04:49 UTC --- openSUSE-RU-2013:1583-1: An update that has two recommended fixes can now be installed. Category: recommended (low) Bug References: 830658,839839 CVE References: Sources used: openSUSE 12.3 (src): nagios-plugins-zypper-1.50-1.8.1 openSUSE 12.2 (src): nagios-plugins-zypper-1.50-1.9.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com