#1016174 ifupdown: mapping wildcards does not work as interfaces(5) claims it should

Package:
ifupdown
Source:
ifupdown
Description:
high level tools to configure network interfaces
Submitter:
Martin-Éric Racine
Date:
2026-01-10 11:40:20 UTC
Severity:
normal
#1016174#5
Date:
2022-07-28 14:35:02 UTC
From:
To:
interfaces(5) states:

*****
Note that there must still be valid "iface" stanzas for each matching interface.  However, it is possible to combine a pattern with a mapping to a logical interface, like so:

       auto /eth*=eth
       iface eth inet dhcp
*****

The attached /etc/network/interfaces follows a similar syntax and yet fails.

Martin-Éric

- -- Package-specific info:
- --- /etc/network/interfaces:
allow-hotplug enp0s13 /wl*=wifiusb
iface enp0s13 inet dhcp
iface enp0s13 inet6 auto
	privext	2
iface wifiusb inet dhcp
	wpa-ssid <redacted>
	wpa-psk <redacted>
iface wifiusb inet6 auto
	privext	2

- --- up and down scripts installed:
/etc/network/if-down.d:
total 0
lrwxrwxrwx 1 root root 32 May 15 13:42 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-post-down.d:
total 4
- -rwxr-xr-x 1 root root 1409 Mar 24  2016 wireless-tools
lrwxrwxrwx 1 root root   32 May 15 13:42 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-pre-up.d:
total 12
- -rwxr-xr-x 1 root root  344 Jan 19  2022 ethtool
- -rwxr-xr-x 1 root root 4191 Sep 15  2018 wireless-tools
lrwxrwxrwx 1 root root   32 May 15 13:42 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

/etc/network/if-up.d:
total 12
- -rwxr-xr-x 1 root root 1685 Jan 19  2022 ethtool
- -rwxr-xr-x 1 root root 4938 Aug 14  2020 mountnfs
lrwxrwxrwx 1 root root   32 May 15 13:42 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh

- -- System Information:
Debian Release: bookworm/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: i386 (i586)

Kernel: Linux 5.18.0-2-686 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ifupdown depends on:
ii  adduser   3.123
ii  iproute2  5.18.0-1
ii  libc6     2.33-8
ii  lsb-base  11.2

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.4.3-2

Versions of packages ifupdown suggests:
ii  ppp     2.4.9-1+1.1+b1
pn  rdnssd  <none>

- -- debconf information:
  ifupdown/convert-interfaces: true
  ifupdown/convert-interfaces-hotplug: true
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmLinpAACgkQrh+Cd8S0
17au8w//UTiMkMc8kCGn7Y2m389DDfMz5qX87HP8HvJsaMiZbnb14fHGojNkZWWF
x0CmT/xkNpI1I7dSQwPBM6VZP/v1bwxV5dDm6gGm7sBbgWMagIj2tNQQpIdOReuk
UmyhV2ga/0R4tQxrYIgtZzwa+sN1SPytS8wS/zhVEU7zT9tKZDzq7oNCZKtQWw/U
kqWfZfw2ToHi6pYDYMu3VUjHs078y2WZe6WWhXIlJLxYFEejZNgCtRgRI8o4BbDQ
gHVcEGRPABK5NDsmtAngWEdeCIJmCp4jE+WkRofO7FdZUsGLx3Wa105DY+19UP/2
AT5KhswlNPSwu+AiPdf5Hhvl4Bll9lFMQz5Hijy2c2dshSYtGVRpukfiOyEjsewJ
lovx9ztNaJwYbbUjGMubU6GHoOz7T9Vm3t3HyV26eQiiCozOY58nQ7lNekbWgs1v
l/DHlarnkGZNQl7x2VKUdussi+D1RCPJ2qoxYH+XBFgv5o7Zjfb/vCdTnKPLmk6j
3MyiGq7KFj04EKiwMfTIXR0AjlSTtE+9m6H585Ov5RrLyDQlPQkJDPtLJ0NZkXlk
g8pxrW2cLsKa/IUNCjUv+1GdG+lf3fuqs3tPk2C7hzMVd6yng9IGDamgx1qnu2CF
ni8P+nIah1GrXLwftYHVFL6of6Q+1d0nPLzexp+vMD5MsWPvYKk=
=12zr
-----END PGP SIGNATURE-----

#1016174#10
Date:
2026-01-10 10:08:19 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.