Still no auth logic, but it can now also process \S and \S{VAR} to show values from /etc/os-release with /usr/lib/os-release as fallback.
#Linux #JustProgrammerThings #WeekendProject (sort of) #Lua #agetty
Still no auth logic, but it can now also process \S and \S{VAR} to show values from /etc/os-release with /usr/lib/os-release as fallback.
#Linux #JustProgrammerThings #WeekendProject (sort of) #Lua #agetty
/etc/issue works/etc/issue.d/*.issue files worksIs it a whole mess built-in Lua functions, #luaposix calls, crude gsub() replacements, and some io.popen() trickery and missing everything even remotely being related to any authentication mechanisms? ABSOLUTELY YES! 🙃
Correction, the side effect in question is from #systemd, when I create a dummy [email protected] with this an
ExecStart=-/bin/sh -c 'trap "exit 0" SIGTERM; while true; do sleep 1; done'
a following start of sddm.service also succeeds. So #agetty is not who causes this surprisingly hard to identify side effect.
(tested together with having set all of the same flags using stty manually beforehand)
Anyone a clue what else changes on a system just through "systemctl start [email protected]; sleep 10s; systemctl stop [email protected]" that wouldn't show up within "stty -aF /dev/tty1"?
Interestingly it's none of the obvious things that #agetty aka [email protected] is doing.
Even though stty reports differences in the flags for before and after it executes, just setting the exact same flags after a reboot manually isn't enough to get sddm.service to start.
So it's some wird side effect that doesn't show up within stty but persists even after agetty terminated. :/
Ich versuche seit ein paar Stunden vergeblich, eine serielle Terminal-Verbindung von meinem Laptop zu meinem headless #Debian-Mini-Server mittels USB-to-Serial-Kabel zu etablieren.
Auf dem Server läuft #agetty, auf dem Lapop #minicom oder #picocom. Die Devices sind alle zugreifbar, die Baudrate und sonstige Parameter sind identisch.
Muss ich vielleicht wie früher ein explizites Nullmodem bzw. X-Modem-Kabel verwenden? Hätte gedacht, die USB-Dinger erkennen das automatisch.