Upgraded today, now

`
× getty@tty1.service - Getty on tty1
Loaded: loaded (/usr/lib/systemd/system/getty@.service; enabled; vendor preset: enabled)
Drop-In: /usr/lib/systemd/system/getty@tty1.service.d
└─20-defaults-SUSE.conf
Active: failed (Result: start-limit-hit) since Sun 2024-02-04 21:26:29 CET; 5min ago
Docs: man:agetty(8)
man:systemd-getty-generator(8)
http://0pointer.de/blog/projects/serial-console.html
Main PID: 3246 (code=killed, signal=HUP)

Feb 04 21:26:29 mail systemd[1]: getty@tty1.service: Scheduled restart job, restart counter is at 5.
Feb 04 21:26:29 mail systemd[1]: Stopped Getty on tty1.
Feb 04 21:26:29 mail systemd[1]: getty@tty1.service: Start request repeated too quickly.
Feb 04 21:26:29 mail systemd[1]: getty@tty1.service: Failed with result 'start-limit-hit'.
Feb 04 21:26:29 mail systemd[1]: Failed to start Getty on tty1.
`

Habe gerade erst gesehen, dass das Problem bekannt ist.

modifikation util.py in /usr/libexec/grommunio-cui/cui:

'def get_last_login_time():
"""Return last login time as string"""
last_login=""
try:
with subprocess.Popen(
["last", "-1", "root"],
stderr=subprocess.DEVNULL,
stdout=subprocess.PIPE,
) as proc:
res, _ = proc.communicate()
out = bytes(res).decode()
lines = out.splitlines()
if len(lines) > 0:
parts = out.splitlines()[0].split(" ")
if len(parts) > 1:
last_login = parts[1].strip()
except OSError:
last_login = "Unknown"
return last_login`

löste das Problem sofort

© 2020-2024 grommunio GmbH. All rights reserved. | https://grommunio.com | Data Protection | Legal notice