Project

General

Profile

Actions

Bug #6486

closed

The detect_os.sh script is not valid

Bug #6486: The detect_os.sh script is not valid

Added by Matthieu CERDA over 11 years ago. Updated about 11 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

This script contains:

 elif [ -f /etc/SuSE-release ]; then
  export OS="SLES" 
  export OSVERSION=$(cat /etc/SuSE-release | grep VERSION | cut -f2 -d '=' | sed 's/ //')
  export OSSP=$(/etc/SuSE-release | grep PATCHLEVEL | cut -f2 -d '=' | sed 's/ //')

OSSP should use cat /etc/SuSE-release, not just /etc/SuSE-release.

Updated by Matthieu CERDA over 11 years ago Actions #1

  • Status changed from 8 to Pending technical review
  • Assignee set to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/632

Updated by Vincent MEMBRÉ over 11 years ago Actions #2

  • Target version changed from 2.10.13 to 2.10.14

Updated by Matthieu CERDA about 11 years ago Actions #3

  • Pull Request changed from https://github.com/Normation/rudder-packages/pull/632 to https://github.com/Normation/rudder-packages/pull/642

Updated by Anonymous about 11 years ago Actions #4

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Matthieu CERDA about 11 years ago Actions #5

Updated by Vincent MEMBRÉ about 11 years ago Actions #6

  • Subject changed from The detect_os.sh script in rudder-packages is missing a cat to The detect_os.sh script is not valid

Updated by Vincent MEMBRÉ about 11 years ago Actions #7

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.14, 2.11.11 and 3.0.5 which were released today.

Actions

Also available in: PDF Atom