etckeeper fails on commit, if "hostname -f" returns error ("hostname: Unknown host")
Bug #377265 reported by
Daniel Hahler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
etckeeper (Debian) |
Fix Released
|
Unknown
|
|||
etckeeper (Ubuntu) |
Fix Released
|
Low
|
Thierry Carrez |
Bug Description
Binary package hint: etckeeper
When using a hostname, which is not valid(?) for "hostname -f", e.g. "localhost.
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
Related branches
description: | updated |
Changed in etckeeper (Ubuntu): | |
assignee: | nobody → Thierry Carrez (ttx) |
status: | Triaged → In Progress |
Changed in etckeeper (Debian): | |
status: | Unknown → New |
Changed in etckeeper (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
commit. d/50vcs- commit should indeed fallback to using hostname if hostname -f fails.