On 16/12/2020 19.54, Felix Miata wrote:
Carlos E. R. composed on 2020-12-16 11:15 (UTC+0100):
Felix Miata wrote:
Google can't seem to point me to an answer. I did a fresh install of TW a month ago, 20201111 IIRC. On it the vtty prompts are naked, nothing but the prompt on the top line. /etc/issue.net exists, but /etc/issue does not, even after upgrade to 20201214. What else is missing?
The prompt comes from this variables (run "set"):
The only significance of the prompt to the question is its position WRT what's missing.
The welcome message comes from "/etc/motd".
That's even less relevant.
There is also:
cer@Telcontar:~> cat /etc/issue Welcome to \S - Kernel \r (\l).
That's the general idea. As I wrote, it's missing...
cer@Telcontar:~>
And possibly "/etc/issue.net" - for network logins. And I have just re-discovered /etc/issue.d/
...yet /etc/issue.net is not missing.
cer@Telcontar:~> rpm -qf /etc/issue openSUSE-release-15.1-lp151.304.1.x86_64 cer@Telcontar:~>
Methinks you missed the relevance of TW. Some things have gotten changed in TW in the moons since 15.1 release. In fact, I do get the resulting kernel version announcement prior to the prompt on a remote login:
I thought you were asking how it was done, not only why it failed :-)
Welcome to openSUSE Tumbleweed 20201214 - Kernel 5.9.14-1-default (0). s2846 login:
I expect to see the same thing on the vttys, but it, like /etc/issue, is just not there:
Well, it is not there because the file is missing. That's the cause.
151user # rpm -q --filesbypkg openSUSE-release | grep issue openSUSE-release /etc/issue
twuser # rpm -q --filesbypkg openSUSE-release | grep issue openSUSE-release /etc/issue.net openSUSE-release /usr/lib/issue.d openSUSE-release /usr/lib/issue.d/10-openSUSE.conf openSUSE-release /usr/lib/issue.d/90-openSUSE.conf twuser# ls -Gg /usr/lib/issue.d/ total 2 -rw-r--r-- 1 59 Dec 14 14:10 10-openSUSE.conf -rw-r--r-- 1 2 Dec 14 14:10 90-openSUSE.conf
So, TW did change this. But, knowing this doesn't answer $SUBJECT, which is
what's the *mechanism* (that uses /etc/issue (on Leap), or /usr/lib/issue.d/10-openSUSE.conf (on TW))
and
why isn't it working?
I guess it must be bug report time.
Yep. -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)