Bug 870282 - hostname override logic differs from other settings
Summary: hostname override logic differs from other settings
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F18systemd
TreeView+ depends on / blocked
 
Reported: 2012-10-26 03:39 UTC by Bill Nottingham
Modified: 2014-03-17 03:32 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-14 22:54:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.