From: Marcela Mašláňová Date: Wed, 17 Sep 2014 11:46:26 +0000 (+0200) Subject: Services must be running before starting crond, otherwise many jobs is not running... X-Git-Tag: cronie1.4.12~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=acf5f28e7d0ca7c977efe8c658cb47bd6f1908b2;p=cronie Services must be running before starting crond, otherwise many jobs is not running properly for no obvious reason. nss-user-lookup.target should help when people are authenticated through nss/sssd. Based on: https://bugzilla.redhat.com/show_bug.cgi?id=1067236 --- diff --git a/contrib/cronie.systemd b/contrib/cronie.systemd index 4cb9aca..ad46899 100644 --- a/contrib/cronie.systemd +++ b/contrib/cronie.systemd @@ -1,6 +1,6 @@ [Unit] Description=Command Scheduler -After=auditd.service systemd-user-sessions.service time-sync.target +After=auditd.service nss-user-lookup.target systemd-user-sessions.service time-sync.target ypbind.service [Service] EnvironmentFile=/etc/sysconfig/crond