[Bug 377265] [NEW] etckeeper fails on commit, if "hostname -f" returns error ("hostname: Unknown host")
Daniel Hahler
launchpad at thequod.de
Sat May 16 13:47:58 UTC 2009
Public bug reported:
Binary package hint: etckeeper
When using a hostname, which is not valid(?) for "hostname -f", e.g.
"localhost.localdomain", etckeeper's commit hook fails.
I think it should fallback to using only "hostname" then.
This happens for me, when I mount my root filesystem from a Live CD
(Ubuntu Hardy) and then trigger etckeeper to commit something to /etc.
TESTCASE:
# hostname foobarbaz
# etckeeper commit
ignored 79 file(s).
If you wish to add some of these files, please add them by name.
hostname: Unknown host
# echo $?
1
** Affects: etckeeper (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
Binary package hint: etckeeper
When using a hostname, which is not valid(?) for "hostname -f", e.g.
"localhost.localdomain", etckeeper's commit hook fails.
I think it should fallback to using only "hostname" then.
This happens for me, when I mount my root filesystem from a Live CD
(Ubuntu Hardy) and then trigger etckeeper to commit something to /etc.
+
+ TESTCASE:
+ # hostname foobarbaz
+ # etckeeper commit
+ ignored 79 file(s).
+ If you wish to add some of these files, please add them by name.
+ hostname: Unknown host
+ # echo $?
+ 1
--
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 mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list