Re: sh dies w/ sig 12

2002-04-11 Thread Kris Kennaway

On Thu, Apr 11, 2002 at 11:36:49AM -0700, Seth Hettich wrote:
> Trying to update to -current, in SU mode, doing the make installworld:
> 
> [ ! -e /usr/bin/passwd ] || echo foo
> 
> will make sh die
> 
> This is even with the "new" sh from my buildworld (I am running the new
> kernel).

You're probably trying to cut corners and aren't following the full
(documented) upgrade procedure.  Signal 12 is SIGSYS (unimplemented
sycall), and you're receiving it because 5.0's /bin/sh depends on a
syscall which only exists in recent 5.0 kernels.  You shouldn't bump
into this if you upgrade correctly.

Kris



msg37173/pgp0.pgp
Description: PGP signature


Re: sh dies w/ sig 12

2002-04-11 Thread Glenn G.

  I have had the same problem for the last several days as well, did a
  re-cvsup and re-compile of buidlworldall the with same effect of
  core dumping og signal 12...

Glenn G.


On Thu, 11 Apr 2002 11:36:49 -0700, "Seth Hettich"
<[EMAIL PROTECTED]> said:
> Trying to update to -current, in SU mode, doing the make installworld:
> 
> [ ! -e /usr/bin/passwd ] || echo foo
> 
> will make sh die
> 
> This is even with the "new" sh from my buildworld (I am running the new
> kernel).
> 
> Ideas?
> 
> -Seth
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

-- 
  Glenn G.
  [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: sh dies w/ sig 12

2002-04-11 Thread Gordon Tetlow

On Thu, 11 Apr 2002, Jean-Marc Zucconi wrote:

> > Seth Hettich writes:
> 
>  > Trying to update to -current, in SU mode, doing the make installworld:
>  > [ ! -e /usr/bin/passwd ] || echo foo
> 
>  > will make sh die
> 
>  > This is even with the "new" sh from my buildworld (I am running the new
>  > kernel).
> 
>  > Ideas?
> 
> I think this was discussed in -current some time ago. Compile a
> -current kernel and reboot. Then redo the make installworld. 

Or as an alternative, read /usr/UPDATING like you should have and it would 
tell you how to make the leap from -STABLE to -CURRENT

-gordon


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: sh dies w/ sig 12

2002-04-11 Thread Jean-Marc Zucconi

> Seth Hettich writes:

 > Trying to update to -current, in SU mode, doing the make installworld:
 > [ ! -e /usr/bin/passwd ] || echo foo

 > will make sh die

 > This is even with the "new" sh from my buildworld (I am running the new
 > kernel).

 > Ideas?

I think this was discussed in -current some time ago. Compile a
-current kernel and reboot. Then redo the make installworld. 

Jean-Marc

-- 
Jean-Marc Zucconi -- PGP Key: finger [EMAIL PROTECTED] [KeyID: 400B38E9]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: sh dies w/ sig 12

2002-04-11 Thread Miguel Mendez

On Thu, Apr 11, 2002 at 11:36:49AM -0700, Seth Hettich wrote:
> Trying to update to -current, in SU mode, doing the make installworld:
> 
> [ ! -e /usr/bin/passwd ] || echo foo
> 
> will make sh die
> 
> This is even with the "new" sh from my buildworld (I am running the new
> kernel).
> 
> Ideas?

Are you upgrading from -stable to -current? I had that same problem. My
(crap) workaround, was to create a Makefile for the points were sh
failed (iirc was chpass and some other command) that looked like this:

all: install

install:
echo foo

That enabled me to successfully installworld, I took note of the faulty
places and installed them afterwards. I know it's not the 'kosher'
solution, but it worked for me.

Cheers,
-- 
Miguel Mendez - [EMAIL PROTECTED]
GPG Public Key :: http://energyhq.homeip.net/files/pubkey.txt
EnergyHQ :: http://www.energyhq.tk
FreeBSD - The power to serve!



msg37166/pgp0.pgp
Description: PGP signature


sh dies w/ sig 12

2002-04-11 Thread Seth Hettich

Trying to update to -current, in SU mode, doing the make installworld:

[ ! -e /usr/bin/passwd ] || echo foo

will make sh die

This is even with the "new" sh from my buildworld (I am running the new
kernel).

Ideas?

-Seth

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message