| Age | Commit message (Collapse) | Author |
|
frr: T9606: update commit hash which includes ospf_auth_check_md5_digest fix
|
|
https://github.com/FRRouting/frr/commit/330442fca5c8 changed the MD5/HMAC
sequence-number check from > to >=, so ospfd now drops every packet whose
sequence number repeats the last accepted one.
The upstream fix is the no compatible rfc7474 switch under router ospf
(stable/10.7 commit b5f5261514, PR #23956).
Upgrade FRR in rolling and expose CLI know for this changing behavior. Keep
already existing behavior by setting no compatible rfc7474 per default.
This fixes the log entries of:
ospfd[2503]: [EC 134217740] interface eth2:xxx.yyy.94.21: ospf_auth_check_md5_digest
bad sequence 1793325513 (expect > 1793325513), Router-ID: xxx.yyy.95.93
|
|
Kernel: T9580: unify kexec/kdump and PPP options in common config fragments
|
|
vyos/T9451-frr-remove-extra-leak-processing-on-router-bgp
frr: T9451: Remove extra processing on router bgp
|
|
Kernel: T9595: replace deprecated MLNX_OFED with DOCA-OFED
|
|
T9607: Synchronize the list of branches across all scripts [vyos-build]
|
|
|
|
pdns-recursor: T9608: use a VyOS version suffix for the rebuild
|
|
Remove leak processing on each `router bgp` command in vtysh.
The patch is merged upstream.
|
|
T9609: openssl: bump to 3.0.22-1~deb12u2
|
|
Debian's bookworm-security update (DLA-4859-1) brings several security
fixes, including backports from 3.0.23. Since VyOS builds its own
OpenSSL from a higher-priority repo, these never reach the image unless
the pinned tag is bumped.
The FIPS patch applies unchanged and the +vyos1 suffix is kept.
|
|
Our pdns-recursor rebuild kept Debian's version 4.8.8-1+deb12u1, so the
VyOS repository and bookworm-security shipped different binaries under
the same version. dpkg does not record where a package came from, and
when both builds carry identical size and dependency metadata - as they
do on arm64 - APT associates the installed package with the Debian
entry. The dist-upgrade live-build runs during the binary stage then
sees our build as a downgrade and the ISO build aborts.
Append +vyos0 to the version so our build is always distinct and newer.
|
|
smoketest: T9402: more robust GRUB menu selection
|
|
Three unacknowledged Home keys failed the run after about three seconds,
although most of the autoboot countdown was still left. A guest stalled for
over a second on a loaded host could trigger it.
Home is now resent until shortly before the countdown expires and only then
counts against the three attempts.
|
|
|
|
The live ISO's UEFI GRUB menu was navigated with arrow keys sent on fixed
sleeps, so a missed keystroke booted the wrong entry.
The harness now waits for the autoboot countdown, sends one key at a time and
waits for GRUB to highlight the expected entry before sending the next,
restarting from the first entry if an acknowledgement is missing. Navigation
uses Ctrl-A and Ctrl-N instead of multi-byte arrow-key escape sequences, which
are less reliable on the EFI console. The run fails if GRUB never confirms the
serial console entry.
|
|
Kernel: T9598: Update Linux Kernel to 6.18.62
|
|
Changes:
* 6.18.61 https://lwn.net/Articles/1105901/
* 6.18.62 https://lwn.net/Articles/1105904/
|
|
Kernel: T9591: add VyOS internal revision to the kernel release string
|
|
MLNX_OFED 24.07 is end-of-life and cannot build against Linux 6.13 or
newer. Its failures were masked until the build started aborting on the
first error.
Move to DOCA-OFED 26.07 from DOCA 3.5.0. Patches make it build on
6.18.y, where stable backports changed queue config and XSK metadata
APIs in ways OFED does not expect, avoid an unneeded dh-exec build
dependency and stop shipping OFED build sources in the modules package,
as VyOS only uses precompiled modules.
The build no longer needs root. Only kernel packages are built and the
host's installed packages are left alone, so all generated files belong
to the calling user. mlnx-tools is built separately as the utils package
depends on it. The module set is unchanged.
|
|
github: T9579: trigger wide-dhcpv6 build from its own path filter
|
|
Rebuilding the same upstream kernel with additional patches, e.g. urgent
security fixes, produced the exact same release string and package name
as the previous build. A patched image could not be told apart from an
unpatched one.
A new kernel_revision default is now placed between the upstream version
and the flavor, so 6.18.60-vyos becomes 6.18.60-1-vyos. It ends up in
uname -r, the module directory, the linux-image package name and its
Debian version; out-of-tree modules follow automatically. Bump it on
every patched rebuild of the same upstream version and reset it to 1 on
an upstream bump.
The kernel and all module packages must be rebuilt and published along
with this change, otherwise the image build cannot find the new
linux-image package.
|
|
Kexec, kdump, PPTP and PPPoL2TP options were set in both the amd64 and
arm64 defconfigs, duplicating or contradicting the shared fragments -
x86 even disabled CRASH_DUMP while the debug fragment enabled it.
Drop them from the per-arch defconfigs. The kexec options now live next
to CRASH_DUMP in the debug fragment, PPTP and PPPoL2TP were already
covered by the PPP fragment. The resulting kernel configuration is
unchanged.
|
|
Kernel: T9577: Intel NIC drivers must honour commit_id from package.toml
|
|
A change under scripts/package-build/wide-dhcpv6 dispatched the ethtool
build instead, so wide-dhcpv6 was never rebuilt and ethtool was built
for no reason.
|
|
Several build helpers kept going after a failing command, so a broken
patch, compile or signing step could still produce a package and the
calling build reported success. Unsigned modules could end up in an image
this way.
These helpers now stop at the first error. The Mellanox OFED build also
exits non-zero when not run as root instead of silently succeeding.
|
|
Now that the pins are honoured, move them to the current upstream
releases so images do not fall back to older drivers than they ship today:
- igb 5.20.93
- ixgbe 6.5.9
- ixgbevf 5.3.87
- i40e 2.30.83
- ice 2.7.6
- iavf 4.13.78
|
|
The Intel out-of-tree driver build reset each source tree to origin/main
after the pinned commit_id had been checked out. Every driver was built
from whatever was on Intel's main branch, so the pins had no effect and
builds were not reproducible.
The tree is now reset to the checked-out commit, which still drops leftover
patches from a previous run but keeps the pinned release.
|
|
T8050: FRR: add Split Horizon Filter
|
|
* Add patch with split horizon filter support in FRR
* Add patch with enabling split horizon filter
* Add dependencies:
** clang, llvm, bpftool in Dockerfile;
** libbpf as runtime dependency of FRR
|
|
isc-kea: T8461: drop VLAN tagged packets on the raw socket of the parent interface
|
|
build: T9547: rolling images use the 999 default version instead of 1.5
|
|
hooks: T9553: drop file capabilities while running live-build chroot hooks
|
|
Testsuite: T3871: attach NICs to the root bus of the emulated machine
|
|
Pinning the NICs to fixed PCI slots assumed a root bus named pci.0, which
only i440fx provides. On q35, used by the Secure Boot test, and on the arm64
virt machine it is pcie.0, so QEMU refused to start.
Pick the bus name from the machine type.
|
|
The hook removing Dropbear host keys was numbered 100 to run last, but hooks
execute in lexical order, so it actually ran between 09 and 11. Renumber it
to 98 so it runs after all other hooks, ahead of restoring file capabilities.
Hooks do not need to be executable in the repository: live-build copies each
chroot hook into the chroot and sets the executable bit before running it,
and does the same for binary hooks. The mode was inconsistent across files
anyway, so drop it everywhere.
|
|
vyos-1x grants cap_sys_module to kmod and cap_sys_time to date. In a build
container whose capability bounding set lacks these (e.g. a default Proxmox
LXC), the kernel refuses to execute both binaries, even as root. mkinitramfs
ignores the failing modprobe calls and silently produces an initrd without
any kernel modules - the ISO builds fine but cannot find its boot medium.
The capabilities are now removed while the chroot hooks run and restored
afterwards. The initramfs is regenerated before restoring them and live-build
is told to skip its own final regeneration, which would otherwise run with
the capabilities back in place. The build now fails if the initrd lacks the
squashfs module.
|
|
A rolling build without an explicit version was named 1.5-rolling-<ts>,
so it could not be told apart from the 1.5 (circinus) release line.
Rolling is no longer mapped to a version number and now gets the default
999.<timestamp>, without a warning. The release branches sagitta (1.4),
circinus (1.5) and scutum (1.6) are mapped explicitly.
Branch Version
--------- ------------------------
rolling 999.202610310016
scutum 1.6-rolling-202610310016
sagitta 1.4-rolling-202610310016
circinus 1.5-rolling-202610310016
(unknown) 999.202610310016 (with warning)
|
|
T3871: bind interface names to hardware slots instead of hw-id
|
|
The seed described one card and gave no MAC to match it on, so nothing was
recorded and the testcase passed whether or not the order the datasource
gave was kept.
Describe three cards instead, named against the order they sit in as a
three-cycle: not one of them keeps the name its slot would give it, so no
ordering of the hardware reproduces this and it only holds if the datasource
order reached the mapping file. Check each name carries the MAC it was given,
that the map records it against the slot rather than the MAC, and that the
address asked for on the last card of the cycle is on the wire that card
sits on.
|
|
Nothing verified that the pre/post-config hooks are in place once a system is
up, nor that the copy which puts them there worked. A boot with the encrypted
configuration volume shut is the one case that exercises that copy, and it
quietly copied a directory for as long as the image root resolved to two paths.
The installed system is now checked twice: on a plain first boot, and on the
boot where the volume stays closed. Both assert the hooks are executable and
that the boot logged no failed copy. The file mode is deliberately not
asserted - the packaged scripts and the restored ones differ, and both are
correct.
|
|
The suite reported a failing target and then carried on with the next one,
and make still exited 0 - so a broken image could pass a full run.
Every recipe in this Makefile shares one shell, because .ONESHELL is declared
globally and make accepts no prerequisites for it. The suite therefore only
ever returned the status of its last target. It now stops at the first failure
and exits non-zero, and the note describing the old behaviour was wrong.
|
|
A failing naming testcase showed the outcome but not the input, which left
the interesting cases - a card matched by slot, an adapter order taken from
the firmware - hard to reconstruct from a log alone.
The run now dumps what the machine claims to be once it is up: the DMI vendor
and product, and the SMBIOS tables carrying the onboard device designations.
At every checkpoint it also dumps, per interface, the sysfs attributes the
store reads and the udev properties it anchors a name on.
All of it is read-only and already on the console path, so it costs a few
seconds per run and turns an unreproducible failure into a readable one.
|
|
The naming store orders a hypervisor's adapters by the firmware port label,
and ESXi is the only platform that hands one out, so nothing in the harness
reached that path.
A second target runs the existing naming testcases on a guest presenting
VMware firmware - the DMI vendor and one port label per adapter, both injected
as SMBIOS tables. The adapter model changes with it: a virtio NIC cannot carry
a label at all, as the device it exposes in sysfs is not the PCI function the
label hangs off. The run stops at once if either signal is missing, so a guest
that is quietly ordinary hardware cannot pass as a VMware one.
* "make test-ifname" is now "make test-interface-naming"
* "make test-interface-naming-vmware" is the new variant
|
|
The rescan runs at boot, so a radio has to exist before the naming pass for
it to be found. The harness loaded the module once the system was already
up, which is why nothing caught a radio being left without a configuration
node.
Persist the module so it is there on the next boot, then check every radio
on the system names the phy it actually sits on.
It goes last in the testcase on purpose: the node it checks for is committed
on the following boot, and a radio which failed to come up would disturb the
naming checks before it.
|
|
Every other multi-word test target is hyphenated, this one was not.
|
|
`vyatta-biosdevname` is no longer installed - interface names come from the
mapping store rather than from anything the hypervisor reports, so the fork
was dropped along with the udev rules which called it. Also terminate the
last line, which had no newline.
|
|
Hardware appearing after boot had no coverage, so neither the udev rule nor
the naming unit behind it were ever run by a test.
Plug two cards into slots between those already in use, where hardware order
alone would place them among the existing interfaces. They must be named
after them instead. Move a card and it keeps its name; drop an unrelated card
into the slot it left and that name is not handed out again; replace a card
in place and the swap is reported and warned about.
The Kernel registers a card long before the pass udev starts for it has
finished, so wait for the address on record rather than for the device.
|
|
Interface names are resolved from this store, so its contents are what makes
a naming failure reproducible after the fact. Print it as part of the shared
basic CLI tests, which every testcase runs, and show the error when the file
is absent rather than an empty result - a missing store is itself a finding.
|
|
The slots the NICs land in decide the order names are handed out in, so they
must not move when a device is added or removed from the commandline. Pin
them, and leave gaps between the groups so a card can later be plugged into
a slot which sits between those already in use.
|