You are not logged in.

#1 2022-02-12 15:02:00

happyRip
Member
Registered: 2022-02-12
Posts: 2

[Solved] Sudo hangs/freezes before asking for password

I've a modded TP x230 with CoreBoot running arch. Most of the time I have no issues, but recently when I run any command with sudo the terminal accepts more input, but the command itself freezes. I can try to SIGINT with ctrl+c and get a ^C in the terminal window, but the process is still going. Using su works and this way I can use shutdown -h now to try turning off the pc, but I just get messages of failing to shut down services:

systemd-shutdown[1]: Waiting for processes: iwd, modprobe, sudo, wpa_supplicant

Here is output of journalctl -b command as I thought it might come in handy to solve the issue: http://ix.io/3PoF

TBF commands other than shutdown were facing similar issues before, I was never able to e.g. use reboot to reboot my machine.

Last edited by happyRip (2022-02-13 21:26:43)

Offline

#2 2022-02-12 15:17:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,292

Re: [Solved] Sudo hangs/freezes before asking for password

you have conflicting network services which can lead to all sorts of trouble. Disable iwd and reboot if you intend networkmanager to control your wifi interface.

Last edited by V1del (2022-02-12 15:17:44)

Offline

#3 2022-02-13 21:25:36

happyRip
Member
Registered: 2022-02-12
Posts: 2

Re: [Solved] Sudo hangs/freezes before asking for password

I removed (unused) NetworkManager and it seems to have solved my issues, thank you :>

Offline

Board footer

Powered by FluxBB