originally posted on the beginners list:

spencerforhire wrote:
> Finally, I noticed it takes a long time for the network interfaces to
> time-out during boot if I'm not connected to a network.  I was
> wondering how you all deal with this?  Do you somehow kill the network
> interfaces or lower the time to time-out?
>   

This comes from the service method: /lib/svc/method/elatte-sysidtool-net

        #
        # net_device_list contains a new line delimited list
        # of network devices. The new line is used for the (unique) sort.
        # do an auto-revarp on each of unique interface with the
        # exception of the loopback device
        #

        net_device_list=`echo $net_device_list | sort -u`

...

                #
                # try DHCP first then reverse ARP
                #
                /sbin/ifconfig $i auto-dhcp >/dev/null 2>&1

This attempts to do dhcp on all configured interfaces regardless of 
their configuration state. I don't know what the intent of this method 
is but it is very wrong for a general system. Configuring network 
interfaces is already taken care of in svc:/network/physical:default.

In any case, commenting the above line (ifconfig $i auto-dhcp) solves 
this problem.

Thanks,
-Tim


_______________________________________________
gnusol-devel mailing list
[email protected]
http://lists.sonic.net/mailman/listinfo/gnusol-devel

Reply via email to