Bug 870282

Summary: hostname override logic differs from other settings
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: systemdAssignee: systemd-maint
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: johannbg, lnykryn, metherid, msekleta, notting, plautrba, rvokal, systemd-maint, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-14 22:54:24 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:
Bug Depends On:    
Bug Blocks: 871094    

Description Bill Nottingham 2012-10-26 03:39:05 UTC
Description of problem:

For vconsole & locale-related paraemters, the preference order is:

1. distro-neutral file (/etc/vconsole.conf, etc.)
overridden by, if it exists:
2. distro-specific #ifdef'd file (/etc/sysconfig/i18n, etc.) 

For hostname, the preference order is:

1. distro-specific #ifdef'd file (/etc/sysconfig/network, etc.)
overridden by, if it exists:
2. distro-neutral file (/etc/hostname)

It likely should be consistent behavior.

Version-Release number of selected component (if applicable):

systemd-37 through systemd-195

How reproducible:

100%

Steps to Reproduce:
1. look at code

Comment 1 Lennart Poettering 2013-01-14 22:54:24 UTC
I guess this is obsolete now as we now convert all files from the old format to the new format anyway via postinst scripts. Closing.