You are not logged in.

#1 2020-03-13 13:14:28

ratcheer
Member
Registered: 2011-10-09
Posts: 912

[Solved] systemd error during startup

My system journal has these messages during system startup:

systemd[1]: /usr/lib/systemd/system/systemd-ask-password-console.service:20: Executable "systemd-tty-ask-password-agent" not found in path "/usr/local/bin:/usr/bin"
systemd[1]: systemd-ask-password-console.service: Unit configuration has fatal error, unit will not be started.
systemd[1]: systemd-ask-password-console.path: Refusing to start, unit systemd-ask-password-console.service to trigger not loaded.
systemd[1]: Failed to start Dispatch Password Requests to Console Directory Watch.

The problem seems to be that the file does not exist. However, the file does exist:

ls -l /usr/bin/systemd-tty-ask-password-agent
-rwxr-xr-x 1 root root 26504 Mar 10 16:32 /usr/bin/systemd-tty-ask-password-agent

Why isn't the file found and used? What should I do to fix this?

Last edited by ratcheer (2020-04-22 12:48:31)

Offline

#2 2020-03-13 13:42:39

-S d4ve01f
Banned
From: .it
Registered: 2020-03-13
Posts: 1
Website

Re: [Solved] systemd error during startup

Can you exec the file? I mean systemd-tty-ask-poassword-agent tool produce any output?


Student at University of L'Aquila, Italy

Offline

#3 2020-03-13 13:47:54

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] systemd error during startup

No output, and no error. But, what I read about this agent before I posted suggests it is only to be executed during startup.

Offline

#4 2020-03-13 20:50:59

progandy
Member
Registered: 2012-05-17
Posts: 5,196

Re: [Solved] systemd error during startup

Is it needed in the initramfs, but is missing there for some reason?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#5 2020-03-13 21:41:33

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] systemd error during startup

Thank you.

Probably. I have found no definitive list of what needs to be loaded by dracut. I already had to add a driver for radeon, a few weeks ago. How exactly do I tell it to add this?

Last edited by ratcheer (2020-03-13 21:48:32)

Offline

#6 2020-03-14 08:50:38

progandy
Member
Registered: 2012-05-17
Posts: 5,196

Re: [Solved] systemd error during startup

I don't use dracut, so I have no idea. Since it looks like the boot was successful anyways, maybe nothing needs a password and you can remove systemd-ask-password-console.service and systemd-ask-password-console.path


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#7 2020-03-14 13:13:20

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] systemd error during startup

I kind of thought of that, too. But, I was going on the idea that, if "they" put it there, it must be needed, and if it's needed, it should be fixed. This is just a home desktop system, so maybe it isn't needed.

Thanks.

Offline

#8 2020-03-14 18:18:45

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] systemd error during startup

I'm not the only one getting this: https://github.com/systemd/systemd/issues/15086

Offline

#9 2020-03-17 16:54:01

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] systemd error during startup

From github, this morning:

"The fix is in dracut 050, but Arch is still on dracut 049-4. I will test at home if an upgrade solves the problem indeed, and then also poke the maintainer of the Arch package."

Offline

#10 2020-04-22 12:48:05

ratcheer
Member
Registered: 2011-10-09
Posts: 912

Re: [Solved] systemd error during startup

The problem is resolved with the arrival of package local/dracut 050-1.

Offline

Board footer

Powered by FluxBB