public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2
@ 2004-12-07  0:12 Iain Buchanan
  2004-12-07  1:11 ` Bastian Balthazar Bux
  2004-12-07  6:13 ` Iain Buchanan
  0 siblings, 2 replies; 7+ messages in thread
From: Iain Buchanan @ 2004-12-07  0:12 UTC (permalink / raw
  To: gentoo-user

recently I updated my system, including the baselayout update to
baselayout-1.11.7-r2.  However, when the system boots I get a message
from net.lo along the lines of

missing function: interface_variable

and all net devices, and everything that depends on net, fails to start.

So I added an empty interface_variables function in /etc/init.d/net.lo,
and then I get a message about missing interface_device, so I added that
as well.

This gets net.lo up, and hence the scripts that depend on it, but there
are lots of other complaints and net.eth0 doesn't start:

/lib/rcscripts/net.modules.d/iptunnel: line 56: interface_type: command
not found

and:
/lib/rcscripts/net.modules.d/dhcpcd: line 128: clean_pidfile: command
not found
 *          dhcpcd is already running on eth0


I have to do ifconfig, route, and resolv.conf manually...

What's going on?  This has been happening for a day or so, but I haven't
seen anything on bugzilla or the archives, so is it just me?  Any help
would be greatly appreciated.

TIA
-- 
Iain Buchanan <iaindb at netspace dot net dot au>

   Why can't I ever build character at a Miami condo or a casino somewhere?
                  -- Calvin


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2
  2004-12-07  0:12 [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2 Iain Buchanan
@ 2004-12-07  1:11 ` Bastian Balthazar Bux
  2004-12-07  1:14   ` Iain Buchanan
  2004-12-07  6:13 ` Iain Buchanan
  1 sibling, 1 reply; 7+ messages in thread
From: Bastian Balthazar Bux @ 2004-12-07  1:11 UTC (permalink / raw
  To: gentoo-user

Iain Buchanan wrote:

>recently I updated my system, including the baselayout update to
>baselayout-1.11.7-r2.  However, when the system boots I get a message
>from net.lo along the lines of
>
>missing function: interface_variable
>
>and all net devices, and everything that depends on net, fails to start.
>
>So I added an empty interface_variables function in /etc/init.d/net.lo,
>and then I get a message about missing interface_device, so I added that
>as well.
>
>This gets net.lo up, and hence the scripts that depend on it, but there
>are lots of other complaints and net.eth0 doesn't start:
>
>/lib/rcscripts/net.modules.d/iptunnel: line 56: interface_type: command
>not found
>
>and:
>/lib/rcscripts/net.modules.d/dhcpcd: line 128: clean_pidfile: command
>not found
> *          dhcpcd is already running on eth0
>
>
>I have to do ifconfig, route, and resolv.conf manually...
>
>What's going on?  This has been happening for a day or so, but I haven't
>seen anything on bugzilla or the archives, so is it just me?  Any help
>would be greatly appreciated.
>
>TIA
>  
>
do you have this file "/lib/rcscripts/net.modules.d/helpers.d/functions" ?
that function is defined there AFACS

I also had some problem installing in theese days but baselayout it's ok 
for me



--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2
  2004-12-07  1:11 ` Bastian Balthazar Bux
@ 2004-12-07  1:14   ` Iain Buchanan
  2004-12-07  3:04     ` Bastian Balthazar Bux
  0 siblings, 1 reply; 7+ messages in thread
From: Iain Buchanan @ 2004-12-07  1:14 UTC (permalink / raw
  To: gentoo-user

On Tue, 2004-12-07 at 02:11 +0100, Bastian Balthazar Bux wrote:
> Iain Buchanan wrote:
> 
> >recently I updated my system, including the baselayout update to
> >baselayout-1.11.7-r2.  However, when the system boots I get a message
> >from net.lo along the lines of
> >
[snip]

> do you have this file "/lib/rcscripts/net.modules.d/helpers.d/functions" ?
> that function is defined there AFACS
> 
> I also had some problem installing in theese days but baselayout it's ok 
> for me

yes, the file is there.  Where should it be sourced from?  I couldn't
find any refernce to it in /etc/init.d or /sbin/runscript.sh...

thanks,
-- 
Iain


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2
  2004-12-07  1:14   ` Iain Buchanan
@ 2004-12-07  3:04     ` Bastian Balthazar Bux
  2004-12-07  3:05       ` John Voysey
  0 siblings, 1 reply; 7+ messages in thread
From: Bastian Balthazar Bux @ 2004-12-07  3:04 UTC (permalink / raw
  To: gentoo-user

Iain Buchanan wrote:

>On Tue, 2004-12-07 at 02:11 +0100, Bastian Balthazar Bux wrote:
>  
>
>>Iain Buchanan wrote:
>>
>>    
>>
>>>recently I updated my system, including the baselayout update to
>>>baselayout-1.11.7-r2.  However, when the system boots I get a message
>>>      
>>>
>>>from net.lo along the lines of
>>    
>>
>[snip]
>
>  
>
>>do you have this file "/lib/rcscripts/net.modules.d/helpers.d/functions" ?
>>that function is defined there AFACS
>>
>>I also had some problem installing in theese days but baselayout it's ok 
>>for me
>>    
>>
>
>yes, the file is there.  Where should it be sourced from?  I couldn't
>find any refernce to it in /etc/init.d or /sbin/runscript.sh...
>
>thanks,
>  
>
from

/lib/rcscripts/net.modules.d/helpers.d/functions
/lib/rcscripts/net.modules.d/iptunnel
/etc/init.d/net.lo


that is called if u have a line like this one
modules=( "iptunnel" )
in /etc/conf.d/net

Sorry, no ideas I can't help more (if not sending you that 3 files)

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2
  2004-12-07  3:04     ` Bastian Balthazar Bux
@ 2004-12-07  3:05       ` John Voysey
  2004-12-07  3:42         ` Iain Buchanan
  0 siblings, 1 reply; 7+ messages in thread
From: John Voysey @ 2004-12-07  3:05 UTC (permalink / raw
  To: gentoo-user

Bastian Balthazar Bux wrote:
> Iain Buchanan wrote:
> 
>> On Tue, 2004-12-07 at 02:11 +0100, Bastian Balthazar Bux wrote:
>>  
>>
>>> Iain Buchanan wrote:
>>>
>>>   
>>>
>>>> recently I updated my system, including the baselayout update to
>>>> baselayout-1.11.7-r2.  However, when the system boots I get a message
>>>>     
>>>> from net.lo along the lines of
>>>
>>>   
>>
>> [snip]
>>
>>  
>>
>>> do you have this file 
>>> "/lib/rcscripts/net.modules.d/helpers.d/functions" ?
>>> that function is defined there AFACS
>>>
>>> I also had some problem installing in theese days but baselayout it's 
>>> ok for me
>>>   
>>
>>
>> yes, the file is there.  Where should it be sourced from?  I couldn't
>> find any refernce to it in /etc/init.d or /sbin/runscript.sh...
>>
>> thanks,
>>  
>>
> from
> 
> /lib/rcscripts/net.modules.d/helpers.d/functions
> /lib/rcscripts/net.modules.d/iptunnel
> /etc/init.d/net.lo
> 
> 
> that is called if u have a line like this one
> modules=( "iptunnel" )
> in /etc/conf.d/net
> 
> Sorry, no ideas I can't help more (if not sending you that 3 files)
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 

I had a similar problem yesterday updating my baselayout (although I was 
updating to a slightly older version).

I had forgotten to run etc-update afterwards - etc-update might have a 
new or updated version of the net.lo file for that baselayout.

I'd suggest checking etc-update to see if there are any versions..

Hope that helps,

John

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2
  2004-12-07  3:05       ` John Voysey
@ 2004-12-07  3:42         ` Iain Buchanan
  0 siblings, 0 replies; 7+ messages in thread
From: Iain Buchanan @ 2004-12-07  3:42 UTC (permalink / raw
  To: gentoo-user

On Tue, 2004-12-07 at 14:05 +1100, John Voysey wrote:
> Bastian Balthazar Bux wrote:
> > Iain Buchanan wrote:
> > 
> >> On Tue, 2004-12-07 at 02:11 +0100, Bastian Balthazar Bux wrote:
> >> 
> >>> Iain Buchanan wrote:
> >>>
> >>>> recently I updated my system, including the baselayout update to
> >>>> baselayout-1.11.7-r2.  However, when the system boots I get a message
> >>>> from net.lo along the lines of
> >>
> >> [snip]
> >>
> I had a similar problem yesterday updating my baselayout (although I was 
> updating to a slightly older version).
> 
> I had forgotten to run etc-update afterwards - etc-update might have a 
> new or updated version of the net.lo file for that baselayout.
> 
> I'd suggest checking etc-update to see if there are any versions..

etc-update? *shudder* !! I use dispatch-conf as well as my own home
grown etc updater - config-update.pl (shameless plug) which can be found
at http://iaindb.customer.netspace.net.au/

Anyway, my config files are fully updated.  I'm currently looking at
rolling back, but I can't figure out how to get the previous one from
dispatch conf yet...

thanks,
-- 
Iain


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2
  2004-12-07  0:12 [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2 Iain Buchanan
  2004-12-07  1:11 ` Bastian Balthazar Bux
@ 2004-12-07  6:13 ` Iain Buchanan
  1 sibling, 0 replies; 7+ messages in thread
From: Iain Buchanan @ 2004-12-07  6:13 UTC (permalink / raw
  To: gentoo-user

On Tue, 2004-12-07 at 09:42 +0930, Iain Buchanan wrote:
> recently I updated my system, including the baselayout update to
> baselayout-1.11.7-r2.  However, when the system boots I get a message
> from net.lo along the lines of

ok, I've gone back to the beginning.  When all scripts are untouched,
this is the error I get when starting any /etc/init.d/net.* script:

iwconfig: missing required function interface_variable

This error comes from /lib/rcscripts/net.modules.d/iwconfig  so in there
I add the line

source /lib/rcscripts/net.modules.d/helpers.d/functions

and all these script errors go away.  However, net.etho thinks it wants
to start with dhcp now

 * Starting eth0
 *    Bringing up eth0
 *       Configuration not set for eth0 - assuming dhcp
 *       eth0 dhcp
 *          Keeping kernel configuration for eth0
 *    Adding routes
 *       default gw 172.16.0.4 ...                                        [ !! ]
 *       203.39.28.126 gw 172.16.0.7 ...                                  [ ok ]
 *       147.66.40.208 gw 172.16.0.7 ...                                  [ ok ]

even though /etc/conf.d/net has the correct static configuration info in
it.

Any clues?
-- 
Iain Buchanan <iaindb@netspace.net.au>


--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-12-07  6:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-07  0:12 [gentoo-user] init.d/net* scripts fail with baselayout-1.11.7-r2 Iain Buchanan
2004-12-07  1:11 ` Bastian Balthazar Bux
2004-12-07  1:14   ` Iain Buchanan
2004-12-07  3:04     ` Bastian Balthazar Bux
2004-12-07  3:05       ` John Voysey
2004-12-07  3:42         ` Iain Buchanan
2004-12-07  6:13 ` Iain Buchanan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox