Project

General

Profile

Bug #10003

Not having set %{real_name} does operate on /bin

Added by Janos Mattyasovszky 11 months ago. Updated 10 months ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Target version (plugin):
Severity:
User visibility:
Effort required:
Priority:

Description

On branch: branches/rudder/4.1 (4.1.0.beta1):

./rudder-server-relay/SPECS/rudder-server-relay.spec:

147 # Clean up unwanted binaries
148 if [ "z%{real_name}" != "" ]; then
149   for i in easy_install python pip; do
150       rm -f %{real_name}/bin/${i}*
151   done
152 else
153   echo "WARNING: Skipping Virtualenv cleanup, as it" 
154   echo "WARNING: would operate on /bin ..." 
155   echo "WARNING: Please make sure the real_name macro" 
156   echo "WARNING: is defined" 
157 fi

=> You have added a "z" to the left side of the equation, but not to the right side, so it will always be unequal, so the implemented safety measures are useless...


Subtasks

Bug #10008: Not having set %{real_name} does operate on /binReleasedAlexis MOUSSET

Associated revisions

Revision f69dbe1e
Added by Benoît PECCATTE 11 months ago

Fixes #10003: Not having set %{real_name} does operate on /bin

History

#1 Updated by Benoît PECCATTE 11 months ago

  • Category set to Packaging
  • Target version set to 4.1.0~beta2

#2 Updated by Benoît PECCATTE 11 months ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE

#3 Updated by Benoît PECCATTE 11 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis MOUSSET
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1208

#4 Updated by Benoît PECCATTE 11 months ago

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

#5 Updated by Vincent MEMBRÉ 10 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.0 which was released today.

Also available in: Atom PDF