On Sun, 9 Nov 2003 02:50:46 +0100
Olivier Blin <[EMAIL PROTECTED]> wrote:
> On Sun, 9 Nov 2003 01:23:35 +0100
> Oden Eriksson <[EMAIL PROTECTED]> wrote:
>
> > Another thing. I noticed ivp6 was loaded per default, why is that?
>
> Hum, you're right, I don't know why, perhaps a wrong module
> dependency.
It's loaded by the network init script (/etc/rc.d/init.d/network) :
-----
# If IPv6 is explicitly configured, make sure it's available.
if [ "$NETWORKING_IPV6" = "yes" ]; then
alias=`modprobe -c | awk '/^alias net-pf-10 / { print $3 }'`
if [ "$alias" != "ipv6" -a ! -f /proc/net/if_inet6 ]; then
case "$(modprobe -V 2>/dev/null)" in
modprobe* )
echo "alias net-pf-10 ipv6" >>
/etc/modules.conf
;;
module-init-tools* )
echo "alias net-pf-10 ipv6" >>
/etc/modprobe.conf
;;
esac
fi
fi
-----
$ grep ipv6 /lib/modules/`uname -r`/modules.alias
alias net-pf-10 ipv6
An alias is made to ipv6 in modules configuration files, so the
network script loads it.
I don't know if it's the correct behaviour what do you think ?
I'm cc-ing Andrey because he's the author of modprobe configuration
files, so he's likely to help us :)
--
Olivier Blin