Postings by John Horne

DNS bind - use of /etc/named directory


For many years we have modified the '/etc/named.conf' file to include local
settings. The disadvantage with this is of course that when bind is updated, it
creates an '/etc/named.conf.rpmnew' file. We then have to determine what is
new, and apply the relevant changes to our modified named.conf file.

There is, however, an '/etc/named' directory which I assumed was for local
configuration settings.

CentOS 7 - not using latest installed kernel


I have just installed CentOS 7 onto two servers and applied all the
current patches.

Keepalived - spurious failovers


We are using CentOS 6.6 and keepalived 1.2.13 on two servers for
failover, no load-balancing. Failover is governed by the NIC being
present, and the Apache and Tomcat processes being present. Both servers
are configured as 'EQUAL' (not master/backup). An initial priority of
100 is set, and if a process or NIC fails, then this is reduced by 60 -
causing a lower priority to be seen and failover to take place.
Generally this works well.

MySQL - replication - how to restore master?


We have MySQL running as a master which is replicating to a single slave
server. We are, however, considering what is required when a 'disaster'
of some sort happens to either server. By disaster, this could be some
event which requires the entire server to be rebuilt, and which would
usually include restoring from nightly backups directories such as
'/var/lib/mysql' and '/var/log/mysql' (as set in our my.cnf file). It
could also refer to an event which only affects the mysql service, but
requires us to stop the mysql master service.

CentOS 6.3 - KDE login screen configuration problems


We generally use CentOS for some servers, and so do not use a GUI
interface. However, I have recently installed CentOS 6.3 onto a PC with

Perl - not found


I installed the ClamAV package onto a CentOS 6.3 server using yum. I
then modified the /etc/freshclam.conf file to run a perl script whenever
the ClamAV databases were updated:

OnUpdateExecute /usr/local/bin/xymon_event ...

The 'xymon_event' command is used on several servers, and generally
works with no problems.

snmpd not working well with selinux?


I am trying to use SNMP on a CentOS 6.2 server, and am using the
'pass_persist' configuration command:

pass_persist . /usr/local/sbin/snmp-iostat

I have set the file context of 'snmpd_exec_t' on the snmp-iostat

If I disable SELinux, then it all works fine (that is, I can then
snmpget/snmpwalk for OIDs in the configured pass_persist OID, and values
are returned). If I enable SELinux and start the snmpd daemon, as root,
from the command line, then again it all works fine.

Re: F13: screensaver problem after upgrade from F12

Yes, maybe. It has happened twice now for me. The first time I assumed I
did something like tell the PC to logout rather than 'lock'. However, it
happened again a few minutes ago. I had a task running, and left my PC
to talk to someone else. I noticed when the screensaver kicked in, but
didn't look at my PC after that. A few mins later I came back and it had
logged out. I was left at the login screen.

I have been able to lock and unlock the screensaver without a problem.
No blank screen. I do not see anything in any of the log files.

I am using the KDE 4D Hypertorus screensaver.


F13: Evolution icons - configurable?


I recently upgraded to Fedora 13, and am finding the evolution mail
client icons a bit awkward. I use KDE for the desktop. I found this
image on the 'net of basically what it use to look like:
<a href="" title=""></a>

Personally I preferred the old icons, is there any way re-install them?

If not, then:

1) I used to have both icons and text on the taskbar (as in the
picture). Now I only have the icons. Anyway I can get both back again?

2) The icons are a bit small.

Virt-manager unable to access VM's.


Using F11, I have created, and used, 3 virtual machines. However, now
when I start the virtual machine manager (VMM) it only shows 'localhost'
as being active and nothing else. Previously it showed the 3 VM's, and
whether they were started up or shutdown, etc.

If I click on the localhost and ask for the 'details' and then
'Storage', it shows the 3 VM's and in the correct storage pool. The
state of the pool is active, and autostart on boot is ticked.

So the problem seems to be that the 3 VM's are present but that the VMM
is now not seeing them (having previously worked fine).

Awardbios virtualisation setting


I have been playing with KVM virtualisation under F11, and it has all
worked fine.

However, I am having a lot of trouble getting the 'Virtualisation'
setting to 'stick' in the BIOS. It seems that by default it is disabled.
If I enable it and then save the setting, the PC goes through a reboot,
but not power-off, and the setting is disabled again. IF I enable the
setting, save it, and then power off the PC, and then power-on/reboot,
it seems to work fine (virtualisation is enabled) until the next time I
reboot the PC.

Re: Worried about having been hacked

The message means that some part of the system - libraries probably -
have been changed and hence the prelinking of commands (passwd,
chkconfig etc) now requires to be redone. Hence you get the warning
message, and an advisory to run the 'prelink' command.

Your system will, at some time, automatically prelink the relevant
commands/libraries, but if you want to avoid the rkhunter warnings until
then, then run the suggested prelink commands.

Run the shown prelink comands and then run:

rkhunter --enable properties

The warnings should have gone.


Verifying inode number using rpm and ls

[Apologies for cross-posting from the opensuse list]


I was wondering if someone could tell me why there is a difference in
the reported inode number of a file from the 'ls' command, and from the
'rpm' command.

F9 KDE4 running ssh-add at login


I am running Fedora 9, with KDE4, and am trying to get ssh-add to prompt
me for my passphrase when KDE starts up. Actually it does prompt me, but
the problem seems to be that it never remembers the passphrase. I always
have to manually run 'ssh-add' from the command-line, and then enter the

I see that others have had a similar problem (and not just Fedora
users), but none of the solutions work.

F8 - latest kernel install gives grub error


I have just tried upgrading my Fedora 8 (64-bit) PC, and it generally
went okay. However, the installation of the kernel - which I did
separately from the rest of the packages - gives an error and doesn't
update the grub.conf file. The error is quite long, so I'll just show
the top and bottom parts of it.