Summary: | Disable showing of upnp devices in Dolphin 'Places' panel and Device notifier | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Vitaliy Gorbunov <vit.gorbunov> |
Component: | libsolid-upnp | Assignee: | Paulo Romulo <paulo.romulo> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | minor | CC: | afiestas, cyberang3l, kallu_be, kdebugs, macbeth8, masterpatricko, mathojojo, miso, nucleo, sven.burmeister |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Annoying Shares in Dolphin... |
Description
Vitaliy Gorbunov
2010-12-09 21:57:40 UTC
Which type of shares are those? smb? nfs? upnp? For instance did they end up somehow in your fstab? It's smb shares. Here is my /etc/fstab. proc /proc proc defaults 0 0 /dev/sda3 / ext3 relatime,errors=remount-ro 0 1 UUID=4f515a26-7f23-40cb-b8a8-eaa53a5bf57e none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 /dev/sda5 /media/ext3 ext3 relatime,errors=remount-ro 0 0 /dev/sda6 /media/arch ext4 defaults 0 0 /dev/sda1 /media/suse ext4 defaults 0 0 There is not smb shares there. Would they be automounted and then appear in /etc/mtab? (In reply to comment #3) > Would they be automounted and then appear in /etc/mtab? Same problem here... I think they're smb shares, but don't exactly, is there a way to list smb shares? (and no, they don't appear in /etc/mtab, nor in /etc/fstab) (In reply to comment #3) > Would they be automounted and then appear in /etc/mtab? No Hmmm... Do they appear if you use the following command: solid-hardware list details (It's pretty verbose, but if you find them please post an extract or two of the relevant output) *but I don't know exactly and just to clarify, the shares are probably mounted, because when I right-click on any of them, one of the options that shows up is to unmount the item. Left-clicking on the item, however, does nothing. (ie dolphin is still in the same directory as before; Device notifier does not open any window, altought it says "Open with File Manager" under the icon in the Device notifier when I hover above an item). Unmounting these shares has also no effect, they still appear in the list as mounted. New info: maybe they are upnp shares, because when the dolphin is started from konsole, a lot of lines like UPnP device entered: "uuid:8d35fb8f8d35-0101-8000-324795dfa806" UPnP device entered: "uuid:fe8b7f7a-38d1-471f-91c1-4dd7106022ee" UPnP device entered: "uuid:445d08dc-c2b5-48f8-ad1a-d8899f0070e9" appears Yes? It should be upnp shares. Sorry for disinformation. And they not appear in solid-hardware list details. I found on the gentoo wiki how to allow UPnP in iptables, so I used similar rules to disable it: iptables -t filter -A INPUT -i eth1 -s 239.0.0.0/8 -j DROP iptables -t filter -A INPUT -i eth1 -p tcp --sport 49152 -j DROP iptables -t filter -A INPUT -i eth1 -p udp --sport 1900 -j DROP and now there is only one UPnP share visible, others are filtered. But this works only if you don't want to use UPnP (I'm not sure, maybe it will affect other multicast services, too). This problem is there for everyone who installed kde 4.6 in networks with lots of windows machines. I stay at hostel and sometimes the places panel is filled with 100 network shares which is totally annoying. Created attachment 54398 [details]
Annoying Shares in Dolphin...
If you right click on any of them, you will get the "Unmount" option but none of them are actually mounted or possible to be mounted when clicking on them....
Basically they just exist and taking space there...
The most annoying thing of all is the device notifier keeps popping up when someone opens their PC and that's very frequent in a large network!! (even in a non so large like the student houses that I live...) Please disable that feature by default for this kind of shares (that they are not actually shares as you can't access them somehow)!! Anyone who was affected by this bug, please look at https://bugs.kde.org/show_bug.cgi?id=259472. Maybe it also affect you. Perhaps it's somehow connected.. *** This bug has been confirmed by popular vote. *** Interesting... shows that quite a lot of people export stuff on your network without even knowing it seems. :-) Anyway, that's an interesting usability type of issue, the fact that upnp is shown there is *very* handy on a real home network. I've no solution for it yet in your case though, I'll have to think about it. ^^ Actually most of the computers have no public shares/exports, still dolphin displays them on the places panel. Its quite annoying considering people switch on/off their computers all the time. ^^ Actually most of the computers have no public shares/exports, still dolphin displays them on the places panel. Its quite annoying considering people switch on/off their computers all the time. ^^ Actually most of the computers have no public shares/exports, still dolphin displays them on the places panel. Its quite annoying considering people switch on/off their computers all the time. ^^ Actually most of the computers have no public shares/exports, still dolphin displays them on the places panel. Its quite annoying considering people switch on/off their computers all the time. Damn, this commenting system sux. (In reply to comment #15) > Interesting... shows that quite a lot of people export stuff on your network > without even knowing it seems. :-) > > Anyway, that's an interesting usability type of issue, the fact that upnp is > shown there is *very* handy on a real home network. I've no solution for it yet > in your case though, I'll have to think about it. Even if they don't have any shares, you can still see all of the hosts on the network just when they open up their computer :( Except that, in large LAN's you get random crashes when someone logs in or out... At least an option to disable this feature would be very handy! Hm, ok, if they're just UPnP enabled servers without any shares then it's a bug in the libsolid UPnP backend which reports devices with the StorageAccess interface too aggressively. Reassigning at the right place then. (In reply to comment #22) > Hm, ok, if they're just UPnP enabled servers without any shares then it's a bug > in the libsolid UPnP backend which reports devices with the StorageAccess > interface too aggressively. > > Reassigning at the right place then. Bug https://bugs.kde.org/show_bug.cgi?id=259472 is in the right place for a long time. But there was no any reaction from backend's developer, despite the fact that the bug is very serious. I disabled upnp connections through iptables and happy now. But if this bug will not fixed before release, it will make sad a lot of kde users. Yes, I'm sad ! It's absolutely horrible for anyone on a shared network e.g. at university. I have literally hundreds of useless entries (clicking on them does nothing, as nothing is actually shared by these computers) in dolphin, every single file dialog, amarok ... I suffer from the same problem leading to an unresponsive Dolphin after start. When starting Dolphin from the command line, it outputs multiple “UPnP device entered: "uuid:…"” messages and fills the “Devices” list with network shares. I see no way to disable this behavior. I am using libsolid4 4:4.9.5-0r1 and dolphin 4:4.9.5-0r1 on Debian GNU/Linux unstable amd64 with experimental-snapshots packages from http://qt-kde.debian.net/. HUPNP backend has been disabled, and set as unmaintained |