fedora-iot/zezere

CRITICAL warning from ignition (setfiles)

gicmo opened this issue · 2 comments

gicmo commented

This is from an image built via osbuild so maybe I am doing something wrong but I see the following warning in the ignition logs:

[   32.980931] zezere-ignition[826]: }CRITICAL : Ignition failed: failed to handle relabeling: exit status 255: Cmd: "setfiles" "-vFi0" "-r" "/" "/etc/selinux/targeted/contexts/files/file_contexts" "-f" "-" Stdout: "" Stderr: "setfiles:  invalid alt_rootpath: /\n"

This is zezere-ignition-0.5-2.fc33.noarch.rpm.

This is a known issue, and shouldn’t impact anything that we use Ignition for right now (SSH key management).
I am keeping this issue open until I work around it.

I just installed 37.20221118.0 (IoT Edition) today and still get this error.

The service is written to be a oneshot, but because it fails, ignition continues to run every minute pulling the butane file from provision.fedoraproject.org and rewriting the ssh keys.