Showing posts with label spyware. Show all posts
Showing posts with label spyware. Show all posts

Sunday, June 3, 2012

Zeitgeist Spyware Framework Installed by Default in Linux Mint 13

I thought I would take a moment to pull together information on the Zeitgeist monitoring system which has become a part of Gnome and is inexplicably included within Linux Mint. First, Zeitgeist is not itself spyware, but it collects much information about a user that would be one-stop shopping for any spyware that finds its way onto a system. It provides no discernible benefit, and is dangerous to keep around, so get rid of it. More information:
  1. My take on what Zeitgeist is.
  2. Zeitgeist was dropped as a component for Gnome 2.32 but the Ubuntu folks decided life wouldn't be complete without a spyware framework.
  3. Removing Zeitgeist.

An Even Nicer Little Improvement in Linux Mint 13

Mint 13, as is common in the Ubuntu world, includes a framework for spyware called zeitgeist. In the past it was challenging to remove since apt would then try to remove the entire gnome environment. So my reaction was to disable it to the extent possible, but it's still dangerous to have this stuff on the system. However, on a Mint 13/Mate system dumping zeitgeist is easy:

  sudo apt-get remove zeitgeist zeitgeist-core zeitgeist-datahub

Yippee!

This is a followup to Nice Little Improvement in Linux Mint 13.

Thursday, December 29, 2011

Zeitgeist, Linux Spyware, the Last Word (for now)

To disable zeitgeist since it's hard to remove without damaging other system components, follow these steps (I've done these things but will take a few days to convince myself the monitoring has stopped and nothing else broke):

First kill any zeitgeist process that's running (ps -ef | grep zeitg should display any instances).

Then, from SilverWav:

# Delete previous logging.
rm ~/.local/share/zeitgeist/activity.sqlite

# Render Zeitgeist illiterate - cannot read or write
chmod -rw ~/.local/share/zeitgeist/activity.sqlite*

SilverWav also recommends running zeitgeist-daemon --replace, but I do not, since I just killed the damned thing. Note that SilverWav is talking about neutering zeitgeist on Ubuntu 11.10, so this hasn't infected Mint alone. One thing I did differently than SilverWav was to just delete the contents of activity.sqlite rather than deleting the file itself. 

The second order of business is to take zeitgeist out of the startup list. The startup seems messed up in Lint 12, since the startup list is pretty much empty (this is probably so neophytes won't disable things they need). Look at "Startup Applications" on the "Other" menu, which is a weird place to put it IMHO. To make the automatically started applications visible on the startup list, follow this suggestion from the Mint 12 Tips & Tricks Guide at linuxmint.com:

sudo sed -i 's/NoDisplay=true/NoDisplay=false/g' /etc/xdg/autostart/*.desktop

It might be worth having a look in that directory periodically for new applications or updates that surreptitiously add themselves to startup. Now the startup list should be fully-populated and you can get an idea of exactly how bloated Linux Mint 12 is. On my startup list, the last application was Zeitgeist Datahub. Uncheck the box next to it.

Package rhythmbox-plugins

It turns out that after removing rhythmbox-plugins, I lost keyboard control of play/pause. This is an inconvenience, so I looked into it a bit more. It appears the package contains:


- Cover art
 - Audio CD Player
 - Last.fm
 - Context Panel
 - DAAP Music Sharing
 - FM Radio
 - Portable Players
 - IM Status
 - Portable Players - iPod
 - Internet Radio
 - Jamendo
 - Song Lyrics
 - Magnatune Store
 - Media Player Keys
 - Portable Players - MTP
 - Power Manager
 - Python Console
 - LIRC
 - Status Icon
 - Visualization
 - Browser plugin to integrate Rhythmbox with itunes

In other words, it contains nothing important except "Media Player Keys". I attempted to re-install, and got this:

29:/home/bup> sudo apt-get install rhythmbox-plugins
[sudo] password for jdm: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  gir1.2-rb-3.0 libdmapsharing-3.0-2 python-mako python-markupsafe
  zeitgeist-core
Suggested packages:
  python-beaker python-mako-doc zeitgeist-datahub
The following NEW packages will be installed:
  gir1.2-rb-3.0 libdmapsharing-3.0-2 python-mako python-markupsafe
  rhythmbox-plugins zeitgeist-core
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 264 kB/725 kB of archives.
After this operation, 4051 kB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.

Why do I need zeitgeist to use the keyboard to control my audio player?

Zeitgeist: Spyware Delivered with Linux Mint12?

This afternoon I noticed something called zeitgeist in my top display, and was curious about what it is. I fired up the software manager, did a search for zeitgeist, and found this:

Zeitgeist is a service which logs the user's activities and events
(files opened, websites visited, conversations held with other people,
etc.) and makes the relevant information available to other
applications.


It serves as a comprehensive activity log and also makes it possible to
determine relationships between items based on usage patterns.


This metapackage depends on the Zeitgeist engine and a set of packages
(such as data providers) commonly used together with it.


http://zeitgeist-project.com/

In other words, spyware, or at least a framework to make life
comfortable for spyware. I visited the web site, and nothing there
seemed to suggest the contrary. So,

apt-get remove zeitgeist libzeitgeist-1.0.1 zeitgeist-extension-fts zeitgeist-core zeitgeist-datahub

Apt also wanted to remove rhythmbox-plugins and a couple other bogus
things. I decided to go ahead and try life without rhythmbox-plugins,
assuming I can reinstall later if need be. It's a little creepy to think
someone, or even just something in my system, was tracking the music I
play and the podcasts I download.