-
Bug
-
Resolution: Done
-
Undefined
-
None
-
rhel-10.0
-
None
-
No
-
None
-
rhel-systemd
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
I created a VM without a serial console, and noticed that serial-getty is crashing:
Sep 17 06:08:19 rhel-10-peach-goldfish-16 systemd[1]: serial-getty@ttyS0.service: Scheduled restart job, restart counter is at 8. Sep 17 06:08:19 rhel-10-peach-goldfish-16 systemd[1]: Started serial-getty@ttyS0.service - Serial Getty on ttyS0. Sep 17 06:08:19 rhel-10-peach-goldfish-16 agetty[4523]: could not get terminal name: -22 Sep 17 06:08:19 rhel-10-peach-goldfish-16 kernel: agetty[4523]: segfault at 0 ip 00007f34ae45fd5c sp 00007ffe2d0965e8 error 4 in libc.so.6[169d5c,7f34ae31e000+150000] likely on CPU 0 (core 0, socket 0) Sep 17 06:08:19 rhel-10-peach-goldfish-16 kernel: Code: 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 f3 0f 1e fa 48 83 fa 01 7e 56 89 f8 09 f0 c1 e0 14 3d 00 00 00 f8 0f 87 b4 03 00 00 <62> e1 fe 28 6f 07 62 b2 7d 20 26 d0 62 f1 7d 22 74 0e c5 fb 93 c9 Sep 17 06:08:19 rhel-10-peach-goldfish-16 systemd-coredump[4525]: Process 4523 (agetty) of user 0 terminated abnormally with signal 11/SEGV, processing... Sep 17 06:08:19 rhel-10-peach-goldfish-16 systemd[1]: Started systemd-coredump@8-4525-0.service - Process Core Dump (PID 4525/UID 0). Sep 17 06:08:19 rhel-10-peach-goldfish-16 systemd-coredump[4526]: Process 4523 (agetty) of user 0 dumped core. Module libcap.so.2 from rpm libcap-2.69-7.el10.x86_64 Module libsystemd.so.0 from rpm systemd-257-9.el10_0.1.x86_64 Stack trace of thread 4523: #0 0x00007f34ae45fd5c __strncmp_evex (libc.so.6 + 0x169d5c) #1 0x000055f440bfdd0c n/a (n/a + 0x0) #2 0x00007f34ae32030e __libc_start_call_main (libc.so.6 + 0x2a30e) #3 0x00007f34ae3203c9 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2a3c9) #4 0x000055f440bfff35 n/a (n/a + 0x0) ELF object binary architecture: AMD x86-64
What is the impact of this issue to you?
just a cosmetic issue
Please provide the package NVR for which the bug is seen:
systemd-257-9.el10_0.1.x86_64
How reproducible is this bug?:
100%
Steps to reproduce
- Boot a rhel 10 VM without serial port, e.g. autoattachSerialConsole: false in OpenShift
- check journalctl
Expected results
Clean exit with error
agetty[4523]: could not get terminal name: -22
Actual results
segfault after
agetty[4523]: could not get terminal name: -22