Bug 1295585

Summary: [abrt] system-config-language: language_backend.py:128:write_locale_conf:FileNotFoundError: [Errno 2] Adresář nebo soubor neexistuje: '/etc/vconsole.conf'
Product: [Fedora] Fedora Reporter: Andrej Podzimek <andrej>
Component: system-config-languageAssignee: Parag Nemade <pnemade>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: andrej, i18n-bugs, nav007, pnemade, psatpute
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/11f34cafb93acf07b556a63271314ec92708b7f3
Whiteboard: abrt_hash:5925db795612ee18b5004633094e4d13b05e5b20;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-31 05:01:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Andrej Podzimek 2016-01-04 23:27:27 UTC
Version-Release number of selected component:
system-config-language-3.3.0-1.fc23

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 /usr/share/system-config-language/system-config-language.py
executable:     /usr/share/system-config-language/system-config-language.py
kernel:         4.2.8-300.fc23.x86_64
runlevel:       N 5
type:           Python3
uid:            0

Truncated backtrace:
language_backend.py:128:write_locale_conf:FileNotFoundError: [Errno 2] Adresář nebo soubor neexistuje: '/etc/vconsole.conf'

Traceback (most recent call last):
  File "/usr/share/system-config-language/language_gui.py", line 323, in ok_btn
    sysfont, sysfontacm)
  File "/usr/share/system-config-language/language_backend.py", line 128, in write_locale_conf
    fd = open(vsconsole_file, "r")
FileNotFoundError: [Errno 2] Adresář nebo soubor neexistuje: '/etc/vconsole.conf'

Local variables in innermost frame:
sysfontacm: 'utf8'
self: <language_backend.LanguageBackend object at 0x7f333d312518>
old_path: '/etc/sysconfig/i18n'
sysfont: 'latarcyrheb-sun16'
modules: ''
default_lang: 'cs_CZ.UTF-8'
vsconsole_file: '/etc/vconsole.conf'
locale_path: '/etc/locale.conf'

Comment 1 Andrej Podzimek 2016-01-04 23:27:32 UTC
Created attachment 1111583 [details]
File: backtrace

Comment 2 Andrej Podzimek 2016-01-04 23:27:33 UTC
Created attachment 1111584 [details]
File: environ

Comment 3 Parag Nemade 2016-01-05 08:26:02 UTC
This is really strange. See
$ rpm -qf /etc/vconsole.conf
systemd-222-10.fc23.x86_64

Howcome you don't have systemd package installed on your system? Or you manually removed /etc/vconsole.conf file?

Comment 4 Andrej Podzimek 2016-01-18 15:36:06 UTC
I do have the package installed. I haven't removed vconsole.conf manually. Reinstalling systemd doesn't restore that file. So something is broken here, in a deep and subtle way. I recreated vconsole.conf manually by simply using the file format from Arch and setting the font and encoding options to the same values I already have in /etc/default/grub. That seems to work fine.

Comment 5 Parag Nemade 2016-01-18 16:01:02 UTC
if reinstalling systemd is still not giving you vconsole.conf then something is broken on your system. This does not look like a issue of system-config-language package as required file is not available. Looks like this is NOTABUG for system-config-language.