Package: ifupdown
Version: 0.8.35+b1
Severity: normal
X-Debbugs-Cc: norb...@preining.info

Hi

there seems to be something strange with ifup:

$ ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.3  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::4ecc:6aff:fe50:78a  prefixlen 64  scopeid 0x20<link>
        ether 4c:cc:6a:50:07:8a  txqueuelen 1000  (Ethernet)
        RX packets 4880452  bytes 4608920797 (4.2 GiB)
        RX errors 0  dropped 22  overruns 0  frame 0
        TX packets 8922020  bytes 10717457493 (9.9 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 16  memory 0xdff00000-dff20000

but
$ ifquery eth0
ifquery: unknown interface eth0
$ ifup eth0
ifup: unknown interface eth0
$

and the journal of networking shows the same error:
$ journalctl -u networking.service
...
Jun 07 18:33:54 bulldog systemd[1]: Starting Raise network interfaces...
Jun 07 18:33:54 bulldog ifup[665]: ifup: unknown interface eth0
Jun 07 18:33:54 bulldog systemd[1]: networking.service: Main process exited, 
code=exited, status=1/FAILURE
Jun 07 18:33:54 bulldog systemd[1]: networking.service: Failed with result 
'exit-code'.
Jun 07 18:33:54 bulldog systemd[1]: Failed to start Raise network interfaces.
$

Is this to be expected?


-- Package-specific info:
--- /etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

auto eth0

# The loopback network interface
auto lo
iface lo inet loopback

iface vpn_vpn inet dhcp
        mtu 1200
        pre-up /etc/network/scripts/softether-vpn-pre-up AcceliaVPN
        post-down /etc/network/scripts/softether-vpn-post-down AcceliaVPN
        # fix the routing as we need /8 and not /16 as distributed by server
        post-up ip route add 10.0.0.0/8 via 10.0.0.246 dev vpn_vpn
        # fix mtu - 1500 breaks everythihng
        post-up ip link set dev vpn_vpn mtu 1200
        # add some routings to GCP servers accessible only from within Accelia
        post-up ip route add 104.198.89.0/24 via 10.0.0.246 dev vpn_vpn


--- /etc/network/interfaces.d/*:
cat: '/etc/network/interfaces.d/*': No such file or directory

--- up and down scripts installed:
/etc/network/if-down.d:
total 20
-rwxr-xr-x 1 root root 1677 Sep  2  2017 clamav-freshclam-ifupdown
-rwxr-xr-x 1 root root  372 Feb 20  2019 openvpn
-rwxr-xr-x 1 root root  800 Jan  9  2017 postfix
-rwxr-xr-x 1 root root  301 Feb  9 19:50 resolvconf
lrwxrwxrwx 1 root root   32 May 19 21:29 wpasupplicant -> 
../../wpa_supplicant/ifupdown.sh

/etc/network/if-post-down.d:
total 8
lrwxrwxrwx 1 root root 23 May 26 19:33 avahi-daemon -> ../if-up.d/avahi-daemon
lrwxrwxrwx 1 root root 32 May 19 21:29 wpasupplicant -> 
../../wpa_supplicant/ifupdown.sh

/etc/network/if-pre-up.d:
total 4
lrwxrwxrwx 1 root root 32 May 19 21:29 wpasupplicant -> 
../../wpa_supplicant/ifupdown.sh

/etc/network/if-up.d:
total 32
-rwxr-xr-x 1 root root  703 Feb  9 19:50 000resolvconf
-rwxr-xr-x 1 root root  484 Apr 14  2015 avahi-daemon
-rwxr-xr-x 1 root root 1677 Sep  2  2017 clamav-freshclam-ifupdown
-rwxr-xr-x 1 root root 4937 Aug 23  2019 mountnfs
-rwxr-xr-x 1 root root  385 Feb 20  2019 openvpn
-rwxr-xr-x 1 root root 1117 Jan  9  2017 postfix
lrwxrwxrwx 1 root root   32 May 19 21:29 wpasupplicant -> 
../../wpa_supplicant/ifupdown.sh


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ifupdown depends on:
ii  adduser   3.118
ii  iproute2  5.7.0-1
ii  libc6     2.31-2
ii  lsb-base  11.1.0

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.4.1-2.1+b2

Versions of packages ifupdown suggests:
ii  ppp     2.4.7-2+4.1+deb10u1
pn  rdnssd  <none>

-- no debconf information

Reply via email to