SElinux and Proliant Support Pack (PSP) on RHEL or Centos 5

January 4th, 2010

I’ve been getting these annoying messages in the audit log, /var/log/audit/audit.log after installing the Proliant Support Pack on RHEL5.
type=AVC msg=audit(1262639482.789:2027381): avc:  denied  { read write } for  pid=18916 comm=”ethtool” path=”/dev/hpilo/d0ccb5″ dev=tmpfs ino=6784 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:object_r:device_t:s0 tclass=chr_file
type=AVC msg=audit(1262639482.789:2027381): avc:  denied  { read write } for  pid=18916 comm=”ethtool” path=”socket:[22602]” dev=sockfs ino=22602 scontext=system_u:system_r:ifconfig_t:s0 tcontext=system_u:system_r:initrc_t:s0 tclass=netlink_route_socket
I don’t know what this [...]

RocketRaid on Red Hat / CentOS 5

November 23rd, 2009

Been dabbling with getting RocketRaid 1740 to work on Centos 5. It was not as easy as I had hoped but below you can view the steps needed for the implmentation.
HighPoint RocketRaid 1740 is only supported on Red Hat / CentOS 5.2 so you have to install it first.
Download the driver from http://highpoint-tech.com/USA/bios_rr1740.htm
You can download [...]

Making Oracle work with SELinux on Red Hat Enterprise Linux 5

December 23rd, 2008

I wanted to put up for easy reference, how to setup the Oracle Instant Client packages on a SELinux enabled Red Hat Enterprise Linux 5 machine, the documentation was created on a x86_64 machine but should work on the 32 bit version as well.
Install packages:
oracle-instantclient11.1-basic-11.1.0.7.0-1.x86_64.rpm
oracle-instantclient11.1-devel-11.1.0.7.0-1.x86_64.rpm
oracle-instantclient11.1-sqlplus-11.1.0.7.0-1.x86_64.rpm
Put the relevant libraries into the textrel_shlib_t context:
semanage fcontext -a -t [...]

Fedora 10, a real treat

December 1st, 2008

Installed Fedora 10 a couple of days ago and I must say I’m very pleasantly surprised. Install went smoothly as ever and getting everything up and running was pretty much painless. Here’s pretty much what I needed to do to get it working on my HP nw9440 laptop:

Installed from the DVD install media
Setup RPMFusion – [...]

VMware Server 2.0 and Fedora 9 or Fedora 10

September 28th, 2008

*Update* This also affects Fedora 10
Just ran into quite a bit of trouble trying to get VMware Server 2.0 to run on Fedora 9. After quite a bit of digging I found that vmware-hostd calls PAM and unix_chkpwd seems to cause a problem in hostd. The error message from the VMware Management Web:
The server is [...]

Update to AsteriskJA because of changes of CallerID Lookup Sources

September 3rd, 2008

There was a change in recent module for FreePBX where the lookup source uri could not contain cid=${CALLERID(num)}. The fix for that is to change it to cid=[NUMBER].
See the AsteriskJA page.

Automaticly blacklisting password attempts

August 19th, 2008

I’ve tried quite a few methods to block password guessers from guessing passwords on machines that have open SSH, POP, IMAP… What I usually used was iptables and the recent module “iptables -m recent –help” if you are interested in that. The main problem with the iptables approach is it blocks a number of new [...]

New version of tv_grab_is for Icelandic program listings

June 11th, 2008

I just finished updating my tv_grab_is script to use the xml interfaces which every Icelandic broadcasting company has.

Just Do IT!

June 5th, 2008

Just discovered one of the most usefull apps I have come upon in a long time, Gnome DO!
This program makes programs and actions in them really easy. I have for instance installed the pidgin plugin for it, I hit “Windows button (super) – Space”, type the first few letters in a contacts email and voila, [...]

Gnucash scripts for kaupþing and landsbanki

May 19th, 2008

Just re-added my gnucash scripts for importing data from Kaupþing XML transaction data and Landsbanki kredit card statements. Find them at /gnucash