Bug 881923

Summary: initscripts: migration to /etc/hostname, /etc/vconsole.conf, /etc/locale.conf
Product: [Fedora] Fedora Reporter: Michal Schmidt <mschmidt>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: iarlyy, jonathan, lnykryn, notting, plautrba, rvokal, 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: 2012-12-11 05:58:25 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: 881785    

Description Michal Schmidt 2012-11-29 19:14:36 UTC
Fedora is migrating away from:
 /etc/sysconfig/network (the HOSTNAME=... setting)
 /etc/sysconfig/keyboard
 /etc/sysconfig/i18n
to:
 /etc/hostname
 /etc/vconsole.conf
 /etc/locale.conf

See the tracker bug 881785 for details.

We found:
./initscripts-9.42/setsysfont uses /etc/sysconfig/i18n.

./initscripts-9.42/sysconfig.txt talking about /etc/sysconfig/network:
   HOSTNAME=<fqdn by default, but whatever hostname you want>

./initscripts-9.42/sysconfig.txt talks about /etc/sysconfig/i18n, /etc/sysconfig/keyboard. Describes /etc/sysconfig/i18n as a valid fallback for /etc/vconsole.conf, but the plan is to remove the support for it completely.

Please update the package for the new config files.

Comment 1 Lukáš Nykrýn 2012-11-30 10:16:28 UTC
I think we can drop setsysfont entirely, it was used in rc.sysinit.

Comment 2 Bill Nottingham 2012-12-07 20:52:40 UTC
Done in git. Currently, it still reads /etc/sysconfig/i18n if locale.conf doesn't exist at all. Should it?

Comment 3 Fedora Update System 2012-12-07 21:37:41 UTC
initscripts-9.42.1-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/initscripts-9.42.1-1.fc18

Comment 4 Fedora Update System 2012-12-08 22:14:14 UTC
Package initscripts-9.42.1-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing initscripts-9.42.1-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19994/initscripts-9.42.1-1.fc18
then log in and leave karma (feedback).

Comment 5 Michal Schmidt 2012-12-10 10:09:28 UTC
(In reply to comment #2)
> Done in git. Currently, it still reads /etc/sysconfig/i18n if locale.conf
> doesn't exist at all. Should it?

I would prefer fallback paths like this to go away entirely throughout the distro.

Comment 6 Bill Nottingham 2012-12-10 16:14:43 UTC
OK. Will add that change on master.

Comment 8 Fedora Update System 2012-12-11 05:58:28 UTC
initscripts-9.42.1-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.