Seen on linux-image-4.15.0-44-generic and linux-image-4.15.0-45-generic. When /bin/login is exec'd by agetty it tries to read stdin and gets EAGAIN:
5640 write(2, "Password: ", 10) = 10 5640 read(0, 0x7ffcca86a7f0, 511) = -1 EAGAIN (Resource temporarily unavailable) ... 55640 write(2, "\n", 1) = 1 taking that as a failed login attempt it tries again: 55640 write(2, "hilbert login: ", 15) = 15 55640 read(0, 0x7ffcca86a160, 511) = -1 EAGAIN (Resource temporarily unavailable) eventually logging a failed login attempt reverting to linux-image-4.15.0-43-generic also fixes the problem -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to gpm in Ubuntu. https://bugs.launchpad.net/bugs/1814261 Title: gpm prevents loging to the console: spurious “Enter” events seems inserted Status in gpm package in Ubuntu: Confirmed Bug description: Hello, When our servers boot, We can't login because of spurious “enter”. We have this problem on virtual and physical machines since: * kernel linux-image-4.15.0-44-generic on bionic * kernel linux-image-4.4.0-142-generic on xenial To reproduce: 1. start an ubuntu server with the specific kernel 2. install GPM 3. on a console 1. type the user name “root” 2. hit “enter” 3. wait few seconds => spurious “Enter” are send to the console 4. Stop gpm.service 5. retry to login on a console => no problem lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.1 LTS Release: 18.04 Codename: bionic To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpm/+bug/1814261/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp