Subject: Re: init: can't exec /bin/bash for /etc/rc: Exec format error
To: George Michaelson <ggm@apnic.net>
From: Bill Studenmund <wrstuden@netbsd.org>
List: current-users
Date: 06/24/2003 18:20:57
On Wed, 25 Jun 2003, George Michaelson wrote:

> root defined in /etc/passwd to use bash? init somehow kicking into a fork/exec
> based on passwd shell not script interpreter?

Root's been defined to use /bin/csh for a long time, yet all the scripts
use /bin/sh, so that's not it.

> contents of /root/.[a-z]*
>
> bash, link it statically not dynamically and see if the problem goes away?

Or if you're doing that, have it use libraries in /lib. /bin/sh is dynamic
now... :-)

Take care,

Bill