From 29f2bb6bf15fa9668f626e1778d5aa06043d3fc7 Mon Sep 17 00:00:00 2001 From: tianci Date: Wed, 8 Dec 2021 11:53:18 +0800 Subject: [PATCH 1/2] updates --- docs/release_notes/8-changelog.md | 1 - docs/release_notes/8-changelog.zh.md | 59 ++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/docs/release_notes/8-changelog.md b/docs/release_notes/8-changelog.md index 2a32af4161..1fd7921884 100644 --- a/docs/release_notes/8-changelog.md +++ b/docs/release_notes/8-changelog.md @@ -101,7 +101,6 @@ The follow modules have been updated since Nov 16, 2021: * llvm-toolset-rhel8-8050020211122023437.b4937e53 - ## 8.5 - 2021-11-14 The following packages have been updated since the 8.5 release Nov 14, 2021 diff --git a/docs/release_notes/8-changelog.zh.md b/docs/release_notes/8-changelog.zh.md index 8335257987..12c13a6f40 100644 --- a/docs/release_notes/8-changelog.zh.md +++ b/docs/release_notes/8-changelog.zh.md @@ -15,6 +15,65 @@ update: 2021-Dec-07 所有Rocky Linux组件都是由托管在[git.rockylinux.org](https://git.rockylinux.org) 上的源代码进行构建的。此外,SRPM与存储库将一起发布在对应的"source"目录中,您可以在我们的任意镜像网站上找到它们,镜像网站的源码包与我们发布的每个二进制RPM相同。 +## 8.5 - 2021-12-02 + +以下软件包自2021年12月2日起进行了更新: + +* mailman: mailman-3:2.1.29-12.module+el8.5.0+716+66d1ab43.1 -> +* mailman-3:2.1.29-12.module+el8.5.0+717+27fd1ba7.2 + +关联的CVE: + +* mailman: CVE-2021-44227 + +以下模块自2021年11月2日起已更新: + +* mailman-2.1-8050020211202160117.fd901a62 + + +## 8.5 - 补充部分 - 2021-11-30 + +以下软件包已添加到 devel 存储库中: + +* ncurses-static + +以下软件包已添加到 plus 存储库中: + +* open-vm-tools (aarch64 specific build only) + +### 附加注释 + +plus 存储库包含了 base 存储库中没有提供的项目,原因可能是由于comps和pungi配置(基于 RHEL 存储库)而无法使用这些项目,或者是在 base 存储库中找不到其他补丁/功能,被要求作为替代构建。但 plus 存储库应该可以安全地保持启用状态。 + +在plus 存储库中的当前软件包是(截至2021-11-30): + +* openldap-servers (all architectures) +* thunderbird with PGP support (all architectures) +* ncurses-static (all architectures) +* open-vm-tools (aarch64 specific build only) + +### 开发笔记 + +应谨慎使用 devel 存储库,它是被用于 koji 或 buildroot 目的的,不应该100%启用。如果您希望在 devel 存储库中找到您想要查看的软件包,请在rocky-devel上发送邮件和(或者)在 https://bugs.rockylinux.org 上打开bug报告 + +## 8.5 - 2021-11-29 + +以下软件包自2021年11月29日起已更新: + +* kronosnet: kronosnet-1.18-2.el8 -> kronosnet-1.18-4.el8_5 +* nss: nss-3.67.0-6.el8_4 -> nss-3.67.0-7.el8_5 + +关联的CVE: + +* nss-3.67.0-7.el8_5: CVE-2021-43527 + +## 8.5 - 2021-11-24 + +以下软件包自2021年11月24日起已更新: + +* dotnet5.0: dotnet5.0-5.0.208-2.el8_5 -> dotnet5.0-5.0.209-1.el8_5 +* dotnet5.0-build-reference-packages: dotnet5.0-build-reference-packages-0-11.20210607git5f10a4b.el8 -> dotnet5.0-build-reference-packages-0-12.20211117git6ce5818.el8_5 + ## 8.5 - 2021-11-22 以下软件包自2021年11月22日起进行了更新(包含更新后的模块软件包): From 1810839c94165bacf257bd2a27bfff8aaaab666c Mon Sep 17 00:00:00 2001 From: tianci Date: Wed, 8 Dec 2021 12:13:38 +0800 Subject: [PATCH 2/2] Minor format content updates --- docs/guides/automation/anacron.md | 11 ++++++++--- docs/guides/automation/anacron.zh.md | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/docs/guides/automation/anacron.md b/docs/guides/automation/anacron.md index 0ddabfb9c7..d7d4478480 100644 --- a/docs/guides/automation/anacron.md +++ b/docs/guides/automation/anacron.md @@ -19,7 +19,8 @@ update : 2021-10-20 * You are logged in as the root user, or switch to root with `su - root` ## Anacron Introduction -**anacron is used to run commands on a regular basis, and the operating frequency is defined in units of days. It is suitable for computers that do not run 24/7, such as laptops and desktops. Suppose you have a scheduled task (such as a backup script) to be run in the early morning of every day using crontab. When you fall asleep, your desktop/laptop is shut down. Your backup script will not be executed. However, if you use anacron, you can rest assured that the next time you turn on the desktop/laptop, the backup script will be executed. ** + +**anacron is used to run commands on a regular basis, and the operating frequency is defined in units of days. It is suitable for computers that do not run 24/7, such as laptops and desktops. Suppose you have a scheduled task (such as a backup script) to be run in the early morning of every day using crontab. When you fall asleep, your desktop/laptop is shut down. Your backup script will not be executed. However, if you use anacron, you can rest assured that the next time you turn on the desktop/laptop, the backup script will be executed.** The appearance of anacron is not to replace crontab, but to complement crontab. Their relationship is as follows: @@ -89,8 +90,11 @@ October 20 23:01:01 li CROND[2037]: (root) CMD (run-parts /etc/cron.hourly) ``` For more configuration file information, please [Browse the manual page](https://man7.org/linux/man-pages/man5/anacrontab.5.html) -# # User use + +## User use + In order to make certain files run within these automatically defined times, all you need to do is to copy the script file to the relevant directory and make sure that it has ** x execution permission (chmod +x) ** . Therefore, you only need to let the system automatically run the script at one of these scheduled times, which makes the automation task very easy. + Let's use cron.daily to illustrate the execution process of /etc/anacrontab: 1. Anacron reads the ** /var/spool/anacron/cron.daily ** file, and the content of the file shows the time of the last execution. @@ -99,7 +103,8 @@ Let's use cron.daily to illustrate the execution process of /etc/anacrontab: 4. Check whether a file is executed after 5 minutes after booting. When the first one is executed, it will be randomly delayed for 0~45 minutes to execute the next one. 5. Use the nice parameter to specify the default priority, and use the run-parts parameter to execute all executable files in the /etc/cron.daily/ directory. -# # Related commands +## Related commands + Use the command `anacron`, commonly used options are: | Options | Description | diff --git a/docs/guides/automation/anacron.zh.md b/docs/guides/automation/anacron.zh.md index 4c98e117a5..ead26b3772 100644 --- a/docs/guides/automation/anacron.zh.md +++ b/docs/guides/automation/anacron.zh.md @@ -19,6 +19,7 @@ update: 2021-10-20 * 您已以 root 用户身份登录,或者用`su - root`切换到root ## anacron简介 + **anacron用于定期运行命令,运行频率以天为单位进行定义,它适用于在笔记本电脑和台式机等不会全天候7*24运行的计算机上。假设您有一个计划的任务(比如备份脚本)要在每天凌晨使用crontab运行,当您睡着的时候,此时您的台式机/笔记本电脑已经关闭。您的备份脚本将不会执行。但是,如果您使用anacron,您可以放心,下次再次打开台式机/笔记本电脑时,将执行备份脚本。** anacron的出现并不是取代crontab,而是与crontab相互补充。它们的关系如下图: @@ -48,7 +49,6 @@ shell > rpm -ql cronie-anacron shell > cat /etc/anacontab # /etc/anacrontab: configuration file for anacron # See anacron(8) and anacrontab(5) for details. - SHELL=/bin/sh PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root @@ -56,7 +56,6 @@ MAILTO=root RANDOM_DELAY=45 # 指定工作的时间范围,这里表示3:00~22:00 START_HOURS_RANGE=3-22 - # period in days delay in minutes job-identifier command # 每天开机5分钟后就检查 /etc/cron.daily 目录内的文件是否被执行,如果今天没有被执行,那就执行下一个 1 5 cron.daily nice run-parts /etc/cron.daily @@ -93,6 +92,7 @@ October 20 23:01:01 li CROND[2037]: (root) CMD (run-parts /etc/cron.hourly) 更多配置文件信息,请[浏览手册页](https://man7.org/linux/man-pages/man5/anacrontab.5.html) ## 用户使用 + 为了使某些文件在这些自动定义的时间内运行,您所需要做的就是将脚本文件复制到相关目录中,并确保其拥有**x执行权限(chmod +x)**。因此,您只要让系统在这些预定时间之一自动运行脚本就可以了,这使自动化任务变得非常容易。 我们用 cron.daily 工作来说明一下 /etc/anacrontab 的执行过程: @@ -103,8 +103,8 @@ October 20 23:01:01 li CROND[2037]: (root) CMD (run-parts /etc/cron.hourly) 4. 开机5分钟检查有文件是否被执行,当执行第一个后,再随机延迟 0~45 分钟执行下一个。 5. 使用 nice 参数指定默认优先级,使用 run-parts 参数执行 /etc/cron.daily/ 目录中所有的可执行文件。 - ## 相关命令 + 使用到的命令 `anacron`,常用选项有: |选项|说明|