Your message dated Wed, 08 Jul 2009 19:02:08 +0000
with message-id <[email protected]>
and subject line Bug#533295: fixed in etckeeper 0.38
has caused the Debian Bug report #533295,
regarding etckeeper fails to commit if hostname -f fails
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
533295: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=533295
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: etckeeper
Severity: low
Version: 0.37
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch karmic
etckeeper fails to commit if "hostname -f" fails (because of a
misconfigured hostname). I tend to think that the user should fix his
hostname in that corner case, but nevertheless added support for working
around that in 0.37ubuntu1.
https://bugs.launchpad.net/ubuntu/+source/etckeeper/+bug/377265
See attached patch for proposed implementation. Basically it uses
"hostname" if "hostname -f" fails to avoid any commit failure.
Hope this helps,
--
Thierry Carrez
diff -Nru etckeeper-0.37/commit.d/50vcs-commit etckeeper-0.37ubuntu1/commit.d/50vcs-commit
--- etckeeper-0.37/commit.d/50vcs-commit 2009-02-05 03:40:27.000000000 +0100
+++ etckeeper-0.37ubuntu1/commit.d/50vcs-commit 2009-06-16 10:53:36.000000000 +0200
@@ -2,7 +2,7 @@
set -e
message="$1"
-hostname=`hostname -f`
+hostname=`hostname -f 2>/dev/null || hostname`
if [ "$VCS" = git ] && [ -d .git ]; then
if [ -n "$SUDO_USER" ]; then
--- End Message ---
--- Begin Message ---
Source: etckeeper
Source-Version: 0.38
We believe that the bug you reported is fixed in the latest version of
etckeeper, which is due to be installed in the Debian FTP archive:
etckeeper_0.38.dsc
to pool/main/e/etckeeper/etckeeper_0.38.dsc
etckeeper_0.38.tar.gz
to pool/main/e/etckeeper/etckeeper_0.38.tar.gz
etckeeper_0.38_all.deb
to pool/main/e/etckeeper/etckeeper_0.38_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Joey Hess <[email protected]> (supplier of updated etckeeper package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 08 Jul 2009 14:40:58 -0400
Source: etckeeper
Binary: etckeeper
Architecture: source all
Version: 0.38
Distribution: unstable
Urgency: low
Maintainer: Joey Hess <[email protected]>
Changed-By: Joey Hess <[email protected]>
Description:
etckeeper - store /etc in git, mercurial, bzr or darcs
Closes: 533290 533295
Changes:
etckeeper (0.38) unstable; urgency=low
.
* Use hostname if hostname -f fails. Closes: #533295
* Automatically commit on initial install, so users can
begin relying on etckeeper right away. Closes: #533290
Checksums-Sha1:
959e8278bf486f8453092630b04b86decb7a4c61 849 etckeeper_0.38.dsc
3c20d524bce73423b67c16b539f06218571397b5 38241 etckeeper_0.38.tar.gz
ac820648c332c4d0c905714dd2d4b31b2bc72ed9 29294 etckeeper_0.38_all.deb
Checksums-Sha256:
0f81134da76598c5984bfca559c0be0a2fc5312cfc6797b7eca790971a1b74c7 849
etckeeper_0.38.dsc
25bd1465f4335b8416b9d0cef033c53ba134dbf4f283c450c082589b8d79a733 38241
etckeeper_0.38.tar.gz
439fba61ad666bca0ab5d06aa2c93f374382a3225552ee0042980327b6a2011c 29294
etckeeper_0.38_all.deb
Files:
7d026fc3831d6b13da8b921439423107 849 admin optional etckeeper_0.38.dsc
58d032517676d444f82e100b23919992 38241 admin optional etckeeper_0.38.tar.gz
4176590b2f11602443c1c8e7972caf2b 29294 admin optional etckeeper_0.38_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKVOkJ2tp5zXiKP0wRAozmAKCgdSe7eHUadtKrVUIzANv/D7rIIgCggYYX
kIk77colv+OdCZqMjmDeeUU=
=ksW6
-----END PGP SIGNATURE-----
--- End Message ---