By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 2232 - TDE presents two dialogs and desktop icons with USB ISO image
Summary: TDE presents two dialogs and desktop icons with USB ISO image
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: tdelibs (show other bugs)
Version: R14.0.x [Trinity]
Hardware: Other Linux
: P2 critical
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: R14.0.6
  Show dependency treegraph
 
Reported: 2014-12-03 22:21 CST by Darrell
Modified: 2019-02-27 21:35 CST (History)
8 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
kcontrol screenshot (11.42 KB, image/png)
2014-12-04 15:04 CST, Darrell
Details
Error dialog accessing desktop icon (26.23 KB, image/png)
2014-12-04 15:05 CST, Darrell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darrell 2014-12-03 22:21:51 CST
Probably related to bug 2211 or something similar.

To duplicate:

* Download the CentOS 7 DVD (http://isoredirect.centos.org/centos/7/isos/x86_64/CentOS-7.0-1406-x86_64-DVD.iso) (file size is ~4.2 GB)

* Copy the image to a blank USB flash drive (per CentOS instructions use dd, do not use unetbootin as unetbootin is incompatible):

dd if=CentOS-7.0-1406-x86_64-DVD.iso of=/dev/sd[X] bs=16M

* When dd is finished TDE will automatically open two dialogs and two icons will appear on the desktop.

I exited TDE, flushed the cache files, but that made no difference --- two dialogs and two icons when I inserted the flash drive.
Comment 1 Timothy Pearson 2014-12-04 09:08:23 CST
4.2G is quite a bit of data...

Can you post a screenshot of the Disks section of the TDE hardware control center module, along with the portion of the output of 'fdisk -l' which pertains to your flash drive?

Thanks!
Comment 2 Darrell 2014-12-04 15:04:58 CST
Created attachment 2379 [details]
kcontrol screenshot
Comment 3 Darrell 2014-12-04 15:05:35 CST
Created attachment 2380 [details]
Error dialog accessing desktop icon
Comment 4 Darrell 2014-12-04 15:06:17 CST
fdisk -l:

Disk /dev/sde1: 4148 MB, 4148166656 bytes
255 heads, 63 sectors/track, 504 cylinders, total 8101888 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x785452ed

     Device Boot      Start         End      Blocks   Id  System
/dev/sde1p1   *           0     8101887     4050944    0  Empty
/dev/sde1p2            2124       14703        6290   ef  EFI (FAT-12/16/32)
Comment 5 Darrell 2014-12-04 15:13:32 CST
I wiped the device and assigned a new msdos partition table. I again ran dd to copy the iso image. I don't know how but I ended up with two partitions, same as before.

One of the screenshots is an error dialog from when I selected one of the desktop icons. Konqueror opened normally when I selected the other desktop icon.

In the Mate desktop running on Fedora 21, only one icon and dialog appears. Only one device appears in the Caja file manager device list. On that system fdisk shows two partitions but identified as sdb1/2 rather than sde1p1/p2. Could be a systemd difference or a newer fdisk package in Fedora.
Comment 6 Timothy Pearson 2014-12-04 15:46:48 CST
(In reply to Darrell from comment #5)
> I wiped the device and assigned a new msdos partition table. I again ran dd
> to copy the iso image. I don't know how but I ended up with two partitions,
> same as before.
> 
> One of the screenshots is an error dialog from when I selected one of the
> desktop icons. Konqueror opened normally when I selected the other desktop
> icon.
> 
> In the Mate desktop running on Fedora 21, only one icon and dialog appears.
> Only one device appears in the Caja file manager device list. On that system
> fdisk shows two partitions but identified as sdb1/2 rather than sde1p1/p2.
> Could be a systemd difference or a newer fdisk package in Fedora.

On Mate which of the two partitions is displayed?

I have never seen a partition of Type 0 before; my guess is Mate is hiding that one.

Tim
Comment 7 Darrell 2014-12-04 15:52:08 CST
>On Mate which of the two partitions is displayed?
The partition with the ISO.
Comment 8 Timothy Pearson 2014-12-04 15:58:38 CST
(In reply to Darrell from comment #7)
> >On Mate which of the two partitions is displayed?
> The partition with the ISO.

So /dev/sdb2 is hidden then?
Comment 9 Darrell 2014-12-04 16:27:04 CST
>So /dev/sdb2 is hidden then?
I don't know whether the 2nd partition is "hidden" but the 2nd partition is not mountable in either desktop. Both file managers mount the 1st partition, which is the ISO image.
Comment 10 Darrell 2014-12-04 16:29:11 CST
Trying to Safely Remove the desktop icon for the 1st partition does nothing. The icon always remains. The 2nd desktop icon for the 2nd partition responds as expected to Safely Remove and disappears.
Comment 11 Timothy Pearson 2014-12-10 08:58:28 CST
Looks like I was only able to partially fix this for R14.0.0 due to the timing of the report vs. R14.0.0 release; reassigning for next SRU.

While the commit in GIT hash 08d4e306 (tdebase) appears to have resolved the popup dialog issue, two problems remain:
1.) When loaded in Konqueror the media:/ tdeioslave ignores the Mountable flag of the TDEHW library and displays all devices regardless of mountability.
2.) The TDEHW library does not detect any mountable partitions on the disk to which the DVD image was written.  This *may* be related to GIT hash 08d4e306.
Comment 12 Michele Calgaro 2015-01-04 20:54:19 CST
>     Device Boot      Start         End      Blocks   Id  System
>/dev/sde1p1   *           0     8101887     4050944    0  Empty
>/dev/sde1p2            2124       14703        6290   ef  EFI (FAT-12/16/32)
Uhm... looks like p2 is overlapping p1. Never seen this before.
Comment 13 Darrell 2015-05-31 12:40:42 CDT
Yesterday I copied an ISO image with dd and again saw the duplicate desktop icons. The specific ISO image was Fedora-Live-MATE_Compiz-x86_64-22-3.iso, 1.2 GB, from the Fedora spins:

http://download.fedoraproject.org/pub/fedora/linux/releases/22/Live/x86_64/Fedora-Live-MATE_Compiz-x86_64-22-3.iso

I used cfdisk to wipe existing partitions from a PNY 8 GB USB flash drive. Then I used the following command:

dd if=Fedora-Live-MATE_Compiz-x86_64-22-3.iso of=/dev/sde

The resulting fdisk -l /dev/sde output:

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1   *           0     2527231     1263616    0  Empty
/dev/sde2             172       10307        5068   ef  EFI (FAT-12/16/32)
/dev/sde3           10388       50963       20288    0  Empty

Starting gparted with the USB drive attached results in the following dialog:

Warning: /dev/sde contains GPT signatures, indicating that it has a GPT table.
However, it does not have a valid fake msdos partition table, as it should.
Perhaps it was corrupted -- possibly by a program that doesn't understand GPT
partition tables. Or perhaps you deleted the GPT table, and are now using an
msdos partition table. Is this a GPT partition table?

Inserting the PNY USB drive into a MATE system results in only one desktop icon.
Comment 14 Tom Lang 2017-03-09 10:48:24 CST
In Opensuse Leap 42.2, I have the same problem with any kind of USB device (2 GB flash drive, 2 GB SDHC card) with DOS partition table: two notification windows pop up and two flash drive icons appear on my desktop with the text "1.9 GB Removable Media". The second icon (its green arrow indicates that it is mounted) and the second notification window (with title "TDE Daemon <2>") work as expected, but clicking any of the first ones results in a message box containing "Unable to mount this device ... ... org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.UDisks2.Filesystem' on object at path /org/freedesktop/UDisks2/block_devices/sdg".
The relevant extract from the output of 'mount':
/dev/sdg1 on /run/media/tom/570C-99E2 type vfat (rw,nosuid,nodev,noatime,uid=500,gid=100,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=lower,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2).

The output of fdisk -l /dev/sdg:
Disk /dev/sdg: 1.9 GiB, 2048901120 bytes, 4001760 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0002c5c7

Device     Boot Start     End Sectors  Size Id Type
/dev/sdg1          63 4000184 4000122  1.9G  c W95 FAT32 (LBA)

Finally, after a successful "Safely Remove", the first icon stays on the desktop with the altered text "0B Removable Device", only to disappear after a logout.
Comment 15 Tom Lang 2017-03-10 02:18:43 CST
(In reply to Tom Lang from comment #14)
In my previous posting, I have forgotten to emphasize the fact that this phenomenon does NOT occur with Opensuse Leap 42.1, it works perfectly there.
Comment 16 Felix Miata 2018-07-04 21:50:04 CDT
It appears this may have the same root problem as mentioned at the end of bug 2780 comment 53 that applies to openSUSE 15.0 (two dialogs; desktop icons I pay no mind to so don't know about). I was going to open a new report for it until I found this.
Comment 17 Slávek Banko 2019-02-27 21:35:27 CST
Fixed by commit dfe3c964 (master) and 9ce98047 (r14.0.x).