[CentOS] CentOS 8.1 cron does not send mail

Mon Apr 6 13:26:18 UTC 2020
Jonathan Billings <billings at negate.org>

On Mon, Apr 06, 2020 at 03:17:29PM +0200, Simon Matter via CentOS wrote:
> Just wondering here, if the system crond.service file is being
> modified/fixed with an update by rpm package, will the custom file in
> /etc/systemd/system also be fixed then?

No.  The packages will only update files in /usr/lib/systemd/system/.

If you drop a file, /etc/systemd/system/crond.service, it will
override the one in /usr/lib/systemd.  You'll get no benefit from
fixes in a package.

If you use /etc/systemd/system/cron.d/service.d/override.conf, the
changes in the override.conf will override the contents of
/usr/lib/systemd/system/crond.service.  So any fixes that appear in a
package update will only affect parts of the unit you didn't
override. 

-- 
Jonathan Billings <billings at negate.org>