Your message dated Sat, 15 Sep 2018 15:04:18 +0000
with message-id <[email protected]>
and subject line Bug#908886: fixed in wireless-tools 30~pre9-13
has caused the Debian Bug report #908886,
regarding [wireless-tools] if-pre-up.d script includes ifconfig, but does not 
depend on net-tools
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.)


-- 
908886: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908886
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wireless-tools
Version: 30~pre9-12+b1

Error message on "ifup <iface>":
DHCPOFFER of 192.168.0.8 from 192.168.0.1 DHCPACK of 192.168.0.8 from
192.168.0.1 bound to 192.168.0.8 -- renewal in 610632848 seconds. /etc/network/if-pre-up.d/wireless-tools: 141: /etc/network/if-pre-up.d/wireless-tools: ifconfig: not found Error for wireless request "Set Power Management" (8B2C) : SET failed on device wlan0 ; Operation not permitted. Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/

Steps to reproduce:
1. Setup a WiFi device, where the driver does not allow to apply all WiFi settings, before its interface is up. 2. Setup the system to use "wireless-tools" and "ifupdown" to bring up the interfaces.
3. Remove the package "net-tools"
4. Reboot and/or "ifup <iface>"

Result:
- As "/etc/network/if-pre-up.d/wireless-tools" fails, not all WiFi settings are applied.

Debugging:
- It is due to "ifconfig" being called within the if-pre-up.d script, if it fails to apply at least one WiFi setting. This seems to be a rare case, where WiFi drivers do not allow to apply settings, before the WiFi interface is up. But to handle this, is the purpose of the script. - This was no issue until and including Debian Wheezy, as the "ifupdown" package depended on "net-tools". But since Jessie, "ifupdown" depends on "iproute2" only, which replaces the nowadays as deprecated seen "net-tools".

Solutions:
1. Add "net-tools" to the dependency list of "wireless-tools". I do not recommend, as "net-tools" is seen as obsolete. Also, since "wireless-tools" does not depend on "ifupdown" and there are other methods to automate interface start (e.g. systemd-networkd, bypassing /etc/network/if-*), the dependency would not be always true. 2. Use "iproute2" commands to bring up the interface, since this is the direct replacement for "net-tools" and "ifupdown" itself is dependant for it.

Reference discussion:
- https://github.com/Fourdee/DietPi/issues/2070#issuecomment-421105192

Additions:
- We found this issue just by chance. The actual reason for applying the WiFi setting(s) failed, was a wrong entry, which then triggered the ifconfig call. - We never faced this issue before on "DietPi" (Debian based) distro, even that for a while "net-tools" is not pre-installed any more. So the cases where WiFi drivers do not allow to apply settings pre-up seem to be very rare and/or settings are applied afterwards by other WiFi related tools. - But I hope by having a look into the script, the issue is obvious enough to fixed, even that related errors cannot be replicated without special WiFi devices/drivers or simply wrong WiFi settings.

Best regards,

MichaIng

--- End Message ---
--- Begin Message ---
Source: wireless-tools
Source-Version: 30~pre9-13

We believe that the bug you reported is fixed in the latest version of
wireless-tools, 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.
Guus Sliepen <[email protected]> (supplier of updated wireless-tools 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: Sat, 15 Sep 2018 16:35:08 +0200
Source: wireless-tools
Binary: wireless-tools ifrename libiw30 libiw-dev wireless-tools-udeb 
libiw30-udeb
Architecture: source amd64
Version: 30~pre9-13
Distribution: unstable
Urgency: medium
Maintainer: Guus Sliepen <[email protected]>
Changed-By: Guus Sliepen <[email protected]>
Description:
 ifrename   - Rename network interfaces based on various static criteria
 libiw-dev  - Wireless tools - development files
 libiw30    - Wireless tools - library
 libiw30-udeb - Tools for manipulating Linux Wireless Extensions (udeb)
 wireless-tools - Tools for manipulating Linux Wireless Extensions
 wireless-tools-udeb - Tools for manipulating Linux Wireless Extensions (udeb)
Closes: 908886
Changes:
 wireless-tools (30~pre9-13) unstable; urgency=medium
 .
   * Call /sbin/ip instead of ifconfg in if-pre-up script. (Closes: 908886)
   * Bump debian/compat to 11.
   * Change Priority to optional.
   * Bump Standards-Version.
Checksums-Sha1:
 11a24f415957b024274af3bae35eb8819cc73894 2166 wireless-tools_30~pre9-13.dsc
 52ba6e302fb12e0f530d10c84352b07a14b106b5 11416 
wireless-tools_30~pre9-13.debian.tar.xz
 3aa6445d75f338915d58efcf403a1c4a95a78841 28728 
ifrename-dbgsym_30~pre9-13_amd64.deb
 84d4cc9a331c24e2086df21f01c4f99ca65bf010 53900 ifrename_30~pre9-13_amd64.deb
 a0166d9f28d86459daae3f4e673a7456ab2345eb 39148 libiw-dev_30~pre9-13_amd64.deb
 53df77ac8ed48b79a3e4cc736544a1f31c0a0c47 31828 
libiw30-dbgsym_30~pre9-13_amd64.deb
 8360b0b3a25fbfe3d2879cd0083a57babb21377c 12624 
libiw30-udeb_30~pre9-13_amd64.udeb
 374ddc9ec0b28529f0e436e3a70f79fe868f314f 21548 libiw30_30~pre9-13_amd64.deb
 e001f7612c31fd0d7ac3b4782ebc941217b6e65f 95584 
wireless-tools-dbgsym_30~pre9-13_amd64.deb
 7ecdb081fcb8a36f02edd9873c36bacc13bfa652 12184 
wireless-tools-udeb_30~pre9-13_amd64.udeb
 9d72bf2a598f61349f0a2285870a3ab5382d0177 8656 
wireless-tools_30~pre9-13_amd64.buildinfo
 e0c92519d6605e897e306922d323d185bf250d3e 113580 
wireless-tools_30~pre9-13_amd64.deb
Checksums-Sha256:
 84a517a704d08e5d32375086e4dfb128bf90ce1d39b7e6a10f653d3ba97ab9cb 2166 
wireless-tools_30~pre9-13.dsc
 cfd51b4580c6e3dac4293c4de536f48c98525e46eee251b5a201b17417dfdcd4 11416 
wireless-tools_30~pre9-13.debian.tar.xz
 6c6c03faf0768c7b0e3396969216125c1dd150f4a57b34bc3b2b5193191d0012 28728 
ifrename-dbgsym_30~pre9-13_amd64.deb
 e8fb601ad6c1a54d5607373efc949d81badea775fd7382e5cff72bbf82913318 53900 
ifrename_30~pre9-13_amd64.deb
 5a0399be70155e8adb262d55ab8c45699791421018b2516b72c316e34b162d40 39148 
libiw-dev_30~pre9-13_amd64.deb
 e62bab1393df32531e076765a49129820595de6ff07a72e7ba3ae8f9ef87128f 31828 
libiw30-dbgsym_30~pre9-13_amd64.deb
 318175b7d91a33f380551c9e9a6f5af83c214274a3086608c7137c76404c8d36 12624 
libiw30-udeb_30~pre9-13_amd64.udeb
 dbe25525884e8f838b842a181a3faf707a7b3ff636dc4da128514ae66a58b27d 21548 
libiw30_30~pre9-13_amd64.deb
 41473f8bca3b56815ec223fa9e048b16699f08beb8112fa3370f8a93db88d002 95584 
wireless-tools-dbgsym_30~pre9-13_amd64.deb
 13a572b706baccea2577bd1cb4b975c4c2e2ee892d4dcb1709a02733775c0a90 12184 
wireless-tools-udeb_30~pre9-13_amd64.udeb
 29b122dd10e5402ba389d0df82a24546d0ab8b8bd1d5a4f8403c8f818f758edb 8656 
wireless-tools_30~pre9-13_amd64.buildinfo
 b6110176c36720b08773a3d25bfe18f014b0574e283a2a1c8816f6587562c304 113580 
wireless-tools_30~pre9-13_amd64.deb
Files:
 ca91760689f7f2e8bfb7b5da267e5ea1 2166 net optional 
wireless-tools_30~pre9-13.dsc
 135e2f81679fa8373e26c8f0cf56d4e0 11416 net optional 
wireless-tools_30~pre9-13.debian.tar.xz
 6943f717ae1739d3733a7d46c04fc940 28728 debug optional 
ifrename-dbgsym_30~pre9-13_amd64.deb
 70865899b0ef13743ac32b12fbe93262 53900 net optional 
ifrename_30~pre9-13_amd64.deb
 024670fefccb2090ea8dfa37b40f76d4 39148 libdevel optional 
libiw-dev_30~pre9-13_amd64.deb
 b9aa8f6fe7572ad8ebea2dad4b87af4e 31828 debug optional 
libiw30-dbgsym_30~pre9-13_amd64.deb
 5e0a2c22d86ff3e3cbada4a9375b7d86 12624 debian-installer optional 
libiw30-udeb_30~pre9-13_amd64.udeb
 1ac1c90d95ba1cc8cea508d73cba9651 21548 libs optional 
libiw30_30~pre9-13_amd64.deb
 a8d29f5777fd8dac9b3383cf8597ea27 95584 debug optional 
wireless-tools-dbgsym_30~pre9-13_amd64.deb
 36db8ddf1a3945af95ea6dafef8dfda3 12184 debian-installer optional 
wireless-tools-udeb_30~pre9-13_amd64.udeb
 b203b54ca55344286a1453a6ace10259 8656 net optional 
wireless-tools_30~pre9-13_amd64.buildinfo
 aec8a525f8633be3161ec20d2dacd807 113580 net optional 
wireless-tools_30~pre9-13_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEETRt3lsA+CDGZG91CP0kN64ce+foFAludGNoACgkQP0kN64ce
+fpXsw//YT4dPbn8kYWSYUgli4ZfQn17RVQ6zH6am9Vg9ktBY7+GNR9FgqznyDCs
gnHIcQaNHleIGNz3J19+GzObRvlQJkftRZRCaNhm1Ey2XNx7/IviaePBUES+kfte
F6PMKOO62ZBrMMmTabox7WiWJQK++Mj7ianjW67D5qnZhO9eYtwkkhdhajv/7zb8
pJyzWM5FVlNXKNshymTZArrsFIFbq01GwIrAJ5HNHiqoNj45If51tHGhvRclMNQL
aiEjvdjIwEdaaXirbXh/6hm5Iu+inkkd3m2iwPXTvxCKT7niWuwY+1bZOu4KerjI
SQsccrde1YImRUU9Dp6ZluwObvN43cAQCNaEGk0er7VfJzs7lkeA+a3efLaYOqpo
6xIfAadDG08zi44JiPWkUK+kwjoWWx35qzRBOfEqjAZLR2bitICxZBIjrTYBZ4gu
9btLvgCci1BzkqEO3d30HijYnZUg4PDDAOFAM2t28ewh2P8oq1wd0mEKi3eOfp5u
YaryHF63bB8TnhDV0tKpO2BZPvv7KZrrDjtqTILQTdCGhmS/UbtG42+MUIXd/IdE
cBKDO0xvI1j5UfwWpnABVGun4Cvh7l6zVpZMmTebqny6JN8vlJjcXjcqqy0PKZii
g65SAtgCvnlsPR8Gk/5tnFRUx9tkPCNeYY0CkPLMaNd+Mc6dA70=
=Mh3s
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to