Just a quick one today. It seems to be a recurring problem for me that every once in a while I want to go into Amavisd-new’s quarantine and look for false positives (not that there should be any if it’s setup right). There are a number or graphical ways of doing this but most of them aren’t available in the Ubuntu repositories. The 2 that I could find are Horde-sam and Webmin’s Clamav module (which I have used before and is pretty easy to use if you are command-line averse). I didn’t want to add another service in order to keep resource usage as low as possible so I set about finding a way to check each email from the command line. So firstly to cycle through every quarantined email use the following command in the quarantine directory (normally /var/lib/amavis/virusmails in Ubuntu):-
Today I’m going to write about a couple of major gotchas with LXC. Now these issues are documented in various places but I wanted to put all the relevant information together in one place to make it easier for people.
Before going any further it’s important to note that I created my LXC container with the official Ubuntu template from the latest “stable” LXC release i.e. I downloaded the tarball and put the template in the correct place as Ubuntu 10.04′s LXC package doesn’t contain said template. This helps minimise all sorts of problems especially ones related to the LXC console crashing and the like.
Firstly you will find when running “apt-get upgrade” (if you have Lucid updates enabled in /etc/apt/sources.list) that you get this error on upgrading udev:-
mknod: `/lib/udev/devices/ppp': Operation not permitted
I read an article recently that suggested using a saucepan as a mobile broadband booster and it peeked my interest enough to give it a try. In case I needed to use my Novatel X950D express card with another machine I had already purchased a Novatel XUA-1 USB to Express Card 36 adapter. This, therefore, gave me a way of placing the modem in the middle of a saucepan, which would be nigh on impossible were the modem in it’s rightful express card slot in the laptop.
Unfortunately, however, due to a production issue at the plant my XUA-1 came wired as “bus powered”, which effectively means it tells the operating system it only has 100ma of power available even though that isn’t true. Subsequently the OS – be it Windows or Linux – won’t then allow the X950D to work in conjunction with the XUA-1.