Monday, April 21, 2014

KDE Upgrade 4.13 came up with baloo indexer and there is no button to turn it off. 

KDE Upgrade 4.13 came up with baloo indexer and there is no button to turn it off.

So here are some ideas

I decided for First method

1. Legal way to block searcher
Go to KDE System Settings > Desktop Search > click plus sign and add your home to excluded folders.

You need to log out or reboot or run the script below  to stop the current indexer!

2. More intrusive version create kill script to run at KDE start-up
vi BalooStop.sh 

#!/bin/bash
killall -9 baloo_file_cleaner
killall -9 baloo_file
killall -9 baloo_file_extr
#rm -rf ~/.local/share/baloo/*

chmod +x BalooStop.sh 
./BalooStop.sh 

3. More hakish way create symlinks to /bin/true

mv /usr/bin/baloo_file_extractor /usr/bin/baloo_file_extractor.orig; ln -s /bin/true /usr/bin/baloo_file_extractor

mv /usr/bin/baloo_file_cleaner /usr/bin/baloo_file_cleaner.orig; ln -s /bin/true /usr/bin/baloo_file_cleaner

Wednesday, April 9, 2014

The heartbleed bug was introduced in OpenSSL 1.0.1 and is present in

1.0.1
1.0.1a
1.0.1b
1.0.1c
1.0.1d
1.0.1e
1.0.1f

The bug is NOT PRESENT in 1.0.1g, 1.0.0 and 0.9.8 branch of OpenSSL.

Check Arch Linux 

pacman -Q openssl
local/openssl 1.0.1.f-1    

If you see any version above you need to patch Arclinux

pacman -Sy ; pacman -S openssl ;

Check rpm based systems Centos/RedHat/Oracle Linux

rpm -qa |grep openssl
openssl-1.0.0

If you see any version above you need to patch OS

yum update openssl
Apache upgrade 2.2 to 2.4

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  You need to recompile PHP.

In your httpd.conf find the line that loads the event MPM:

LoadModule mpm_event_module modules/mod_mpm_event.so

Replace it with one that loads the prefork MPM:

LoadModule mpm_prefork_module modules/mod_mpm_prefork.so

Of course you still need to load the PHP5 module (libphp5.so) and the corresponding config file somewhere.