[ale] ifup problems, possible IPv6

Michael H. Warfield mhw at wittsend.com
Thu Feb 3 14:55:54 EST 2005


On Thu, 2005-02-03 at 14:35 -0500, Yu, Jerry wrote:
> if ifconfig or ip or alike triggering the ipv6 module loading, any init
> script before 'network' in rc5/rc3 (or whichever run level) can do what
> Geoffrey wants to do.

	It will, but simply turning it off in modules.conf is probably cleaner
and less likely to generate errors (like complaints from rpm -V if you
like to verify your system).

You can't just put it in rc.local, since that fires up AFTER everything
else.  I'm not sure I would modify one of the master rc scripts and
depend on it not getting "updated" away next time initscripts got
updated.  Your best bet would be to create your own "noipv6" script and
link it early into the start-up scripts, like "rc?.d/S00noipv6".  That
might get it.  But turning it off in modules.conf will definitely
prevent it from being autoloaded.  Then someone would have to
deliberately "modprobe ipv6" to load it.

> If all ipv6 modules gets renamed/purged physically off the disk, will
> ifconfig or its wrapper be tolerant enough to continue on with ipv4 config
> and forget about the aborted ipv6 branch?

	If not, they're buggy.  They have to tolerate systems on which PF_INET6
is not present.  Now, if you run "ip -6 <anything>" I would certainly
EXPECT it to gripe about "Protocol Family not present" or some such.

	Mike

> # -----Original Message-----
> # From: ale-bounces at ale.org [mailto:ale-bounces at ale.org]On 
> # Behalf Of Geoffrey
> # Sent: Thursday, February 03, 2005 2:30 PM
> # To: Atlanta Linux Enthusiasts
> # Subject: Re: [ale] ifup problems, possible IPv6
> # 
> # 
> # Michael H. Warfield wrote:
> # > On Thu, 2005-02-03 at 14:05 -0500, Geoffrey wrote:
> # > 
> # >>Michael H. Warfield wrote:
> # >>
> # >>
> # >>>	The protocol module puts hooks too deep into the kernel protocol
> # >>>stacks.  It can not be removed at run time.  If you 
> # managed it somehow,
> # >>>by overriding the reference counter, I would expect random acts of
> # >>>terrorism to ensue.
> # > 
> # > 
> # >>I meant remove it prior to it being loaded. Add it to rc prior to 
> # >>network stuff.  My suggestion was simply a sure way it wouldn't get 
> # >>loaded again.
> # > 
> # > 
> # > 	Still won't work.  The module is being loaded because one of the
> # > network utilities has referenced it (I've never taken the trouble to
> # > track down exactly which one but "ifconfig" and "ip" are my prime
> # > suspects) and the kernel kmodload'ed it.
> # 
> # So you're saying that even if it was dropped into /etc/rc so 
> # that it was 
> # the first thing to be called, it'd be too late?  Even if there's not 
> # been any references to network facilities?
> # 
> # What about telinit 1, then remove?
> # 
> # -- 
> # Until later, Geoffrey
> # _______________________________________________
> # Ale mailing list
> # Ale at ale.org
> # http://www.ale.org/mailman/listinfo/ale
> # 
> 
> This email and any attached files herein contain information that is intended only for the use of the individual or entity to whom it is addressed and may contain information that is legally privileged, confidential or otherwise exempt from disclosure under applicable laws. If the reader of this message is not the recipient, any disclosure, dissemination, distribution, copying or other use or retention of this communication or its substance is prohibited.
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com  
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list