** Branch linked: lp:ubuntu/karmic/etckeeper
--
etckeeper fails on commit, if hostname -f returns error (hostname: Unknown
host)
https://bugs.launchpad.net/bugs/377265
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs
** Changed in: etckeeper (Debian)
Status: Unknown = New
--
etckeeper fails on commit, if hostname -f returns error (hostname: Unknown
host)
https://bugs.launchpad.net/bugs/377265
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Changed in: etckeeper (Ubuntu)
Status: Triaged = In Progress
** Changed in: etckeeper (Ubuntu)
Assignee: (unassigned) = Thierry Carrez (ttx)
--
etckeeper fails on commit, if hostname -f returns error (hostname: Unknown
host)
https://bugs.launchpad.net/bugs/377265
You received
This bug was fixed in the package etckeeper - 0.37ubuntu1
---
etckeeper (0.37ubuntu1) karmic; urgency=low
* Merge from debian unstable, remaining changes:
- etckeeper.conf, debian/control: default to bzr
* debian/postinst: Do the initial commit at installation time (LP:
** Bug watch added: Debian Bug tracker #533295
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533295
** Also affects: etckeeper (Debian) via
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533295
Importance: Unknown
Status: Unknown
--
etckeeper fails on commit, if hostname -f
commit.d/50vcs-commit should indeed fallback to using hostname if
hostname -f fails.
** Changed in: etckeeper (Ubuntu)
Importance: Undecided = Low
** Changed in: etckeeper (Ubuntu)
Status: New = Confirmed
--
etckeeper fails on commit, if hostname -f returns error (hostname: Unknown
Something like
- hostname=`hostname -f`
+ hostname=`hostname -f 2/dev/null || hostname`
should do it.
** Changed in: etckeeper (Ubuntu)
Status: Confirmed = Triaged
--
etckeeper fails on commit, if hostname -f returns error (hostname: Unknown
host)