The change did not changed the permission on the image, but the permission changes on the first os-apply-config (first boot) Is it guaranteed in this way the file permission changes before it gets the credentials ? If not, can it be an issue ?
The final write sequence according to my strace.: 11212 open("/etc/tmp1ywvKu", O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW, 0600) = 3 .... 11212 chmod("/etc/tmp1ywvKu", 0600) = 0 11212 chown("/etc/tmp1ywvKu", 0, 0) = 0 11212 rename("/etc/tmp1ywvKu", "/etc/os-collect-config.conf") = 0
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2015:1549