Andrei Borzenkov composed on 2024-05-25 08:34 (UTC+0300):
Felix Miata wrote:
I have multiple installations where I removed issue-generator for some period until I decided to reverse my attitude about it. The main idea was, and remains, I don't want to see IP addresses onscreen with VT logins. Now I have some installations where even though it has been reinstalled, login prompts on VTs are simply
hostname login:
on an otherwise blank screen until such time as I
systemctl start issue-generator.service
Also on all these installations, logging in fails to report date last logged in. Reinstalling issue-generator hasn't helped.
# inxi -S System: Host: msi85 Kernel: 6.6.30-1-longterm arch: x86_64 bits: 64 Console: pty pts/0 Distro: openSUSE Tumbleweed 20240514 # systemctl list-units --type target --state active | grep graphical # systemctl status graphical.target ○ graphical.target - Graphical Interface Loaded: loaded (/usr/lib/systemd/system/graphical.target; indirect; preset: disabled) Active: inactive (dead) Docs: man:systemd.special(7) # dmesg | grep issue # journalctl -b | grep issue # systemctl list-unit-files | grep issue issue-generator.path enabled enabled issue-add-ssh-keys.service disabled disabled issue-generator.service enabled enabled # ls -glG /etc/issue.d/* /etc/motd.d/* /etc/motd /etc/issue /run/issue ls: cannot access '/etc/motd': No such file or directory ls: cannot access '/run/issue': No such file or directory lrwxrwxrwx 1 12 Apr 29 2022 /etc/issue -> ../run/issue -rw-r--r-- 1 0 Aug 18 2021 /etc/issue.d/70-eth0.conf
You configured your system to ignore generated IP address information and now you are asking why it ignores it?
The goals are: 1-to have unused VTs look like they did before there was systemd, a Welcome to ... line at top of screen, and nothing but black between it and login prompt a line or two or three below it. 2-to have passwd submission responded to with an announcement of last login.
-rw-r--r-- 1 0 Aug 18 2021 /etc/issue.d/90-openSUSE.conf -rw-rw-r-- 1 27 Oct 3 2015 /etc/motd.d/welcome # cat /etc/issue.d/* /etc/motd.d/* /etc/motd /etc/issue /run/issue Have a lot of MSI85 fun... cat: /etc/motd: No such file or directory cat: /etc/issue: No such file or directory cat: /run/issue: No such file or directory #
How can these installations be troubleshot? What else is missing? What's responsible for reporting last login timestamp? -- Evolution as taught in public schools is, like religion, based on faith, not based on science.
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata