It would be great if agetty would look for /usr/lib/issue as fallback for /etc/issue, if it is missing.
In systemd we recently (systemd/systemd#13154) started to copy in an issue file to /etc/issue if the file was missing, in order to support systems that are booted up with an empty /etc. I'd like to get rid of this again, and would prefer if agetty would maybe just use a file in /usr/lib/issue if /etc/issue is not there, so that /etc becomes entirely redundant for it.
As it turns out Fedora already ships such a file in /usr/lib/issue, and symlinks /etc/issue to it as part of the fedora-release package. It would be fantastic if that symlink wouldn't even have to exist.
(and yupp /usr/lib/issue.d/ might be something to support too?)
(and while we are at it, maybe /run/issue.d/, too? so that during boot tools can write out messages there that are then shown at login time without having to modify /etc at all?)
It would be great if agetty would look for /usr/lib/issue as fallback for /etc/issue, if it is missing.
In systemd we recently (systemd/systemd#13154) started to copy in an issue file to /etc/issue if the file was missing, in order to support systems that are booted up with an empty /etc. I'd like to get rid of this again, and would prefer if agetty would maybe just use a file in /usr/lib/issue if /etc/issue is not there, so that /etc becomes entirely redundant for it.
As it turns out Fedora already ships such a file in /usr/lib/issue, and symlinks /etc/issue to it as part of the fedora-release package. It would be fantastic if that symlink wouldn't even have to exist.
(and yupp /usr/lib/issue.d/ might be something to support too?)
(and while we are at it, maybe /run/issue.d/, too? so that during boot tools can write out messages there that are then shown at login time without having to modify /etc at all?)