PXE booting inside VirtualBox and KVM virtual machines stopwatched (1/2)

During the past days at FOSDEM, I wanted to do some work on automatic OS installs via PXE servers. Therefore, I set up a virtual machine in VirtualBox and enabled network booting. VirtualBox has a sparely documented DHCP/TFTP server built-in when you set up the network adapter in NAT mode, but for all what it’s… Continue reading PXE booting inside VirtualBox and KVM virtual machines stopwatched (1/2)

Evolution of a mailsystem: exposing Sieve in a user-friendly way

Switching to Dovecot as IMAP server I re-evaluate the possibility of exposing centralized, server-side mail server actions, such as sorting mails into folders, sending Vacation messages etc., to the user in a user-friendly, integrated way. There already was a plugin for the Squirrelmail web mail interface, called Axelsieve. Axelsieve actually exposes Sieve in a quite… Continue reading Evolution of a mailsystem: exposing Sieve in a user-friendly way

Best practices: PXE-Installserver

There are many ways to set up a PXE-Installserver, but if you give it a bit of thought you can come up with some quite nifty ideas. So without further ado here is a description of my setup.

python-agentx: Add signal handlers for INT and TERM

And another patch for python-agentx: this one adds signal handlers for signals INT and TERM. This is necessary because python-agentx implements the main loop for your agent, anyway. Then it should also deal with termination handling when the agent either runs in foreground, ie. not daemonized, and CTRL-C is used to interrupt the main loop,… Continue reading python-agentx: Add signal handlers for INT and TERM

python-agentx: Registering variables repeatedly

All good things come in threes… consider the following code snippet that uses python-agentx: axd.RegisterVar(“a”, 0) axd.RegisterVar(“b”, 1) snmpwalk will show both a and b correctly. Now consider the following code: axd.RegisterVar(“a”, 0) axd.RegisterVar(“b”, 1) axd.RegisterVar(“a”, 2) snmpwalk will show a only. Which is a bug. Why?