umask per directory

Some users insist on using bash. This is a good shell, but not as good as zsh. But, I do want them to be able to use the per directory umask as well as all the zsh users. So I started digging, as the bash shell does not support a chpwd hook. This is what I came up with: chpwd() { # Set the initial umask case "${PWD}/" in /etc/puppet/*) um=$(umask) umask 007 ;; *) [[ x"${um}" ! [Read More]

umask per directory

I’ve been working with Puppet some time now, and we are configuring our way through a lot of hosts, with 6 persons, all working in the same Puppet master directory. This should work fine with all UNIX/Linux groups and setgid directories. But simple problem arose with the git version control stuff. Once in a while the complete git repo was destroyed and quite a lot of searching revealed the reason why. [Read More]

Compiling OpenSSL and OpenSSH

My server at home runs CentOS 5 and this has OpenSSH version 4.3. Running updates doesn’t update this version, because RedHat keeps the version number stable. But I wanted a newer OpenSSH because of some nice new features. But when I do compile a new version I’m still stuck with old OpenSSL, and that’s not what I want. Well, you can guess it by now, this is what I did. [Read More]
sysadm 

Back to m0n0wall

Some time ago I switch from m0n0wall to pfSense and I did like it a lot. But a problem with PPTP tunneling made me think again. Was pfSense the way to go? Well, it wasn’t. When I was trying to get IPv6 up and running it turned out that pfSense doesn’t support IPv6 out of the box. And m0n0wall does. There where some answers on the internet, but I was not willing to hack the pfSense box if that was not needed. [Read More]
sysadm 

My new Internet connection

About a month or two ago I was contacted by my ISP asking if I would like a lot faster internet connection and a lower price. Well, you have to be nuts to deny such an offer, so I decided to comply.

About a week later the new internet modem showed up and I connected everything up.

Running speedtest made me very happy.

Speedtest

Not bad at all :-)

sysadm 

Hmm, VMware and 4k disk blocks

At work we now have a very nice SAN with two machines running VMware vSphere. I did try to add fibre storage to the VMware machines and that didn’t work. I did get a lot of errors and unknown problems. Even Google never heard of them. One of those was ~ Error during the configuration of the host: Failed to get disk partition information ~ Googling for this and more generic terms pointed me to a hint to partition the disk on the VMware server itself and then create a VMFS filesystem onto it. [Read More]
sysadm