Project

General

Profile

Actions

Bug #6486

closed

The detect_os.sh script is not valid

Added by Matthieu CERDA about 6 years ago. Updated almost 6 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:

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.

Actions #1

Updated by Matthieu CERDA about 6 years ago

  • 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
Actions #2

Updated by Vincent MEMBRÉ about 6 years ago

  • Target version changed from 2.10.13 to 2.10.14
Actions #3

Updated by Matthieu CERDA almost 6 years ago

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

Updated by Anonymous almost 6 years ago

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

Updated by Matthieu CERDA almost 6 years ago

Actions #6

Updated by Vincent MEMBRÉ almost 6 years ago

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

Updated by Vincent MEMBRÉ almost 6 years ago

  • 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: Atom PDF