EC2 YUM --security check-update

0

I have a amazon linux 2 server running ..every day on same time below process used to run and causes a high cpu spike .

/usr/bin/python /usr/bin/yum --debuglevel 2 --security check-update

just want to know what exactly security updates its getting or is it recommended to disable to security update or i will get into any server trouble after disabling it.

vinay
질문됨 4달 전303회 조회
2개 답변
3

Hello,

Disabling security updates on servers is generally not recommended, as it leaves them vulnerable to potential exploits. The yum check-update process you're seeing is likely checking for any available security updates from Amazon Linux repositories.

Thanks

답변함 4달 전
  • You can try to set a yum cron job schedule to run checks during off-peak hours to minimize impact.

1

Hi,

To know more about yum --security, go to https://www.cyberciti.biz/faq/rhel-centos-yum-check-update-security-plugin/

This post details what the yum-security plugin brings you. This plugin make it possible to limit list/upgrade of packages to specific security relevant ones.

All possible command options are detailled here: https://linux.die.net/man/8/yum-security

If it brings a high cpu spike to your machine, you should - if possible - schedule it via cron during a low-activity period. But, it would not be a good idea to disable the package updates, especially those relevant to security. It is better to keep you machine up to date.

Best,

Didier

profile pictureAWS
전문가
답변함 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠