Linux

Remove duplicate packages when querying the rpm database

Today I had to solve a RPM problem on a Red Hat Enterprise Linux WS release 4 (Nahant Update 6) system (RHEL4) where there were duplicate packages when querying the rpm database. This had happened after an upgrade to update 6 using up2date from the command line. It seemed like i386 and x64 packages had […]

Read More
Linux

Enabling Remote Access to the Installation System

You may access either graphical or text interfaces for the Redhat installation system from any other system. Access to a text mode display requires telnet, which is installed by default on Fedora systems. To remotely access the graphical display of an installation system, use client software that supports the VNC (Virtual Network Computing) display protocol. […]

Read More
Linux

Courier-IMAP to Dovecot Migration Script

I’ve just migrated a couple of servers from Courier-IMAP to Dovecot, and am very happy with the latter so far. I thought I’d share the courier2dovecot shell script I whipped together (based on the instructions I found in the migration how-to), for converting Courier-IMAP maildirs to Dovecot format. While the script is rather simple, it […]

Read More
Linux

rpm and yum stop working on Fedora Core 5

yum and rpm stop doing their magic because of corrupt files etc and no updates can be performed on the system. A simple, but maybe not recommended solution is to delete the files located in /var/lib/rpm -rw-r–r– 1 root root 0 Jan 22 10:10 __db.000 -rw-r–r– 1 root root 24576 Jan 19 17:12 __db.001 -rw-r–r– […]

Read More
Linux

How do I turn enforcing SELinux on/off at boot?

You can specify the SELinux mode using the configuration file /etc/sysconfig/selinux. # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing – SELinux security policy is enforced. # permissive – SELinux prints warnings instead of enforcing. # disabled – No SELinux policy is […]

Read More