<?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>132281</bug_id>
          
          <creation_ts>2006-08-12 00:37:52 +0000</creation_ts>
          <short_desc>Media mounting no longer works without HAL</short_desc>
          <delta_ts>2007-03-26 15:06:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kio</product>
          <component>media</component>
          <version>unspecified</version>
          <rep_platform>Slackware</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>1</everconfirmed>
          <reporter name="David Unric">dunric29a</reporter>
          <assigned_to name="Kevin Ottens">ervin</assigned_to>
          <cc>bss</cc>
    
    <cc>coolo</cc>
    
    <cc>faure</cc>
    
    <cc>gf</cc>
    
    <cc>myousbr</cc>
    
    <cc>rdieter</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>288</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>459889</commentid>
    <comment_count>0</comment_count>
    <who name="David Unric">dunric29a</who>
    <bug_when>2006-08-12 00:37:52 +0000</bug_when>
    <thetext>Version:            (using KDE KDE 3.5.4)
Installed from:    Slackware Packages
OS:                Linux

Until KDE 3.5.4 mounting of devices with media kio-slave did worked without dbus/hal installed and kio_media_mounthelper did used /etc/fstab entries.

Now when I point in Konqueror to my CD-ROM URL (media:/cdrom) error message pop-ups with &quot;Feature available only with HAL&quot; and device is not mounted.

Please fix bug in kio media so devices could be mounted again on systems without HAL.

Thanks in an advance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>459936</commentid>
    <comment_count>1</comment_count>
    <who name="Andreas Kling">info</who>
    <bug_when>2006-08-12 07:02:25 +0000</bug_when>
    <thetext>*** Bug 132257 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>462831</commentid>
    <comment_count>2</comment_count>
    <who name="Nechita Marian-Valentin">nechita_marian</who>
    <bug_when>2006-08-24 07:57:51 +0000</bug_when>
    <thetext>*** This bug has been confirmed by popular vote. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>469481</commentid>
    <comment_count>3</comment_count>
    <who name="Ismael">leamsi.setroc</who>
    <bug_when>2006-09-13 05:34:31 +0000</bug_when>
    <thetext>Is this bug being worked on?

This is an annoying bug, mostly because you&apos;re still unable to use, i.e, system:/media/hdc to access the cdrom even after it&apos;s been mounted manually.

Also, KwikDisk fails with the same error when you try to use it to mount the CDROM.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471076</commentid>
    <comment_count>4</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2006-09-19 13:15:50 +0000</bug_when>
    <thetext>is your cdrom in /etc/fstab ? If so, can you please attach it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471138</commentid>
    <comment_count>5</comment_count>
    <who name="Erich">e_ritz</who>
    <bug_when>2006-09-19 17:13:42 +0000</bug_when>
    <thetext>Here&apos;s my fstab:

/dev/hda6     swap             swap        defaults           0   0
/dev/hda5     /                ext3        defaults           1   1
/dev/hda3     /boot            ext2        defaults,ro,nodev  1   2
/dev/hda1     /mnt/ntfs        ntfs        ro,dmask=222,fmask=333  0 0
/dev/hda7     /mnt/vfat        vfat        auto,rw,dmask=000,fmask=111 0 0
/dev/hda8     /mnt/slackroot   ext3        defaults           1   2
/dev/cdrom    /mnt/cdrom       iso9660     noauto,user,ro,unhide 0   0
/dev/floppy   /mnt/floppy      auto        noauto,user        0   0
devpts        /dev/pts         devpts      gid=5,mode=620     0   0
proc          /proc            proc        defaults           0   0
none          /sys             sysfs       defaults,noauto    0   0
shm           /dev/shm         tmpfs       defaults,noauto    0   0
/dev/disk/by-id/usb-SanDisk_Cruzer_Mini_SNDK8ABBA4272BE07003-part1  /mnt/usb  vfat  noauto,user  0  0

I have icons on my desktop which I can use to mount and open konqueror, but using media:/ in konqueror I cannot mount or open devices (except hard drives).  I tried mounting my usb stick before opening konqueror, but I could still not access it as media:/usb-SanDisk...  I cannot mount my cdrom using media:/, but after mounting it via the desktop icon sometimes I can then open it as media:/cdrom.  Right clicking the cdrom icon in media:/ will not allow me to unmount it; I must do that via the desktop icon (or of course Konsole).  Mounting the cdrom via Konsole (as user, not root) will not allow me to browse it as media:/cdrom.

Basically, I don&apos;t rely on media:/*, but use the desktop icons I created instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471185</commentid>
    <comment_count>6</comment_count>
    <who name="Georgi Chorbadzhiyski">gf</who>
    <bug_when>2006-09-19 18:53:27 +0000</bug_when>
    <thetext>Here is my /etc/fstab. In 3.5.3 mounting DVD using media:/ IO slave was working fine, now after upgrading to 3.5.4 I get the messages &quot;Feature available only with HAL&quot;. Slackware-current (11) package here. Kernel 2.6.17.11

/dev/hda1        /                ext3        defaults         1   1
/dev/hda2        swap             swap        defaults         0   0
/dev/hda3        /home            ext3        defaults         1   2
/dev/hdc         /mnt/dvd         auto        noauto,user,ro   0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471186</commentid>
    <comment_count>7</comment_count>
    <who name="Georgi Chorbadzhiyski">gf</who>
    <bug_when>2006-09-19 19:07:52 +0000</bug_when>
    <thetext>These are the offending commits:

http://websvn.kde.org/branches/KDE/3.5/kdebase/kioslave/media/mediamanager/mediamanager.cpp?rev=550578&amp;r1=468233&amp;r2=550578
http://websvn.kde.org/branches/KDE/3.5/kdebase/kioslave/media/mediamanager/mediamanager.cpp?rev=551063&amp;r1=550578&amp;r2=551063
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471189</commentid>
    <comment_count>8</comment_count>
    <who name="Rex Dieter">rdieter</who>
    <bug_when>2006-09-19 19:48:52 +0000</bug_when>
    <thetext>This is a double-whammy for RHEL4 users, since kde-3.5.4 dropped support for hal-0.4.2. ):</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>471312</commentid>
    <comment_count>9</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2006-09-20 10:37:27 +0000</bug_when>
    <thetext>the commit in the mediamanager is harmless. You only notice it because the dcop functions are called that shouldn&apos;t be called :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472167</commentid>
    <comment_count>10</comment_count>
    <who name="Stephan Kulow">coolo</who>
    <bug_when>2006-09-23 15:35:41 +0000</bug_when>
    <thetext>SVN commit 587626 by coolo:

adding a mount function to the fstab backend that can 
be used without hal
BUG: 132281


 M  +23 -0     fstabbackend.cpp  
 M  +4 -0      fstabbackend.h  
 M  +11 -4     mediamanager.cpp  
 M  +2 -0      mediamanager.h  


--- branches/KDE/3.5/kdebase/kioslave/media/mediamanager/fstabbackend.cpp #587625:587626
@@ -37,6 +37,9 @@
 #endif
 
 #include &lt;klocale.h&gt;
+#include &lt;kio/job.h&gt;
+#include &lt;kio/netaccess.h&gt;
+#include &lt;kdebug.h&gt;
 #include &lt;kdirwatch.h&gt;
 #include &lt;kurl.h&gt;
 #include &lt;kmountpoint.h&gt;
@@ -94,6 +97,26 @@
         KDirWatch::self()-&gt;removeFile(MTAB);
 }
 
+QString FstabBackend::mount( const QString &amp;_udi )
+{
+    const Medium* medium = m_mediaList.findById(_udi);
+    if (!medium)
+        return i18n(&quot;No such medium: %1&quot;).arg(_udi);
+    KIO::Job* job = KIO::mount( false, 0, medium-&gt;deviceNode(), medium-&gt;mountPoint());
+    KIO::NetAccess::synchronousRun( job, 0 );
+    return QString::null;
+}
+
+QString FstabBackend::unmount( const QString &amp;_udi )
+{
+    const Medium* medium = m_mediaList.findById(_udi);
+    if (!medium)
+        return i18n(&quot;No such medium: %1&quot;).arg(_udi);
+    KIO::Job* job = KIO::unmount( medium-&gt;mountPoint(),  false);
+    KIO::NetAccess::synchronousRun( job, 0 );
+    return QString::null;
+}
+
 void FstabBackend::slotDirty(const QString &amp;path)
 {
 	if (path==MTAB)
--- branches/KDE/3.5/kdebase/kioslave/media/mediamanager/fstabbackend.h #587625:587626
@@ -41,6 +41,10 @@
                           const QString &amp;fsType, bool mounted,
                           QString &amp;mimeType, QString &amp;iconName,
 	                  QString &amp;label);
+
+	QString mount(const QString &amp;id);
+	QString unmount(const QString &amp;id);
+
 private slots:
 	void slotDirty(const QString &amp;path);
 	void handleFstabChange(bool allowNotification = true);
--- branches/KDE/3.5/kdebase/kioslave/media/mediamanager/mediamanager.cpp #587625:587626
@@ -77,6 +77,7 @@
 
     mp_removableBackend = 0L;
     m_halbackend = 0L;
+    m_fstabbackend = 0L;
 
 #ifdef COMPILE_HALBACKEND
     if ( MediaManagerSettings::self()-&gt;halBackendEnabled() )
@@ -85,7 +86,8 @@
         if (m_halbackend-&gt;InitHal())
         {
             m_backends.append( m_halbackend );
-            m_backends.append( new FstabBackend(m_mediaList, true) );
+            m_fstabbackend = new FstabBackend(m_mediaList, true);
+            m_backends.append( m_fstabbackend );
             // No need to load something else...
             m_mediaList.blockSignals(false);
             return;
@@ -108,7 +110,8 @@
     }
 #endif //COMPILE_LINUXCDPOLLING
 
-    m_backends.append( new FstabBackend(m_mediaList) );
+    m_fstabbackend = new FstabBackend(m_mediaList);
+    m_backends.append( m_fstabbackend );
     m_mediaList.blockSignals(false);
 }
 
@@ -206,7 +209,9 @@
         return i18n(&quot;Feature only available with HAL&quot;);
     return m_halbackend-&gt;mount(name);
 #else
-    return i18n(&quot;Feature only available with HAL&quot;);
+    if ( !m_fstabbackend ) // lying :)
+        return i18n(&quot;Feature only available with HAL&quot;);
+    return m_fstabbackend-&gt;mount( name );
 #endif
 }
 
@@ -217,7 +222,9 @@
         return i18n(&quot;Feature only available with HAL&quot;);
     return m_halbackend-&gt;unmount(name);
 #else
-    return i18n(&quot;Feature only available with HAL&quot;);
+    if ( !m_fstabbackend ) // lying :)
+        return i18n(&quot;Feature only available with HAL&quot;);
+    return m_fstabbackend-&gt;unmount( name );
 #endif
 }
 
--- branches/KDE/3.5/kdebase/kioslave/media/mediamanager/mediamanager.h #587625:587626
@@ -29,6 +29,7 @@
 #include &quot;mediadirnotify.h&quot;
 
 class HALBackend;
+class FstabBackend;
 
 class MediaManager : public KDEDModule
 {
@@ -83,6 +84,7 @@
 	RemovableBackend *mp_removableBackend;
 	HALBackend *m_halbackend;
 	MediaDirNotify m_dirNotify;
+	FstabBackend *m_fstabbackend;
 };
 
 #endif
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472435</commentid>
    <comment_count>11</comment_count>
      <attachid>17898</attachid>
    <who name="Georgi Chorbadzhiyski">gf</who>
    <bug_when>2006-09-24 19:37:41 +0000</bug_when>
    <thetext>Created attachment 17898
Backported coolo patch to KDE 3.5.4 vanilla

With coolo&apos;s media mounting problems are solved. Just apply the patch do KDE
kdebase 3.54 and rebuild the slackware package.

Thank you guys.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>472488</commentid>
    <comment_count>12</comment_count>
    <who name="Erich">e_ritz</who>
    <bug_when>2006-09-25 00:42:10 +0000</bug_when>
    <thetext>I added the patch and built kdebase using Pat&apos;s slackbuild.

Sometimes it fully works and somtimes it only partially works, as described below.  I haven&apos;t determined under what conditions it works and when it doesn&apos;t.

Using media:/ I can right click on icons and mount/unmount media (cdrom, usb drives).  I verified each time by &apos;cat /etc/mtab&apos;.  However, after clicking on the icon it won&apos;t show the contents.  Also, typing media:/cdrom in konqueror will mount the cdrom, but won&apos;t show the contents of the cd.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>473408</commentid>
    <comment_count>13</comment_count>
    <who name="Thanos Kyritsis">thanos.kyritsis</who>
    <bug_when>2006-09-28 10:53:27 +0000</bug_when>
    <thetext>I confirm Comment #12, please reopen the bug. It still doesn&apos;t behave like it used to before KDE 3.5.4 w/o HAL.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>473989</commentid>
    <comment_count>14</comment_count>
    <who name="Ismael">leamsi.setroc</who>
    <bug_when>2006-09-30 21:23:57 +0000</bug_when>
    <thetext>Indeed, if I mount a CD and then umount it (via right-click -&gt; unmount), and then mount it again, the CD filesystem will get mounted (as reported by &quot;mount&quot;), but you will be unable to see the contents via system:/media/hdc 

The KDE icon at the top right will keep moving as if it were working on something.

The first time you mount it using either Konqueror or KwikDisk it works properly, the problem just appears after you unmount the drive and then mount it again.

That second (or third, or fourth, ...) time KwikDisk does show the proper free space (&quot;[0 B]&quot;) of the CD and a mounted CD icon, but it fails to create the Mounted CD Icon on the desktop (which did appear the first time).

Konqueror doesn&apos;t seem to realize that the drive has been mounted, at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>476336</commentid>
    <comment_count>15</comment_count>
    <who name="Zeljan Rikalo">zeljko</who>
    <bug_when>2006-10-12 17:02:28 +0000</bug_when>
    <thetext>hm ... strange things happens with 3.5.4 and 3.5.5 ... it looks like same problem like I&apos;ve described in #135215 . Possible that 135215 (but using supermount) is duplicate. I&apos;ve also fixed (it works for me ;) ) removable media problem with supermount &amp; kde 3.5.4 in #135139 .

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>477387</commentid>
    <comment_count>16</comment_count>
    <who name="Chris Spencer">millionaire317</who>
    <bug_when>2006-10-16 21:52:54 +0000</bug_when>
    <thetext>I&apos;m comfirming Comment #14. That&apos;s the exact same problem I&apos;m having. I&apos;m using Slackware Linux 11, with official KDE 3.5.4 packages. The bug is listed as resolved, but it&apos;s a little unclear.

Do I need to use a patch? I noticed that all the comments are dated before Slackware 11 was released. Has the status changed in the Slackware 11 official release? Has this issue been resolved in KDE 3.5.5?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>490969</commentid>
    <comment_count>17</comment_count>
    <who name="Jakob Nylin">jakob.nylin</who>
    <bug_when>2006-12-01 21:27:23 +0000</bug_when>
    <thetext>I have exact the same problem as that described in comment #12, #14 and #16.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>491506</commentid>
    <comment_count>18</comment_count>
    <who name="PJ Beers">pjbrs</who>
    <bug_when>2006-12-04 14:33:06 +0000</bug_when>
    <thetext>Just as Jakob, I have exact the same problem as that described in comment #12, #14 and #16. Could you please reopen this bug? Or else could you please explain why to leave it closed? Regards!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>507450</commentid>
    <comment_count>19</comment_count>
    <who name="">shattered</who>
    <bug_when>2007-02-07 20:04:30 +0000</bug_when>
    <thetext>+QString FstabBackend::mount( const QString &amp;_udi )
+{
+    const Medium* medium = m_mediaList.findById(_udi);
+    if (!medium)
+        return i18n(&quot;No such medium: %1&quot;).arg(_udi);
+    KIO::Job* job = KIO::mount( false, 0, medium-&gt;deviceNode(), medium-&gt;mountPoint());
+    KIO::NetAccess::synchronousRun( job, 0 );
+    return QString::null;
+}

What if mount fails?  Does this code check for errors at all?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>517397</commentid>
    <comment_count>20</comment_count>
    <who name="Jean-Marc Chapuzot">jean-marc.chapuzot</who>
    <bug_when>2007-03-26 15:06:35 +0000</bug_when>
    <thetext>Like in Comment #12 it works the first time I mounted a CD-ROM. After that when I had unmounted the CD-ROM and try to mount it again the CD will be mounted but not show as mounted !!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>17898</attachid>
            <date>2006-09-24 19:37:41 +0000</date>
            <delta_ts>2006-09-24 19:37:41 +0000</delta_ts>
            <desc>Backported coolo patch to KDE 3.5.4 vanilla</desc>
            <filename>kdebase-3.5.4.mediamanager-fstabfix.diff</filename>
            <type>text/plain</type>
            <size>4063</size>
            <attacher name="Georgi Chorbadzhiyski">gf</attacher>
            
              <data encoding="base64">U1ZOIGNvbW1pdCA1ODc2MjYgYnkgY29vbG86CgphZGRpbmcgYSBtb3VudCBmdW5jdGlvbiB0byB0
aGUgZnN0YWIgYmFja2VuZCB0aGF0IGNhbgpiZSB1c2VkIHdpdGhvdXQgaGFsCgpCVUcgMTMyMjgx
OiBodHRwOi8vYnVncy5rZGUub3JnL3Nob3dfYnVnLmNnaT9pZD0xMzIyODEKCi0tLSAuL2tpb3Ns
YXZlL21lZGlhL21lZGlhbWFuYWdlci9mc3RhYmJhY2tlbmQuY3BwCTIwMDYtMDctMjIgMTE6MTU6
NDUuMDAwMDAwMDAwICswMzAwCisrKyAuL2tpb3NsYXZlL21lZGlhL21lZGlhbWFuYWdlci9mc3Rh
YmJhY2tlbmQuY3BwCTIwMDYtMDktMjQgMTg6NTI6MDguMDAwMDAwMDAwICswMzAwCkBAIC0zNyw2
ICszNyw5IEBACiAjZW5kaWYKIAogI2luY2x1ZGUgPGtsb2NhbGUuaD4KKyNpbmNsdWRlIDxraW8v
am9iLmg+CisjaW5jbHVkZSA8a2lvL25ldGFjY2Vzcy5oPgorI2luY2x1ZGUgPGtkZWJ1Zy5oPgog
I2luY2x1ZGUgPGtkaXJ3YXRjaC5oPgogI2luY2x1ZGUgPGt1cmwuaD4KICNpbmNsdWRlIDxrbW91
bnRwb2ludC5oPgpAQCAtOTQsNiArOTcsMjYgQEAKICAgICAgICAgS0RpcldhdGNoOjpzZWxmKCkt
PnJlbW92ZUZpbGUoTVRBQik7CiB9CiAKK1FTdHJpbmcgRnN0YWJCYWNrZW5kOjptb3VudCggY29u
c3QgUVN0cmluZyAmX3VkaSApCit7CisgICAgY29uc3QgTWVkaXVtKiBtZWRpdW0gPSBtX21lZGlh
TGlzdC5maW5kQnlJZChfdWRpKTsKKyAgICBpZiAoIW1lZGl1bSkKKy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