[Lunar-bugs] [bug] /etc/init.d/network seems to miss a ')'

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Sun Mar 13 22:31:07 UTC 2005


 Project:      lunar-linux
 ID:           
 Version:      <none>
 Component:    init.d (daemon scripts)
 Category:     bug reports
 Priority:     critical
-Assigned to:  <unassigned>
+Assigned to:  sofar
 Reported by:  remsys
 Updated by:   sofar
-Status:       active
+Status:       fixed

FIXED in moonbase, make sure you do this:


rm /etc/init.d/net{work,mount} && lin net-tools


sofar



Previous comments:
------------------------------------------------------------------------

Sun, 01/30/2005 - 08:16 : remsys

- freshly installed en rebuild system
- kernel 2.4.28
- NOT using DHCP
the following happens:

root at server-home ~ # /etc/init.d/network restart
Restarting network:
 * Stopping eth0: /bin/bash: device_start: line 85: syntax error near
unexpected token `('
/bin/bash: device_start: line 85: `
?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9])'
/bin/bash: error importing function definition for `device_start'
/bin/bash: device_stop: line 40: syntax error near unexpected token
`('
/bin/bash: device_stop: line 40: `
?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9])'
/bin/bash: error importing function definition for `device_stop'
                                                                     [ 
 OK   ]
 * Starting eth0: /bin/bash: device_start: line 85: syntax error near
unexpected token `('
/bin/bash: device_start: line 85: `
?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9])'
/bin/bash: error importing function definition for `device_start'
/bin/bash: device_stop: line 40: syntax error near unexpected token
`('
/bin/bash: device_stop: line 40: `
?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9].?([0-9])?([0-9])[0-9])'
/bin/bash: error importing function definition for `device_stop'
                                                                     [ 
 OK   ]

The start errormessages also appear at boottime.

Restarting the network won't give you a working network connection, the
only way to get that automatically is rebooting :-(

I did have a quick look at /etc/init.d/network but couldn't find any
obvious syntax-error.

Remco

------------------------------------------------------------------------

Tue, 02/01/2005 - 09:38 : sofar


Just a note: I have exatctly the same. How long I ever ponder at the
screen I cannot see anything incorrect with it (although it is way too
complicated for my taste). *someone* help ;^)

-- 
View: http://lunar-linux.org/?q=node/view/704
Edit: http://lunar-linux.org/?q=project/comments/add/704




More information about the Lunar-bugs mailing list