| Summary: | [RFE] Drop -u from .service file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ben Boeckel <fedora> |
| Component: | wpa_supplicant | Assignee: | Dan Williams <dcbw> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | dcbw, fedora |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-12-11 02:40:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Ben Boeckel
2012-03-28 02:30:22 UTC
Ping? This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 Ping? Can we move this to Fedora 20? Not only is -u duplicated, some other command line arguments are duplicated in /usr/lib/systemd/system/wpa_supplicant.service and /etc/sysconfig/wpa_supplicant The first contains: ExecStart=/usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf $INTERFACES $DRIVERS $OTHER_ARGS and the second defines OTHER_ARGS as OTHER_ARGS="-u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid" thus I end up with a command line like /usr/sbin/wpa_supplicant -u -f /var/log/wpa_supplicant.log -c /etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dwext -u -f /var/log/wpa_supplicant.log -P /var/run/wpa_supplicant.pid A couple more questions: - why does systemd's sevice file force -u, and makes the service type dbus, which the sysconfig file claims is only needed for NetworkManager, in cases, like mine, where NM is masked? - the file in sysconfig has this comment # -B to daemonize that has to be used together with -P is already in wpa_supplicant.init.d but I don't seem to have a wpa_supplicant.init.d file or directory in my system and -B doesn't show up in the command line, so this comment may be obsolete (In reply to Henrique Martins from comment #4) > Can we move this to Fedora 20? Moved to Rawhide and marked as an RFE, so it will stay Rawhide. > Not only is -u duplicated, some other command line arguments are duplicated > in > /usr/lib/systemd/system/wpa_supplicant.service > and > /etc/sysconfig/wpa_supplicant Wow, yeah, there are a lot more there. wpa_supplicant.service is now Type=dbus, so -u is required, but -u is not in the service file now and fails because systemd kills it after a timeout of wpa_supplicant not setting up the expected bus because I had removed -u from the sysconfig file. See #1164975. |