Bug 21062

Summary: /etc/pccard_ether calling IPv6 programs too early
Product: Base System Reporter: James Housley <jim>
Component: binAssignee: Hajimu UMEMOTO <ume>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
smime.p7s none

Description James Housley 2000-09-05 16:00:03 UTC
	The IPv6 section of /etc/pccard_ether calls rtsol ${interface}.
	This produces and "rtsol not configured" or similar.  rtsol is
	run again in /etc/rc.network6 where it succeds in running.  The
	whole IPv6 section might be able to be removed from /etc/pccard_ether.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-09-05 17:40:59 UTC
Responsible Changed
From-To: freebsd-bugs->ume

Over to maintainer.
Comment 2 ume 2000-09-05 18:36:55 UTC
> The IPv6 section of /etc/pccard_ether calls rtsol ${interface}.
> This produces and "rtsol not configured" or similar.

What's curious.  When /etc/pccard_ether is called, NIC is already OK.
Because, when pccard NIC is activated, /etc/pccard_ether is invoked by
pccardd.

> rtsol is run again in /etc/rc.network6 where it succeds in running.
> The whole IPv6 section might be able to be removed from
> /etc/pccard_ether.

Nope.  In many case, pccard NIC doesn't come to ready before running
/etc/rc.network6.  And, it doesn't act in mobile environment.
Actuall problem is that /etc/rc.network6 wrongly setups pccard NIC.
With existing rc.network6, if no NIC is available, psuedo interface
will be setuped wrongly.
I'm thinking about having the variable that holds the list of pccard
NICs.

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume@mahoroba.org  ume@bisd.hitachi.co.jp  ume@FreeBSD.org
http://www.imasy.org/~ume/
Comment 3 James Housley 2000-09-05 18:40:56 UTC
Hajimu UMEMOTO wrote:
> 
> > The IPv6 section of /etc/pccard_ether calls rtsol ${interface}.
> > This produces and "rtsol not configured" or similar.
> 
> What's curious.  When /etc/pccard_ether is called, NIC is already OK.
> Because, when pccard NIC is activated, /etc/pccard_ether is invoked by
> pccardd.

That is what I get.

> 
> > rtsol is run again in /etc/rc.network6 where it succeds in running.
> > The whole IPv6 section might be able to be removed from
> > /etc/pccard_ether.
> 
> Nope.  In many case, pccard NIC doesn't come to ready before running
> /etc/rc.network6.  And, it doesn't act in mobile environment.
> Actuall problem is that /etc/rc.network6 wrongly setups pccard NIC.
> With existing rc.network6, if no NIC is available, psuedo interface
> will be setuped wrongly.
> I'm thinking about having the variable that holds the list of pccard
> NICs.

That is fine.

Jim
-- 
"It's a damn poor mind that can only think of one way to
spell a word."
    -- -Andrew Jackson
Comment 4 Hajimu UMEMOTO freebsd_committer freebsd_triage 2000-09-06 08:40:42 UTC
State Changed
From-To: open->feedback

I just committed the fix to avoid doing rtsol to psuedo 
interface (etc/rc.network6 1.10 -> 1.11).  Does this fix 
your problem?
Comment 5 Hajimu UMEMOTO freebsd_committer freebsd_triage 2000-09-07 04:06:28 UTC
State Changed
From-To: feedback->closed

I just committed the change to pccard_ether, too (1.17 -> 1.18). 
Thank you for your report.