Skip to content

Fixed device file modes in test machine chroot (3.27.x) - #2527

Merged
larsewi merged 1 commit into
cfengine:3.27.xfrom
larsewi:chroot-device-modes-3.27.x
Oct 5, 2026
Merged

larsewi merged 1 commit into
cfengine:3.27.xfrom
larsewi:chroot-device-modes-3.27.x

Conversation

@larsewi

@larsewi larsewi commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Backported from #2525

Since RsyncProject/rsync@808daef3e9a7 rsync
skips chmod on device files when no symlink-safe chmod is available
(glibc < 2.32 and kernel < 6.6). This left /dev/null in the chroot
unwritable for non-root users on RHEL 8 with rsync 3.1.3-28.el8_10.
Now copies the device file modes from the host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 462ce29)
@larsewi larsewi changed the title Fixed device file modes in test machine chroot Fixed device file modes in test machine chroot (3.27.x) Oct 5, 2026
@larsewi

larsewi commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

@larsewi
larsewi merged commit d67f226 into cfengine:3.27.x Oct 5, 2026
32 of 33 checks passed
@larsewi
larsewi deleted the chroot-device-modes-3.27.x branch October 5, 2026 10:53
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