Your message dated Wed, 24 Jul 2019 23:59:02 +0200
with message-id
<cam_1_kwzbr-wd2_1petz40-x+u-uiqsdmeo2obtcwd2t4cb...@mail.gmail.com>
and subject line closes: #930839
has caused the Debian Bug report #930839,
regarding ifupdown2: gateway broken if using metric
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.)
--
930839: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930839
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ifupdown2
Version: 1.2.5-1
Severity: normal
Dear Maintainer,
if I use metric in /etc/network/interfaces, I get an error and no
default route.
My interfaces file:
...
auto eth0
iface eth0 inet static
address 10.0.2.15
netmask 255.255.255.0
gateway 10.0.2.2
metric 100
...
Error message:
error: eth0: cmd '/bin/ip route add default via 10.0.2.2 proto
kernelmetric 200 dev eth0 onlink' failed: returned 255 (Error: argument
"kernelmetric" is wrong: "protocol" value is invalid
I think there is a missing space before metric in
/usr/share/ifupdown2/ifupdownaddons/LinkUtils.py in line 1129
Looks like it's fixed upstream:
https://github.com/CumulusNetworks/ifupdown2/blob/master/ifupdown2/ifupdownaddons/LinkUtils.py
Line 1148
Regards
Pascal
-- System Information:
Debian Release: 10.0
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-5-amd64 (SMP w/1 CPU core)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages ifupdown2 depends on:
ii iproute2 4.20.0-2
ii python 2.7.16-1
ii python-argcomplete 1.8.1-1
ii python-ipaddr 2.2.0-2
ifupdown2 recommends no packages.
Versions of packages ifupdown2 suggests:
pn bridge-utils <none>
pn ethtool <none>
ii isc-dhcp-client 4.4.1-2
pn python-gvgen <none>
pn python-mako <none>
pn python-pkg-resources <none>
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: ifupdown2
Source-Version: 1.2.7-1
--- End Message ---