[CentOS] Cron Issues

Thu Apr 30 15:43:31 UTC 2015
Matt <matt.mailinglists at gmail.com>

> Check selinux context for directory?


This is Centos 7 minimal running in an openvz container.  As far as I
can tell selinux is not present.  sestatus returns command not found.


>> I have noanacron installed on a fresh centos 7 install.
>>
>> I added this too settings.
>>
>> nano /etc/cron.d/0hourly
>>
>> */5 * * * * root run-parts /etc/cron.fiveminutes
>> */1 * * * * root run-parts /etc/cron.minute
>> 0,30 * * * * root run-parts /etc/cron.halfhour
>>
>> and then created the directories for it.  Now I keep getting these
>> errors in secure log.
>>
>> **** pam_systemd(crond:session): Failed to create session: Did not
>> receive a reply. Possible causes include: the remote application did
>> not send a reply, the message bus security policy blocked the reply,
>> the reply timeout expired, or the network connection was broken.
>>
>> Can anyone tell me how to resolve it?