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#28590 - [netcfg] rc.d/{net-profiles,net-auto} DAEMONS usage

Attached to Project: Arch Linux
Opened by Jouke Witteveen (jouke) - Wednesday, 22 February 2012, 18:49 GMT
Last edited by Jouke Witteveen (jouke) - Friday, 11 May 2012, 19:10 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

rc.d/net-profiles line 11 reads:
if [[ "$daemon" = "${daemon#!}" && "$daemon" = "net-rename" ]]; then

1) This is a bit superfluous, just the "$daemon" = "net-rename" would do fine, since it implies that the daemon does not start with "!".
2) The usage of the daemons array suggests /etc/rc.conf should be sourced. It once was, but was replaced with /etc/conf.d/netcfg in a refactoring session. Currently it gets sourced through the arch hook which is sourced by /usr/lib/network/globals.

These observations also hold for rc.d/net-auto.
The first observation also holds for rc.d/net-auto-wireless.
This task depends upon

Closed by  Jouke Witteveen (jouke)
Friday, 11 May 2012, 19:10 GMT
Reason for closing:  Fixed

Loading...