Comment # 7 on bug 1233373 from Michael Pujos
(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: