tftpboot::linux_model on fresh SIMP 6.5.0 delivers linux-install files with broken permissions

Description

Using a fresh puppetserver 6.5.0 (pre-)Alpha Vagrant box (built by simp-packer from the most recent 6.5.0 pre-Alpha testing ISO), the following Puppet code (from simp-packer's site::tftpboot class) results in files under /var/lib/tftpboot/linux-install with broken permissions, which prevent kickstarts:

The resulting permissions under /var/lib/tftpboot/linux-install/:

(The permission for these files can be fixed manually by running chmod go=u-w -R /var/lib/tftpboot/linux-install as root.)

Acceptance Criteria

None

Activity

Show:
Chris Tessmer
October 7, 2020, 5:55 PM

This problem was introduced in simp/tftpboot 6.3.0 with the addition of these parameters to manifests/config.pp:

Consequently, although the permissions in the rsync source on the ISO were correct for tftpboot:

The permissions (and system context) are now stripped in the rsync destination:

Chris Tessmer
October 15, 2020, 8:11 PM
Edited

Attempting to validate fixes for this issue from an EL8 kickstart server (the scenario behind the original changes that caused this issue) has spawned a number of follow-on issues: , , , ,

Done

Epic Link

Story Points

4

Assignee

Chris Tessmer

Sprint

None

Affects versions

Priority

High
Configure