FS#67530 - [netctl] system update causes network failure
Attached to Project:
Arch Linux
Opened by Rob (Painless) - Saturday, 08 August 2020, 15:04 GMT
Last edited by Jouke Witteveen (jouke) - Saturday, 08 August 2020, 16:36 GMT
Opened by Rob (Painless) - Saturday, 08 August 2020, 15:04 GMT
Last edited by Jouke Witteveen (jouke) - Saturday, 08 August 2020, 16:36 GMT
|
Details
Description: After updating linux (5.7.11.arch1-1 ->
5.7.12.arch1-1) and systemd (245.7-1 -> 246-1) the
following messages are logged:
[2020-08-08T15:13:06+0100] [ALPM] running '20-systemd-sysusers.hook'... [2020-08-08T15:13:06+0100] [ALPM] running '30-systemd-catalog.hook'... [2020-08-08T15:13:06+0100] [ALPM] running '30-systemd-daemon-reload.hook'... [2020-08-08T15:13:06+0100] [ALPM] running '30-systemd-hwdb.hook'... [2020-08-08T15:13:06+0100] [ALPM] running '30-systemd-sysctl.hook'... [2020-08-08T15:13:06+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/all/rp_filter (explicit setting exists). [2020-08-08T15:13:06+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/default/rp_filter (explicit setting exists). [2020-08-08T15:13:06+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/all/accept_source_route (explicit setting exists). [2020-08-08T15:13:06+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/default/accept_source_route (explicit setting exists). [2020-08-08T15:13:06+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists). [2020-08-08T15:13:06+0100] [ALPM-SCRIPTLET] Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists). [2020-08-08T15:13:06+0100] [ALPM] running '30-systemd-tmpfiles.hook'... [2020-08-08T15:13:06+0100] [ALPM] running '30-systemd-udev-reload.hook'... [2020-08-08T15:13:06+0100] [ALPM] running '30-systemd-update.hook'... [2020-08-08T15:13:06+0100] [ALPM] running '60-depmod.hook'... [2020-08-08T15:13:13+0100] [ALPM] running '90-mkinitcpio-install.hook'... After reboot: Networking (netctl) completely fails to run TwinView stops working Reverting back to previous versions (of everything updated) fixes these problems, no sysctl warnings are generated: [2020-08-08T15:32:33+0100] [ALPM] running '20-systemd-sysusers.hook'... [2020-08-08T15:32:33+0100] [ALPM] running '30-systemd-catalog.hook'... [2020-08-08T15:32:33+0100] [ALPM] running '30-systemd-daemon-reload.hook'... [2020-08-08T15:32:33+0100] [ALPM] running '30-systemd-hwdb.hook'... [2020-08-08T15:32:34+0100] [ALPM] running '30-systemd-sysctl.hook'... [2020-08-08T15:32:34+0100] [ALPM] running '30-systemd-tmpfiles.hook'... [2020-08-08T15:32:34+0100] [ALPM] running '30-systemd-udev-reload.hook'... [2020-08-08T15:32:34+0100] [ALPM] running '30-systemd-update.hook'... [2020-08-08T15:32:34+0100] [ALPM] running '60-depmod.hook'... [2020-08-08T15:32:40+0100] [ALPM] running '90-mkinitcpio-install.hook'... After rebooting again Networking and TwinView work as expected. Please let me know if additional information is required. My build is a vanilla build, no unusual changes or modifications. |
This task depends upon
the boot log will have something like
/etc/systemd/system/netctl@enp3s0.service:1: .include directives are deprecated, and support for them will be removed
From the NEWS of systemd 246
* Support for the .include syntax in unit files has been removed. The
concept has been obsolete for 6 years and we started warning about
its pending removal 2 years ago (also see NEWS file below). It's
finally gone now.
remedy:
https://bbs.archlinux.org/viewtopic.php?id=241039
All too easy with the excellent support and responsiveness of the arch fellows... thanks
grep -ls '^.include ' /etc/systemd/system/netctl@*.service | \
while read -r unit; do
profile=$(systemd-escape --unescape "${unit:27:-8}")
echo ":: The unit for profile '$profile' uses deprecated features."
echo " Consider running: netctl reenable $(printf '%q' "$profile")"
done
Apologies for all this fuss about very little, the sysctl messages and failure of TwinView threw me.
My last netctl upgrade was in May, I don't recall seeing a warning but I may well be mistaken about that.
Thanks for the assistance :) I shall request closure.