Bug 411085 - Mounting command against a first partition of removable device sent message about a second partition
Summary: Mounting command against a first partition of removable device sent message a...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Places (show other bugs)
Version: unspecified
Platform: Mageia RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-20 06:45 UTC by Papoteur
Modified: 2022-02-09 12:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Papoteur 2019-08-20 06:45:36 UTC
SUMMARY
I tried to access a removable device said "Lecteur chiffré de 734.7 Gio" (734.7 Gib crypted device), but get a message which mixes two partitions:
"Une erreur est survenue en accédant à « Média amovible de 196,8 Gio ». Le système a répondu :Le périphérique est déjà monté: Device /dev/dm-1 is already mounted at `/run/media/yves/79fe05bc-6773-44ae-8e28-e9619e16ba85'."

196,8 Gib Removable media is a second partition of a external drive connected through USB3. /run/media/yves/79fe05bc-6773-44ae-8e28-e9619e16ba85 refers to the first one, which is crypted with luks. None of them was mounted previously.
The crypted was previously used by deja-dup/duplicity which asked root password for mounting then for unmounting it.

STEPS TO REPRODUCE
1. Use external drive with a first crypted partitiion with luks, and a second partition in NTFS format
2. Boot, start and finish a backup on the first partition with deja-dup.
3. In dolphin places panel, click on the first partition entry in "Removable Devices"

Note that the first partition is also displayed in "Devices" section as "734.7 Gib hard drive"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Mageia 7
(available in About System)
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION
LANGUAGE=C fdisk -l /dev/sdb
Disk /dev/sdb: 931,5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: 2115            
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 9A13EFB0-8399-47AB-9A7F-6783192DFC82

Device          Start        End    Sectors   Size Type
/dev/sdb1        2048 1540810752 1540808705 734,7G Linux filesystem
/dev/sdb2  1540812800 1953525134  412712335 196,8G Microsoft basic data


cryptsetup -v status luks-a070ee60-9570-449a-836b-a0234aa99244 
/dev/mapper/luks-a070ee60-9570-449a-836b-a0234aa99244 is active and is in use.
  type:    LUKS1
  cipher:  aes-xts-benbi
  keysize: 512 bits
  key location: dm-crypt
  device:  /dev/sdb1
  sector size:  512
  offset:  4096 sectors
  size:    1540804609 sectors
  mode:    read/write
Comment 1 Méven Car 2019-09-03 14:16:14 UTC
Could you add the result of command :
solid-hardware list

You may need to install the utility.
Comment 2 Papoteur 2019-09-03 19:49:30 UTC
Hello,
I get only solid-hardware5 command. I hope this is the good one.
solid-hardware5 list
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN1200:00/0018:04F3:3044.0003/input/input20'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN1200:00/0018:04F3:3044.0003/input/input20/event10'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-7/i2c-ELAN1200:00/0018:04F3:3044.0003/input/input20/mouse1'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.7/0000:02:00.0/net/wlp2s0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/hwC0D0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/hwC0D2'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D0c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D0p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D10p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D3p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D7p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D8p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/pcmC0D9p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1f.3/sound/card0/controlC0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS0'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2'
udi = '/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3'
udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu0'
udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu1'
udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu2'
udi = '/org/kde/solid/udev/sys/devices/system/cpu/cpu3'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/docker0'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/lo'
udi = '/org/kde/solid/udev/sys/devices/virtual/net/vethc71ad97'
udi = '/org/kde/solid/udev/sys/devices/virtual/sound/timer'
udi = '/org/freedesktop/UDisks2/block_devices/dm_2d0'
udi = '/org/freedesktop/UDisks2/block_devices/ram10'
udi = '/org/freedesktop/UDisks2/block_devices/ram6'
udi = '/org/freedesktop/UDisks2/block_devices/ram0'
udi = '/org/freedesktop/UDisks2/block_devices/ram3'
udi = '/org/freedesktop/UDisks2/block_devices/sda4'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/ram15'
udi = '/org/freedesktop/UDisks2/block_devices/ram12'
udi = '/org/freedesktop/UDisks2/block_devices/ram8'
udi = '/org/freedesktop/UDisks2/block_devices/ram5'
udi = '/org/freedesktop/UDisks2/block_devices/sdc2'
udi = '/org/freedesktop/UDisks2/block_devices/ram2'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'
udi = '/org/freedesktop/UDisks2/block_devices/sdc'
udi = '/org/freedesktop/UDisks2/block_devices/dm_2d1'
udi = '/org/freedesktop/UDisks2/block_devices/ram14'
udi = '/org/freedesktop/UDisks2/block_devices/ram7'
udi = '/org/freedesktop/UDisks2/block_devices/ram11'
udi = '/org/freedesktop/UDisks2/block_devices/sda5'
udi = '/org/freedesktop/UDisks2/block_devices/ram4'
udi = '/org/freedesktop/UDisks2/block_devices/sdc1'
udi = '/org/freedesktop/UDisks2/block_devices/ram1'
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/ram13'
udi = '/org/freedesktop/UDisks2/block_devices/ram9'
udi = '/org/freedesktop/UDisks2/drives/HGST_HTS541010A7E630_S0A000SSG7ERTK'
udi = '/org/freedesktop/UDisks2/drives/HFS512G39TND_N210A_EJ73N521710503H5M'
udi = '/org/freedesktop/UPower'
udi = '/org/freedesktop/UPower/devices/line_power_AC0'
udi = '/org/freedesktop/UPower/devices/battery_BAT0'
udi = '/org/kde/fstab'
Comment 3 Papoteur 2019-09-04 06:53:06 UTC
I think this is no more "NEEDSINFO"
Comment 4 Nate Graham 2022-01-23 04:19:09 UTC
Are you able to reproduce this issue in the file open/save dialogs' Places Panel with Frameworks 5.90 or later?
Comment 5 Bug Janitor Service 2022-02-07 04:37:06 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Papoteur 2022-02-09 12:38:33 UTC
(In reply to Nate Graham from comment #4)
> Are you able to reproduce this issue in the file open/save dialogs' Places
> Panel with Frameworks 5.90 or later?

Hello,
I don't have kf5 5.90, but 5.76.0, from the distribution.
The problem still exist in Dolphin, but I can't reproduce it from open dialogs because I'm using LXQt, thus the dialog in not the Plasma one.