Tricks for using Googlemail at work
For these who similarily suffer from having to use Googlemail at work. If anyone else has more of these, please do share. Deactivate the spamfilter The site admins can do that. Otherwise, you will have...
View ArticleI have to give you that one
After seeing what the Wildfly (formerly JBoss AS) and Liferay combo does to /tmp, and somewhat attempting to fix it, I saw JVM_TMP in the Debian tomcat7 init script and thought, oh no, not another one....
View Articletomcat7 log encoding
TIL: the encoding of the catalina.out file is dependent on the system locale, using standard Debian wheezy tomcat7 package. Fix for ‘?’ instead of umlauts in it: cat >>/etc/default/tomcat7...
View Articletomcat7 init script is asynchronous
TIL: the init script of tomcat7 in Debian is asynchronous. For some piece of software, our rollout (install and upgrade) process works like this: service tomcat7 stop rm -rf...
View ArticleJava™, logging and the locale
A coworker and I debugged a fascinating problem today. They had a tomcat7 installation with a couple of webapps, and one of the bundled libraries was logging in German. Everything else was logging in...
View ArticleDebian/m68k hacking weekend cleanup
OK, time to clean up ↳ tarent so people can work again tomorrow. Not much to clean though (the participants were nice and cleaned up after themselves ☺), so it’s mostly putting stuff back to where it...
View ArticleDebian/m68k hacking weekend commencing soonish
As I said, I did not certain events that begun with “lea” and end with “ing” prevent me from organising a Debian/m68k hack weekend. Well, that weekend is now. I’m too unorganised, and I spent too much...
View ArticleTip of the day: prevent iceweasel from mkdir ~/Desktop
If you’re a Unix person instead of e.g. a Microsoft® Windows® person, you’ve probably been annoyed by Iceweasel (or Mozilla™ Firefox®) creating a ~/Desktop directory, among others (things like...
View ArticleTip of the day: don’t use –purge when cross-grading
A surprise to see my box booting up with the default GRUB 2.x menu, followed by “cannot find a working init”. What happened? Well, grub:i386 and grub:x32 are distinct packages, so APT helpfully decided...
View ArticleValid UTF-8 but invalid XML
Another PSA: something surprising about XML. As you might all know, XML must be valid UTF-8 (or UTF-16 (or another encoding supported by the parser, but one which yields valid Unicode codepoints when...
View ArticleTip of the day: bind tomcat7 to loopback i/f only
We already edit /etc/tomcat7/server.xml after installing the tomcat7 Debian package, to get it to talk AJP instead of HTTP (so we can use libapache2-mod-jk to put it behind an Apache 2 httpd, which...
View ArticlePSA: #shellshock still unfixed except in Debian unstable, testing, *buntu LTS
I just installed, for work, Hanno Böck’s bashcheck utility on our monitoring system, and watched all¹ systems go blue. ① All but two. One is not executing remote scripts from the monitoring for...
View Articlegit rebasing considered harmful
git rebase is problematic (from a version control system user point of view) because it rewrites history. We all knew that. But did you know that git pull --rebase, commonly used before a git push, can...
View ArticleiCalender and timezones
Okay. I just created three events at tomorrow 10:00 CEST (08:00 UTC), on three different accounts on the very same Debian Lenny machine. All three use nxclient to log into KDE 3, with Kontact/KDEPIM...
View ArticleNicht Hardlink, sondern…?
TANSTA “softlink”. ITYM: symlink(7) Actually, there’s “link” (also “hardlink”) and “symbolic link” (short “symlink”). (Oh, and reparse points, but let’s not get there, lest we mention *.lnk files…)...
View ArticleSSD
Following the Wiki I put “discard” entries into my fstab(5) for swap (but not / as it’s suggested to use fstrim instead, and I had noatime for /boot and relatime for / already) and changed the...
View ArticleSend Alt-SysRq-* to virt-manager guest using virsh
virsh send-key guestname KEY_LEFTALT KEY_SYSRQ KEY_H This doesn’t work in virt-manager, but the virsh CLI tool is just fine. PS: zerofree rocks! And can be installed in Grml 2011.05 just finely.
View ArticleFun with ssh pubkey auth
Okay, so imagine this: you just generated an SSH RSA key and threw its public part on system B into ~foo/.ssh/authorized_keys and its private part on system A into ~bar/.ssh/id_rsa but can’t login....
View ArticleHow to find out when to a git repository was last committed?
git log -n 1 --all --full-history --pretty=format:'%cD' This should™ scan all branches, take the chronologically last commit and output its committer date. Still doesn’t take into account...
View ArticleJenkins und die APT-Repositories Ⅱ
As reported earlier we’ve got some kind of Jenkins/APT integration, with automatically generating as many repositories as a job desires. News are that the builds host has moved, so the URIs to the...
View Article