Bug#989343: ifupdown: Journal warning if there are no files in /etc/network/interfaces.d/*
Package: ifupdown Followup-For: Bug #989343 X-Debbugs-Cc: yg2...@hotmail.com Dear Maintainer, No warnings with the latest version 0.8.37 and no files in /etc/network/interfaces.d/: NetworkManager[829]: [1650793569.4283] monitoring ifupdown state file '/run/network/ifstate'. NetworkManager[829]: [1650793573.6997] settings: Loaded settings plugin: ifupdown ("/usr/lib/x86_64-linux-gnu/NetworkManager/1.36.4/libnm-settings-plugin-ifupdown.so") NetworkManager[829]: [1650793573.6998] ifupdown: management mode: unmanaged NetworkManager[829]: [1650793573.6998] ifupdown: interface-parser: parsing file /etc/network/interfaces NetworkManager[829]: [1650793573.6998] ifupdown: interface-parser: source line includes interfaces file(s) /etc/network/interfaces.d/* NetworkManager[829]: [1650793573.6999] ifupdown: interfaces file /etc/network/interfaces.d/* doesn't exist NetworkManager[829]: [1650793573.6999] ifupdown: interface-parser: finished parsing file /etc/network/interfaces I think it could be marked as resolved. Thank you very much. -- 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/* # The loopback network interface auto lo iface lo inet loopback --- /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 4 -rwxr-xr-x 1 root root 1677 2019-03-30 15:32:49 clamav-freshclam-ifupdown lrwxrwxrwx 1 root root 32 2022-04-09 09:28:35 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh /etc/network/if-post-down.d: total 0 lrwxrwxrwx 1 root root 28 2018-06-17 11:28:32 macchanger -> ../../macchanger/ifupdown.sh lrwxrwxrwx 1 root root 32 2022-04-09 09:28:35 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh /etc/network/if-pre-up.d: total 4 -rwxr-xr-x 1 root root 344 2016-06-30 16:53:02 ethtool lrwxrwxrwx 1 root root 28 2018-06-17 11:28:32 macchanger -> ../../macchanger/ifupdown.sh lrwxrwxrwx 1 root root 32 2022-04-09 09:28:35 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh /etc/network/if-up.d: total 8 -rwxr-xr-x 1 root root 1677 2019-03-30 15:32:49 clamav-freshclam-ifupdown -rwxr-xr-x 1 root root 1685 2016-06-30 16:53:02 ethtool lrwxrwxrwx 1 root root 32 2022-04-09 09:28:35 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh -- System Information: Debian Release: bookworm/sid Architecture: amd64 (x86_64) Kernel: Linux 5.16.0-6-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.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.121 ii iproute2 5.17.0-2 ii libc6 2.33-7 ii lsb-base 11.1.0 Versions of packages ifupdown recommends: ii isc-dhcp-client [dhcp-client] 4.4.2-P1-1+b1 Versions of packages ifupdown suggests: ii ppp 2.4.9-1+1.1 pn rdnssd -- debconf-show failed
Bug#989343: ifupdown: Journal warning if there are no files in /etc/network/interfaces.d/*
Package: ifupdown Version: 0.8.36+nmu1 Followup-For: Bug #989343 X-Debbugs-Cc: yg2...@hotmail.com Dear Maintainer, Same warning with last version (0.8.36+nmu1). "man interfaces" say: By default, on a freshly installed Debian system, the interfaces file includes a line to source files in the /etc/network/interfaces.d directory. I prefer a quick and easy solution like creating any file within /etc/network/interfaces.d/, either empty (checked) or with any comments (checked too): sudo touch /etc/network/interfaces.d/anything or echo "# ... like 'This page intentionally left blank' ... " | sudo tee /etc/network/interfaces.d/anything. This solves this bug without modify the default file /etc/network/interfaces (1). One question: checking the .deb file, (1) is not included, and if I search for 'apt-file search /etc/network/interfaces', this package 'ifupdown' does not appear. Should it be so? Thank you very much. -- System Information: Debian Release: bookworm/sid APT prefers testing-proposed-updates APT policy: (500, 'testing-proposed-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.14.0-4-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.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.15.0-1 ii libc6 2.32-4 ii lsb-base 11.1.0 Versions of packages ifupdown recommends: ii isc-dhcp-client [dhcp-client] 4.4.1-2.3 Versions of packages ifupdown suggests: ii ppp 2.4.9-1+1 pn rdnssd -- debconf-show failed
Bug#989343: ifupdown: Journal warning if there are no files in /etc/network/interfaces.d/*
Package: ifupdown Version: 0.8.36 Severity: normal X-Debbugs-Cc: tia3...@protonmail.com Dear Maintainer, When there are no interface files in /etc/network/interfaces.d/* ifupdown returns warning to NetworkManager. NetworkManager[932]: [1622551341.0762] ifupdown: interfaces file /etc/network/interfaces.d/* doesn't exist My connections are managed by NetworkManager and I have none files in in there. Workaround is to comment out sources line in interfaces #source /etc/network/interfaces.d/* Bug doesn't cause any issues in functionality as of I know of. -- 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/* # The loopback network interface auto lo iface lo inet loopback --- /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 4 -rwxr-xr-x 1 root root 1015 Feb 6 16:05 avahi-autoipd lrwxrwxrwx 1 root root 32 Feb 25 22:19 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh /etc/network/if-post-down.d: total 4 -rwxr-xr-x 1 root root 1409 Mar 7 2020 wireless-tools lrwxrwxrwx 1 root root 32 Feb 25 22:19 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh /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 4191 Mar 7 2020 wireless-tools lrwxrwxrwx 1 root root 32 Feb 25 22:19 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh /etc/network/if-up.d: total 8 -rwxr-xr-x 1 root root 923 Feb 6 16:05 avahi-autoipd -rwxr-xr-x 1 root root 1685 Jun 30 2016 ethtool lrwxrwxrwx 1 root root 32 Feb 25 22:19 wpasupplicant -> ../../wpa_supplicant/ifupdown.sh -- System Information: Debian Release: 11.0 APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-6-amd64 (SMP w/4 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 /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-12 ii lsb-base 11.1.0 Versions of packages ifupdown recommends: ii isc-dhcp-client [dhcp-client] 4.4.1-2.2 Versions of packages ifupdown suggests: ii ppp 2.4.9-1+1 pn rdnssd -- no debconf information