Re: FC2 network kickstart not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 29, 2004 at 12:24:35AM -0700, Joe Robertson wrote:
> paul wrote:

> > anaconda-10.0/isys/nfsmount.c

> > #if 1           /* old libc's do not have inet_aton() -- 
> > change 1 to 0 */
> >         if (!inet_aton(hostname, &server_addr.sin_addr))
> > #endif
> >         {
> >                 if (mygethostbyname(hostname, 
> > &server_addr.sin_addr)) {
> >                         myerror = ERROR_HOSTNAME;
> >                         goto fail;
> >                 } else {
> >                         server_addr.sin_family = AF_INET;
> >                 }
> >         }

> Can you elaborate a little on this - for someone who doesn't 
> know anaconda and doesn't see the 'obvious'?  I'm very interested
> in learning about this.

Anaconda doesn't allow an IP address in an NFS mount, it has
to be a resolvable host name. inet_aton() converts a dotted
address such as 1.2.3.4 into a network format binary structure,
but it has been commented out.

Paul



[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux