wpa_supplicant: systemd service directives#1
wpa_supplicant: systemd service directives#1holomorph wants to merge 1 commit intojmalinen:masterfrom holomorph:systemd-units
Conversation
holomorph
commented
Jan 3, 2014
|
This would help obviate a lot of issues guiding new users relating to fixing the systemd unit files. |
|
Could you please read the top level CONTRIBUTIONS file and include Signed-hostap: tag in the commit message as described in that file? |
|
Please also describe why it is desirable for wpa_supplicant to exit if the interface disappears. That case can happen, e.g., with Wi-Fi USB dongles and wpa_supplicant detects when such a device is re-inserted and then continues with the existing configuration. If that is forced to exit on interface removal, this use case would be broken. |
|
I was not aware of that use case. I just tried what you described with a bonding interface and I agree with you. I will amend the commit. |
From 399ec17: Use correct (multi-user) target when installing systemd units [...] all services should always be installed in multi-user.target These directives (Alias, WantedBy) are documented in systemd.unit(5) Signed-hostap: Mark Oteiza <mvoteiza@udel.edu>
|
Thoughts? |
|
Please merge this, the current units are broken. |
|
This is still broken, and actuallly poses real problems now... systemd upstream recommands using preset-all for enabling units which will create wrong links. there is an explicit check to avoid that in the WantedBy path |