Bug 1106405
Summary: | beah-beaker-backend fails to set default HOSTNAME configuration variable | ||
---|---|---|---|
Product: | [Retired] Beaker | Reporter: | Jun'ichi NOMURA <junichi.nomura> |
Component: | beah | Assignee: | Dan Callaghan <dcallagh> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 0.16 | CC: | aigao, asaha, dcallagh, kueda, rmancy, tatsu-ab1, tnishimura, xma |
Target Milestone: | 0.17.1 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-17 00:14:00 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jun'ichi NOMURA
2014-06-09 09:32:07 UTC
We've had to do some intricate dances in kickstart files to get the correct hostname information during %post, but I wasn't previously aware of troubles with HOSTNAME not being set when beah starts up. We'll investigate further. HOSTNAME (the environment variable) is a bash-ism, it was always previously available because SysV init does everything through bash. However with systemd bash is removed from the equation entirely. It should probably be using socket.gethostname() as the default, although it actually doesn't matter since HOSTNAME (the beah config option) is not used for anything important anymore. On Gerrit: http://gerrit.beaker-project.org/3132 Beah 0.7.5 has been released on beaker-project.org. |