Bug 31055 - isodumper - missing dependency on exfatprogs when formatting exFAT
Summary: isodumper - missing dependency on exfatprogs when formatting exFAT
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2022-10-31 13:04 CET by Luděk Janča
Modified: 2022-11-04 22:17 CET (History)
4 users (show)

See Also:
Source RPM: isodumper
CVE:
Status comment:


Attachments

Description Luděk Janča 2022-10-31 13:04:55 CET
In isodumper is missing dependency for exfatprogs. That leads into error on exFAT formating:

$ isodumper 
1+0 záznamů přečteno
1+0 záznamů zapsáno
512 bajtů zkopírováno, 0,0311495 s, 16,4 kB/s
Traceback (most recent call last):
  File "/usr/lib/isodumper/raw_format.py", line 136, in <module>
    main()
  File "/usr/lib/isodumper/raw_format.py", line 132, in main
    raw_format(device, fstype, label, uid, gid)
  File "/usr/lib/isodumper/raw_format.py", line 84, in raw_format
    call(["mkfs.exfat", "-n", volume_label, partition.path])
  File "/usr/lib64/python3.8/subprocess.py", line 340, in call
    with Popen(*popenargs, **kwargs) as p:
  File "/usr/lib64/python3.8/subprocess.py", line 858, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib64/python3.8/subprocess.py", line 1704, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'mkfs.exfat'
Cílové zařízení: USB Flash Memory (/dev/sdd) 7.267 GiB

Installing exfatprogs solve the problem:
$ isodumper 
1+0 záznamů přečteno
1+0 záznamů zapsáno
512 bajtů zkopírováno, 0,00368329 s, 139 kB/s
Cílové zařízení: USB Flash Memory (/dev/sdd) 7.267 GiB
Zařízení bylo úspěšně naformátováno.
Cílové zařízení: USB Flash Memory (/dev/sdd) 7.267 GiB
Comment 1 Lewis Smith 2022-10-31 18:59:00 CET
Thank you for this helpful report.

Assigning this globally as 'isodumper' has no regular maintainer.
Note it applies to Cauldron also.
CC'ing Yves.

Whiteboard: (none) => MGA9TOO
Assignee: bugsquad => pkg-bugs
CC: (none) => yves.brungard_mageia
Source RPM: (none) => isodumper
Summary: isodumper - missing dependency on exfatprogs => isodumper - missing dependency on exfatprogs when formatting exFAT

Comment 2 papoteur 2022-11-02 09:37:45 CET
Done for cauldron.
For Mageia 8:
isodumper-1.35-2.mga8.noarch

Source: isodumper-1.35-2.mga8.src.rpm

Whiteboard: MGA9TOO => (none)
Assignee: pkg-bugs => qa-bugs

Comment 3 Thomas Andrews 2022-11-02 13:59:34 CET
Tested using isodumper-qt on a mga8-64 Plasma system.

I confirmed exfatprogs was not installed on the system, then ran isodumper-qt and confirmed the issue using a 128 GB usb stick.

I then used qarepo to download the new isodumper. Updating it drew in exfatprogs as a new dependency, and there were no installation issues. Tried formatting the usb stick again, giving it a label, and confirmed with Dolphin that it was successful.

Giving this an OK, and validating.

CC: (none) => andrewsfarm, sysadmin-bugs
Whiteboard: (none) => MGA8-64-OK
Keywords: (none) => validated_update

Dave Hodgins 2022-11-04 17:03:55 CET

Keywords: (none) => advisory
CC: (none) => davidwhodgins

Comment 4 Mageia Robot 2022-11-04 22:17:13 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0139.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


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