Description of problem: Anaconda fails due to a UnicodeDecodeError Version-Release number of selected component (if applicable): anaconda 34.24.9-1.fc34 for Fedora 34 How reproducible: Every time Steps to Reproduce: 1. Start Anaconda (either from a Live or netinst image or by running 'liveinst') 2. Graphical UI briefly starts, then crashes 3. CLI mode outputs error Actual results: [liveuser@localhost-live ~]$ liveinst Traceback (most recent call last): File "/usr/bin/anaconda-cleanup", line 80, in <module> devicetree.populate(cleanup_only=True) File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.9/site-packages/blivet/populator/populator.py", line 419, in populate self._populate() File "/usr/lib/python3.9/site-packages/blivet/threads.py", line 53, in run_with_lock return m(*args, **kwargs) File "/usr/lib/python3.9/site-packages/blivet/populator/populator.py", line 445, in _populate new_devices = udev.get_devices() File "/usr/lib/python3.9/site-packages/blivet/udev.py", line 81, in get_devices dev = device_to_dict(device) File "/usr/lib/python3.9/site-packages/blivet/udev.py", line 53, in device_to_dict result = dict(device.properties) File "/usr/lib/python3.9/site-packages/pyudev/device/_device.py", line 1068, in __getitem__ return ensure_unicode_string(value) File "/usr/lib/python3.9/site-packages/pyudev/_util.py", line 64, in ensure_unicode_string value = value.decode(sys.getfilesystemencoding()) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 0: invalid start byte Starting installer, one moment... anaconda 34.24.9-1.fc34 for Fedora 34 started. * installation log files are stored in /tmp during the installation * shell is available on TTY2 and in second TMUX pane (ctrl+b, then press 2) * when reporting a bug add logs from /tmp as separate text/plain attachments Traceback (most recent call last): File "/sbin/anaconda", line 506, in <module> ignore_oemdrv_disks() File "/usr/lib64/python3.9/site-packages/pyanaconda/ui/lib/storage.py", line 384, in ignore_oemdrv_disks matched = device_matches("LABEL=OEMDRV", disks_only=True) File "/usr/lib64/python3.9/site-packages/pyanaconda/core/storage.py", line 180, in device_matches single_spec_matches = udev.resolve_glob(full_spec) File "/usr/lib/python3.9/site-packages/blivet/udev.py", line 163, in resolve_glob for dev in get_devices(): File "/usr/lib/python3.9/site-packages/blivet/udev.py", line 81, in get_devices dev = device_to_dict(device) File "/usr/lib/python3.9/site-packages/blivet/udev.py", line 53, in device_to_dict result = dict(device.properties) File "/usr/lib/python3.9/site-packages/pyudev/device/_device.py", line 1068, in __getitem__ return ensure_unicode_string(value) File "/usr/lib/python3.9/site-packages/pyudev/_util.py", line 64, in ensure_unicode_string value = value.decode(sys.getfilesystemencoding()) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa8 in position 0: invalid start byte Expected results: Installer discovers discs and installation continues Additional info:
It seems to be an issue in the storage configuration library. Reassigning to blivet.
This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07. Fedora Linux 34 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. Thank you for reporting this bug and we are sorry it could not be fixed.
Issue is present also on Fedora 37. New observation: in GParted it is visible that the name of the HDD was containing non-unicode letters. After it was changed from gparted, anaconda started properly.