On Sun, 18 Oct 2015 15:52:12 +0900 Alexei Andreanov <alexei.andrea...@gmail.com> wrote: > Package: ngetty > Version: 1.1-3 > Severity: important > > Dear Maintainer, > > I switched from getty to ngetty by commenting out the following lines in > /etc/inittab: > 1:2345:respawn:/sbin/getty 38400 tty1 > 2:23:respawn:/sbin/getty 38400 tty2 > 3:23:respawn:/sbin/getty 38400 tty3 > #4:23:respawn:/sbin/getty 38400 tty4 > #5:23:respawn:/sbin/getty 38400 tty5 > #6:23:respawn:/sbin/getty 38400 tty6 > and adding: > ng:2345:respawn:/sbin/ngetty tty1 tty2 > > Now I get the login prompt on tty1 and tty2, however nothing seem to happens > upon entering the user name, no password propmt is shown. > Inspecting the /var/log/syslog, I found the following entries, that I believe > are relevant: > kernel: [ 4015.847046] ngetty-helper[5824]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffc6f818380 error 15 > kernel: [ 4015.847620] ngetty-helper[5828]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffdc844a340 error 15 > kernel: [ 4020.426987] ngetty-helper[5829]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007fff627e3a40 error 15 > kernel: [ 4020.427565] ngetty-helper[5830]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffc7d1bffd0 error 15 > kernel: [ 4201.245888] ngetty-helper[5948]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffdcf3745b0 error 15 > kernel: [ 4312.905673] ngetty-helper[6060]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007fffe5fb8600 error 15 > kernel: [ 4312.906285] ngetty-helper[6066]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffe69153e70 error 15 > kernel: [ 4316.981373] ngetty-helper[6070]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffef812ba70 error 15 > kernel: [ 4316.981906] ngetty-helper[6071]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffca85e2360 error 15 > kernel: [ 4345.070415] ngetty-helper[6088]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffc38ee6120 error 15 > kernel: [ 4345.070993] ngetty-helper[6089]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffeafcb5090 error 15 > kernel: [ 4498.104455] ngetty-helper[6266]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffe52b1ecd0 error 15 > kernel: [ 4526.528317] ngetty-helper[6287]: segfault at ffffffffff600400 > ip ffffffffff600400 sp 00007ffc74c14cb0 error 15 [...]
This is because ngetty was built using a version of dietlibc that uses the deprecated "vsyscall" entry points to the kernel, and you are using a kernel with vsyscall disabled. This will be fixed by rebuilding ngetty. But the older version should still work if you rebuild your kernel with CONFIG_X86_VSYSCALL_EMULATION enabled (or, if it's already enabled, change the vsyscall kernel parameter). Ben. -- Ben Hutchings We get into the habit of living before acquiring the habit of thinking. - Albert Camus
signature.asc
Description: This is a digitally signed message part