05 August 2010
By klavs
Aptitude has an annoying bug, which will probably never be fixed upstream :( - but aptitude is the only tool that supports downgrading of package versions (with correct --force options) none-interactively (as done by f.ex. puppet).
If you want to install a package in a specific version (f.ex. for releasing site code in a specific version) - like this:
04 August 2010
By klavs
A neat script I pieced together - to send many commands (f.ex. deletion of objects etc.) to a box (using ssh) - input from a file (remember to atleast use a proper random name for the file etc. :)
16 June 2010
By klavs
I just hit a grave bug, while performance testing a customers drupal site - the apache segfaulted each and every time, after a few 100 requests at the most. The setup had long been plagued by random segmentation faults / complaints about canary problems from suhosin, which wasn't reproducible (or we hadn't spent the time to try), but this time it died consistently.
20 May 2010
By klavs
Ever since I redid Linuxpusher.dk (as it were - not it's .com) in oscommerce, I've sorely missed some CMS functionality and I only switched because the shop part of the CMS systems I had found were sorely lacking in this, primary part.
I finally found a system that, while not perfect, was good enough to be a considerable improvement to the functionality of the linuxpusher.com site, and also I finally found the time to do it.
Among the new features are:
13 April 2010
By klavs
I've been working on creating a new website for my webshop www.linuxpusher.com, using Drupal 6, Ubercart D2 and 100+ modules (the drupal way :)
I've fixed several bugs in modules along the way (and ofcourse sent fixes upstream - even got to be co-maintainer of a module, so that I could release a new version with my fixes, and have added other fixes as I needed them :) and especially working with uc_discounts_alt have exposed me to an issue the current taxes support cannot handle.
25 February 2010
By klavs
I finally got some time to start working on a new homepage for linuxpusher.com and choose to use Drupal and Ubercart (among two shop-modules for drupal) for this job.
I need to be able to sell items without VAT to none-EU citizens, and the builtin taxes support didn't handle this, and the uc_vat module that improves upon the built-in support, didn't do the job either.
I have just fixed the code, with some tips from the author of uc_vat (longwave) so we were sure as how it should be done, so I hope he'll accept my code as an improvement for uc_vat.
17 December 2009
By klavs
Since the arrival og dvb-t in Denmark, I've been playing with mythtv - with mythbackend on my qnap ts-119 (1200mhz, 512mb ram - installed debian on it), inspired by Andreas Back Aaen running mythbackend on a 400mhz Buffalo linkstation.
Unfortunately I decided to go with v0.22 (the latest), and it seems it has several issues with the dvb-t signals in this region :(
10 December 2009
By klavs
I found a check on monitoringexchange which checked for log entries in the IML (with the insight manager installed and snmp enabled), but it didn't check for the actual state of the log entry - so you got warnings on everything - even lines which had been marked as repaired or which were only informational - and it only went in to CRITICAL - if the text contained the text "Error".
I found this rather defective so I rewrote the script, after I found the correct oid's to look in.
06 November 2009
By klavs
Dell's OpenManage is a pain to install manually. Luckily
someone provides deb files, but even when using them, there's a lot of
"details" - also some depending on if you're using 64bit arch or not.
I decided to write a module to automaticly install of the the OMSA software on Debian Lenny (should work on Ubuntu - and could easily be extended to CentOS and others). I choose to include a few pam-files from 32bit Lenny - as there's no 32bit package for 64bit arch's and omsa needs them to auth you against pam.
16 July 2009
By klavs
I've been using puppet for a while now, and have had to, grudgingly, add an if $hostname == "somehostname" several places in modules and in my general templates.pp.
Until now I could find no other option to properly control things, without having to have a subclass for each special case - which is too much in some situations.
I was recently informed about extlookup (from Volcane (ircname) - the author) - a one-stop solution to removing all those annoying dependencies on specific hostnames.
http://nephilim.ml.org/~rip/puppet/extlookup.rb
Recent comments
2 weeks 6 days ago
4 weeks 23 hours ago
12 weeks 2 hours ago
15 weeks 4 days ago
15 weeks 5 days ago
29 weeks 3 days ago
29 weeks 4 days ago
31 weeks 2 days ago
33 weeks 3 days ago
38 weeks 2 days ago