[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#762950: Bug most likely in solid



Quoth Scott Kitterman on Mar 28 at  5:36 pm:
> On Sunday, March 15, 2015 12:43:51 PM Scott Kitterman wrote:
> > I've poked around in core/libs/database/collectionmanager.cpp and it appears
> > that the digikam code tries to do the right thing and the most likely issue
> > is something about how solid handles these cases, so reassigning.
> 
> For the cases in question for this bug, please try running:
> 
> $ solid-hardware list

Here's the output for me:

$ solid-hardware list
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4'
udi = '/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:16.3/tty/ttyS0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:19.0/net/eth0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/video4linux/video0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/audio'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/dsp'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/hwC0D0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/pcmC0D0c'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/pcmC0D0p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D3'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D3/hwC0D3'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D3/pcmC0D3p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D3/pcmC0D7p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D3/pcmC0D8p'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/mixer'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0'
udi = '/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0'
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/platform/thinkpad_acpi/sound/card29'
udi = '/org/kde/solid/udev/sys/devices/platform/thinkpad_acpi/sound/card29/controlC29'
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/sound/timer'
udi = '/org/freedesktop/UDisks2/block_devices/loop7'
udi = '/org/freedesktop/UDisks2/block_devices/loop6'
udi = '/org/freedesktop/UDisks2/block_devices/loop5'
udi = '/org/freedesktop/UDisks2/block_devices/loop4'
udi = '/org/freedesktop/UDisks2/block_devices/loop3'
udi = '/org/freedesktop/UDisks2/block_devices/loop2'
udi = '/org/freedesktop/UDisks2/block_devices/loop1'
udi = '/org/freedesktop/UDisks2/block_devices/loop0'
udi = '/org/freedesktop/UDisks2/block_devices/sda5'
udi = '/org/freedesktop/UDisks2/block_devices/sda3'
udi = '/org/freedesktop/UDisks2/block_devices/sda2'
udi = '/org/freedesktop/UDisks2/block_devices/sda1'
udi = '/org/freedesktop/UDisks2/block_devices/sda'
udi = '/org/freedesktop/UDisks2/block_devices/sda6'
udi = '/org/freedesktop/UDisks2/drives/INTEL_SSDSA2BW160G3L_BTPR217001GM160DGN'
udi = '/org/freedesktop/UPower'
udi = '/org/freedesktop/UPower/devices/line_power_AC'
udi = '/org/freedesktop/UPower/devices/battery_BAT0'
udi = '/org/kde/fstab'

This is the same regardless of whether or not Docker is running.

> Then find the UID of the mount point in question and run:
> 
> $ solid-hardware details '$UID'

My digikam album lives on sda6. Here's the output *without* Docker
running

$ sudo /etc/init.d/docker stop
$ solid-hardware details /org/freedesktop/UDisks2/block_devices/sda6
udi = '/org/freedesktop/UDisks2/block_devices/sda6'
  parent = '/org/freedesktop/UDisks2/drives/INTEL_SSDSA2BW160G3L_BTPR217001GM160DGN'  (string)
  vendor = ''  (string)
  product = 'INTEL SSDSA2BW160G3L'  (string)
  description = '116.9 GiB Hard Drive'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 6  (0x6)  (int)
  Block.device = '/dev/sda6'  (string)
  StorageAccess.accessible = true  (bool)
  StorageAccess.filePath = '/'  (string)
  StorageAccess.ignored = false  (bool)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = 'ext4'  (string)
  StorageVolume.label = ''  (string)
  StorageVolume.uuid = '86efd6d8-2751-47e1-a6d7-2c7bf04f974b'  (string)
  StorageVolume.size = 125467361280  (0x1d36700000)  (qulonglong)

And the output with Docker running

$ sudo /etc/init.d/docker start
$ solid-hardware details /org/freedesktop/UDisks2/block_devices/sda6
udi = '/org/freedesktop/UDisks2/block_devices/sda6'
  parent = '/org/freedesktop/UDisks2/drives/INTEL_SSDSA2BW160G3L_BTPR217001GM160DGN'  (string)
  vendor = ''  (string)
  product = 'INTEL SSDSA2BW160G3L'  (string)
  description = '116.9 GiB Hard Drive'  (string)
  Block.major = 8  (0x8)  (int)
  Block.minor = 6  (0x6)  (int)
  Block.device = '/dev/sda6'  (string)
  StorageAccess.accessible = true  (bool)
  StorageAccess.filePath = '/var/lib/docker/aufs'  (string)
  StorageAccess.ignored = false  (bool)
  StorageVolume.ignored = false  (bool)
  StorageVolume.usage = 'FileSystem'  (0x2)  (enum)
  StorageVolume.fsType = 'ext4'  (string)
  StorageVolume.label = ''  (string)
  StorageVolume.uuid = '86efd6d8-2751-47e1-a6d7-2c7bf04f974b'  (string)
  StorageVolume.size = 125467361280  (0x1d36700000)  (qulonglong)

Now StorageAccess.filePath is Docker's AUFS mount (which I can't
access as a regular user) rather than /.


Reply to: