Skip to content

Updated dependencies (3.24.x)#2269

Open
github-actions[bot] wants to merge 4 commits into
3.24.xfrom
update-dependencies-action-3.24.x-1779697926
Open

Updated dependencies (3.24.x)#2269
github-actions[bot] wants to merge 4 commits into
3.24.xfrom
update-dependencies-action-3.24.x-1779697926

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated dependency updates for the 3.24.x branch

@github-actions github-actions Bot requested review from craigcomstock and larsewi May 25, 2026 08:32
@larsewi larsewi force-pushed the update-dependencies-action-3.24.x-1779697926 branch from 6fc7d66 to 8abf3c4 Compare May 25, 2026 12:08
@larsewi
Copy link
Copy Markdown
Contributor

larsewi commented May 25, 2026

@cf-bottom Jenkins with exotics please :)

@cfengine cfengine deleted a comment from cf-bottom May 27, 2026
Some kernel-headers packages ship <linux/openat2.h> but do not export
SYS_openat2 from <asm/unistd.h>, causing rsync 3.4.3's syscall.c to
fail to compile:

    syscall.c: In function 'secure_relative_open_linux':
    syscall.c:1723:19: error: 'SYS_openat2' undeclared (first use in this function); did you mean 'SYS_openat'?
     1723 |   dirfd = syscall(SYS_openat2, AT_FDCWD, basedir, &bhow, sizeof bhow);
          |                   ^~~~~~~~~~~
          |                   SYS_openat

Apply a source patch that adds a fallback #define SYS_openat2 437
(the syscall number is the same on all Linux architectures).

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi force-pushed the update-dependencies-action-3.24.x-1779697926 branch from 255da8a to 6801371 Compare May 28, 2026 12:07
@cfengine cfengine deleted a comment from cf-bottom May 28, 2026
larsewi and others added 2 commits June 1, 2026 12:01
Manually cherry-picked the detect-environment portion of commit
b550647 ("Added a shell variable for the OS major version") from
master; the full commit does not apply cleanly to this branch.

Co-authored-by: jakub-nt <175944085+jakub-nt@users.noreply.github.com>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
RHEL/CentOS 7 and Ubuntu 20.04 ship kernel-headers without
<linux/openat2.h>, so rsync 3.4.3's unconditional include fails before
the existing SYS_openat2 fallback can take effect. Add a second patch
that inlines the header verbatim, applied only on those platforms via
$OS / $OS_VERSION_MAJOR; everything else keeps using
fix-sys-openat2-undeclared.patch.

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@cfengine cfengine deleted a comment from cf-bottom Jun 1, 2026
@cfengine cfengine deleted a comment from cf-bottom Jun 1, 2026
@cf-bottom
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants