Bug 79184

Summary: udisks-2.1.3 doesn't drop removed devices
Product: udisks Reporter: Elias Probst <mail>
Component: detectionAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Output of "udisksctl dump"
Output of "udevadm info --export-db"

Description Elias Probst 2014-05-24 16:30:15 UTC
After removing a USB key, it is still listed below /org/freedesktop/UDisks2/drives/
I can reproduce this with all USB keys I have.
I don't have to mount a volume on the inserted USB key to produce this behaviour - all I do is insert + remove again.

I restarted 'udisksd' without the '--no-debug' param and got the following journal entries:

## inserting in the USB key:
[4534]:[NOTICE]: Acquired the name org.freedesktop.UDisks2 on the system message bus [main.c:77, on_name_acquired()]
[4536]:[INFO]: Housekeeping complete [udiskslinuxprovider.c:973, housekeeping_thread_func()]
[4534]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4534]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4534]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0/9:0:0:0 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4534]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4534]:[DEBUG]: uevent add /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]


## removing the USB key:
[4534]:[DEBUG]: uevent remove /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb/sdb1 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4539]:[INFO]: Cleanup check start [udisksstate.c:419, udisks_state_check_in_thread()]
[4539]:[INFO]: Cleanup check end [udisksstate.c:457, udisks_state_check_in_thread()]
[4534]:[DEBUG]: uevent change /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4539]:[INFO]: Cleanup check start [udisksstate.c:419, udisks_state_check_in_thread()]
[4539]:[INFO]: Cleanup check end [udisksstate.c:457, udisks_state_check_in_thread()]
[4534]:[DEBUG]: uevent remove /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0/9:0:0:0/block/sdb [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4539]:[INFO]: Cleanup check start [udisksstate.c:419, udisks_state_check_in_thread()]
[4539]:[INFO]: Cleanup check end [udisksstate.c:457, udisks_state_check_in_thread()]
[4534]:[DEBUG]: uevent remove /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0/9:0:0:0 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4534]:[DEBUG]: uevent remove /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9/target9:0:0 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]
[4534]:[DEBUG]: uevent remove /sys/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host9 [udiskslinuxprovider.c:902, udisks_linux_provider_handle_uevent()]

## udisksctl dump
will be attached

## udevadm info --export-db
will be attached

## /proc/self/mountinfo
13 17 0:3 / /proc rw,nosuid,nodev,noexec,relatime shared:11 - proc proc rw
14 17 0:4 / /dev rw,nosuid,relatime shared:2 - devtmpfs udev rw,size=10240k,nr_inodes=1003685,mode=755
15 14 0:10 / /dev/pts rw,relatime shared:3 - devpts devpts rw,gid=5,mode=620,ptmxmode=000
16 17 0:12 / /sys rw,nosuid,nodev,noexec,relatime shared:5 - sysfs sysfs rw
17 1 254:0 / / rw,noatime shared:1 - ext4 /dev/dm-0 rw,discard,data=ordered
18 16 0:13 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime shared:6 - securityfs securityfs rw
19 14 0:14 / /dev/shm rw,nosuid,nodev,noexec,relatime shared:4 - tmpfs tmpfs rw
20 17 0:15 / /run rw,nosuid,nodev shared:12 - tmpfs tmpfs rw,mode=755
21 16 0:16 / /sys/fs/cgroup ro,nosuid,nodev,noexec shared:7 - tmpfs tmpfs ro,mode=755
22 21 0:17 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime shared:8 - cgroup cgroup rw,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
23 16 0:18 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime shared:9 - pstore pstore rw
24 16 0:19 / /sys/firmware/efi/efivars rw,nosuid,nodev,noexec,relatime shared:10 - efivarfs efivarfs rw
25 21 0:20 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime shared:13 - cgroup cgroup rw,cpuset
26 21 0:21 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime shared:14 - cgroup cgroup rw,cpu,cpuacct
27 21 0:22 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime shared:15 - cgroup cgroup rw,memory
28 21 0:23 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime shared:16 - cgroup cgroup rw,devices
29 21 0:24 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime shared:17 - cgroup cgroup rw,freezer
30 21 0:25 / /sys/fs/cgroup/net_cls rw,nosuid,nodev,noexec,relatime shared:18 - cgroup cgroup rw,net_cls
31 21 0:26 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime shared:19 - cgroup cgroup rw,blkio
32 21 0:27 / /sys/fs/cgroup/perf_event rw,nosuid,nodev,noexec,relatime shared:20 - cgroup cgroup rw,perf_event
33 13 0:28 / /proc/sys/fs/binfmt_misc rw,relatime shared:21 - autofs systemd-1 rw,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
34 17 0:29 / /tmp rw shared:22 - tmpfs tmpfs rw
35 14 0:11 / /dev/mqueue rw,relatime shared:23 - mqueue mqueue rw
36 16 0:30 / /sys/fs/fuse/connections rw,relatime shared:24 - fusectl fusectl rw
37 16 0:6 / /sys/kernel/debug rw,relatime shared:25 - debugfs debugfs rw
64 17 8:1 / /boot ro,relatime shared:26 - vfat /dev/sda1 ro,fmask=0022,dmask=0022,codepage=850,iocharset=iso8859-15,shortname=mixed,errors=remount-ro
128 20 0:32 / /run/user/1000 rw,nosuid,nodev,relatime shared:87 - tmpfs tmpfs rw,size=803468k,mode=700,uid=1000,gid=500
222 17 254:0 /var/lib/docker /var/lib/docker rw,noatime - ext4 /dev/dm-0 rw,discard,data=ordered
228 33 0:34 / /proc/sys/fs/binfmt_misc rw,relatime shared:182 - binfmt_misc binfmt_misc rw
225 20 0:33 / /run/user/0 rw,nosuid,nodev,relatime shared:179 - tmpfs tmpfs rw,size=803468k,mode=700

## /etc/fstab
/dev/sda1   /boot       vfat        defaults,ro                 0 1
LABEL=root      /                   ext4                defaults,user_xattr,noatime,discard     0 1
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec             0 0

## component versions
- udisks-2.1.3
- gvfs-1.18.3
- libatasmart-0.19
- Kernel 3.14.0
- udev/systemd git master 68dd0956

## udisksctl monitor → inserting USB key
18:13:37.602: The udisks-daemon is running (name-owner :1.916).
18:13:48.002: Added /org/freedesktop/UDisks2/block_devices/sdb
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdb
    DeviceNumber:               2064
    Drive:                      '/org/freedesktop/UDisks2/drives/SHARKOON_EC4_7FBB1C00AB02000A'
    HintAuto:                   true
    HintIconName:
    HintIgnore:                 false
    HintName:
    HintPartitionable:          true
    HintSymbolicIconName:
    HintSystem:                 false
    Id:
    IdLabel:
    IdType:
    IdUUID:
    IdUsage:
    IdVersion:
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdb
    ReadOnly:                   false
    Size:                       32027705344
    Symlinks:                   /dev/disk/by-id/usb-SHARKOON_EC4_7FBB1C00AB02000A-0:0
                                /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0
  org.freedesktop.UDisks2.PartitionTable:
    Type:               dos
18:13:48.040: Added /org/freedesktop/UDisks2/block_devices/sdb1
  org.freedesktop.UDisks2.Block:
    Configuration:              []
    CryptoBackingDevice:        '/'
    Device:                     /dev/sdb1
    DeviceNumber:               2065
    Drive:                      '/org/freedesktop/UDisks2/drives/SHARKOON_EC4_7FBB1C00AB02000A'
    HintAuto:                   true
    HintIconName:
    HintIgnore:                 false
    HintName:
    HintPartitionable:          true
    HintSymbolicIconName:
    HintSystem:                 false
    Id:                         by-uuid-4C907DEC907DDD40
    IdLabel:
    IdType:                     ntfs
    IdUUID:                     4C907DEC907DDD40
    IdUsage:                    filesystem
    IdVersion:
    MDRaid:                     '/'
    MDRaidMember:               '/'
    PreferredDevice:            /dev/sdb1
    ReadOnly:                   false
    Size:                       10737418240
    Symlinks:                   /dev/disk/by-id/usb-SHARKOON_EC4_7FBB1C00AB02000A-0:0-part1
                                /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0-part1
                                /dev/disk/by-uuid/4C907DEC907DDD40
  org.freedesktop.UDisks2.Filesystem:
    MountPoints:
  org.freedesktop.UDisks2.Partition:
    Flags:              128
    IsContained:        false
    IsContainer:        false
    Name:
    Number:             1
    Offset:             1048576
    Size:               10737418240
    Table:              '/org/freedesktop/UDisks2/block_devices/sdb'
    Type:               0x83
    UUID:               f56c90f5-01

## udisksctl monitor → removing USB key
18:15:44.685: Removed /org/freedesktop/UDisks2/block_devices/sdb1
18:15:44.688: Removed /org/freedesktop/UDisks2/block_devices/sdb
18:15:44.688: /org/freedesktop/UDisks2/drives/SHARKOON_EC4_7FBB1C00AB02000A: org.freedesktop.UDisks2.Drive: Properties Changed
  TimeMediaDetected:            0
  MediaAvailable:               false
  Size:                         0

## udevadm monitor --udev --property → inserting USB key
UDEV  [163963.191849] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1 (usb)
ACTION=add
BUSNUM=003
DEVNAME=/dev/bus/usb/003/008
DEVNUM=008
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1
DEVTYPE=usb_device
ID_BUS=usb
ID_MODEL=EC4
ID_MODEL_ENC=EC4
ID_MODEL_ID=3600
ID_REVISION=0100
ID_SERIAL=SHARKOON_EC4_7FBB1C00AB02000A
ID_SERIAL_SHORT=7FBB1C00AB02000A
ID_USB_INTERFACES=:080650:ID_VENDOR=SHARKOON
ID_VENDOR_ENC=SHARKOON
ID_VENDOR_ID=13fe
MAJOR=189
MINOR=263
PRODUCT=13fe/3600/100
SEQNUM=2839
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=3963190604
UDEV  [163963.195158] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0 (usb)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
DEVTYPE=usb_interface
INTERFACE=8/6/80
MODALIAS=usb:v13FEp3600d0100dc00dsc00dp00ic08isc06ip50in00
PRODUCT=13fe/3600/100
SEQNUM=2840
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=63193964
UDEV  [163963.195688] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11
DEVTYPE=scsi_host
SEQNUM=2841
SUBSYSTEM=scsi
USEC_INITIALIZED=63194574
UDEV  [163963.195875] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/scsi_host/host11 (scsi_host)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/scsi_host/host11
SEQNUM=2842
SUBSYSTEM=scsi_host
USEC_INITIALIZED=63194636
UDEV  [163964.222629] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0
DEVTYPE=scsi_target
SEQNUM=2843
SUBSYSTEM=scsi
USEC_INITIALIZED=64218458
UDEV  [163964.228493] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0 (scsi)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0
DEVTYPE=scsi_device
MODALIAS=scsi:t-0x00
SEQNUM=2844
SUBSYSTEM=scsi
USEC_INITIALIZED=64225388
UDEV  [163964.232534] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_device/11:0:0:0 (scsi_device)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_device/11:0:0:0
SEQNUM=2846
SUBSYSTEM=scsi_device
USEC_INITIALIZED=3964225979
UDEV  [163964.235914] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_generic/sg1 (scsi_generic)
ACTION=add
DEVNAME=/dev/sg1
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_generic/sg1
MAJOR=21
MINOR=1
SEQNUM=2847
SUBSYSTEM=scsi_generic
USEC_INITIALIZED=3964226596
UDEV  [163964.238534] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/bsg/11:0:0:0 (bsg)
ACTION=add
DEVNAME=/dev/bsg/11:0:0:0
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/bsg/11:0:0:0
MAJOR=252
MINOR=1
SEQNUM=2848
SUBSYSTEM=bsg
USEC_INITIALIZED=3964227289
UDEV  [163964.239563] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_disk/11:0:0:0 (scsi_disk)
ACTION=add
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_disk/11:0:0:0
SEQNUM=2845
SUBSYSTEM=scsi_disk
USEC_INITIALIZED=64225785

UDEV  [163964.930471] add      /devices/virtual/bdi/8:16 (bdi)
ACTION=add
DEVPATH=/devices/virtual/bdi/8:16
SEQNUM=2849
SUBSYSTEM=bdi
USEC_INITIALIZED=64930024

UDEV  [163966.257120] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb (block)
ACTION=add
DEVLINKS=/dev/disk/by-id/usb-SHARKOON_EC4_7FBB1C00AB02000A-0:0 /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0
DEVNAME=/dev/sdb
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb
DEVTYPE=disk
ID_BUS=usb
ID_INSTANCE=0:0
ID_MODEL=EC4
ID_MODEL_ENC=EC4\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_MODEL_ID=3600
ID_PART_TABLE_TYPE=dos
ID_PART_TABLE_UUID=f56c90f5
ID_PATH=pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_1_1_0-scsi-0_0_0_0
ID_REVISION=DL07
ID_SERIAL=SHARKOON_EC4_7FBB1C00AB02000A-0:0
ID_SERIAL_SHORT=7FBB1C00AB02000A
ID_TYPE=disk
ID_USB_DRIVER=usb-storage
ID_USB_INTERFACES=:080650:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=SHARKOON
ID_VENDOR_ENC=SHARKOON
ID_VENDOR_ID=13fe
MAJOR=8
MINOR=16
SEQNUM=2850
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=64952066

UDEV  [163967.321418] add      /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb/sdb1 (block)
ACTION=add
DEVLINKS=/dev/disk/by-id/usb-SHARKOON_EC4_7FBB1C00AB02000A-0:0-part1 /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0-part1 /dev/disk/by-uuid/4C907DEC907DDD40
DEVNAME=/dev/sdb1
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb/sdb1
DEVTYPE=partition
ID_BUS=usb
ID_FS_TYPE=ntfs
ID_FS_USAGE=filesystem
ID_FS_UUID=4C907DEC907DDD40
ID_FS_UUID_ENC=4C907DEC907DDD40
ID_INSTANCE=0:0
ID_MODEL=EC4
ID_MODEL_ENC=EC4\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_MODEL_ID=3600
ID_PART_ENTRY_DISK=8:16
ID_PART_ENTRY_FLAGS=0x80
ID_PART_ENTRY_NUMBER=1
ID_PART_ENTRY_OFFSET=2048
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_SIZE=20971520
ID_PART_ENTRY_TYPE=0x83
ID_PART_ENTRY_UUID=f56c90f5-01
ID_PART_TABLE_TYPE=dos
ID_PART_TABLE_UUID=f56c90f5
ID_PATH=pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_1_1_0-scsi-0_0_0_0
ID_REVISION=DL07
ID_SERIAL=SHARKOON_EC4_7FBB1C00AB02000A-0:0
ID_SERIAL_SHORT=7FBB1C00AB02000A
ID_TYPE=disk
ID_USB_DRIVER=usb-storage
ID_USB_INTERFACES=:080650:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=SHARKOON
ID_VENDOR_ENC=SHARKOON
ID_VENDOR_ID=13fe
MAJOR=8
MINOR=17
SEQNUM=2851
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=64952112

## udevadm monitor --udev --property → removing USB key
UDEV  [163995.937434] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/bsg/11:0:0:0 (bsg)
ACTION=remove
DEVNAME=/dev/bsg/11:0:0:0
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/bsg/11:0:0:0
MAJOR=252
MINOR=1
SEQNUM=2852
SUBSYSTEM=bsg
USEC_INITIALIZED=3995936312
UDEV  [163995.937485] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_generic/sg1 (scsi_generic)
ACTION=remove
DEVNAME=/dev/sg1
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_generic/sg1
MAJOR=21
MINOR=1
SEQNUM=2853
SUBSYSTEM=scsi_generic
USEC_INITIALIZED=3995936670
UDEV  [163995.938583] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_disk/11:0:0:0 (scsi_disk)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_disk/11:0:0:0
SEQNUM=2855
SUBSYSTEM=scsi_disk
USEC_INITIALIZED=95937218
UDEV  [163995.938620] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_device/11:0:0:0 (scsi_device)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/scsi_device/11:0:0:0
SEQNUM=2854
SUBSYSTEM=scsi_device
USEC_INITIALIZED=3995936911
UDEV  [163995.938645] remove   /devices/virtual/bdi/8:16 (bdi)
ACTION=remove
DEVPATH=/devices/virtual/bdi/8:16
SEQNUM=2857
SUBSYSTEM=bdi
USEC_INITIALIZED=3995937533
UDEV  [163995.939225] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb/sdb1 (block)
ACTION=remove
DEVLINKS=/dev/disk/by-id/usb-SHARKOON_EC4_7FBB1C00AB02000A-0:0-part1 /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0-part1 /dev/disk/by-uuid/4C907DEC907DDD40
DEVNAME=/dev/sdb1
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb/sdb1
DEVTYPE=partition
ID_BUS=usb
ID_FS_TYPE=ntfs
ID_FS_USAGE=filesystem
ID_FS_UUID=4C907DEC907DDD40
ID_FS_UUID_ENC=4C907DEC907DDD40
ID_INSTANCE=0:0
ID_MODEL=EC4
ID_MODEL_ENC=EC4\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_MODEL_ID=3600
ID_PART_ENTRY_DISK=8:16
ID_PART_ENTRY_FLAGS=0x80
ID_PART_ENTRY_NUMBER=1
ID_PART_ENTRY_OFFSET=2048
ID_PART_ENTRY_SCHEME=dos
ID_PART_ENTRY_SIZE=20971520
ID_PART_ENTRY_TYPE=0x83
ID_PART_ENTRY_UUID=f56c90f5-01
ID_PART_TABLE_TYPE=dos
ID_PART_TABLE_UUID=f56c90f5
ID_PATH=pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_1_1_0-scsi-0_0_0_0
ID_REVISION=DL07
ID_SERIAL=SHARKOON_EC4_7FBB1C00AB02000A-0:0
ID_SERIAL_SHORT=7FBB1C00AB02000A
ID_TYPE=disk
ID_USB_DRIVER=usb-storage
ID_USB_INTERFACES=:080650:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=SHARKOON
ID_VENDOR_ENC=SHARKOON
ID_VENDOR_ID=13fe
MAJOR=8
MINOR=17
SEQNUM=2856
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=64952112
UDEV  [163995.940442] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/scsi_host/host11 (scsi_host)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/scsi_host/host11
SEQNUM=2861
SUBSYSTEM=scsi_host
USEC_INITIALIZED=3995937813
UDEV  [163995.941929] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb (block)
ACTION=remove
DEVLINKS=/dev/disk/by-id/usb-SHARKOON_EC4_7FBB1C00AB02000A-0:0 /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0
DEVNAME=/dev/sdb
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0/block/sdb
DEVTYPE=disk
ID_BUS=usb
ID_INSTANCE=0:0
ID_MODEL=EC4
ID_MODEL_ENC=EC4\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20
ID_MODEL_ID=3600
ID_PART_TABLE_TYPE=dos
ID_PART_TABLE_UUID=f56c90f5
ID_PATH=pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0
ID_PATH_TAG=pci-0000_00_14_0-usb-0_1_1_0-scsi-0_0_0_0
ID_REVISION=DL07
ID_SERIAL=SHARKOON_EC4_7FBB1C00AB02000A-0:0
ID_SERIAL_SHORT=7FBB1C00AB02000A
ID_TYPE=disk
ID_USB_DRIVER=usb-storage
ID_USB_INTERFACES=:080650:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=SHARKOON
ID_VENDOR_ENC=SHARKOON
ID_VENDOR_ID=13fe
MAJOR=8
MINOR=16
SEQNUM=2858
SUBSYSTEM=block
TAGS=:systemd:
USEC_INITIALIZED=64952066

UDEV  [163995.952817] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0 (scsi)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0/11:0:0:0
DEVTYPE=scsi_device
MODALIAS=scsi:t-0x00
SEQNUM=2859
SUBSYSTEM=scsi
USEC_INITIALIZED=95937779

UDEV  [163995.953139] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0 (scsi)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11/target11:0:0
DEVTYPE=scsi_target
SEQNUM=2860
SUBSYSTEM=scsi
USEC_INITIALIZED=95937799

UDEV  [163995.953347] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11 (scsi)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/host11
DEVTYPE=scsi_host
SEQNUM=2862
SUBSYSTEM=scsi
USEC_INITIALIZED=95938188

UDEV  [163995.953732] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0 (usb)
ACTION=remove
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0
DEVTYPE=usb_interface
INTERFACE=8/6/80
MODALIAS=usb:v13FEp3600d0100dc00dsc00dp00ic08isc06ip50in00
PRODUCT=13fe/3600/100
SEQNUM=2863
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=95938900

UDEV  [163995.954444] remove   /devices/pci0000:00/0000:00:14.0/usb3/3-1 (usb)
ACTION=remove
BUSNUM=003
DEVNAME=/dev/bus/usb/003/008
DEVNUM=008
DEVPATH=/devices/pci0000:00/0000:00:14.0/usb3/3-1
DEVTYPE=usb_device
ID_BUS=usb
ID_MODEL=EC4
ID_MODEL_ENC=EC4
ID_MODEL_ID=3600
ID_REVISION=0100
ID_SERIAL=SHARKOON_EC4_7FBB1C00AB02000A
ID_SERIAL_SHORT=7FBB1C00AB02000A
ID_USB_INTERFACES=:080650:
ID_VENDOR=SHARKOON
ID_VENDOR_ENC=SHARKOON
ID_VENDOR_ID=13fe
MAJOR=189
MINOR=263
PRODUCT=13fe/3600/100
SEQNUM=2864
SUBSYSTEM=usb
TYPE=0/0/0
USEC_INITIALIZED=3963190604
Comment 1 Elias Probst 2014-05-24 16:32:00 UTC
Created attachment 99725 [details]
Output of "udisksctl dump"
Comment 2 Elias Probst 2014-05-24 16:32:31 UTC
Created attachment 99726 [details]
Output of "udevadm info --export-db"
Comment 3 jisaitua 2015-11-21 20:02:15 UTC
Same problem here.
What's the status of this bug?

## System info:
udisks 2.1.6
gvfs 1.2.30
libatasmart 0.19.3
kernel 3.13.0-61-generic (ubuntu 14.04)
Comment 4 HenryGeorge 2019-09-16 08:06:32 UTC
I have encountered this problem as well. Udisks usually don’t work properly when you need them the most. Click https://paper-writing-service.reviews/edubirdie-com-review/ for writing tips and tricks. I tried to delete the drops of devices but it wasn’t deleting them properly which slowed down my computer.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.