Debian upgrade from lenny to squeeze and default shell

26/01/2012 at 17:34 Leave a comment

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.

Advertisement

Entry filed under: Debian, Linux. Tags: , , , , , , , , , , , .

80.000

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


 

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