Closed alexAubin closed 3 years ago
Encountered a small bug where (with no antenna because testing inside a LXC ...) systemctl status ynh-hotspot reported :
systemctl status ynh-hotspot
Sep 23 20:48:18 yolo.test ynh-hotspot[23060]: Retrieving Yunohost settings... OK Sep 23 20:48:18 yolo.test ynh-hotspot[23060]: [hotspot] Starting... Sep 23 20:48:18 yolo.test ynh-hotspot[23060]: Run hostapd Sep 23 20:48:18 yolo.test ynh-hotspot[23060]: Device "" does not exist. Sep 23 20:48:18 yolo.test ynh-hotspot[23060]: "" is invalid lladdr. Sep 23 20:48:18 yolo.test ynh-hotspot[23060]: Job for hostapd.service failed because the control process exited with error code. Sep 23 20:48:18 yolo.test ynh-hotspot[23060]: See "systemctl status hostapd.service" and "journalctl -xe" for details. Sep 23 20:48:18 yolo.test systemd[1]: ynh-hotspot.service: Main process exited, code=exited, status=1/FAILURE Sep 23 20:48:18 yolo.test systemd[1]: ynh-hotspot.service: Failed with result 'exit-code'. Sep 23 20:48:18 yolo.test systemd[1]: Failed to start YunoHost Wifi Hotspot..
But it shouldn't try to start hostapd if no wifi device is defined in the first place ...
Encountered a small bug where (with no antenna because testing inside a LXC ...)
systemctl status ynh-hotspot
reported :But it shouldn't try to start hostapd if no wifi device is defined in the first place ...