Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7328 - /etc/rc.d/network sources its config files three times during a restart

Attached to Project: Arch Linux
Opened by Arthur Danskin (wiremore) - Friday, 01 June 2007, 03:09 GMT
Last edited by James Rayner (iphitus) - Monday, 04 June 2007, 08:45 GMT
Task Type Feature Request
Category System
Status Closed
Assigned To James Rayner (iphitus)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This can be a problem if your config files (especially /etc/conf.d/wireless) call complicated python scripts to parse the output of "iwlist eth1 scan" and connect to the right network. An easy solution is to refactor the start and stop code into functions and replace

$0 stop
$0 start

with:

start
stop

I wrote a feature request like this a while ago but it seems to have disappeared, so sorry if that was for good reason. Thanks!
This task depends upon

Closed by  James Rayner (iphitus)
Monday, 04 June 2007, 08:45 GMT
Reason for closing:  Not a bug
Comment by Roman Kyrylych (Romashka) - Friday, 01 June 2007, 17:14 GMT
a side note:
Arthur, you can also test these scripts: http://wiki.archlinux.org/index.php/Network_Scripts
Comment by James Rayner (iphitus) - Monday, 04 June 2007, 08:44 GMT
and your config files are config files, they should not be calling external commands. closing, not a bug.

regardless, the new scripts do not source the configs, they use a different config form, and have explicit support for running commands before/after up/down of a network connection.

Loading...