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

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Tue Feb 1 09:38:17 UTC 2005


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


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 ;^)

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

-- 
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