FC2 network kickstart not working
paul at rh.sbrk.co.uk
paul at rh.sbrk.co.uk
Sat May 29 07:38:10 UTC 2004
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
More information about the Kickstart-list
mailing list