<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>269301</bug_id>
          
          <creation_ts>2011-03-24 11:41:15 +0000</creation_ts>
          <short_desc>does not detect NFS file systems or ZFS file systems</short_desc>
          <delta_ts>2011-11-07 22:01:32 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>solid</product>
          <component>libsolid-udisks</component>
          <version>unspecified</version>
          <rep_platform>Unlisted Binaries</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DOWNSTREAM</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Manuel Amador (Rudd-O)">rudd-o</reporter>
          <assigned_to name="Lukáš Tinkl">lukas</assigned_to>
          <cc>kevin.kofler</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1100699</commentid>
    <comment_count>0</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-03-24 11:41:15 +0000</bug_when>
    <thetext>Version:           unspecified
OS:                Linux

As per the debugging info here:

https://bugs.kde.org/show_bug.cgi?id=249760

you can see my fstab (note the nfs filesystem)


proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda1 on /boot type ext4 (rw,noatime)
tmpfs on /tmp type tmpfs (rw,noexec,nosuid,noatime)
cgroup on /sys/fs/cgroup type proc (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/proc/bus/usb on /proc/bus/usb type usbfs (rw,devgid=1011,devmode=664)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
gvfs-fuse-daemon on /home/rudd-o/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=rudd-o)
laptop on / type zfs (rw)
laptop/home on /home type zfs (rw)
laptop/home/rudd-o on /home/rudd-o type zfs (rw)
laptop/home/rudd-o/.wine on /home/rudd-o/.wine type zfs (rw)
laptop/home/rudd-o/Imagenes on /home/rudd-o/Imágenes type zfs (rw)
laptop/home/rudd-o/Personal on /home/rudd-o/Personal type zfs (rw)
laptop/home/rudd-o/Projects on /home/rudd-o/Projects type zfs (rw)
laptop/home/rudd-o/Virtual machines on /home/rudd-o/Virtual machines type zfs (rw)
laptop/home/rudd-o/download on /home/rudd-o/download type zfs (rw)
laptop/home/rudd-o/tmp on /home/rudd-o/tmp type zfs (rw)
laptop/opt on /opt type zfs (rw)
laptop/usr/local on /usr/local type zfs (rw)
laptop/usr/share/doc on /usr/share/doc type zfs (rw)
laptop/usr/share/javadoc on /usr/share/javadoc type zfs (rw)
laptop/usr/src on /usr/src type zfs (rw)
laptop/var/cache on /var/cache type zfs (rw)
laptop/var/spool on /var/spool type zfs (rw)
laptop/usr/lib/debug on /usr/lib/debug type zfs (rw)
paola.local:/export/shared on /var/shared type nfs (rw,sync,noatime,fsc,vers=3,retry=0,bg,addr=10.254.102.1)
/dev/zd0 on /var/cache/fscache type ext4 (rw,noatime,user_xattr,nobh,barrier=0,data=writeback)

and then


solid-hardware list
udi = &apos;/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:00&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/LNXSYSTM:00/LNXCPU:01&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1a.7/usb1/1-2/1-2:1.0/video4linux/video0&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/hwC0D0&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0c&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/pcmC0D0p&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1b.0/sound/card0/controlC0&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0/net/eth0&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/net/wlan0&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS0&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS1&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS2&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/platform/serial8250/tty/ttyS3&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/virtual/net/lo&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/virtual/sound/seq&apos;
udi = &apos;/org/kde/solid/udev/sys/devices/virtual/sound/timer&apos;
udi = &apos;/org/freedesktop/UDisks&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda3&apos;
udi = &apos;/org/freedesktop/UDisks/devices/zd0&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sr0&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda1&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sdb&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda2&apos;
udi = &apos;/org/freedesktop/UPower&apos;
udi = &apos;/org/freedesktop/UPower/devices/line_power_ADP0&apos;
udi = &apos;/org/freedesktop/UPower/devices/battery_BAT0&apos;

the NFS volume is nowhere to be found.  This makes amarok think that the music is directly on the root volume.

In addition to that, the root file system is on a ZFS dataset, and, of course, solid is unaware of it.  Therefore, this makes Amarok think that there are no volumes.

End result is that Amarok does not register any devices, the music is stored in the database with a fake ID -1 for a device, and the removable / network collection feature just does not work.

I am sure other applications that use solid to determine the availability of volumes and identification of files per volume will be afflicted with the same malady.

Reproducible: Didn&apos;t try



Expected Results:  
Have solid tell client applications of both ZFS file systems and NFS network file systems known to the system / mounted on the system.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1104668</commentid>
    <comment_count>1</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-04-06 16:03:20 +0000</bug_when>
    <thetext>What is going on with this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1140583</commentid>
    <comment_count>2</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-07-11 12:42:55 +0000</bug_when>
    <thetext>What is going on?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1146341</commentid>
    <comment_count>3</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-07-28 06:48:04 +0000</bug_when>
    <thetext>Hello?

If it helps, the systemsettings service manager shows Hardware Detection on-demand service shows as Not Running.

Help?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1157666</commentid>
    <comment_count>4</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-08-27 23:10:27 +0000</bug_when>
    <thetext>Bug CONTINUES:


~@karen.dragonfear α:
solid-hardware query &apos;IS StorageAccess&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda1&apos;


--------------------


~@karen.dragonfear α:
rpm -q kdelibs
kdelibs-4.6.5-2.fc15.x86_64

~@karen.dragonfear α:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1157678</commentid>
    <comment_count>5</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-08-28 00:08:21 +0000</bug_when>
    <thetext>Same problem, 4.7.0

~@karen.dragonfear α:
rpm -q kdelibs
kdelibs-4.7.0-1.fc15.x86_64

~@karen.dragonfear α:</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1182494</commentid>
    <comment_count>6</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-11-07 20:56:31 +0000</bug_when>
    <thetext>For comparison, on Ubuntu (Kubuntu kde packages, latest release):

------------------------------


~@arianna.company α:
solid-hardware query &apos;IS StorageAccess&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda4&apos;
udi = &apos;/org/freedesktop/UDisks/devices/dm_2d2&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda1&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda2&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda3&apos;
udi = &apos;/org/kde/fstab///10.254.102.1/shared&apos;
udi = &apos;/org/kde/fstab///172.16.1.185/sdcard&apos; &lt;-!!!! SEE?

What is going on with fedora then?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1182517</commentid>
    <comment_count>7</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-11-07 21:04:42 +0000</bug_when>
    <thetext>On Fedora:

----------------------------


[testuser@karen ~]$ strace -ff -efile solid-hardware query &apos;IS StorageAccess&apos; 2&gt;&amp;1 | grep -v ENOENT | grep open | grep -v /lib ; solid-hardware query &apos;IS StorageAccess&apos;
open(&quot;/etc/ld.so.cache&quot;, O_RDONLY)      = 3
open(&quot;/proc/filesystems&quot;, O_RDONLY)     = 3
open(&quot;/etc/localtime&quot;, O_RDONLY)        = 3
open(&quot;/etc/kde4rc&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/etc/nsswitch.conf&quot;, O_RDONLY)    = 3
open(&quot;/etc/ld.so.cache&quot;, O_RDONLY)      = 3
open(&quot;/etc/passwd&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/etc/kde4rc&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/usr/share/kde-settings/kde-profile/default/share/config/kdeglobals&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/usr/share/locale/locale.alias&quot;, O_RDONLY) = 3
open(&quot;/etc/udev/udev.conf&quot;, O_RDONLY|O_CLOEXEC) = 7
open(&quot;/dev/urandom&quot;, O_RDONLY|O_CLOEXEC) = 9
open(&quot;/proc/stat&quot;, O_RDONLY|O_CLOEXEC)  = 10
open(&quot;/proc/stat&quot;, O_RDONLY|O_CLOEXEC)  = 13
udi = &apos;/org/freedesktop/UDisks/devices/sda1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1182518</commentid>
    <comment_count>8</comment_count>
    <who name="Manuel Amador (Rudd-O)">rudd-o</who>
    <bug_when>2011-11-07 21:04:59 +0000</bug_when>
    <thetext>On Ubuntu:

-----------------------------

~@arianna.twilio α:
strace -ff -efile solid-hardware query &apos;IS StorageAccess&apos; 2&gt;&amp;1 | grep -v ENOENT | grep open | grep -v /lib ; solid-hardware query &apos;IS StorageAccess&apos;
open(&quot;/etc/ld.so.cache&quot;, O_RDONLY)      = 3
open(&quot;/etc/localtime&quot;, O_RDONLY)        = 3
open(&quot;/etc/kde4rc&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/home/rudd-o/.kde/share/config/kdeglobals&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/etc/kde4rc&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/usr/share/kubuntu-default-settings/kde4-profile/default/share/config/kdeglobals&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/home/rudd-o/.kde/share/config/kdeglobals&quot;, O_RDONLY|O_CLOEXEC) = 3
open(&quot;/usr/share/locale/locale.alias&quot;, O_RDONLY) = 3
open(&quot;/etc/udev/udev.conf&quot;, O_RDONLY|O_CLOEXEC) = 6
open(&quot;/etc/fstab&quot;, O_RDONLY)            = 7
[pid 24130] open(&quot;/proc/stat&quot;, O_RDONLY|O_CLOEXEC) = 10
udi = &apos;/org/freedesktop/UDisks/devices/sda4&apos;
udi = &apos;/org/freedesktop/UDisks/devices/dm_2d2&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda1&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda2&apos;
udi = &apos;/org/freedesktop/UDisks/devices/sda3&apos;
udi = &apos;/org/kde/fstab///10.254.102.1/shared&apos;
udi = &apos;/org/kde/fstab///172.16.1.185/sdcard&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1182567</commentid>
    <comment_count>9</comment_count>
    <who name="Kevin Kofler">kevin.kofler</who>
    <bug_when>2011-11-07 22:01:32 +0000</bug_when>
    <thetext>Caused by a Fedora patch, moving downstream:
https://bugzilla.redhat.com/show_bug.cgi?id=751879</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>