Description of problem: hostapd.service pointing to the wrong config file path. the rpm installs the config in /etc/hostapd/hostapd.conf while hostapd.service is using /etc/hostapd.conf Version-Release number of selected component (if applicable): hostapd-0.7.3-5.fc17.x86_64 How reproducible: Always Steps to Reproduce: 1. install hostapd 2. configure hostapd 3. start hostapd Actual results: fails to start Expected results: start successfully Additional info: hostapd.service is using: ExecStart=/usr/sbin/hostapd /etc/hostapd.conf -P /run/hostapd.pid -B should be ExecStart=/usr/sbin/hostapd /etc/hostapd/hostapd.conf -P /run/hostapd.pid -B
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.