Package: inadyn
Version: 2.11.0-1
Severity: normal
X-Debbugs-Cc: [email protected]

Dear Maintainer,

It seems that the sed expression that determines the interface in the
ip-up script assumes that the configuration file specifies the interface
as "iface xxx0", while the correct syntax is "iface = xxx0".

This causes the ip-up script to basically never fire if the 'iface'
option is used.

The fix is simply to account for the = sign in the expression, such as:

sed -n
's/^[[:blank:]]*\(iface[[:blank:]]\+=[[:blank:]]\+[[:alnum:]]\+\)[[:blank:]]*$/\1/p'
/etc/inadyn.conf

Cheers!
Alessandro

-- System Information:
Debian Release: 12.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-26-amd64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages inadyn depends on:
ii  adduser              3.134
ii  init-system-helpers  1.65.2
ii  libc6                2.36-9+deb12u8
ii  libconfuse2          3.3-3
ii  libgnutls30          3.7.9-2+deb12u3
ii  libnettle8           3.8.1-2
ii  sysvinit-utils       3.06-4

inadyn recommends no packages.

inadyn suggests no packages.

-- Configuration Files:
/etc/default/inadyn changed [not included]
/etc/inadyn.conf changed [not included]
/etc/ppp/ip-up.d/inadyn changed [not included]

-- no debconf information

Reply via email to