Thanks to Patrick‘s mail I finally fixed a SQL injection security bug in our mirror status page. I was actually able to create and drop tables, but it seems nobody looks much at that page because it is at least online for two years and it has never been compromised (as far as we know). The php code was actually fixed with Gunnar‘s help.

After trying out different new Fedora 7 kernels (which led to a few crashes and downtime) we switched to a CentOS kernel: 2.6.18-8.1.8.el5

On of our volumes (/ftp/pub/.2) was since 6 in the morning not available due to changes in the server room. Before going back online it needed unfortunately a fsck which took quite some time. But now we are fully operational again.

As I wanted to make a new kover release I thought I could try to move my code to git. The first step was to copy the code from cvs to a local git repository:

  • git-cvsimport -i -v -d :pserver:adrian@cvs:/cvs/kover -C kover.git kover

I was a bit surprised that the newly created directory kover.git was empty except for a .git directory. Without much knowing what I was doing I typed git-checkout and it listed all available files but my directory was still empty. So I tried git-checkout .. This time there was no output but all my files were now in my directory so that I could start doing changes.
Committing, adding and removing files is easy and works just like expected (git-commit, git-add, git-rm). The steps to publish the git repository, however, were not as easy. The following commands were necessary to make it work for me:

  • git clone –bare . git

  • touch git/git-daemon-export-ok

  • cd git/

  • git –bare update-server-info

  • chmod a+x hooks/post-update

or with newer versions of git the following mv instead of the chmod

  • mv hooks/post-update.sample hooks/post-update

  • cd ..

  • rsync -avP -e “ssh” git/ lisas.de:/var/www/html/kover/git

From this point on it was now possible to access the repository through http with git clone http://lisas.de/kover/git. To push my changes to the repository on the server I use git-push lisas.de:/var/www/html/kover/git master. It was necessary to install git-core on the server so that git-pushwould work without errors. To pull changes from the online repository I use git-pull http://lisas.de/kover/git master.

There is probably no real reason to use git because up until now kover was mainly developed by me and it will therefore not profit from the distributed features which are the main advantages from git but I wanted to play with the same toys as all the cool kids ;-).

After a backup of all our FTP data the RAID will be deleted and a new filesystem will be created. We are going through all this effort because the fragmentation on our RAID has become so bad that the performance suffers immensely. As soon as the new filesystem is ready we will start the restore process to get all our data back.

Stopped mirroring download.fedoralegacy.org as the project has stopped providing any new updates. The data will stay available on this mirror.

Two filesystem related crashed since we moved to the new hardware. It seems like the x86_64 port of Linux is not as well tested as the i386 port. We are thinking about moving to i386 again which would be unfortunate but if it is necessary we will do it. Right now we are still watching how the system behaves.

Changed the Mandriva mirror script to be two scripts: one that mirrors the official tree and the other mirrors the devel tree. The Mandriva mirror has become very big and until now the script normally never finished before the next instance was started.

Downtime today was a bit longer than expected. But we finally made some long outstanding changes. We are now using grub instead of lilo and with this change we enabled the serial console in the BIOS. So we now have the possibility to control the output from power-on until the OS is running. We also finally enabled the bonding of the two network cards we have so that we are now able to have an maximum output of 2GBit/s.

After a reboot the /ftp partition was not mounted anymore. According to dmesg: qla2300 0000:03:05.0: Cable is unplugged.... This should be fixed pretty soon.

Yesterday a router has been replaced which caused an outage of about 30 minutes. The good thing about this outage was that the shaping of our bandwidth usage has been removed and it immediately jumped to over 150 Mbit/s. So now were back in the real business.