Hi,
I’m currently moving my servers running CentOS 7 and Oracle Linux 7 to Rocky Linux 8. Up until now, I’ve been handling automatic updates using yum-cron
with email notifications. This has been working perfectly for years.
Now I’m getting a grip on dnf-automatic
, which works similarly to yum-cron
. After installing the dnf-automatic
package, I have an /etc/dnf/automatic.conf
configuration file with annotations, and it’s more or less self-explanatory. On a side note, I noticed that contrary to CentOS, Rocky Linux does provide security meta-information about packages, so I get to choose between default
updates or only those flagged as security
updates, which is nice.
In the provided automatic.conf
configuration file sample, there’s a redundancy that’s a bit puzzling. First, there’s a section [email]
with the following default directives:
[email]
# The address to send email messages from.
email_from = root@example.com
# List of addresses to send messages to.
email_to = root
# Name of the host to connect to to send email messages.
email_host = localhost
But then below this, there’s another section named [command_email]
with some sort of overlapping redundancy:
[command_email]
...
# The address to send email messages from.
email_from = root@example.com
# List of addresses to send messages to.
email_to = root
I admit I’m a bit puzzled. Do I have to keep both sections?
Cheers,
Niki