[comp.unix.ultrix] uucp does not work with full domain name

mark@badger.dosli.govt.nz (Mark Wright) (01/09/91)

      Vaxstation II GPX, Ultrix 3.1.

  In order to install BIND, I am trying to change the vaxstation's
name to a fully qualified domain name. However once I do this, running
uucico fails immediately with "illegal instruction". Using full
debugging is of no help, as "illegal instruction" is the only message
produced.

  My best guess is that Dec's uucp was compiled to use gethostname to
establish the uucp name (as opposed to using /etc/uucpname) and can't cope
with the length of the name. Has anyone else seen the problem? Or am I missing
something?

  We will be upgrading soon to 4.0, if the problem is fixed there, I
can wait, otherwise I will have to get hold of another version of uucp
and install it (a task I really don't need at the moment :-( ).

  Any suggestions gratefully received.
-- 

 Mark Wright.                    Dept. of Survey and Land Information,NZ.
 email: mark@dosli.govt.nz       phone: 64 4 710-380 ext 8688

grr@cbmvax.commodore.com (George Robbins) (01/12/91)

In article <1991Jan8.192443.2832@dosli.govt.nz> mark@badger.dosli.govt.nz (Mark Wright) writes:
> 
>   In order to install BIND, I am trying to change the vaxstation's
> name to a fully qualified domain name. However once I do this, running
> uucico fails immediately with "illegal instruction". Using full
> debugging is of no help, as "illegal instruction" is the only message
> produced.
> 
>   My best guess is that Dec's uucp was compiled to use gethostname to
> establish the uucp name (as opposed to using /etc/uucpname) and can't cope
> with the length of the name. Has anyone else seen the problem? Or am I missing
> something?

This is screwed up in older releases - only a relatively small area is
allocated for storing the results of the "hostname" call, so a long
hostname blows away the stack and the return from the subroutine call
jumps into space.

I belive this is fixed by 4.X...

-- 
George Robbins - now working for,     uucp:   {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing:   domain: grr@cbmvax.commodore.com
Commodore, Engineering Department     phone:  215-431-9349 (only by moonlite)