[MDEV-19340] Password prompt from `bin/mysql.server status` not visible Created: 2019-04-26  Updated: 2019-09-30

Status: Open
Project: MariaDB Server
Component/s: Configuration
Affects Version/s: 10.1.38
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Paul Menzel Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

GNU/Linux



 Description   

Trying to show the status with `bin/mysql.server status`, the process seems to hang and nothing happens until pressing enter. Tracing the system calls with strace shows that actually the password prompt is shown. But it's not visible.

[pid 24921] ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 24921] ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
[pid 24921] rt_sigprocmask(SIG_BLOCK, [TSTP], [], 8) = 0
[pid 24921] ioctl(0, SNDCTL_TMR_CONTINUE or TCSETSF, {B38400 opost isig icanon -echo ...}) = 0
[pid 24921] write(2, "Password: ", 10)  = 10
[pid 24921] read(0, 



 Comments   
Comment by Sergei Golubchik [ 2019-09-30 ]

How did you install MariaDB, from a binary tarball?
What user are you running bin/mysql.server status as?

Generated at Thu Feb 08 08:50:55 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.