Project

General

Profile

Actions

Bug #22452

closed

rudder-sign says "hostname: command not found"

Added by François ARMAND about 1 year ago. Updated 12 months ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
I hate Rudder for that
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
127
Name check:
To do
Fix check:
Checked
Regression:
No

Description

In modern systems, hostname is not available anymore and is replaced by hostnamectl hostname

In rudder-sign we still user hostname and fails if it is not available:

./rudder-sign: line 50: hostname: command not found

Workaround is to edit rudder-sign and replace

HOSTNAME=`hostname`

By

HOSTNAME=`hostnamectl hostname`

Which should work on recent ditro which don't have hostname anymore.


Subtasks 1 (0 open1 closed)

Bug #22569: call hostnamectl in agent commandsReleasedAlexis MoussetActions
Actions #1

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #2

Updated by François ARMAND about 1 year ago

  • Severity set to Major - prevents use of part of Rudder | no simple workaround
  • UX impact set to I hate Rudder for that
  • User visibility set to Operational - other Techniques | Rudder settings | Plugins
  • Effort required set to Very Small
  • Priority changed from 0 to 128
Actions #3

Updated by François ARMAND about 1 year ago

  • Description updated (diff)
Actions #4

Updated by François ARMAND about 1 year ago

  • Fix check changed from To do to Checked
Actions #5

Updated by François ARMAND about 1 year ago

  • Fix check changed from Checked to To do
Actions #6

Updated by Benoît PECCATTE about 1 year ago

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

Updated by Benoît PECCATTE about 1 year ago

  • Subtask #22569 added
Actions #8

Updated by Benoît PECCATTE about 1 year 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/2713
Actions #9

Updated by Benoît PECCATTE about 1 year ago

  • Status changed from Pending technical review to Pending release
Actions #10

Updated by Alexis Mousset 12 months ago

  • Priority changed from 128 to 127
  • Fix check changed from To do to Checked
Actions #11

Updated by Vincent MEMBRÉ 12 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.2.6 and 7.3.1 which were released today.

Actions

Also available in: Atom PDF