Bug 818800
| Summary: | hostapd.service pointing to the wrong config file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Izhar Firdaus <kagesenshi.87> |
| Component: | hostapd | Assignee: | John W. Linville <linville> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | linville, petr.tuma, trever |
| 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: | 2012-06-19 14:58:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Izhar Firdaus
2012-05-04 03:34:00 UTC
hostapd-0.7.3-6.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/hostapd-0.7.3-6.fc17 Package hostapd-0.7.3-6.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing hostapd-0.7.3-6.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-8421/hostapd-0.7.3-6.fc17 then log in and leave karma (feedback). hostapd-0.7.3-7.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/hostapd-0.7.3-7.fc17 Tried hostapd-0.7.3-7.fc17, the config file location issue is fixed. There is one more bug in /usr/lib/systemd/system/hostapd.service though. The PIDFile entry says the PID file should be /run/hostapd/hostapd.pid, while the ExecStart entry in the same file says -P /run/hostapd.pid. hostapd-0.7.3-8.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/hostapd-0.7.3-8.fc17 Tested quickly, seems to work, thanks ! This does NOT fix the problem. It causes another. /run/hostapd is NOT created by a tmpfiles.d setup. It must be because hostapd doesn't create it itself until after you are trying to write a pid file to it. So, one of two solutions exist. I do not know which is correct for Fedora policies: 1) Create /run/hostapd in a /etc/tmpfiles.d file 2) Change the PIDFile and -P part of command line to write/read to /run/hostapd.pid instead of /run/hostapd/hostapd.pid hostapd-0.7.3-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/hostapd-0.7.3-9.fc17 hostapd-0.7.3-9.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/hostapd-0.7.3-9.fc16 I believe this is correctly fixed. hostapd-0.7.3-9.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. hostapd-0.7.3-9.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |