(Invalid) Cannot mount .img image, endless root password prompt.

Bug #1879991 reported by sgm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DDRescue-GUI
Invalid
Undecided
Unassigned

Bug Description

Using manjaro linux, ddrescue-gui 2.1.0 from arch AUR.
Trying to mount an .img file using the gui menu option, I get a root password request that never ends, if I run the program as normal user.
If I run it as root I get this:
https://0bin.net/paste/AeEnnzaWZramA1Ak#yLlFdCDCPNJs7zXuSBkf5pCANS2hH9WrpnPjDDqSu86

The .img file is of a full disk, with multiple partitions.

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) wrote :

Cheers for reporting this.

Is the commandline tool "kpartx" installed on your system? This looks to me like it is not - there is a bug where infinite recursion will occur if dependencies aren't met, so perhaps the AUR package doesn't have all the dependencies in the list.

Hope this helps,
Hamish

Changed in ddrescue-gui:
status: New → Incomplete
Revision history for this message
sgm (void099) wrote :

Yes, that was it, needed to have the multipath-tools package installed that provides kpartx.
Now I get just 5 or 6 password prompts when trying to mount an image that has several partitions, but it works. Thank you for this little great software.

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) wrote :

Ah good to hear. I don't know who maintains the AUR package but I could let them know to add multipath-tools to the dependency list then.

Revision history for this message
sgm (void099) wrote :

Already did that myself, will probably be updated very soon, as the person maintaining was quick to respond to a previous request to update the package on AUR.

Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) wrote :

Oh nice :)

Changed in ddrescue-gui:
status: Incomplete → Invalid
Revision history for this message
Hamish McIntyre-Bhatty (hamishmb) wrote :

Marking as invalid then seeing as it wasn't a problem with the program or my packaging

summary: - Cannot mount .img image, endless root password prompt.
+ (Invalid) Cannot mount .img image, endless root password prompt.
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.