FS#23934 - [netcfg] Support for the @ modifier in NETWORKS

Attached to Project: Arch Linux
Opened by Andrej Podzimek (andrej) - Monday, 25 April 2011, 16:20 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 11 May 2012, 18:45 GMT
Task Type Feature Request
Category Arch Projects
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Some network interfaces need not be waited for, but might take long to establish. For instance, when setting up a home server, the ADSL connection is not vital and can be established in the background. But you cannot start @net-profiles in the background, since you need to be 100% sure that all your LAN connections are up before starting DHCP or radvd.

It would be nice to have this in /etc/rc.conf (with support in /etc/rc.d/net-profiles):

NETWORKS=(@adsl @sometunnel lan1 lan2 wifi)

Current package version: netcfg 2.5.4-1
This task depends upon

Closed by  Jouke Witteveen (jouke)
Friday, 11 May 2012, 18:45 GMT
Reason for closing:  Implemented
Additional comments about closing:  Do note that the user has to take care to only background profiles on unique interfaces, or race conditions could occur.
Comment by Jouke Witteveen (jouke) - Wednesday, 22 February 2012, 19:00 GMT
This is not very hard to implement, but could introduce a possible race condition when multiple profiles try to use the same interface. We could document this and require the user to make sure all backgrounded network profiles use interfaces not used by any other connected or connecting profile.
Comment by Jouke Witteveen (jouke) - Thursday, 23 February 2012, 12:41 GMT

Loading...