Today I installed rdiff-backup to handle my backups. It is an interesting project which can handle incremental backups. It works like rsync over a ssh connection. So you needn't to up/download everything everytime. Furthermore it preserves all information, it is space and bandwidth efficient and you can backup several operating systems with it.
It has got a good documentation and there're step-per-step instructions to set up a "push up" solution.
But I needed a "pull down" solution. It wasn't very hard to set something like this up. But you should be careful with shell=/bin/false.
If you're using LDAP with those options in /etc/conf.d/slapd
OPTS="-h 'ldap://127.0.0.1 ldaps://foo.bar.tld:23523'"
a missconfigured /etc/resolv.conf could be fatal. Your slapd would not run and die with
slapd[12876]: daemon: getaddrinfo() failed: Temporary failure in name resolution
A possible solution is to resolve your hostname yourself. Just put a $IP $HOSTNAME of yourself in the /etc/hosts. That should be very safe.
Another point is that if your name resolution is broken ssh will have got problems with local users if it cannot reach the ldap daemon because it is down.
Connection closed by remote host
This only happens if you send a public key to authorize yourself. To fix this issue try to don't send any public key
ssh foo.bar.tld -l localuser -o PubkeyAuthentication=no
Thanks to KillerFox for reproducing these things.
GKrellM vs. Conky
Today I fired WindowMaker and installed fluxbox which is based on blackbox. Then I thought about
which program I should use to watch my system activities.
There are two choices currently: GKrellM
or Conky.
GKrellM (GNU/GTK Krell Monitors/Meters) uses the GIMP Toolkit, so it needs some more system resources. It has got a fancy configuration window where you can edit everything on your own with one click. Because it's in its own window you can display it above all others - nice option.
Conky is a small monitor which uses some command line tools and some X libs. It can display itself to the root window or can also be run in windowed mode or write to stdout (conky FAQ). The configuration is handled by ~/.conkyrc. It's not very complicated but very complex - you should have a look at some screenshots and modify their configurations to fit your imaginations. The Gentoo Conky Howto is also a good point to start.
In the end Conky is very flexible and very configurable but because it's defaultly in the root window makes it unsympathic. GKrellM is very static and somehow unflexible. But I prefer Conky nevertheless because of its possibility to display huge information at once.
09/26/06 03:01Do you believe in randomness?(librenix.com) Conky: Lightweight system monitoring: http://librenix.com/?inode=9453
NB-Icon-FeatureDid you ever think about how you can make your blog (powered by nanoblogger) more stylistic? Maybe with some set of icons? Maybe you want to show an icon next to your title to describe it more visually? :-)
I wrote yesterday and today on a little patch for nanoblogger to get the icons next to my titles. It wasn't so easy and it isn't not cleanly implemented and maybe a little bit to brute forced, but at least it works for me[tm].
I wrote some nb-icon-features.patch and a new /usr/share/nanoblogger/plugins/entry/icon.sh-plugin for the nanoblogger. In addition I had to set a variable
BLOG_ICONS="noia"to work for my blog, because all of my icons are stored in the directory noia under my weblog directory in the blog.conf.
In your templates entry.htm,parmalink_entry.htm you need only to change
<h3 class="title">$NB_EntryTitle</h3>into
<h3 class="title">$NB_EntryIconAddr $NB_EntryTitle</h3>
Enjoy your new nanoblogger and stay interested!
MuttrcToday I tried to work on my configuration of mutt. At first, I read the manual page of mutt and then its documentation.
I tried to get everything running as easy as on fencepost.gnu.org. But I figured out that Debian seems to use a different default config (no, I don't mean /etc/mutt/Muttrc!) than Gentoo. It's annoying. But then I looked at the Gentoo resources about the Muttrc. That was a very good point to start. The Muttrc there together with the documentation - a wonderfull combination.
So I modified something to fit my taste and then started mutt. Great look and feel - so much better than every GUI!
Yesterday ProLinux wrote an article about cdrtools of Jörg Schilling.
He changed the license of his tool from GNU GPL to the CDDL (Common Development and Distribution License [of Sun]). That shouldn't be the problem, but Debian and the whole FSF think that the CDDL is GPL incompatible.
"This is a free software license which is not a strong copyleft; it has some complex restrictions that make it incompatible with the GNU GPL. It requires that all attribution notices be maintained, while the GPL only requires certain types of notices. Also, it terminates in retaliation for certain aggressive uses of patents. So, a module covered by the GPL and a module covered by the CDDL cannot legally be linked together. We urge you not to use the CDDL for this reason. Also unfortunate in the CDDL is its use of the term 'intellectual property'." -- gnu.org/licenses/license-list.html
Just because the CDDL is incompatible with the Debian Free Software Guidelines, the Debian guys tried to clarify the issue with a bugreport but all they got was a plan about 9 points of Schilling.
It is only absurd and unpracticable for the Debian guys to lose their religion. So we need a cdrtools package free of any license issues. That's why some of the community force a cdrtools fork.
The result of this issue is, that new versions of cdrtools aren't going to go into the Debian repositories. Some of the Debian maintainer will manage the old (GPL coverd) versions and make there local changes until we have got a free cdrtools fork or a miracle.
Happy birthday LINUX!
15 years ago (25-Aug-1991 20:57) Linus wrote his famous usenet posting about the beginning of LINUX. He announced there that he started writing a new kernel.
But you shouldn't forget that this couldn't have happened if the GNU project hadn't contained the gcc,emacs and so on.
Via symlink.ch, pro-linux and the featured article on the German Wikipedia
Symlink wrote, that today the Debian project celebrates its 13th birthday. This is even done in Berlin, Germany today and Saturday in Zürich, Switzerland.
Everything began with the announcement of Ian Murdock on August 16, 1993. At the beginning he called his system "Debian Linux Release" (post on comp.os.linux.development)...
The whole history of the Debian project can be found at the Wikipedia or at the own project history of Debian.
Congratulations!
If you have got a look at kernel.org, you noticed that LINUX 2.4.33 was released today.
The ChangeLog has got 298 lines and includes an ext3 fix and prevents a DoS attack agains IPv6 (IGMP side) and some more things...
Gentoo published sys-kernel/gentoo-sources-2.4.32-r7.
Yesterday I received a mail from Martin Schulze about the Upcoming Release of Debian GNU/Linux 4.0.
Etch should be relased on December 2006. It's the first
Debian version which includes the
amd64 port.
And this time all 11 architectures should be released together.
The Linux kernel would be a 2.6.17. Other news would be gcc version 4.1 as the default compiler, Xorg and some new apt bugs^Wfeatures.
Until the time of Etch's release, there are several parties (as usual). For more information have also a look at BSPMarathon @wiki.debian.org.
If you want to create and then burn an audio CD you need WAV files. But how to convert your favourits MP3 songs?
You simply use:
mpg123 -s track.mp3 | sox -t raw -r 44100 -c 2 -s -w - track.wavOr if you have got more than one track in this directory you want to convert:
for track in *.mp3;
do mpg123 -v -s "$track" | \
sox -t raw -r 44100 -c 2 -s -w - "$track.wav";
done
Yesterday I found another interesting tool - chsh. At the beginning of the day I thought I could change my and root's shell while editing (with emacs ;)) my /etc/passwd - but that didn't changed my login shell on a NetBSD system at least.
So I changed also my master.passwd with includes the crypted passwords but also the lines about the login shells and something more (something like the passwd and shadow file at once at GNU/Linux systems). But nothing changed...
So I undo my changes in the master.passwd file and figured out that I should have a try with chsh. This tool printed out my whole config about home directory, name, ... and the login shell - after changing the necessary parts I saved the file and restarted my session...
Now I have got my /bin/bash (/usr/pkg/bin/bash) back instead of the (also nice) /bin/ksh. :-)
I tried just another unusual operating system today: OpenDarwin.
I installed OpenDarwin 7.2.1 and got some tar errors, but I didn't think
that those errors were a big deal - so I went on normal.
But then I got this message on (verbose) boot process:
Panic (cpu0 caller 0xC0321D8B) unable to find driver for this X86PC
Really strange... I think I cannot handle this, so I should change to another
(broken) system. :-/
After reading a weblog about OS X on AMD64 and saw
that people there has got identically problems there with OS X. I think it's really a problem of supported
hardware, so no big deal to move OpenDarwin to /dev/zero.
Maybe I'll have a try with GNU-Darwin 2morrow. Stay interested. (-:
Today I had just another try to get Nexenta running. But the same bad thing happend again (like the first try). Everything seemed to work well, but then the building process of the boot archive never ends.
So I guess that's why Nexenta is still alpha. I should have another try with an other operating system and kill Nexenta shortly.
Nevertheless my hope to get an operating system, which uses the OpenSolaris kernel, running didn't die.