Project

General

Profile

Actions

Bug #22452

closed

rudder-sign says "hostname: command not found"

Added by François ARMAND over 1 year ago. Updated over 1 year 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

Also available in: Atom PDF