Jimmy’s weblog

5/16/2010

Dirty dirvish hack to use “localhost” as client option

Filed under: — jimmy @ 11:03 am

When using dirvish you usually have to use the local hostname for the client option in default.conf. In other words, the output of the command “hostname”. If it’s different than the client option than dirvish assumes that it’s a remote transfer and uses ssh to connect. So you can not use “localhost” which would be rather straightforward ;-(
Lately I needed dirvish on a sytem with heartbeat where two systems share one configuration but have different hostnames. Because I was so angry about this IMO stupid check with “hostname” I made a dirty hack…
Line 258 in /usr/sbin/dirvish looks like this:

chomp($$Options{Server} = `hostname`);

I changed it to:

chomp($$Options{Server} = localhost);

This way dirvish assumes localhost as local tranfer and everything else as remote. The check itself can be found in line 520.
Remember, this hack is really evil. There are several better ways to solve the problem.

4/23/2010

Linuxtage 2010

Filed under: — jimmy @ 8:18 am

Only one day left. I’ll be there at the grml-booth, which is a must see, again. See you there :-)


Grazer Linuxtage 2010

4/23/2009

Linuxtage Graz 2009

Filed under: — jimmy @ 8:05 am

See you there ;-)


Grazer Linuxtage 2009

4/18/2006

Posting in 37000 feet height

Filed under: — jimmy @ 8:28 am

Ignore this stupid posting. I just needed to make a posting while sitting in a boing 747-400 with internet connection over WLAN :-) Amazing, there don’t seem to be many places where there’s no internet available :-)
Well, it’s not very comfortable in economy class with a notebook. Although my X60s is really small, it’s hard to manage to type as usual. But it’s possible with some practise :-)

10/15/2005

Sorry about forgotten comments

Filed under: — jimmy @ 12:37 pm

Today I was told that I should check my moderation queue. I was surprised that there’ve been comments waiting for my approvement. Then I realized that I disabled the notification mails because of the high amount of spam. I’ve enabled it again, hoping that the spam problem is now under control :-)
I’m sorry that I missed some comments. All are now approved, read answered.

9/9/2005

My new domain jimmy.co.at

Filed under: — jimmy @ 1:36 am

Unfortunately I have to move my website and my blog to my new server because I need my old domain g-tec.co.at for my company’s website. I hope this will work without any problems. I’m sorry for the redirects ;-(
Nevertheless, check out my new site on g-tec.co.at. It will be online in about two weeks.

8/26/2004

Summerbreeze Festival

Filed under: — jimmy @ 11:44 am

Last week I was at the summerbreeze festival, therefore I didn’t have time to post to my weblog. It was a great festival with a lot of cool bands(Finntroll rules :-) ).

8/10/2004

Wordpress pingback

Filed under: — jimmy @ 3:10 pm

Just testing the pingback function, since I can’t ping mika’s blog.
I’ve found an article about problems with pingback.
And here is one fix.
Unfortunately, that was not the problem. I’m now able to ping mika’s blog, if I don’t refer to a posting. But then my posting will be posted as a comment to the first posting in mika’s blog *argh*

8/9/2004

Modified style for wordpress

Filed under: — jimmy @ 7:44 pm

The darkness style is really cool, but I didn’t like the pictures. So I exchanged them and called my new style “darkone”

Finally I’ve started my weblog, too

Filed under: — jimmy @ 3:34 pm

Since Mika forced encouraged me to blog I installed wordpress today. After a few modifications I feel happy now. The WordPress CSS Style Switcher was very helpful.