Bug#982959: ifupdown: regex not workig as expected
Martin-Éric Racine
martin-eric.racine at iki.fi
Sat Oct 2 08:05:22 BST 2021
pe 1. lokak. 2021 klo 23.39 Santiago Ruano Rincón
(santiagorr at riseup.net) kirjoitti:
>
> El 01/10/21 a las 17:05, Martin-Éric Racine escribió:
> > pe 1. lokak. 2021 klo 16.21 Santiago Ruano Rincón
> > (santiagorr at riseup.net) kirjoitti:
> > > On Wed, 17 Feb 2021 14:32:24 +0200 Martin-Éric_Racine <martin-eric.racine at iki.fi> wrote:
> > > > Package: ifupdown
> > > > Version: 0.8.36
> > > > Severity: normal
> > > >
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA256
> > > >
> > > > The regex recipe below does not work as expected. I've tried both
> > > >
> > > > allow-hotplug /en*=en /wl*=wl
> > > >
> > > > and
> > > >
> > > > allow-hotplug /en*/=en /wl*/=wl
> > > >
> > > > but ifup still doesn't raise whatever interface match the regex. Have I misunderstood the examples or am I missing something else?
> > > >
> > > > Thanks!
> > > >
> > > > - -- Package-specific info:
> > > > - --- /etc/network/interfaces:
> > > > allow-hotplug /en*=en /wl*=wl
> > > >
> > > > iface en inet dhcp
> > > > iface en inet6 auto
> > > > privext 2
> > > > #dhcp 1
> > > >
> > > > iface wl inet dhcp
> > > > wpa-ssid AccessPoint
> > > > wpa-psk mypassword
> > > > iface wl inet6 auto
> > > > privext 2
> > > > #dhcp 1
> >
> > [...]
> >
> > > I get both interfaces configured. Could you please run ifup with -v?
> >
> > I just tried. Here's an interesting difference:
> >
> > If I use 'sudo ifup -a -v' ifup won't find the mapped interfaces.
>
> ifup doesn't process them since they are not configured with `auto`
OK, what processes interfaces with allow-hotplug then, if not ifupdown?
> s/allow-hotplug/auto/ in my /e/n/interfaces makes this work.
> >
> > If I use 'sudo ifup --allow hotplug -a -v' ifup correctly finds and
> > maps the wireless interfaces.
> >
>
> I wonder if there is a problem related with udev instead.
Added udev (systemd) maintainers in CC.
Martin-Éric
More information about the Pkg-systemd-maintainers
mailing list