Package: ifupdown
Version: 0.8.36
Severity: normal

Dear Maintainer,

   * What led up to the situation?

Running "ifdown enp1s0f4"

   * What exactly did you do (or not do) that was effective (or
     ineffective)?

N/A

   * What was the outcome of this action?

N/A

   * What outcome did you expect instead?

No error message.


Here is the error I get:

#
Jan 21 04:17:30 ice dhclient[303659]: DHCPRELEASE of 1.1.1.1 on enp1s0f4 to 
2.2.2.2 port 67
Jan 21 04:17:30 ice dhclient[303659]: send_packet: Invalid argument
Jan 21 04:17:30 ice dhclient[303659]: dhclient.c:2879: Failed to send 300 byte 
long packet over fallback interface.
#

I also had started a thread on the ISC dhcp-users mailing list:

https://lists.isc.org/pipermail/dhcp-users/2023-January/022820.html

>From what I can tell (I could be wrong) - the logic to make dhclient send a 
>RELEASE is compiled into ifup via inet.defn.

To me it looks like dhclient release happens first, before the "ip link" 
command shuts down the interface.

Nevertheless I still get this issue.

-- 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).

# The loopback network interface
auto lo
iface lo inet loopback

auto dummy0
iface dummy0 inet manual
        pre-up ifconfig $IFACE up
        post-down ifconfig $IFACE down

# The primary network interfaces
auto enp1s0f4 enp1s0f4d1.10 enp1s0f4d1.10:0 enp1s0f4d1.11 enp1s0f4d1.14 
enp1s0f4d2
#
# internet
#
iface enp1s0f4 inet dhcp
        dns-nameservers 127.0.0.1
        dns-search internal.burn.net
        post-up ip route add 192.168.100.1/32 dev enp1s0f4

# private
#
iface enp1s0f4d1.10 inet static
        address 192.168.64.1
        netmask 255.255.255.0

iface enp1s0f4d1.10:0 inet static
        address 192.168.64.10
        netmask 255.255.255.0

#
# guest
#
iface enp1s0f4d1.11 inet static
        address 192.168.65.1
        netmask 255.255.255.0

# phone tether
iface usb0 inet dhcp

# wep test
iface enp1s0f4d1.13 inet static
        address 192.168.66.1
        netmask 255.255.255.0

# dmz
iface enp1s0f4d1.14 inet static
        address 192.168.69.1
        netmask 255.255.255.0

# fw mgmt
iface enp6s0 inet static
        address 192.168.68.1
        netmask 255.255.255.248

# freenas priv
iface enp1s0f4d2 inet static
        address 10.255.255.1
        netmask 255.255.255.0
        mtu 9000

--- up and down scripts installed:
/etc/network/if-down.d:
total 12
-rwxr-xr-x 1 root root 289 Sep 21 06:40 bind9
-rwxr-xr-x 1 root root 372 May 14  2021 openvpn
-rwxr-xr-x 1 root root 800 Jan  7  2022 postfix

/etc/network/if-post-down.d:
total 4
-rwxr-xr-x 1 root root 1433 Feb  4  2019 vlan
lrwxrwxrwx 1 root root   33 Sep  6  2020 wide-dhcpv6-client -> 
../../wide-dhcpv6/dhcp6c-ifupdown

/etc/network/if-pre-up.d:
total 12
-rwxr-xr-x 1 root root  344 Jun 30  2016 ethtool
-rwxr-xr-x 1 root root 4224 Feb 21  2019 vlan

/etc/network/if-up.d:
total 24
-rwxr-xr-x 1 root root  289 Sep 21 06:40 bind9
-rwxr-xr-x 1 root root 1685 Jun 30  2016 ethtool
-rwxr-xr-x 1 root root  677 Feb  4  2019 ip
-rwxr-xr-x 1 root root  385 May 14  2021 openvpn
-rwxr-xr-x 1 root root 1183 Jan  7  2022 postfix
-rwxr-xr-x 1 root root  312 Dec 10 17:30 sqm
lrwxrwxrwx 1 root root   33 Sep  6  2020 wide-dhcpv6-client -> 
../../wide-dhcpv6/dhcp6c-ifupdown


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

Kernel: Linux 5.10.0-19-amd64 (SMP w/12 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages ifupdown depends on:
ii  adduser   3.118
ii  iproute2  5.10.0-4
ii  libc6     2.31-13+deb11u5
ii  lsb-base  11.1.0

Versions of packages ifupdown recommends:
ii  isc-dhcp-client [dhcp-client]  4.4.1-2.3+deb11u1

Versions of packages ifupdown suggests:
pn  ppp     <none>
pn  rdnssd  <none>

-- no debconf information

Reply via email to