Whencreate /var/run is a tmpfs and/motd if missing when update_motd="NO",
There are three cases where /var/run/motd will not be created and if manuallyon't exist if update_motd="NO"
created,1. /var/run is tmpfs.
2. doing first install and setting update_motd="NO" before rebooting.
3. will not pupgrading from a versist after rebooton that used /etc/motd.
Change Copy /etc/motd rc script to always run.if it is readable to preserve motd if upgrading
Use update_motd variable to decide if version info should be prepended or notfrom a version before /var/run/motd was introduced.
Otherwise, copy /etc/motd.template.
PR: 250081