[Bug 1233373] New: unlocking luks volumes leaves hanging systemd-tty-ask-password-agent
https://bugzilla.suse.com/show_bug.cgi?id=1233373 Bug ID: 1233373 Summary: unlocking luks volumes leaves hanging systemd-tty-ask-password-agent Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem Assignee: screening-team-bugs@suse.de Reporter: mrueckert@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- root 1701 0.0 0.0 15780 6416 ? Ss 04:13 0:00 systemd-tty-ask-password-agent --watch --console root 1703 0.0 0.0 18732 6848 ? Ss 04:13 0:00 \_ systemd-tty-ask-password-agent --watch --console=/dev/tty1 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1233373 M Fredericks <emfee@gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |emfee@gmx.net -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1233373 https://bugzilla.suse.com/show_bug.cgi?id=1233373#c4 Michael Pujos <pujos.michael@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pujos.michael@gmail.com --- Comment #4 from Michael Pujos <pujos.michael@gmail.com> --- I am also observing the same thing on my system (these 2 lingering systemd-tty-ask-password-agent processes). I have Plymouth disabled and my home partition is luks encrypted. If you manually run 'systemd-tty-ask-password-agent --watch' in a terminal, it never returns, so could it just be that and to be expected ? -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1233373 https://bugzilla.suse.com/show_bug.cgi?id=1233373#c7 --- Comment #7 from Michael Pujos <pujos.michael@gmail.com> --- (In reply to Antonio Feijoo from comment #6)
If you manually run 'systemd-tty-ask-password-agent --watch' in a terminal, it never returns, so could it just be that and to be expected ?
That is certainly what man systemd-tty-ask-password-agent(1) states.
Understood. But then, it would be normal behavior for the systemd-tty-ask-password-agent processes (spawn by systemd-ask-password-console.service) to remain running forever (and the service to remain active as well) ? : ~> systemctl status systemd-ask-password-console.service ● systemd-ask-password-console.service - Dispatch Password Requests to Console Loaded: loaded (/usr/lib/systemd/system/systemd-ask-password-console.service; static) Active: active (running) since Mon 2024-11-25 11:20:40 CET; 12min ago Invocation: da35173973f94dddbe51fdbb335dd403 TriggeredBy: ● systemd-ask-password-console.path Docs: man:systemd-ask-password-console.service(8) Main PID: 869 (systemd-tty-ask) Tasks: 2 (limit: 56615) CPU: 21ms CGroup: /system.slice/systemd-ask-password-console.service ├─869 systemd-tty-ask-password-agent --watch --console └─872 systemd-tty-ask-password-agent --watch --console=/dev/tty1 Nov 25 11:20:40 p72 systemd[1]: Started Dispatch Password Requests to Console. Nov 25 11:20:40 p72 systemd-tty-ask-password-agent[872]: Starting password query on /dev/tty1. Nov 25 11:20:55 p72 systemd-tty-ask-password-agent[872]: Password query on /dev/tty1 finished successfully. /// What I do not understand is the reason this --watch option is used and what it does exactly. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1233373 https://bugzilla.suse.com/show_bug.cgi?id=1233373#c8 --- Comment #8 from M Fredericks <emfee@gmx.net> --- After booting without “splash=silent quiet” I did run
systemctl start systemd-ask-password-console.service
And that give window popping up asking for a Password and if I give the root password it disappears. If I give another password it fails ans asks again and if I wait too long it times out.
systemd-tty-ask-password-agent --help systemd-tty-ask-password-agent [OPTIONS...]
Process system password requests. -h --help Show this help --version Show package version --list Show pending password requests --query Process pending password requests --watch Continuously process password requests --wall Continuously forward password requests to wall --plymouth Ask question with Plymouth instead of on TTY --console[=DEVICE] Ask question on /dev/console (or DEVICE if specified) instead of the current TTY So I am not too surprised about --watch (without knowing what it is doing exactly) but I hope it is started during boot using --plymouth although "systemctl cat systemd-ask-password-console.service" does not show that. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1233373 https://bugzilla.suse.com/show_bug.cgi?id=1233373#c9 --- Comment #9 from M Fredericks <emfee@gmx.net> --- For a possible work-around see https://forums.opensuse.org/t/new-opensuse-update-won-t-let-me-get-pass-thro... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com