Archive for January, 2012

Debian upgrade from lenny to squeeze and default shell

All of you who are planning an upgrade from Debian lenny to squeeze should take into consideration that Squeeze is using another default shell – “dash”. So make sure all your scripts created with #!/bin/sh are working on the new shell or just change the symlink for /bin/sh to bash.

I have encountered this problem while upgrading a whole bunch of servers and when I run the deployment scripts created with /bin/sh they didn’t work. It took me quite a while to figure it out, so I’m sharing this to others who might run into the same situation.

Or make sure you read all the screens when you upgrade and don’t change default shell to dash. Keep bash.

26/01/2012 at 17:34 1 comment


 

January 2012
M T W T F S S
« Dec    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Follow

Get every new post delivered to your Inbox.

Join 31 other followers