Project

General

Profile

Bug #7289

zypper --version outputs on stderr

Added by Janos Mattyasovszky over 4 years ago. Updated over 4 years ago.

Status:
Released
Priority:
N/A
Assignee:
-
Category:
System integration
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

On a SLES10 SP2 system, the check-zypper-version tool calls zypper --version, which outputs the version on stderr, but it's supposed to be processed on stdout.

vm102:~ # /usr/bin/zypper --version > /dev/null
zypper 0.6.104
vm102:~ # /usr/bin/zypper --version 2> /dev/null
vm102:~ #

Associated revisions

Revision f7f5519b (diff)
Added by Janos Mattyasovszky over 4 years ago

Fixes #7289: Redirect zypper's version to stdout

Zypper displays the version on stderr on very low versions.
Redirect stderr to stdout to ensure value is catched.

Revision bd4f1184
Added by Benoît PECCATTE over 4 years ago

Merge pull request #758 from matya/patch-7289-zypper-output-on-stderr

Fixes #7289: Redirect zypper's version to stdout

History

#1

Updated by Janos Mattyasovszky over 4 years ago

  • Description updated (diff)
#2

Updated by Janos Mattyasovszky over 4 years ago

  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/758
#3

Updated by Benoît PECCATTE over 4 years ago

  • Target version set to 2.11.16
#4

Updated by Anonymous over 4 years ago

  • Status changed from New to Pending release
  • % Done changed from 0 to 100
#6

Updated by Vincent MEMBRÉ over 4 years ago

  • Category changed from Agent to System integration
#7

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.16, 3.0.11 and 3.1.4 which were released today.

Also available in: Atom PDF