Project

General

Profile

Actions

Bug #3747

closed

The script of initialization rudder-init.sh display an error message if called with arguments

Added by Nicolas PERRON over 10 years ago. Updated about 9 years ago.

Status:
Released
Priority:
1
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The rudder-init.sh script can be called with argument if, for example, we have to automate the installation of Rudder server. Nevertheless, an error message is displayed during its execution:

root@server:~# /tmp/rudder-init.sh server.rudder.local no yes yes 192.168.42.0/24

Hostname: server.rudder.local
Allowed networks: 192.168.42.0/24
Add sample data? no
Reinitialize LDAP database? yes
/tmp/rudder-init.sh: line 170: [: -ne: unary operator expected

Hit any key to continue....
Actions #1

Updated by Nicolas PERRON over 10 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Nicolas PERRON to Jonathan CLARKE
  • % Done changed from 0 to 100

Pull Request URL added: https://github.com/Normation/rudder-packages/pull/82

Jon, could you review it please ?

Actions #2

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:e789ca02b2fd555cd9ce96e0cbcbe0abcb820a3f.

Actions #3

Updated by Jonathan CLARKE over 10 years ago

Applied in changeset commit:17f078b9b8f184271b2e4dbd758f6cc5a25cc9fb.

Actions #4

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending release to Pending technical review

The PR was on master, and I merged it. We need to put this on 2.4 branch though.

Actions #5

Updated by Nicolas PERRON over 10 years ago

The commits commit:e789ca02 and commit:bbfb303d should not have been merged on master but on 2.4 then I have reverted them with commit:c3affd9bfe60acdb43ca61251716d72bfe4f3525 and commit:4693b2bfb5b0f810e76ed35a796b0983a4e1643b.

The Pull Request https://github.com/Normation/rudder-packages/pull/82 was wrong so a new one has been created: https://github.com/Normation/rudder-packages/pull/83

Actions #6

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:bdf791cd577cb4df263f80f7d7afad678afce79b.

Actions #7

Updated by Nicolas PERRON over 10 years ago

Applied in changeset commit:c817eb45443bd90c13bf52ed32deb435920790bf.

Actions #8

Updated by Nicolas PERRON over 10 years ago

  • Pull Request set to https://github.com/Normation/rudder-packages/pull/83
Actions #9

Updated by Nicolas PERRON over 10 years ago

  • Subject changed from the script of initialization rudder-init.sh display an error message if it is called with arguments to The script of initialization rudder-init.sh display an error message if called with arguments
Actions #10

Updated by Nicolas PERRON over 10 years ago

  • Status changed from Pending release to Released
Actions #11

Updated by Nicolas PERRON over 10 years ago

This bug has been fixed in Rudder 2.4.7, which was released today.
Check out:

Actions #12

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF