Summary: | systemd-tty-ask-password-agent hangs when starting services | ||
---|---|---|---|
Product: | system-tools-backends | Reporter: | poluduh <tip78> |
Component: | init | Assignee: | Carlos Garnacho Parro <carlosg> |
Status: | RESOLVED WONTFIX | QA Contact: | Carlos Garnacho Parro <carlosg> |
Severity: | critical | ||
Priority: | medium | CC: | kenyon |
Version: | unspecified | ||
Hardware: | x86-64 (AMD64) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
poluduh
2015-10-11 15:16:09 UTC
Any progress on this bug? I am experiencing long delays while running "systemctl restart httpd" on Fedora 26. The command does not print any diagnostic. If I look at the the process tree I can see that '/usr/bin/systemd-tty-ask-password-agent --watch' hangs as long as the command hangs. After 1-2 minutes the command finishes successfully. Is there any way to debug the cause of the hanging? I have this problem when I'm trying to mount a fusecompress drive during start up. The drive mounts and it gets to the end of the script. But systemd starts up systemd-tty-ask-password-agent and times out. The drive mounts ok as root in a normal shell. i've fixed this bug it was about some lib ldd permissions fix that (In reply to Kamil Dudka from comment #1) > Any progress on this bug? yes it's done (In reply to Kamil Dudka from comment #1) > Any progress on this bug? > > I am experiencing long delays while running "systemctl restart httpd" on > Fedora 26. The command does not print any diagnostic. If I look at the the > process tree I can see that '/usr/bin/systemd-tty-ask-password-agent > --watch' hangs as long as the command hangs. After 1-2 minutes the command > finishes successfully. > > Is there any way to debug the cause of the hanging? That problem is likely due to broken DNS servers. Apache tries to determine its hostname from nameservers listed in /etc/resolv.conf. If the nameservers there take a long time to time out, httpd startup could take longer than the default systemd timeout of 90 seconds, so systemd then thinks httpd hung and kills it. In this case, fixing your DNS configuration should allow httpd to start quickly. Project has been inactive for seven years, none of this is getting fixed. Closing remaining bugs and disabling the bz product. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.