Project

General

Profile

Bug #22452

Updated by François ARMAND about 1 year ago

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:  

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

 Workaround is to edit rudder-sign and replace  
 <pre> 
 HOSTNAME=`hostname` 
 </pre> 

 By  
 <pre> 
 HOSTNAME=`hostnamectl hostname` 
 </pre> 

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

Back