etckeeper should depend on hostname

Bug #822613 reported by Christian Juner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
etckeeper (Ubuntu)
Fix Released
Medium
Marc Cluet

Bug Description

The etckeeper package should depend on the hostname package. If etckeeper is installed, but hostname isn't, the following error occurs:

/etc/etckeeper/commit.d/50vcs-commit: 21: hostname: not found
E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/sbin/etckeeper ]; then etckeeper post-install; fi'
E: Sub-process returned an error code

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: etckeeper 0.48ubuntu1.1
Uname: Linux 2.6.18-028stab089.1 x86_64
Architecture: amd64
Date: Mon Aug 8 12:54:38 2011
PackageArchitecture: all
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: etckeeper

Related branches

Revision history for this message
Christian Juner (christian-juner) wrote :
Dave Walker (davewalker)
tags: added: server-o-rs
Changed in etckeeper (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
summary: - etckeeper should depends on hostname
+ etckeeper should depend on hostname
Marc Cluet (lynxman)
Changed in etckeeper (Ubuntu):
assignee: nobody → Marc Cluet (lynxman)
Revision history for this message
Marc Cluet (lynxman) wrote :
Changed in etckeeper (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package etckeeper - 0.56ubuntu2

---------------
etckeeper (0.56ubuntu2) oneiric; urgency=low

  * Added dependency on hostname (LP: #822613)
 -- Marc Cluet <email address hidden> Fri, 19 Aug 2011 11:56:03 +0100

Changed in etckeeper (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Is this really necessary - hostname is Essential, isn't it?

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.