Re: change of names of configuration files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/25/2012 03:39 PM, Marcela Mašláňová wrote:
Hi devels,
I'd like to ask for your opinion, especially those from anaconda,
system-config-* and localization. The last commit in systemd [1] changed
names of configuration files. Does someone else than systemd tools using
them? Fedora 18 is (or will be soon) in freeze, so it would be better
solve it now.

<snip>
+# Migrate /etc/sysconfig/i18n
+if [ -e /etc/sysconfig/i18n -a ! -e /etc/locale.conf ]; then
+ unset LANG
+ . /etc/sysconfig/i18n 2>&1 || :
+ [ -n "$LANG" ] && echo LANG=$LANG > /etc/locale.conf 2>&1 || :
+fi
+
+# Migrate /etc/sysconfig/keyboard
+if [ -e /etc/sysconfig/keyboard -a ! -e /etc/vconsole.conf ]; then
+ unset SYSFONT
+ unset SYSFONTACM
+ unset UNIMAP
+ unset KEYMAP
+ [ -e /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n 2>&1 || :
+ . /etc/sysconfig/keyboard 2>&1 || :
+ [ -n "$SYSFONT" ] && echo FONT=$SYSFONT > /etc/vconsole.conf 2>&1 || :
+ [ -n "$SYSFONTACM" ] && echo FONT_MAP=$SYSFONTACM >>
/etc/vconsole.conf 2>&1 || :
+ [ -n "$UNIMAP" ] && echo FONT_UNIMAP=$UNIMAP >> /etc/vconsole.conf
2>&1 || :
+ [ -n "$KEYTABLE" ] && echo KEYMAP=$KEYTABLE >> /etc/vconsole.conf 2>&1
|| :
+fi
+/usr/bin/rm -f /etc/sysconfig/i18n >/dev/null 2>&1 || :
+/usr/bin/rm -f /etc/sysconfig/keyboard >/dev/null 2>&1 || :
+
+# Migrate HOSTNAME= from /etc/sysconfig/network
+if [ -e /etc/sysconfig/network -a ! -e /etc/hostname ]; then
+ unset HOSTNAME
+ . /etc/sysconfig/network 2>&1 || :
+ [ -n "$HOSTNAME" ] && echo $HOSTNAME > /etc/hostname 2>&1 || :
+fi
+/usr/bin/sed -i '/HOSTNAME/d' /etc/sysconfig/network 2>&1 || :
+
</snip>

[1]
http://lists.fedoraproject.org/pipermail/scm-commits/2012-October/889150.html


Thanks,
Marcela

I'm proposing revert for F-18. Let's do the change in rawhide.
https://fedorahosted.org/fesco/ticket/963

If someone has metric how to find out, which packages are using the old configuration files, then please do a list.

Thanks,
Marcela
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux