Main menu

SLES

19 Aug

cron.daily on SLES

Published by stintel

Have you ever noticed that if you put cron jobs in /etc/cron.daily on a SLES machine, they seem to run at random times? I noticed it a few times, and I find it to be really annoying. Say, I rebooted a machine yesterday around 14:00, and today at 14:15, the machine starts rebuilding the man db, backing up the rpm db, cleaning /tmp, rotating logs, etc. Huh?! Looks like a bad idea to do such things when the system is currently in use by multiple people. Imagine that you put a database backup in there, and that backup locks your database...

Well, this actually is a feature. If you read /etc/sysconfig/cron, you'll find this piece of text:

# At which time cron.daily should start. Default is 15 minutes after booting
# the system. Example setting would be "14:00".

Topics 

Linux

Tags 

Linux, SLES
28 Jun

Enable backspace in vim on SLES

Published by stintel

In case you're annoyed by the fact that backspace doesn't work by default in vim on SLES, add this to /etc/vimrc or ~/.vimrc:


set backspace=indent,eol,start

Topics 

Linux

Tags 

Linux, SLES
20 Feb

SLES10 and Xvfb

Published by stintel

Recently I needed to run an application that needs X on a server running SLES10. Because it wasn't necessary to have the application output anything on a screen, the X virtual framebuffer was sufficient to accomplish this. You can easily install the X virtual framebuffer, which comes with the xvfb package in SLES10.
yast -i xorg-x11-Xvfb xorg-x11

Installing the xvfb package is sufficient to start the X virtual framebuffer server, but the application I needed to run also needed some fonts. So, I installed some extra packages as well with yast.
yast -i xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-fonts-scalable bitstream-vera fonts-config

Topics 

Linux

Tags 

Linux, SLES
13 Feb

SLES10 and pure-uploadscript

Published by stintel

Today I needed to enable the pure-uploadscript functionality in pure-ftpd on a SLES 10 server. According to the spec file, the pure-ftpd RPM has been built with the --enable-uploadscript option, so no need to start rebuilding anything.

Topics 

Linux

Tags 

Linux, SLES