I recently moved my RaspberryPi 4 to FCOS. It was an enjoyable experience.
I managed to confine all my configuration (sysctl, rootless quadlets, etc) into a systemd-confext, which makes /etc to remain read-only.
Everything works fine except for two units:
Failed Units: 2
console-login-helper-messages-gensnippet-ssh-keys.service
coreos-ignition-write-issues.service
Those are not hard blockers.
These services attempt to write to /etc/issues.d to report issues, but since /etc is RO, they fail.
After some archaeology, I found out coreos/console-login-helper-messages#91 has already partially migrated the logic to write issues to/run/issue.d. However /etc/issues.d was kept to maintain compatibility with the default agetty configuration c.f: https://github.com/coreos/console-login-helper-messages/blob/70344cce1758730245cb46ca4d5bcdb56ff2f20e/usr/lib/console-login-helper-messages/issue.defs#L15-L17
Since then, the getty systemd service has been updated to source both locations:
$ systemctl cat getty@tty1.service | grep ExecStart=
ExecStart=-/sbin/agetty --noreset --noclear --issue-file=/etc/issue:/etc/issue.d:/run/issue.d:/usr/lib/issue.d - ${TERM}
Therefore, I believe we can now finalize the migration to /run/issue.d.
I recently moved my RaspberryPi 4 to FCOS. It was an enjoyable experience.
I managed to confine all my configuration (sysctl, rootless quadlets, etc) into a systemd-confext, which makes
/etcto remain read-only.Everything works fine except for two units:
Those are not hard blockers.
These services attempt to write to
/etc/issues.dto report issues, but since/etcis RO, they fail.After some archaeology, I found out coreos/console-login-helper-messages#91 has already partially migrated the logic to write issues to
/run/issue.d. However/etc/issues.dwas kept to maintain compatibility with the defaultagettyconfiguration c.f: https://github.com/coreos/console-login-helper-messages/blob/70344cce1758730245cb46ca4d5bcdb56ff2f20e/usr/lib/console-login-helper-messages/issue.defs#L15-L17Since then, the
gettysystemd service has been updated to source both locations:Therefore, I believe we can now finalize the migration to
/run/issue.d.