Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pxe customize command changes permissions #1188

Open
zaneb opened this issue May 19, 2023 · 0 comments
Open

pxe customize command changes permissions #1188

zaneb opened this issue May 19, 2023 · 0 comments

Comments

@zaneb
Copy link

zaneb commented May 19, 2023

Bug

Host Operating System Version

RHEL 8

Target Operating System Version

RHCOS 4.12/4.13

coreos-installer Version

0.14-0.17

Expected Behavior

Output initrd file from coreos-installer pxe customize has either permissions 0664 (same as the initrd initially produced by coreos installer iso extract pxe) or the same permissions as the input initrd file.

Actual Behavior

The output initrd file is created with permissions 0600, with the result that after a naive copy (i.e. without chown) of the PXE artifacts to a TFTP/HTTP server directory, the kernel and rootfs work fine but the initrd is not readable and the user then has to debug what went wrong.

Reproduction Steps

  1. coreos-installer iso extract pxe coreos.iso
  2. coreos-installer pxe customize --live-ignition config.ign -o custom-initrd.img coreos-initrd.img
  3. ls -l

Other Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant