Another round of some fixups and improvements to altname support. First off, amend the initial support patch to add translation to some more places, especially around sysfs access - as that always requires the primary interface name.
Next, replace quite a few sysfs usages with netlink, making it more robust and adding support for altnames directly, as netlink does it also transparently under the hood. Failing to set the MTU with altnames was originally reported on the community forum [0], which in turn also led me to the ifalias change. [0] https://forum.proxmox.com/threads/wrong-mtu-after-upgrade-to-9.169887/ Testing ======= These two changes can be easily tested by adding e.g. mtu 9000 alias foobar to a stanza for an interface under its altname, afterwards checking with `ip link show <name>` for the MTU and alias. Diffstat ======== Christoph Heiss (5): d/patches: altname support: add translation in some more places d/patches: set interface mtu through netlink instead of sysfs d/patches: set interface alias through netlink instead of sysfs d/patches: ipv6 slaac: properly decode IPv6 devconf attributes d/patches: read ipv6 devconf `disable_ipv6` attribute through netlink ...-add-transparent-support-interface-a.patch | 246 +++++++++++++- ...et-interface-mtu-through-netlink-ins.patch | 318 ++++++++++++++++++ ...et-interface-alias-through-netlink-i.patch | 130 +++++++ ...pv6-devconf-disable_ipv6-attribute-t.patch | 102 ++++++ debian/patches/series | 5 +- ...ac-support-inet6-auto-and-accept_ra.patch} | 140 ++++++-- 6 files changed, 899 insertions(+), 42 deletions(-) create mode 100644 debian/patches/pve/0012-addons-nlcache-set-interface-mtu-through-netlink-ins.patch create mode 100644 debian/patches/pve/0013-addons-nlcache-set-interface-alias-through-netlink-i.patch create mode 100644 debian/patches/pve/0014-nlmanager-read-ipv6-devconf-disable_ipv6-attribute-t.patch rename debian/patches/upstream/{0001-add-ipv6-slaac-support-inet6-auto-accept_ra.patch => 0001-add-ipv6-slaac-support-inet6-auto-and-accept_ra.patch} (82%) -- 2.50.1 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel