Skip to content

Fixed device file modes in test machine chroot - #2525

Open
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:chroot-device-modes
Open

larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:chroot-device-modes

Conversation

@larsewi

@larsewi larsewi commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Since RsyncProject/rsync@808daef3e9a7 rsync skips chmod on device files when no symlink-safe chmod is available. This left /dev/null in the chroot unwritable for non-root users on RHEL 8. 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

Build Status

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>
@craigcomstock

craigcomstock commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

Build Status

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