Apply security packages automatically with yum-cron on CentOS 7.2

Support for security such as Firewalls and securing linux
Post Reply
BenR57
Posts: 2
Joined: 2017/12/14 14:32:18

Apply security packages automatically with yum-cron on CentOS 7.2

Post by BenR57 » 2017/12/14 14:56:20

hi,

I read on several forum that yum-cron doesn't work with security tag in yum-cron.conf (centos 7.2).

When I use default tag, it works but impossible to run with security tag. Is somebody get the same problem and get an issue for this problem ?

[commands]
# What kind of update to use:
# default = yum upgrade
# security = yum --security upgrade
# security-severity:Critical = yum --sec-severity=Critical upgrade
# minimal = yum --bugfix update-minimal
# minimal-security = yum --security update-minimal
# minimal-security-severity:Critical = --sec-severity=Critical update-minimal
update_cmd = security

# Whether a message should be emitted when updates are available,
# were downloaded, or applied.
update_messages = yes

# Whether updates should be downloaded when they are available.
download_updates = yes

# Whether updates should be applied when they are available. Note
# that download_updates must also be yes for the update to be applied.
apply_updates = yes

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Apply security packages automatically with yum-cron on CentOS 7.2

Post by TrevorH » 2017/12/14 16:06:39

There is no metadata for security purposes in the CentOS yum repos so it is not possible for yum-plugin-security to function.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

BenR57
Posts: 2
Joined: 2017/12/14 14:32:18

Re: Apply security packages automatically with yum-cron on CentOS 7.2

Post by BenR57 » 2017/12/15 10:37:26

hi,

thanks for reply.

And what is the best practises to update only security on an CentOS release ?

Only yum update is possible ?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Apply security packages automatically with yum-cron on CentOS 7.2

Post by TrevorH » 2017/12/15 11:22:02

Only yum update is possible.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply