Bug 616981

Summary: Failure to boot if HOSTNAME not set
Product: [Fedora] Fedora Reporter: Eric Paris <eparis>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: lpoetter, metherid
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-07-22 00:28:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Eric Paris 2010-07-21 21:01:55 UTC
I do not set HOSTNAME= in /etc/sysconfig/network and the system picks up my hostname from a reverse dns entry eventually.  With systemd however it just refuses to boot:

systemd[1]: Set hostname to <�V�.
type=1701 audit(1279744659.081:5): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:init_t:s0 pid=1388 comm="systemd" sig=6
systemd[1]: Caught <ABRT>, core dump failed.
systemd[1]: Freezing execution.

I added HOSTNAME=localhost.localdomain and it now boots.

Comment 1 Lennart Poettering 2010-07-22 00:28:50 UTC
Thanks, fixed upstream. Will be fixed in the next I upload which I am currently preparing.