It appears we have enabled a config that should have been off by default for debian ifupdown scripts. Please set the attribute addon_syntax_check=0 in ifupdown2.conf to disable syntax checking.
/etc/network/ifupdown2/ifupdown2.conf # enable addon module syntax check: # Python addon modules register dictionary of supported attributes. # The syntax checker in ifupdown2 uses this dictionary for syntax # checks in the interfaces file. This works well, when only python modules # are used. But when a mix of scripts and modules are used (which is the # default case), you may get false warnings for attributes supported # by scripts addon_syntax_check=1 we will submit a fix to set it to 0 by default 'addon_syntax_check=0' so that it does not break existing deployments or files. Thanks for the report. And please let us know if you continue seeing problems with addon_syntax_check=0 On 11/7/16, 4:47 PM, Julien Fortin wrote: > Hello Jacek, > > Thanks for reporting this issue, I will look into it this week and get back > to you accordingly. > > Regards, > Julien. > > On Mon, Nov 7, 2016 at 8:34 PM, Jacek Politowski <j...@jp.pl.eu.org> wrote: > >> Package: ifupdown2 >> Version: 1.0~git20161101-1 >> Severity: important >> >> Dear Maintainer, >> >> after recent upgrade (ifupdown2:amd64 1.0~git20160525-1 -> >> 1.0~git20161101-1) >> my WLAN network interface stopped working. Ifupdown gives error messages >> about >> unsupported keywords in 'interfaces' configuration file. >> >> My configuration was made according to this guide: >> https://wiki.debian.org/WiFi/HowToUse#WPA-PSK_and_WPA2-PSK >> >> >> $ sudo ifup wlxABCDEFGHI >> error: /etc/network/interfaces.d/wlxABCDEFGHI: line3: iface wlxABCDEFGHI: >> unsupported keyword (wpa-ssid) >> error: /etc/network/interfaces.d/wlxABCDEFGHI: line4: iface wlxABCDEFGHI: >> unsupported keyword (wpa-psk) >> >> >> I can't see anything related in changelog.Debian or similar files in >> /usr/share/doc/ifupdown2. >> >> However, downgrading to version 1.0~git20160525-1 (from Stretch) brings >> everything back to order. >> 'ifup' doesn't complain and my ath9k works as expected. >> >> >> -- System Information: >> Debian Release: stretch/sid >> APT prefers unstable >> APT policy: (500, 'unstable'), (1, 'experimental') >> Architecture: amd64 (x86_64) >> Foreign Architectures: i386 >> >> Kernel: Linux 4.8.0-1-amd64 (SMP w/2 CPU cores) >> Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) >> Shell: /bin/sh linked to /bin/dash >> Init: systemd (via /run/systemd/system) >> >> Versions of packages ifupdown2 depends on: >> ii init-system-helpers 1.46 >> ii python-argcomplete 1.4.1-0.1 >> ii python-ipaddr 2.1.11-2 >> pn python:any <none> >> >> ifupdown2 recommends no packages. >> >> Versions of packages ifupdown2 suggests: >> ii python-gvgen 0.9-2 >> ii python-mako 1.0.4+ds1-2 >> >> -- no debconf information >>