Bug 881923 - initscripts: migration to /etc/hostname, /etc/vconsole.conf, /etc/locale.conf
Summary: initscripts: migration to /etc/hostname, /etc/vconsole.conf, /etc/locale.conf
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 881785
TreeView+ depends on / blocked
 
Reported: 2012-11-29 19:14 UTC by Michal Schmidt
Modified: 2014-03-17 03:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-11 05:58:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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