What is hanging systemctl?

Matthew Miller mattdm at fedoraproject.org
Mon Oct 19 13:01:32 UTC 2015


On Mon, Oct 19, 2015 at 08:08:29AM -0400, Tom Horsley wrote:
> I'm trying to do a "dnf update". The NIS server happens to be
> down. Every update that attempts to do anything with cron
> via systemctl seems to hang. Is there some sort of strange
> connection between cron and NIS?
> For instance, here is the current hang:
> 30203 pts/0    S+     2:33              \_ /usr/bin/python -OO /usr/bin/dnf update
> 19394 pts/0    S+     0:00                  \_ /bin/sh /var/tmp/rpm-tmp.eMR7ER 1 4
> 19395 pts/0    S+     0:00                      \_ /bin/systemctl try-restart crond.service


I notice that crond.service says it needs to run after
nss-user-lookup.target. So, it's not surprising that NIS being down
causes problems.

-- 
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader


More information about the users mailing list