Project

General

Profile

Bug #3360

hostid service makes pointless use of perl

Added by Garrett D'Amore about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Low
Category:
cmd - userland programs
Start date:
2012-11-14
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

The hostid service that writes into /etc/hostid (using a bizarro rot-47 algorithm) makes use of perl to do the transform using a nearly illegible script. This should be replaced with a simple invocation of tr. This will eliminate another perl dependency, improve readability, and slightly reduce the boot time when this service is needed.

#1

Updated by Garrett D'Amore about 8 years ago

  • Status changed from New to Closed

Closed as dup. Sorry.

Also available in: Atom PDF