comparison usr/src/lib/brand/solaris10/zone/s10_boot.ksh @ 12016:0248e987199b

PSARC 2009/306 Brussels II - ipadm and libipadm PSARC 2010/080 Brussels II addendum 6827318 Brussels Phase II aka ipadm(1m) 6731945 need BSD getifaddrs() API 6909065 explicitly disallow non-contiguous netmasks in the next minor release 6853922 ifconfig dumps core when ether address is non-hexadecimal. 6815806 ipReasmTimeout value should be variable 6567083 nd_getset has some dead and confusing code. 6884466 remove unused tcp/sctp ndd tunables 6928813 Comments at odds with default value of tcp_time_wait_interval 6236982 ifconfig usesrc lets adapter use itself as source address 6936855 modifying the ip6_strict_src_multihoming to non-zero value will unbind V4 IREs
author Girish Moodalbail <Girish.Moodalbail@Sun.COM>
date Fri, 26 Mar 2010 17:53:11 -0400
parents b4d868bae9bd
children 5259ac7d9677
comparison
equal deleted inserted replaced
12015:63716a810520 12016:0248e987199b
18 # information: Portions Copyright [yyyy] [name of copyright owner] 18 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # 19 #
20 # CDDL HEADER END 20 # CDDL HEADER END
21 # 21 #
22 # 22 #
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms. 24 # Use is subject to license terms.
25 # 25 #
26 # s10 boot script. 26 # s10 boot script.
27 # 27 #
28 # The arguments to this script are the zone name and the zonepath. 28 # The arguments to this script are the zone name and the zonepath.
142 # Replace various network-related programs with native wrappers. 142 # Replace various network-related programs with native wrappers.
143 # 143 #
144 replace_with_native /sbin/ifconfig 0555 root:bin 144 replace_with_native /sbin/ifconfig 0555 root:bin
145 145
146 # 146 #
147 # PSARC 2009/306 removed the ND_SET/ND_GET ioctl's for modifying
148 # IP/TCP/UDP/SCTP/ICMP tunables. If S10 ndd(1M) is used within an
149 # S10 container, the kernel will return EINVAL. So we need this.
150 #
151 replace_with_native /usr/sbin/ndd 0555 root:bin
152
153 #
147 # Replace automount and automountd with native wrappers. 154 # Replace automount and automountd with native wrappers.
148 # 155 #
149 if [ ! -h $ZONEROOT/usr/lib/fs/autofs -a -d $ZONEROOT/usr/lib/fs/autofs ]; then 156 if [ ! -h $ZONEROOT/usr/lib/fs/autofs -a -d $ZONEROOT/usr/lib/fs/autofs ]; then
150 safe_replace $ZONEROOT/usr/lib/fs/autofs/automount \ 157 safe_replace $ZONEROOT/usr/lib/fs/autofs/automount \
151 $BRANDDIR/s10_automount 0555 root:bin remove 158 $BRANDDIR/s10_automount 0555 root:bin remove