13es Rencontres Mondiales du Logiciel Libre, du 7 au 12 juillet 2012 à Genève

Good practice about vagrant file

In the root directory of puppet trees, you could have a Vagrantfile. This is great, but a problem happens: when two people are working on the same tree, they will probably have their own vagrant files. That means that one of you do not commit his changes to the Vagrantfile, or you are managing multiple branches.

I have another idea: having multiple Vagrantfiles in the tree, named Vagrantfile.vm_name. Then, just add Vagrantfile to your .gitignore.

When you need to power up your specific Vagrant file, you just have to create a symbolic link like that:

tmux still alive saying "no sessions"

This morning, I got a strange tmux issue:

$ tmux -u attach -d
no sessions
My first idea was that tmux died. But the processes were still running:
1003      6935  0.0  0.0   6700  3620 ?        Ss   Apr06  53:23 tmux -u
And the sockets were there:
$ ls /tmp/tmux-1003/default -l
srw-rw---- 1 roidelapluie roidelapluie 0 Sep 15 08:54 /tmp/tmux-1003/default
I finally got the solution: sending the signal 10 forced tmux to recreate sockets. After that I could run tmux again without losing my session:
$ killall -10 tmux

Chamilo 2 install problem

Today I did a small set-up of Chamilo (with vagrant of course) to discover its features.

I had a issue with the last step of the installer:

Tags: 

Burning audio CD

Here is the procedure to burn an audio cd under Linux.

First step: install cdrtools and mpg123:

Fixed vagrant... damn suid.

Since I installed Vagrant, I always had a problem starting the virtual machine with "vagrant up".

I had to wait the message "Booting VM" ans then boot it by myself, using the GUI.

Today, after more investigations, I noticed that the binary VBoxHeadless had not the suid bit. Just doing the following command fixed it:

chmod +s /opt/VirtualBox/VBoxHeadless

A story of nagios, puppet and check_disk

Recently I had to deploy a nagios, using puppet for one of our customers.

I wanted to have each disk in a different service. That seems to be easy, but I couldn't find anything about this on the internet. The problem I was facing was that every server had a different configuration.

I faced the problem creating a new facter that would list the disks. The code is available on github.

It has been tested under Centos 5.

April Fool's day 2011

Here are some 2011 April's fool's jokes.

Free Softwares in Belgium

Some days ago I was talking to a friend about the state of the free-software related associations in Belgium, like the April in France.

Subscribe to about:roidelapluie RSS
© 2011 Julien Pivotto. Drupal theme by Kiwi Themes.