Your message dated Mon, 07 May 2018 15:33:02 +0000
with message-id <[email protected]>
and subject line Bug#889508: fixed in wpa 2:2.6-16
has caused the Debian Bug report #889508,
regarding hostapd: please consider adding systemd service template
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
889508: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=889508
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: hostapd
Version: 2:2.4-1+deb9u1
Severity: wishlist
Tags: patch
Dear Andrew,
Please consider replacing hostapd.service with [email protected]
template - this makes it a lot easier if you have multiple WLAN cards
Here's the template I use:
[Unit]
Description=Advanced IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP
Authenticator (%I)
After=network.target
BindsTo=sys-subsystem-net-devices-%i.device
[Service]
EnvironmentFile=/etc/default/hostapd
ExecStart=/usr/sbin/hostapd $DAEMON_OPTS /etc/hostapd/%i.conf
Restart=on-failure
RestartSec=1
[Install]
WantedBy=multi-user.target sys-subsystem-net-devices-%i.device
it assumes one will feed it with wlan interface name, f.e.
$ systemctl start [email protected]
will read config data from /etc/hostapd/wlan0.conf which should contain
"interface=wlan0" and will be stopped automatically if wlan0 interface is no
longer available (I use it to disable hostapd if USB device is removed or start
hostapd when USB device is inserted)
Note that I also changed forking type & removed creating PID file since
systemd can handle all this stuff
DAEMON_OPTS from /etc/default/hostapd is shared in all instances (if one needs
more options)
It's probably also worth mentioning `systemctl enable [email protected]`
commnand in a README
--- End Message ---
--- Begin Message ---
Source: wpa
Source-Version: 2:2.6-16
We believe that the bug you reported is fixed in the latest version of
wpa, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrej Shadura <[email protected]> (supplier of updated wpa package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 07 May 2018 15:32:41 +0200
Source: wpa
Binary: hostapd wpagui wpasupplicant wpasupplicant-udeb
Architecture: source
Version: 2:2.6-16
Distribution: unstable
Urgency: medium
Maintainer: Debian wpasupplicant Maintainers <[email protected]>
Changed-By: Andrej Shadura <[email protected]>
Description:
hostapd - IEEE 802.11 AP and IEEE 802.1X/WPA/WPA2/EAP Authenticator
wpagui - graphical user interface for wpa_supplicant
wpasupplicant - client support for WPA and WPA2 (IEEE 802.11i)
wpasupplicant-udeb - Client support for WPA and WPA2 (IEEE 802.11i) (udeb)
Closes: 791333 889508
Changes:
wpa (2:2.6-16) unstable; urgency=medium
.
* Fix README.Debian: MyNetWork, not NETBEER (Closes: #791333).
* Restart hostapd on a failure after 2s.
* Add a template for per-interface hostapd services (Closes: #889508).
* Merge a patch from Ubuntu:
- debian/patches/dbus-available-sta.patch: Make the list of connected
stations available on DBus for hotspot mode; along with some of the
station properties, such as rx/tx packets, bytes, capabilities, etc.
Checksums-Sha1:
6520f246a55d6764b138ac60be2546080fa78672 2139 wpa_2.6-16.dsc
96864bace6a86854d0d19600418de624d934ad7b 101464 wpa_2.6-16.debian.tar.xz
Checksums-Sha256:
75e8964d02e4ca4c44b637afbdc558c5c2ce70b663f0f267b1c0bede29fdf782 2139
wpa_2.6-16.dsc
cf963df131e48e4e71a95715dfd341a98993b62ed8f59937b19358f6209ec529 101464
wpa_2.6-16.debian.tar.xz
Files:
565f9d22242d71c16314e9af81693261 2139 net optional wpa_2.6-16.dsc
0cd752cba6bf633e705e355a1fea0997 101464 net optional wpa_2.6-16.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEeuS9ZL8A0js0NGiOXkCM2RzYOdIFAlrwVjkACgkQXkCM2RzY
OdJJNwf+J1BSId62dxCEnR2PfKAuU61Ud6PkM4Xj2LbYR9oUiTIC82rY1/zwv3bv
7onWTfbFbXUwaz2usMuV0jTSGV0lEMGgsBjaA90Yn/iJGDAGfso6p+/yDmFvEuOo
ePAHiJF/W9yDkrtqubdoYlAUZGr39IDBU97GsN8Tjq7QcqWwVLqD0mXXUfnwOLe6
eMSIm6K8AnMiWe04v0/mcJkjHW0gHeHJ5fM7HnWGDN2cOLjVNeEO5AHS0i/gNYpS
MBTdiDS7sIzqJN3S/EcLVCEJtiqHfqSQLTtF5WCmEkEah6zTrKJdfzCJ0jJvhMyo
Pg0K6Cd5C/TuXsLdpslsOHC05ZT9Wg==
=tEhB
-----END PGP SIGNATURE-----
--- End Message ---