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

lunar-bugs at lunar-linux.org lunar-bugs at lunar-linux.org
Sun Jan 30 08:16:21 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:   remsys
 Status:       active

- 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

remsys

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