Summary: | rc.conf ifconfig_xx keywords cannot be escaped | ||||||
---|---|---|---|---|---|---|---|
Product: | Base System | Reporter: | Jean-Charles Longuet <jclonguet> | ||||
Component: | conf | Assignee: | freebsd-rc (Nobody) <rc> | ||||
Status: | Open --- | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | 7.0-RELEASE | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Jean-Charles Longuet
2008-08-09 13:40:01 UTC
State Changed From-To: open->feedback Requested feedback. Responsible Changed From-To: freebsd-bugs->freebsd-rc This is part of rc.d. Setting "authmode WPA" makes no sense. It's only supported by ifconfig for completeness and is useless without wpa_supplicant. As such I can't see a reason to try to fix this. Do you have a practical example? -- Brooks From what I understand, wpa_supplicant is only used by client stations. In my case, I am configuring an access point with hostapd for the wpa handling, and do not require wpa_supplicant in any way, hence the configuration line I added in the intial report. More generaly, keywords can not be used anywhere in the ifconfig command line: you cannot set your ssid to such values, for example. There are workarounds, like running an extra ifconfig command in start_if.ath0, but that's just plain ugly, and I use FreeBSD to avoid this. Having an extra keyword meaning "do not look thereafter" could do the trick (something like "--" on command lines). -- Jc Here is a patch for /etc/network.subr that handles a special string "--" so that keywords found thereafter are ignored. -- Jc State Changed From-To: feedback->open Feedback and a patch was received some time ago. For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi> ^Triage: is this still a problem with recent versions of FreeBSD? (In reply to Mark Linimon from comment #9) Still an issue, /etc/network.subr was not patched. (In reply to Jean-Charles Longuet from comment #10) OK, thanks for the response. |