Can't stop/remove baloo

Bug #1295323 reported by hyper_ch on 2014-03-20
88
This bug affects 18 people
Affects Status Importance Assigned to Milestone
baloo (Ubuntu)
Undecided
Unassigned
kde-baseapps (Ubuntu)
Undecided
Unassigned

Bug Description

I use Kubuntu 14.04 and with todays updates I suddenly got Baloo indexer. However I can't remove it as it also wants to remove Dolphin and other stuff. IMHO that's bad because Dolphin shouldn't be dependant on a file indexer.

Furthermore I didn't find a way in the Baloo gui to disable it - this is also bad design IMHO as not everybody wishes to index their files.

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1295323/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → kde-baseapps (Ubuntu)
Harald Sitter (apachelogger) wrote :

Press CTRL+F in dolphin, that's why it depends on baloo.

Changed in kde-baseapps (Ubuntu):
status: New → Invalid

Still, there's a second problem: How to deactivate/disable baloo?

Control -> Configure in Dolphin doesn't show a way to disable it. Neither does the KDE systemsettings have an entry.

According to https://bbs.archlinux.org/viewtopic.php?pid=1391494 there are two ways of disabling baloo:

1) Add your home folder to the list of not indexed folders in the Desktop Search KCM (System Settings -> Desktop Search)

2)
$ cp /usr/share/autostart/baloo_file.desktop ~/.kde/share/autostart/
$ echo "Hidden=True" >> ~/.kde/share/autostart/baloo_file.desktop

I did not like the first option because the addition of paths is somewhat broken. The second seems to work better - after restart I do not see baloo among running processes.

Either the hard dependencies in tools people need like Dolphin need removing (after all, what is DBus for ?) so people who don't need the ability to tag files (hint, everyone - why was Nepomuk a dead duck ?) can ininstall Baloo, or there needs to be a trivial way to disable it (like with Akondi).

Mark Fraser (launchpad-mfraz) wrote :

I tried using the second method in comment 4, but I still have akonadi_baloo_indexer running and it means that I have to use KMail on its own to read email rather that integrated within Kontact.

Alex (alexzkhr) wrote :

sudo dpkg -r --force-depends baloo

killed it. However it may rise again, if it will happen, I'm going to make fake baloo package with version like 999 and install it.

P.S. Fun is ... even playing 3D games on i7 looks like "idle" and this stupid baloo uses HDD so much...so my mouse pointer is hard to move :/

Alex (alexzkhr) wrote :
  • deb.deb Edit (642 bytes, application/x-debian-package)

Not sure If it's right place to upload packages... but some people may come here from google. So .. when baloo is killed as in post above, dpkg will demand to restore it stopping any updates.

So here is empty deb file which contains only version number 99 - it fixes packages' depends.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in baloo (Ubuntu):
status: New → Confirmed

@NIzamov

Thx... I used the second way and that really seems to work with setting Hidden=True

Sergio Callegari (callegar) wrote :

This looks like a bug with upstream.
Again, kde appears to be pushing an half-finished tool without passing through a phase where only early adopters can try it.

I see the following issues:

1) No discoverable interface to switch the indexer off (adding your home to the exclude file list is less than intuitive)
2) When you add something to the exclude list, the database does not reduce in size. This wastes space and poses privacy issue. You may think that you have deleted something, but it may still live in the database.
3) By default the database seems to be readable by everybody on the system! This is a security hazard. If you have passwords in a file readable only by yourself, other users may be able to read your passwords by snooping into the database.
4) There is no tool to check what is indexed and what is not and to manually remove stuff from the database.
5) There is no nice interface to selectively decide what to index (typically, one may want to exclude home, but for a couple of dirs)

Can this be reported upstream?

Once finished baloo may turn out to be a nice tool. Getting rid of the virtuoso/strigi/nepomuk stuff seems a great idea. Having tags live with files as attributes rather than on a database also seems a good idea. But right now it seems really immature.

Harald Sitter (apachelogger) wrote :

> Can this be reported upstream?

Here you can https://bugs.kde.org/enter_bug.cgi?product=Baloo&format=guided

Tyler Schmidt (tylergschmidt) wrote :

There is an upstream bug to turn Baloo off. https://bugs.kde.org/show_bug.cgi?id=332195 There are other related Baloo bugs related to the IO performance issues. Comment 11 is spot on. I would add 6) (K)ubuntu packages should be built without Baloo as a dependency. I removed Baloo for the reasons listed, and it took Gwenview, Dolphin, Kmail, and others along with it. That's a different bug, however.

Gregor Rebel (gregor-k) wrote :

This will do the job and reclaim lots of hard disc space:

sudo rm -f /usr/share/autostart/baloo_file.desktop
sudo rm -f /usr/bin/*baloo*
sudo find /home/ -maxdepth 1 -mindepth 1 -type d -exec rm -Rfv {}/.local/share/baloo \;
sudo killall -9 akonadi_baloo_indexer

I've disabled baloo here, but I still have a .local/share/baloo/ which takes up 14GB (out of 240GB total). It's strange that Dolphin (also containing Konqueror's filemanaging kparts) is depending on baloo.

I currently use the Kubuntu Team PPAs and in there you can finally remove Ballo and stuff :)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.