Fix the hostname tool so an init script is not needed

Bug #338820 reported by Scott James Remnant (Canonical)
6
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Won't Fix
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
Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.