FS#43659 - [hostapd] Do not fork to background

Attached to Project: Community Packages
Opened by nfnty (nfnty) - Sunday, 01 February 2015, 15:32 GMT
Last edited by Sergej Pupykin (sergej) - Monday, 02 February 2015, 14:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

hostapd should not fork to background. Remove flag -B and type=simple (default behavior when no type is specified).

Also configuration file should be moved to end of command as described in hostapd(8).

Attached patch.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Monday, 02 February 2015, 14:09 GMT
Reason for closing:  Fixed
Comment by nfnty (nfnty) - Sunday, 01 February 2015, 15:53 GMT
Also no PIDFile is needed. Attached new patch.
Comment by Sergej Pupykin (sergej) - Monday, 02 February 2015, 10:33 GMT
Why it should not fork?
Comment by nfnty (nfnty) - Monday, 02 February 2015, 13:00 GMT
Currently it isn't properly handled and logged by systemd and hostapd doesn't offer any interfaces to other services.

Read more here:
http://fedoraproject.org/wiki/Packaging:Systemd#.5BService.5D
https://bbs.archlinux.org/viewtopic.php?pid=1492102

Loading...