Bug #2365

The update to the latest Rudder 2.4.0~alpha6~git201203061733 fails at the postinst stage of rudder-webapp

Added by Matthieu CERDA over 2 years ago. Updated over 1 year ago.

Status:Released Start date:2012-03-07
Priority:1 Due date:
Assignee:Matthieu CERDA % Done:

100%

Category:-
Target version:Rudder - 2.4.0~alpha6
Pull Request:

Description

The update to the latest Rudder 2.4.0~alpha6~git201203061733 fails at the postinst stage of rudder-webapp, because the rudder-upgrade script has a logic error (a return code interpreted as an error code which stops the execution of the script).

Associated revisions

Revision 8ac26130
Added by Matthieu CERDA over 2 years ago

Fixes #2365: The rudder-upgrade script from rudder-webapp has been fixed (failed diff)

History

#1 Updated by Matthieu CERDA over 2 years ago

  • Target version changed from 2.4.0~alpha6 to 2.4.0~alpha7

#2 Updated by Matthieu CERDA over 2 years ago

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

#3 Updated by Jonathan CLARKE over 2 years ago

  • Target version changed from 2.4.0~alpha7 to 2.4.0~alpha6

#4 Updated by Nicolas PERRON over 2 years ago

I find this fix a little odd, but it seems OK.

#5 Updated by Jonathan CLARKE over 2 years ago

  • Status changed from Pending technical review to Released

Nicolas PERRON wrote:

I find this fix a little odd, but it seems OK.

What is odd about it?

#6 Updated by Nicolas PERRON over 2 years ago

Jonathan CLARKE wrote:

Nicolas PERRON wrote:

I find this fix a little odd, but it seems OK.

What is odd about it?

I found this fix odd because of the if statement which doesn't use any "[" but I understand now what was for: handling unexpected exit.

#7 Updated by Nicolas PERRON over 1 year ago

  • Project changed from Rudder to packages
  • Category deleted (11)

Also available in: Atom PDF