FS#58848 - [util-linux] /bin/login fails with "FATAL: bad tty" inside unprivilged LXC container

Attached to Project: Arch Linux
Opened by Aliaksandr Stelmachonak (ava1ar) - Sunday, 03 June 2018, 06:09 GMT
Last edited by Toolybird (Toolybird) - Sunday, 11 June 2023, 07:32 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: /bin/login fails with "FATAL: bad tty" inside unprivilged LXC container

Additional info:
* util-linux 2.32-3

Steps to reproduce:
$ lxc launch images:archlinux/current/amd64 arch -c security.privileged=true
$ lxc exec arch -- /bin/login -f root
Command will exit without giving the login prompt. "FATAL: bad tty" error message is shown inside container's journal for the login executable.
Ubuntu/Debian are using login from the shadow and it works fine.

Upstream bug report: https://github.com/karelzak/util-linux/issues/645
This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 11 June 2023, 07:32 GMT
Reason for closing:  Upstream
Additional comments about closing:  Clearly an upstream issue. Please follow up with upstream.

Loading...