FS#28585 - [crda] setting wireless regdom from udev without initscripts

Attached to Project: Arch Linux
Opened by Christian Hesse (eworm) - Wednesday, 22 February 2012, 14:03 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 23 August 2012, 18:16 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I have installed systemd with all it dependencies, including systemd-sysvcompat. As a result I had to remove initscripts and /etc/rc.d/functions is no longer available.

As the udev rule uses the init script to set the wireless regdom this action fails due to the missing functions file. I think this should not depend on initscripts but work without it.

The attached patch creates a helper script /lib/udev/wireless-regdom which is called from the udev rule.
This task depends upon

Closed by  Thomas Bächler (brain0)
Thursday, 23 August 2012, 18:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.1.2-4
Comment by Christian Hesse (eworm) - Friday, 24 February 2012, 09:02 GMT
Updated patch for crda 1.1.2-2.
Comment by Tom Gundersen (tomegun) - Wednesday, 21 March 2012, 23:56 GMT
Are we sure we even want to set this automatically in an udev rule? I have noticed that many times the right country domain is set automatically (I assume this is announced by the router, and in turn sorted out by NetworkManager, but that is jut a wild guess).

Intuitively, one should think that a more high-level method should be used to set this (either automatically, or statically). How do other distros/software deal with this?
Comment by Thomas Bächler (brain0) - Thursday, 22 March 2012, 09:35 GMT
I am unsure if we want to. Right now, regdomains are set by wpa_supplicant if configured and by the AP using 802.11d. It seems redundant now to set this at boot.

Anyway, as it is disabled by default, it doesn't hurt.
Comment by Thomas Bächler (brain0) - Thursday, 23 August 2012, 13:32 GMT
Just a reminder to myself: This needs fixing ASAP.

Loading...