Fix the hostname tool so an init script is not needed

Bug #338820 reported by Scott James Remnant (Canonical) on 2009-03-06
6
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Undecided
Scott James Remnant (Canonical)

Bug Description

Binary package hint: util-linux

The hostname init script performs a whole bunch of tests, some of them invalid (e.g. hostname always returns "(none)" not "" if there isn't one set).

If the hostname binary itself were patched to do the equivalent, it'd save us several fork/exec/grep type operations and then we could set the hostname with a single call (and since there's no blocking requirement from it, do it in parallel with the rest of the init scripts)

Changed in util-linux:
assignee: nobody → scott

Easier to do this one properly when we have a new upstart

Changed in util-linux (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers