diff --git a/docs/books/admin_guide/06-users.zh.md b/docs/books/admin_guide/06-users.zh.md index 3b0085ccbf..4220817100 100644 --- a/docs/books/admin_guide/06-users.zh.md +++ b/docs/books/admin_guide/06-users.zh.md @@ -1,79 +1,93 @@ --- -title: User Management +title: 用户管理 --- -# User Management +# 用户管理 -In this chapter you will learn how to manage user. +在本章中您将学到如何管理用户。 **** -**Objectives** : In this chapter, future Linux administrators will learn how to: +**目标**: 在本章中,未来的 Linux 管理员将学习如何: -:heavy_check_mark: add, delete or modify a **group** ; -:heavy_check_mark: add, delete or modify a **user** ; -:heavy_check_mark: know the syntax of the files associated with the management of groups and users ; -:heavy_check_mark: change the *owner* or the *group owner* of a file; -:heavy_check_mark: *secure* user accounts; -:heavy_check_mark: change identity. +:heavy_check_mark: 添加、删除或修改 **用户组** ; +; :heavy_check_mark: 添加、删除或修改 **用户** ; +; :heavy_check_mark: 了解与用户和组相关的文件,并学习如何管理它们; :heavy_check_mark: 更改文件的*所有者*或*所属组*; :heavy_check_mark: *保护*用户的账号; :heavy_check_mark: 变更身份。 -:checkered_flag: **users** +:checkered_flag: **用户** -**Knowledge**: :star: :star: -**Complexity**: :star: :star: +**知识性**: :star: +**复杂度**: :star: :star: -**Reading time**: 30 minutes +**阅读时间**: 30 分钟 **** -## General +## 常规信息 -Each user is a member of at least one group: **this is their main group**. +每个用户必须有一个组,该用户组称为用户的**主组**(primary group)。 -Several users can be part of the same group. +多个用户可以属于同一个用户组。 -Users can belong to other groups. These users are *invited* to these **secondary groups**. +主组以外的组称为用户的 **附加组**(supplementary groups) 。 -!!! Note Each user has a primary group and can be invited into one or more secondary groups. +!!! Note "说明" -Groups and users are managed by their unique numerical identifiers `GID` and `UID`. + 每个用户有一个主组,并且可以被添加到多个附加用户组中。 -Account and group declaration files are located in `/etc`. -* `UID`: _User IDentifier_. Unique user ID. -* `GID`: _Group IDentifier_. Unique group identifier. +用户组和用户由其唯一的数字标识符 `UID` 和 `GID`来管理。 -!!! Danger You should always use the administration commands instead of manually editing the files. +* `UID`:_用户识别符_ 。 唯一的用户ID。 +* `GID`:_用户组标识符_。 唯一的用户组ID。 -## Group management +UID和GID都被内核识别,这意味着超级管理员不一定是 **root** 用户,只要**uid=0**的用户就是超级管理员。 -Modified files, added lines: +与用户/用户组相关的文件有: + +* /etc/passwd +* /etc/shadow +* /etc/group +* /etc/gshadow +* /etc/skel/ +* /etc/default/useradd +* /etc/login.defs + +!!! Danger "危险" + + 你应该始终使用管理命令,而不是手动编辑文件。 + +## 用户组管理 + +修改文件添加行: * `/etc/group` * `/etc/gshadow` -### `groupadd` command +### `groupadd` 命令 -The `groupadd` command adds a group to the system. +`groupadd`命令可以向系统中添加一个用户组 ``` groupadd [-f] [-g GID] group ``` -Example: +示例: ``` $ sudo groupadd -g 1012 GroupeB ``` -| Option | Description | -| -------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `-g GID` | `GID` of the group to create. | -| `-f` | The system chooses a `GID` if the one specified by the `-g` option already exists. | -| `-r` | Creates a system group with a `GID` between `SYS_GID_MIN` and `SYS_GID_MAX`. These two variables are defined in `/etc/login.defs`. | +| 选项 | 描述 | +| -------- | ----------------------------------------------------------------------------------- | +| `-g GID` | 将要创建的用户组的`GID`。 | +| `-f` | 如果选项`-g`中提供的GID已经存在,系统将指定一个新的`GID`。 | +| `-r` | 创建一个伪用户组,其 `GID` 介于 `SYS_GID_MIN` 和 `SYS_GID_MAX`之间。 这两个变量在 `/etc/login.defs` 中有定义。 | + +用户组命名规则: -Group naming rules: +* 没有音标或特殊字符; +* 与现有用户或系统文件的名称不同。 -* No accents or special characters; -* Different from the name of an existing user or system files. +!!! Note "说明" -!!! Note Under **Debian**, the administrator should use, except in scripts intended to be portable to all Linux distributions, the `addgroup` and `delgroup` commands as specified in the `man`: + 在 **Debian** 下,除非是针对所有 Linux 发行版的可移植脚本,管理员应该使用 `man` 中指定的 `addgroup` 和 `delgroup` 命令: ``` $ man addgroup @@ -84,59 +98,109 @@ Group naming rules: running a custom script, and other features. ``` -### Command `groupmod` +### `groupmod`命令 -The `groupmod` command allows you to modify an existing group on the system. +`groupmod` 命令允许您修改系统中已有的用户组。 ``` groupmod [-g GID] [-n nom] group ``` -Example: +示例: ``` $ sudo groupmod -g 1016 GroupP $ sudo groupmod -n GroupC GroupB ``` -| Option | Description | -| --------- | --------------------------------- | -| `-g GID` | New `GID` of the group to modify. | -| `-n name` | New name. | +| 选项 | 描述 | +| --------- | ------------- | +| `-g GID` | 赋予用户组新的`GID`。 | +| `-n name` | 更改为新的组名称。 | -It is possible to change the name of a group, its `GID` or both simultaneously. +你可以更改用户组名、 `GID` 或同时更改二者。 -After modification, the files belonging to the group have an unknown `GID`. They must be reassigned the new `GID`. +修改后,原本属于该用户组的文件将具有未知的`GID`。 这些文件必须重新分配新的`GID`。 ``` $ sudo find / -gid 1002 -exec chgrp 1016 {} \; ``` -### `groupdel` command +### `groupdel` 命令 -The `groupdel` command is used to delete an existing group on the system. +`groupdel`命令用于删除系统上已存在的用户组。 ``` groupdel group ``` -Example: +示例: ``` $ sudo groupdel GroupC ``` -!!! Tip To be deleted, a group must no longer contain users. +!!! Tip "提示" + + 删除用户组时,可能会出现两种情况: -Deleting the last user of an eponymous group will cause the system to delete the group. + * 如果用户具有唯一的主组且您在该用户组上发出`groupdel`命令时,系统将提示您该用户组下有特定用户,无法删除该用户组。 + * 如果一个用户属于附加组(而不是用户的主组),并且该组不是系统上该用户的主组,则`groupdel`命令删除该组时将不会出现任何其他提示。 + + 示例: + + ```bash + Shell > useradd testa + Shell > id testa + uid=1000(testa) gid=1000(testa) group=1000(testa) + Shell > groupdel testa + groupdel: cannot remove the primary group of user 'testa' + + Shell > groupadd -g 1001 testb + Shell > usermod -G testb root + Shell > id root + uid=0(root) gid=0(root) group=0(root),1001(testb) + Shell > groupdel testb + ``` + +!!! Tip "提示" + + 使用 `userdel -r` 命令删除用户时,相应的主组也会被删除。 主组名称通常与用户名相同。 + +!!! Tip "提示" + + 每个组都有一个唯一的 `GID` , 一个组可以被多个用户用作附加组。 根据惯例,超级管理员的 GID 是 0; 为某些服务或进程保留的 GID 为201~999,称为系统组或伪用户组; 用户的 GID 通常大于或等于1000。 这些都与 /etc/login.defs 文件相关,我们将在后面讨论。 + + ```bash + # 已忽略注释行 + shell > cat /etc/login.defs + MAIL_DIR /var/spool/mail + UMASK 022 + HOME_MODE 0700 + PASS_MAX_DAYS 99999 + PASS_MIN_DAYS 0 + PASS_MIN_LEN 5 + PASS_WARN_AGE 7 + UID_MIN 1000 + UID_MAX 60000 + SYS_UID_MIN 201 + SYS_UID_MAX 999 + GID_MIN 1000 + GID_MAX 60000 + SYS_GID_MIN 201 + SYS_GID_MAX 999 + CREATE_HOME yes + USERGROUPS_ENAB yes + ENCRYPT_METHOD SHA512 + ``` -!!! Tip Each group has a unique `GID`. A group can be duplicated. By convention, the `GID` of system groups range from 0 (`root`) to 999. +!!! Tip "提示" -!!! Tip Since a user is necessarily part of a group, it is best to create the groups before adding the users. Therefore, a group may not have any members. + 由于用户必须是用户组的一部分,因此最好在添加用户之前创建用户组。 因此,一个组可能没有任何成员。 -### `/etc/group` file +### `/etc/group` 文件 -This file contains the group information (separated by `:`). +该文件包含用户组的信息(由 `:` 进行分割)。 ``` $ sudo tail -1 /etc/group @@ -144,16 +208,18 @@ GroupP:x:516:patrick (1) (2)(3) (4) ``` -* 1: Name of the group. -* 2: Password (`x` if defined in `/etc/gshadow`). -* 3: GID. -* 4: Guest members (separated by commas, does not contain core members). +* 1:用户组组名; +* 2: 用户组密码由 `x` 标识。 用户组密码存储在 `/etc/gshadow` 中; +* 3:GID; +* 4:用户组中的附加用户(排除唯一的主用户); -!!! Note Each line in the `/etc/group` file corresponds to a group. Users whose group is their main group are not listed at this level. This membership information is in fact already provided by the `/etc/passwd` file... +!!! note "说明" -### `/etc/gshadow` file + `/etc/group`文件中的每一行对应一个用户组。 主用户的信息存储在 `/etc/passwd` 中。 -This file contains the security information about the groups (separated by `:`). +### `/etc/gshadow` 文件 + +此文件包含有关用户组的安全信息(由 `:` 进行分隔)。 ``` $ sudo grep GroupA /etc/gshadow @@ -161,89 +227,117 @@ GroupA:$6$2,9,v...SBn160:alain:rockstar (1) (2) (3) (4) ``` -* 1: Name of the group. -* 2: Encrypted password. -* 3: Administrator of the group. -* 4: Guest members (separated by commas, does not contain core members). +* 1:用户组组名; +* 2:加密密码; +* 3:用户组管理员的名称; +* 4:用户组中的附加用户(排除唯一的主用户); + +!!! Wanning "警告" -!!! Warning For each line in the `/etc/group` file there must be a corresponding line in the `/etc/gshadow` file. + **/etc/group** 和 **/etc/gshadow** 中的组名必须一一对应,即 **/etc/group** 文件中的每一行在**/etc/gshadow** 文件中必须有对应的一行。 -A `!` in the password indicates that it is locked. Thus no user can use the password to access the group (since group members do not need it). +密码中的 `!` 表示它已锁定。 因此,任何用户都不能使用密码访问该用户组(因为用户组成员已经不需要密码)。 -## User management +## 用户管理 -### Definition +### 定义 -A user is defined as follows in the `/etc/passwd` file: +在`/etc/passwd`文件中,用户定义如下: -* 1: Login; -* 2: Password; -* 3: UID; -* 4: GID of the main group; -* 5: Comments; -* 6: Home directory; -* 7: Shell (`/bin/bash`, `/bin/nologin`, ...). +* 1:登录名; +* 2:密码标识,`x`标识用户有密码,加密密码存储在 `/etc/shadow` 的第二个字段中; +* 3:UID; +* 4:主组的GID; +* 5:注释; +* 6:主目录; +* 7:Shell (`/bin/bash`, `/bin/nologin`, ...)。 -There are three types of users: +有三种类型的用户: -* **root**: the system administrator ; -* **system users**: Used by the system to manage application access rights ; -* **regular user**: Other account to log in to the system. +* **root(uid=0)**:系统管理员; +* **系统用户(uid是201~999的其中一个)**:用于系统管理应用程序的访问权限; +* **普通用户(uid>=1000)**:其他登录到系统的帐户。 -Modified files, added lines: +修改文件添加行: * `/etc/passwd` * `/etc/shadow` -### `useradd` command +### `useradd` 命令 -The `useradd` command is used to add a user. +`useradd`命令用于添加用户。 ``` useradd [-u UID] [-g GID] [-d directory] [-s shell] login ``` -Example: +示例: ``` $ sudo useradd -u 1000 -g 1013 -d /home/GroupC/carine carine ``` -| Option | Description | -| -------------- | ------------------------------------------------------------------- | -| `-u UID` | `UID` of the user to create. | -| `-g GID` | `GID` of the main group. | -| `-d directory` | Home directory. | -| `-s shell` | Shell. | -| `-c` | Add a comment. | -| `-U` | Adds the user to a group with the same name created simultaneously. | -| `-M` | Does not create the connection directory. | +| 选项 | 描述 | +| ------------------- | -------------------------------------------------- | +| `-u UID` | 创建用户时的`UID`。 | +| `-g GID` | 主组的`GID`。 此处的`GID`也可以是`组名称`。 | +| `-G GID1,[GID2]...` | 附加组的`GID`。 此处的`GID`也可以是`用户组名称`。 可以指定多个附加组,以逗号分隔。 | +| `-d directory` | 主目录。 | +| `-s shell` | Shell。 | +| `-c COMMENT` | 添加注释。 | +| `-U` | 将用户添加到同时创建的同名组中。 如果默认情况下未写入此选项,则在创建用户时将创建具有相同名称的组。 | +| `-M` | 不创建用户的主目录。 | +| `-r` | 创建系统帐户。 | + +在创建时,帐户没有密码并被锁定。 + +必须分配密码才能解锁帐户。 + +当 `useradd` 命令没有任何选项时,它会出现: + +* 创建同名的主目录; +* 创建同名的主组; +* 默认的shell是bash; +* 用户的`uid`和主组`gid`从1000开始自动记录,通常uid和gid是相同的。 -At creation, the account has no password and is locked. +```bash +Shell > useradd test1 -A password must be assigned to unlock the account. +Shell > tail -n 1 /etc/passwd +test1:x:1000:1000::/home/test1:/bin/bash -Account naming rules: +Shell > tail -n 1 /etc/shadow +test1:!!:19253:0:99999:7 +::: -* No accents, capital letters or special characters; -* Different from the name of an existing group or system file; -* Set the options `-u`, `-g`, `-d` and `-s` at creation. +Shell > tail -n 1 /etc/group ; tail -n 1 /etc/gshadow +test1:x:1000: +test1:!:: +``` + +帐户命名规则: + +* 没有音标、大写字母或特殊字符; +* 与现有用户组或系统文件的名称不同; +* 可选:在创建时设置`-u`、`-g`、`-d`和`-s`选项。 -!!! Warning The home directory tree must be created except for the last directory. +!!! Wanning "警告" -The last directory is created by the `useradd` command, which takes the opportunity to copy the files from `/etc/skel` into it. + 除最后一个目录外,必须创建主目录树。 -**A user can belong to several groups in addition to their main group.** +最后一个目录是由`useradd`命令创建的,该命令可以将文件从`/etc/skel`复制到其中。 -For secondary groups, the `-G` option must be used. +**除了其主组之外,用户还可以属于多个组。** -Example: +示例: ``` $ sudo useradd -u 1000 -g GroupA -G GroupP,GroupC albert ``` -!!! Note Under **Debian**, you will have to specify the `-m` option to force the creation of the login directory or set the `CREATE_HOME` variable in the `/etc/login.defs` file. In all cases, the administrator should use the `adduser` and `deluser` commands as specified in the `man`, except in scripts intended to be portable to all Linux distributions: +!!! Note "说明" + + 在 **Debian** 下,您需要指定 `-m` 选项强制创建登录目录,或者在 `/etc/login.defs` 文件中设置 `CREATE_HOME` 变量。 在所有情况下,管理员都应该使用 `man` 中指定的 `adduser` 和 `deluser` 命令,但在可移植到所有Linux发行版的脚本中除外: ``` $ man useradd @@ -252,126 +346,120 @@ $ sudo useradd -u 1000 -g GroupA -G GroupP,GroupC albert instead. ``` -#### Default value for user creation. +#### 用户创建时的默认值。 -Modification of the file `/etc/default/useradd`. +修改文件 `/etc/default/useradd`。 ``` useradd -D [-b directory] [-g group] [-s shell] ``` -Example: +示例: ``` $ sudo useradd -D -g 1000 -b /home -s /bin/bash ``` -| Option | Description | -| -------------- | ----------------------------------------------------------------------------- | -| `-D` | Sets the default values for user creation. | -| `-b directory` | Sets the default login directory. | -| `-g group` | Sets the default group. | -| `-s shell` | Sets the default shell. | -| `-f` | The number of days after the password expires before the account is disabled. | -| `-e` | The date the account will be disabled. | +| 选项 | 描述 | +| -------------- | --------------- | +| `-D` | 设置用户创建时的默认值。 | +| `-b directory` | 设置默认的登录目录。 | +| `-g group` | 设置默认用户主组。 | +| `-s shell` | 设置默认shell。 | +| `-f` | 密码过期后,账号被禁用的天数。 | +| `-e` | 帐号将被禁用的日期。 | -### `usermod` command +### `usermod`命令 -The `usermod` command allows to modify a user. +`usermod`命令允许修改用户。 ``` usermod [-u UID] [-g GID] [-d directory] [-m] login ``` -Example: +示例: ``` $ sudo usermod -u 1044 carine ``` -Options identical to the `useradd` command. +其选项与 `useradd` 命令相同。 + +| 选项 | 描述 | +| --------------- | --------------------------------------------------------------- | +| `-m` | 与`-d`选项关联,将旧登录目录的内容移至新目录。如果旧主目录不存在,则不会创建新主目录;如果新主目录不存在,则创建新主目录。 | +| `-l login` | 新的登录名。 修改登录名后,您还需要修改主目录的名称以与其匹配。 | +| `-e YYYY-MM-DD` | 帐号到期日期。 | +| `-L` | 永久锁定帐号。 即 `!` 添加在`/etc/shadow`密码字段的开头。 | +| `-U` | 解锁账号。 | +| `-a` | 追加用户的附加组,必须与 `-G` 选项一起使用。 | +| `-G` | 修改用户的附加组以覆盖以前的附加组。 | -| Option | Description | -| --------------- | ---------------------------------------------------------------------------------------------- | -| `-m` | Associated with the `-d` option, moves the contents of the old login directory to the new one. | -| `-l login` | New name. | -| `-e AAAA-MM-JJ` | Account expiration date. | -| `-L` | Locks the account. | -| `-U` | Unlocks the account. | -| `-a` | Prevents the user from being deleted from a subgroup when added to another subgroup. | -| `-G` | Specifies multiple subgroups when adding. | +!!! Tip "提示" -With the `usermod` command, locking an account results in the addition of `!` before the password in the `/etc/shadow` file. + 要进行修改,用户必须断开连接并且没有正在运行的进程。 -!!! Tip To be modified, a user must be disconnected and have no running processes. +更改标识符后,属于用户的文件具有未知的`UID`。 必须为其重新分配新的`UID`。 -After changing the identifier, the files belonging to the user have an unknown `UID`. It must be reassigned the new `UID`. +其中 `1000` 是旧`UID`,`1044`是新UID。 示例如下: ``` $ sudo find / -uid 1000 -exec chown 1044: {} \; ``` -Where `1000` is the old `UID` and `1044` is the new one. - -It is possible to invite a user into one or more subgroups with the options *-a* and *-G*. +锁定和解锁用户账号,示例如下: -Example: - -``` -$ sudo usermod -aG GroupP,GroupC albert ``` +Shell > usermod -L test1 +Shell > grep test1 /etc/shadow +test1:!$6$n.hxglA.X5r7X0ex$qCXeTx.kQVmqsPLeuvIQnNidnSHvFiD7bQTxU7PLUCmBOcPNd5meqX6AEKSQvCLtbkdNCn.re2ixYxOeGWVFI0:19259:0:99999:7 +::: -The `usermod` command acts as a modification and not as an addition. - -For a user invited to a group by this command and already positioned as a guest in other secondary groups, it will be necessary to indicate in the group management command all the groups to which he belongs otherwise he will disappear from them. - -The *-a* option changes this behavior. - -Examples: - -* Invite `albert` in the group `GroupP`. - -``` -$ sudo usermod -G GroupP albert +Shell > usermod -U test1 ``` -* Invites `albert` into the `GroupG` group, but removes him from the `GroupP` guest list. - -``` -$ sudo usermod -G GroupG albert -``` +可以通过以下示例解释 `-aG` 选项和 `-G` 选项之间的区别: -* So either : +```bash +Shell > useradd test1 +Shell > passwd test1 +Shell > groupadd groupA ; groupadd groupB ; groupadd groupC ; groupadd groupD +Shell > id test1 +uid=1000(test1) gid=1000(test1) groups=1000(test1) -``` -$ sudo usermod -G GroupP,GroupG albert -``` +Shell > gpasswd -a test1 groupA +Shell > id test1 +uid=1000(test1) gid=1000(test1) groups=1000(test1),1002(groupA) -* Or : +Shell > usermod -G groupB,groupC test1 +Shell > id test1 +uid=1000(test1) gid=1000(test1) gorups=1000(test1),1003(groupB),1004(groupC) -``` -$ sudo usermod -aG GroupG albert +Shell > usermod -aG groupD test1 +uid=1000(test1) gid=1000(test1) groups=1000(test1),1003(groupB),1004(groupC),1005(groupD) ``` -### `userdel` command +### `userdel` 命令 -The `userdel` command allows you to delete a user's account. +`userdel` 命令允许您删除用户的账号。 ``` $ sudo userdel -r carine ``` -| Option | Description | -| ------ | --------------------------------------------------------- | -| `-r` | Deletes the connection directory and the contained files. | +| 选项 | 描述 | +| ---- | ------------------------------------- | +| `-r` | 删除用户的主目录和 `/var/spool/mail/` 目录中的邮件文件 | + +!!! Tip "提示" -!!! Tip To be deleted, a user must be logged out and have no running processes. + 要删除用户,用户必须注销并且没有正在运行的进程。 -`userdel` removes the user's line from the `/etc/passwd` and `/etc/gshadow` files. +`userdel`命令删除在`/etc/passwd`、`/ etc/shadow`、`/etc/group`和`/etc/gshadow`中的相应行。 如上所述,`userdel -r`还将删除用户相应的主组。 -### `/etc/passwd` file +### `/etc/passwd` 文件 -This file contains user information (separated by `:`). +此文件包含用户信息(由 `:` 分隔)。 ``` $ sudo head -1 /etc/passwd @@ -379,380 +467,523 @@ root:x:0:0:root:/root:/bin/bash (1)(2)(3)(4)(5) (6) (7) ``` -* 1: Login. -* 2: Password (`x` if defined in `/etc/shadow`). -* 3: UID. -* 4: GID of the main group. -* 5: Comment. -* 6: Home directory. -* 7: Shell. +* 1:登录名; +* 2:密码标识,`x`标识用户有密码,加密密码存储在 `/etc/shadow` 的第二个字段中; +* 3:UID; +* 4:主组的GID; +* 5:注释; +* 6:主目录; +* 7:Shell (`/bin/bash`, `/bin/nologin`, ...)。 -### `/etc/shadow` file +### `/etc/shadow` 文件 -This file contains the users' security information (separated by `:`). +此文件包含用户的安全信息(由 `:` 分隔)。 ``` $ sudo tail -1 /etc/shadow -root:$6$...:15399:0:99999:7::: +root:$6$...:15399:0:99999:7 +::: (1) (2) (3) (4) (5) (6)(7,8,9) ``` -* 1: Login. -* 2: Encrypted password. -* 3: Date of last change. -* 4: Minimum lifetime of the password. -* 5: Maximum lifetime of the password. -* 6: Number of days before warning. -* 7: Time to deactivate account after expiration. -* 8: Account expiration time. -* 9: Reserved for future use. +* 1:登录名; +* 2:加密密码。 使用 SHA512 加密算法,该算法由 `/etc/login.defs` 的 `ENCRYPT_METHOD` 定义; +* 3:最后一次更改密码的时间,时间戳格式,以天为单位。 所谓的时间戳,是以1970年1月1日作为标准时间。 每过去一天,时间戳 +1。 +* 4:密码的最小存活时间。 即两次修改密码之间的时间间隔(与第三个字段相关),以天为单位。 由 `/etc/login.defs`的`PASS_MIN_DAYS` 定义,默认为0,即第二次修改密码时没有限制。 但如果为5,则表示5天内不允许更改密码,5天后才能更改密码。 +* 5:密码的最大存活时间。 即密码的有效期(与第三个字段有关)。 由 `/etc/login.defs`的 `PASS_MAX_DAYS` 定义。 +* 6:密码过期之前的警告天数(与第五个字段相关)。 默认为7天,由 `/etc/login.defs` 的 `PASS_WARN_AGE` 定义。 +* 7:密码过期后的宽限期天数(与第五个字段相关)。 +* 8:帐号到期时间,时间戳格式,以天为单位。 **请注意,账号过期与密码过期不同。 如果帐号过期,则不允许用户登录。 如果密码过期,则不允许用户使用其密码登录。** +* 9:保留以备将来使用。 + +!!! Danger "危险" + + 对于 `/etc/passwd` 文件中的每一行, `/etc/shadow` 文件中都必须有对应的一行。 + +时间戳和日期转换请参考以下命令格式: -!!! Danger For each line in the `/etc/passwd` file there must be a corresponding line in the `/etc/shadow` file. +```bash +# 时间戳转换为日期,“17718” 表示需要填写的时间戳。 +Shell > date -d "1970-01-01 17718 days" -## File owners +# 日期转换为时间戳,“2018-07-06”表示要填写的日期。 +Shell > echo $(($(date --date="2018-07-06" +%s)/86400+1)) +``` + +## 文件所有者 + +!!! Danger "危险" -!!! Danger All files necessarily belong to one user and one group. + 所有文件必须属于一个用户和一个用户组。 -The main group of the user creating the file is, by default, the group that owns the file. +默认情况下,创建文件的用户的主组是拥有该文件的所属组。 -### Modification commands +### 修改命令 -#### `chown` command +#### `chown` 命令 -The `chown` command allows you to change the owners of a file. +`chown` 命令允许您更改文件的所有者。 ``` chown [-R] [-v] login[:group] file ``` -Examples: +示例: ``` $ sudo chown root myfile $ sudo chown albert:GroupA myfile ``` -| Option | Description | -| ------ | ----------------------------------------------------- | -| `-R` | Changes the owners of the directory and its contents. | -| `-v` | Displays the executed changes. | +| 选项 | 描述 | +| ---- | ------------------ | +| `-R` | 递归更改目录及其下所有文件的所有者。 | +| `-v` | 显示已执行的更改。 | -To change only the owner user: +仅更改所有者用户: ``` $ sudo chown albert file ``` -To modify only the owner group: +仅修改所属组: ``` $ sudo chown :GroupA file ``` -Changing the user and owner group: +更改所有者和所属组: ``` $ sudo chown albert:GroupA file ``` -In the following example the group assigned will be the main group of the specified user. +在以下示例中,分配的组将是指定的用户主组。 ``` $ sudo chown albert: file ``` -### `chgrp` command +更改目录中所有文件的所有者和所属组 + +``` +$ sudo chown -R albert:GroupA /dir1 +``` + +### `chgrp` 命令 -The `chgrp` command allows you to change the owner group of a file. +`chgrp` 命令允许您更改文件的所属组。 ``` chgrp [-R] [-v] group file ``` -Example: +示例: ``` $ sudo chgrp group1 file ``` -| Option | Description | -| ------ | ------------------------------------------------------------------------ | -| `-R` | Modifies the owner groups of the directory and its contents (recursion). | -| `-v` | Displays the executed changes. | +| 选项 | 描述 | +| ---- | -------------------- | +| `-R` | 递归地更改目录和目录下所有文件的所属组。 | +| `-v` | 显示已执行的更改。 | + +!!! Note "说明" -!!! Note It is possible to apply to a file an owner and an owner group by taking as reference those of another file: + 通过参考另一个文件的所有者和所有者组,可以向一个文件应用所有者和所属组。 ``` chown [options] --reference=RRFILE FILE ``` -For example: +例如: ``` chown --reference=/etc/groups /etc/passwd ``` -## Guest management +## 访客管理 -### `gpasswd` command +### `gpasswd` 命令 -The command `gpasswd` allows to manage a group. +命令`gpasswd`允许管理用户组。 ``` -gpasswd [-a login] [-A login] [-d login] [-M login] group +gpasswd [option] group ``` -Examples: +示例: ``` $ sudo gpasswd -A alain GroupA [alain]$ gpasswd -a patrick GroupA ``` -| Option | Description | -| ---------- | ------------------------------------ | -| `-a login` | Adds the user to the group. | -| `-A login` | Sets the group administrator. | -| `-d login` | Remove the user from the group. | -| `-M login` | Defines the complete list of guests. | +| 选项 | 描述 | +| ------------- | -------------------------- | +| `-a USER` | 将用户添加到组。 对于添加的用户来说,此组为附加组。 | +| `-A USER,...` | 设置管理员用户列表。 | +| `-d USER` | 从组中删除用户。 | +| `-M USER,...` | 设置组成员列表。 | + +命令 `gpasswd -M` 用作修改,而不是添加。 -The command `gpasswd -M` acts as a modification, not an addition. ``` # gpasswd GroupeA -New Password : -Re-enter new password : +New Password: +Re-enter new password: ``` -### `id` command +!!! note "说明" + + 除了使用 `gpasswd -a` 将用户添加到组之外,您还可以使用前面提到的 `usermod -G` 或 `usermod -AG` 。 + +### `id` 命令 + +`id` 命令用来显示用户的组名。 -The `id` command displays the group names of a user. ``` -id login +id USER ``` -Example: + +示例: + ``` $ sudo id alain uid=1000(alain) gid=1000(GroupA) groupes=1000(GroupA),1016(GroupP) ``` -### `newgrp` command +### `newgrp` 命令 + +`newgrp`命令可以从用户的附加组中选择一个组作为用户的新**临时**主组。 `newgrp`命令在每次切换用户的主组时,都会有一个新的 **child shell**(子进程)。 小心! **child shell** 和 **sub shell** 是不同的。 -The `newgrp` command allows you to temporarily use a secondary group for file creation. ``` newgrp [secondarygroups] ``` -Example: -``` -[alain]$ newgrp GroupB + +示例: + ``` +Shell > useradd test1 +Shell > passwd test1 +Shell > groupadd groupA ; groupadd groupB +Shell > usermod -G groupA,groupB test1 +Shell > id test1 +uid=1000(test1) gid=1000(test1) groups=1000(test1),1001(groupA),1002(groupB) +Shell > echo $SHLVL ; echo $BASH_SUBSHELL +1 +0 -!!! Note After using this command, the files will be created with the `GID` of its subgroup. +Shell > su - test1 +Shell > touch a.txt +Shell > ll +-rw-rw-r-- 1 test1 test1 0 10月 7 14:02 a.txt +Shell > echo $SHLVL ; echo $BASH_SUBSHELL +1 +0 -The command `newgrp` without parameters reassigns the main group. +# 生成新的 child shell +Shell > newgrp groupA +Shell > touch b.txt +Shell > ll +-rw-rw-r-- 1 test1 test1 0 10月 7 14:02 a.txt +-rw-r--r-- 1 test1 groupA 0 10月 7 14:02 b.txt +Shell > echo $SHLVL ; echo $BASH_SUBSHELL +2 +0 -## Securing +# 你可以使用 `exit` 命令退出 child shell +Shell > exit +Shell > logout +Shell > whoami +root +``` -### `passwd` command +## 安全 + +### `passwd` 命令 + +`passwd` 命令用于管理密码。 -The `passwd` command is used to manage a password. ``` passwd [-d] [-l] [-S] [-u] [login] ``` -Examples: + +示例: + ``` -$ sudo passwd -l albert -$ sudo passwd -n 60 -x 90 -w 80 -i 10 patrick +Shell > passwd -l albert +Shell > passwd -n 60 -x 90 -w 80 -i 10 patrick ``` -| Option | Description | -| --------- | ---------------------------------------------------- | -| `-d` | Removes the password. | -| `-l` | Locks the account. | -| `-S` | Displays the account status. | -| `-u` | Unlocks the account. | -| `-e` | Expires the password. | -| `-n days` | Minimum password lifetime. | -| `-x days` | Maximum password lifetime. | -| `-w days` | Warning time before expiration. | -| `-i days` | Delay before deactivation when the password expires. | - -With the `passwd` command, locking an account is accomplished by adding `!!` before the password in the `/etc/shadow` file. +| 选项 | 描述 | +| --------- | --------------------------------------- | +| `-d` | 永久删除密码。 仅对于root用户(uid=0)使用。 | +| `-l` | 永久锁定用户帐号。 仅对于root用户(uid=0)使用。 | +| `-S` | 显示帐号状态。 仅对于root用户(uid=0)使用。 | +| `-u` | 永久解锁用户帐号。 仅对于root用户(uid=0)使用。 | +| `-e` | 使密码永久过期。 仅对于root用户(uid=0)使用。 | +| `-n DAYS` | 密码的最小存活时间。 永久性的更改。 仅对于root用户(uid=0)使用。 | +| `-x DAYS` | 密码的最大存活时间。 永久性的更改。 仅对于root用户(uid=0)使用。 | +| `-w DAYS` | 密码到期前的警告时间。 永久性的更改。 仅对于root用户(uid=0)使用。 | +| `-i DAYS` | 密码过期时的推迟天数。 永久性的更改。 仅对于root用户(uid=0)使用。 | -Using the command `usermod -U` command only removes one of the `!`. So the account remains locked. +使用`password -l`,即在 `/etc/shadow` 对应用户的密码字段的开头添加 "!!"。 -Example: +示例: -* Alain changes his password: +* Alain更改自身的密码: ``` [alain]$ passwd ``` -* root changes Alain's password +* root更改Alain的密码 ``` $ sudo passwd alain ``` -!!! Note The `passwd` command is available to users to change their password (the old password is requested). The administrator can change the passwords of all users without restriction. +!!! Note "说明" + + 用户可以使用 `passwd` 命令更改密码(需请求旧密码)。 管理员可以不受限制地更改所有用户的密码。 -They will have to comply with the security restrictions. +他们必须遵守安全限制。 -When managing user accounts by shell script, it may be useful to set a default password after creating the user. +通过 shell 脚本管理用户帐户时,在创建用户后设置默认密码可能很有用。 -This can be done by passing the password to the `passwd` command. +这可以通过将密码传递给 `passwd` 命令来完成。 + +示例: -Example: ``` $ sudo echo "azerty,1" | passwd --stdin philippe ``` -!!! Warning The password is entered in clear text, `passwd` takes care of encrypting it. -### `chage` command +!!! Wanning "警告" + + 密码以明文形式输入,`passwd`负责加密它。 + +### `chage` 命令 + +`chage` 命令用来更改用户密码过期信息。 -The `chage` command is used to manage the account strategy. ``` chage [-d date] [-E date] [-I days] [-l] [-m days] [-M days] [-W days] [login] ``` -Example: + +示例: + ``` $ sudo chage -m 60 -M 90 -W 80 -I 10 alain ``` -| Option | Description | -| --------------- | -------------------------------------------- | -| `-I days` | Delay before deactivation, password expired. | -| `-l` | Displays the policy details. | -| `-m days` | Minimum lifetime of the password. | -| `-M days` | Maximum lifetime of the password. | -| `-d AAAA-MM-JJ` | Last password change. | -| `-E AAAA-MM-JJ` | Account expiration date. | -| `-W days` | Warning time before expiration. | +| 选项 | 描述 | +| ---------------- | ------------------------------------------------- | +| `-I DAYS` | 密码过期时往后的推迟时间。 永久性的更改。 | +| `-l` | 显示策略详细信息。 | +| `-m DAYS` | 密码的最小存活时间。 永久性的更改。 | +| `-M DAYS` | 密码的最大存活时间。 永久性的更改。 | +| `-d LAST_DAY` | 最后一次密码更改的时间。 您可以使用天的时间戳样式或 YYYY-MM-DD 样式。 永久性的更改。 | +| `-E EXPIRE_DATE` | 帐号到期日期。 您可以使用天的时间戳样式或 YYYY-MM-DD 样式。 永久性的更改。 | +| `-W WARN_DAYS` | 到期前的警告时间。 永久性的更改。 | -The `chage` command also offers an interactive mode. +示例: -The `-d` option forces the password to be changed at login. - -Examples: ``` +# `chage` 命令还提供交互模式。 $ sudo chage philippe + +# `-d` 选项强制在登录时更改密码。 $ sudo chage -d 0 philippe ``` -!!! Note If no user is specified, the order will concern the user who enters it. +![使用 chage 进行用户帐号管理](images/chage-timeline.png) -![User account management with chage](images/chage-timeline.png) +## 高级管理 -## Advanced management +配置文件: -Configuration files: * `/etc/default/useradd` * `/etc/login.defs` * `/etc/skel` -!!! Note Editing the `/etc/default/useradd` file is done with the `useradd` command. +!!! Note "说明" + + 使用 `useradd` 命令编辑 `/etc/default/useradd` 文件。 + + 其他文件将通过文本编辑器进行修改。 + +### `/etc/default/useradd`文件 + +此文件包含默认数据设置。 + +!!! Tip "提示" - The other files are to be modified with a text editor. + 在创建用户时,如果没有指定选项,系统将使用 `/etc/default/useradd` 中定义的默认值。 -### `/etc/default/useradd` file +此文件由命令 `useradd -D` 修改 (`user -D`在没有任何其他选项的情况下输入会显示 `/etc/default/useradd` 文件的内容)。 -This file contains the default data settings. +``` +Shell > grep -v ^# /etc/default/useradd +GROUP=100 +HOME=/home +INACTIVE=-1 +EXPIRE= +SHELL=/bin/bash +SKEL=/etc/skel +CREATE_MAIL_SPOOL=yes +``` + +| 参数 | 说明 | +| ------------------- | --------------------------------------------------------- | +| `GROUP` | 默认主组GID。 | +| `HOME` | 定义普通用户主目录的上级目录路径。 | +| `INACTIVE` | 密码过期后的宽限天数。 对应于 `/etc/shadow` 文件的第7个字段。 `-1` 值表示关闭了宽限期功能。 | +| `EXPIRE` | 帐号到期日期。 对应于 `/etc/shadow` 文件的第8个字段。 | +| `SHELL` | 命令解释器。 | +| `SKEL` | 登录目录的框架目录。 | +| `CREATE_MAIL_SPOOL` | 在 `/var/spool/mail` 中创建邮箱。 | -!!! Tip When creating a user, if the options are not specified, the system uses the default values defined in `/etc/default/useradd`. +如果在创建用户时不需要同名的主组,可以执行以下操作: -This file is modified by the command `useradd -D` (`useradd -D` entered without any other option displays the contents of the `/etc/default/useradd` file). +``` +Shell > useradd -N test2 +Shell > id test2 +uid=1001(test2) gid=100(users) groups=100(users) +``` -| Value | Comment | -| ------------------- | ------------------------------------------------------------------------- | -| `GROUP` | Default group. | -| `HOME` | Path where the login directory for the user's name will be created. | -| `INACTIVE` | Number of days after the password expires before the account is disabled. | -| `EXPIRE` | Account expiration date. | -| `SHELL` | Command interpreter. | -| `SKEL` | Skeleton directory of the login directory. | -| `CREATE_MAIL_SPOOL` | Mailbox creation in `/var/spool/mail`. | +### `/etc/login.defs` 文件 -!!! Warning Without the `-g` option, the `useradd` command creates a group of the user's name name and places it there. +```bash +# 已忽略注释行 +shell > cat /etc/login.defs +MAIL_DIR /var/spool/mail +UMASK 022 +HOME_MODE 0700 +PASS_MAX_DAYS 99999 +PASS_MIN_DAYS 0 +PASS_MIN_LEN 5 +PASS_WARN_AGE 7 +UID_MIN 1000 +UID_MAX 60000 +SYS_UID_MIN 201 +SYS_UID_MAX 999 +GID_MIN 1000 +GID_MAX 60000 +SYS_GID_MIN 201 +SYS_GID_MAX 999 +CREATE_HOME yes +USERGROUPS_ENAB yes +ENCRYPT_METHOD SHA512 +``` -In order for the `useradd` command to retrieve the value of the `GROUP` field from the `/etc/default/useradd` file, you must specify the `-N` option. +`UMASK 022`:表示创建文件的权限为755(rwxr-xr-x)。 但出于安全性考虑,GNU/Linux对新创建的文件没有 **x** 权限,这一限制适用于 root用户(uid=0) 和 普通用户(uid>=1000) 。 例如: -Example: ``` -$ sudo useradd -u 501 -N GroupeA +Shell > touch a.txt +Shell > ll +-rw-r--r-- 1 root root 0 Oct 8 13:00 a.txt ``` -### `/etc/login.defs` file +`HOME_MODE 0700`:普通用户主目录的权限。 不适用于 root 用户的主目录。 -This file contains many default parameters useful for creating or modifying users. This information is grouped by paragraph according to their use: +``` +Shell > ll -d /root +dr-xr-x---. 10 root root 4096 Oct 8 13:12 /root + +Shell > ls -ld /home/test1/ +drwx------ 2 test1 test1 4096 Oct 8 13:10 /home/test1/ +``` -* Mailboxes; -* Passwords ; -* UID and GID ; -* Umask ; -* Connections; -* Terminals. +`USERGROUPS_ENAB yes`:"使用 `userdel -r` 命令删除用户时,相应的主组也会被删除。" 为什么? 这就是原因。 -### `/etc/skel` directory +### `/etc/skel` 目录 -When a user is created, their home directory and environment files are created. +当创建用户时,它们的主目录和环境文件也将被创建。 您可以将 `/etc/skel/` 目录中的文件视为创建用户所需的文件模板。 -These files are automatically copied from the `/etc/skel` directory. +这些文件自动从 `/etc/skel` 目录中复制。 * `.bash_logout` * `.bash_profile` * `.bashrc` -All files and directories placed in this directory will be copied to the user tree when they are created. +放置在此目录中的所有文件和目录在创建时都将复制到用户树中。 -## Identity change +## 身份更改 -### `su` command +### `su` 命令 -The `su` command allows you to change the identity of the connected user. +`su`命令允许您更改连接用户的身份。 ``` su [-] [-c command] [login] ``` -Examples: +示例: ``` $ sudo su - alain -[albert]$ su -c "passwd alain" +[albert]$ su - root -c "passwd alain" ``` -| Option | Description | -| ------------ | ----------------------------------------------- | -| `-` | Loads the user's complete environment. | -| `-c` command | Executes the command under the user's identity. | +| 选项 | 描述 | +| ------------ | ---------- | +| `-` | 加载用户的完整环境。 | +| `-c` command | 以用户身份执行命令。 | -If the login is not specified, it will be `root`. +如果未指定 login, 它将是 `root`。 -Standard users will have to type the password for the new identity. +标准用户必须输入新身份的密码。 -!!! Tip There are successive 'layers' created (a stack of `bash` environments). To switch from one user to another, you must first type the `exit` command to take back your identity and then the `su` command to take another identity. +!!! Tip "提示" -#### Profile loading + 您可以使用 `exit`/`logout` 命令退出已切换的用户。 需要注意的是,切换用户后,没有新的 `child shell` 或 `sub shell`,例如: + + ``` + Shell > whoami + root + Shell > echo $SHLVL ; echo $BASH_SUBSHELL + 1 + 0 + + Shell > su - test1 + Shell > echo $SHLVL ; echo $BASH_SUBSHELL + 1 + 0 + ``` -`root` endorses the identity of the user `alain` with `su`: +请注意! `su` 和 `su -` 是不同的,如以下示例所示: ``` +Shell > whoami +test1 +Shell > su root +Shell > pwd +/home/test1 + +Shell > env ... -/home/GroupA/alain/.bashrc -/etc/bashrc +USER=test1 +PWD=/home/test1 +HOME=/root +MAIL=/var/spool/mail/test1 +LOGNAME=test1 ... ``` -`root` assumes the identity of the user `alain` with `su -`: - ``` +Shell > whoami +test1 +Shell > su - root +Shell > pwd +/root + +Shell > env ... -/home/GroupA/alain/.bash_profile -/home/GroupA/alain/.bashrc -/etc/bashrc +USER=root +PWD=/root +HOME=/root +MAIL=/var/spool/mail/root +LOGNAME=root ... ``` -A user can temporarily (for another command or an entire session) assume the identity of another account. - -If no user is specified, the command will be for `root` (`su -`). - -It is necessary to know the password of the user whose identity is being endorsed unless it is `root` that is executing the command. - -An administrator can thus work on a standard user account and use the rights of the `root` account only occasionally. +因此,当您想要切换用户时,请记住不要丢失 `-`。 由于未加载必要的环境变量文件,因此运行某些程序可能会出现问题。 diff --git a/docs/books/nvchad/custom/chadrc_lua.it.md b/docs/books/nvchad/custom/chadrc_lua.it.md new file mode 100644 index 0000000000..ec5d784212 --- /dev/null +++ b/docs/books/nvchad/custom/chadrc_lua.it.md @@ -0,0 +1,59 @@ +--- +title: chadrc.lua +author: Franco Colussi +contributors: Steven Spencer, Franco Colussi +tested with: 8.6, 9.0 +tags: + - nvhad + - coding + - editor +--- + +# `chadrc.lua` + +Il file `chadrc.lua` nella nostra cartella `custom` contiene informazioni su dove NvChad deve cercare ulteriori configurazioni e plugin personali. + +È necessario prestare particolare attenzione alla gerarchia dei file, poiché potrebbero esserci più file con lo stesso nome (vedere *init.lua*) ma in posizioni diverse. La posizione determina l'ordine in cui i file vengono inclusi nella configurazione. L'ordine è `core` -> `custom` -> `plugins`. + +Il contenuto del file `chadrc.lua` è il seguente: + +```lua +local M = {} +local override = require("custom.override") + +M.ui = { + theme = "everforest", + theme_toggle = { "everforest", "everforest_light" }, +} + +M.mappings = require("custom.mappings") + +M.plugins = { + user = require("custom.plugins"), + override = { + ["kyazdani42/nvim-tree.lua"] = override.nvimtree, + ["nvim-treesitter/nvim-treesitter"] = override.treesitter, + ["lukas-reineke/indent-blankline.nvim"] = override.blankline, + }, +} + +return M +``` + +La prima chiamata che si incontra si riferisce all'inclusione del nostro file `custom/override.lua` contenente le impostazioni personalizzate per i plugin nella tabella degli *override* definita in `M.plugins`. + +In particolare, le personalizzazioni si riferiscono allo stato dei file in un *repository* Git (se si lavora con uno di essi), all'installazione automatica dei *parser treesitter* e all'esclusione delle linee di riferimento di routine e comandi annidati. Questa funzionalità nella scrittura della documentazione in Markdown non è così importante. + +Se si desidera avere anche questa funzionalità, è sufficiente rimuovere la riga: + +```lua +["lukas-reineke/indent-blankline.nvim"] = override.blankline, +``` + +Ed eseguire un SHIFT + :PackerSync dalla modalità NORMAL nell'editor. + +Segue la configurazione del tema predefinito con la sua variante chiara, seguita dalla chiamata `require` del file `custom/mapping.lua` che contiene i comandi personalizzati. + +Infine, troviamo impostazioni che richiamano file di configurazione personali (contenuti in *custom/plugins*) che sostituiscono le impostazioni predefinite. + +Quindi possiamo dire che il file `chadrc.lua` è il file che si occupa di alcuni aspetti dell'interfaccia utente e, soprattutto, dell'inclusione dei *nostri* file nella configurazione di NvChad. diff --git a/docs/books/nvchad/custom/custom_folder.it.md b/docs/books/nvchad/custom/custom_folder.it.md new file mode 100644 index 0000000000..d6593f7c85 --- /dev/null +++ b/docs/books/nvchad/custom/custom_folder.it.md @@ -0,0 +1,105 @@ +--- +title: Cartella Personalizzata +author: Franco Colussi +contributors: Steven Spencer, Franco Colussi +tested with: 8.6, 9.0 +tags: + - nvchad + - coding + - custom +--- + +# Configurazione avanzata della Cartella Personalizzata + +## Introduzione + +NvChad utilizza `git` per gli aggiornamenti. Ciò implica che a ogni aggiornamento, parte o l'intera configurazione viene sovrascritta dai nuovi commit. Di conseguenza, sarebbe inutile effettuare personalizzazioni all'interno della configurazione predefinita. + +Per risolvere questo problema, gli sviluppatori di NvChad hanno creato una cartella `custom` che **deve essere** collocata in `.config/nvim/lua/` ed è progettata per ospitare tutti i file di configurazione personalizzati. Di seguito viene rappresentata la struttura di base di un'installazione standard di NvChad. + +```text +nvim/ +├── examples +│   ├── chadrc.lua +│   └── init.lua +├── init.lua +├── LICENSE +├── lua +│   ├── core +│   └── plugins +└── plugin + └── packer_compiled.lua +``` + +### Creazione della Struttura + +Per iniziare la personalizzazione dobbiamo creare la cartella `custom` che conterrà tutti i nostri file e anche la cartella `plugins` che conterrà i _file di configurazione_ dei nostri plugin. Poiché le cartelle non saranno presenti, utilizzeremo la flag `-p` per indicare al comando `mkdir` di creare le cartelle mancanti. Il comando sarà il seguente: + +```bash +mkdir -p ~/.config/nvim/lua/custom/plugins +``` + +La struttura della cartella `nvim/lua` dovrebbe ora apparire come segue: + +```text +├── lua +│   ├── core +│   ├── custom +│   │   └── plugins +│   └── plugins +``` + +La scelta del percorso non è casuale. Risponde alla necessità di preservare questa cartella dagli aggiornamenti. In caso contrario, a ogni aggiornamento la cartella verrebbe semplicemente cancellata perché non fa parte del repository. + +Gli sviluppatori di NvChad hanno preparato un file `.gitignore` per questo, che ne determina l'esclusione. + +```bash +cat .config/nvim/.gitignore +plugin +custom +spell +``` + +### Struttura della Cartella Custom + +La struttura della cartella _custom_ utilizzata per questa guida è la seguente: + +```text +custom/ +├── chadrc.lua +├── init.lua +├── mappings.lua +├── override.lua +└── plugins + ├── init.lua + └── lspconfig.lua +``` + +Analizzeremo il suo contenuto e descriveremo brevemente i file che contiene. I file saranno analizzati in dettaglio più tardi, sulle pagine ad essi dedicate. + +- `chadrc.lua` - Questo file permette di sovrascrivere le configurazioni predefinite. Permette inoltre di sovrascrivere i plugin, in modo che possano essere associati alle configurazioni in _override.lua_. Ad esempio, viene utilizzato per salvare il tema dell'interfaccia con: + +```lua +M.ui = { + theme = "everforest", +} +``` + +- `init.lua` - Questo file viene eseguito dopo il file primario `init.lua`, contenuto in `nvim/lua/core/`, e consente l'esecuzione di comandi personalizzati all'avvio di NvChad. + +- `mappings.lua` - Permette di impostare comandi personalizzati. Questi comandi vengono normalmente utilizzati per abbreviare i comandi standard. Un esempio è l'abbreviazione del comando `:Telescope find_files`, che può essere impostata in _mappings.lua_ in questo modo: + +```lua +["\\\\"] = { " Telescope find_files", "file-finder" }, +``` + +permette di recuperare il **:Telescope find_files** digitando due `\\` + +![Telescope Find Files](../images/telescope_find_files.png) + + +- `override.lua` - Questo file contiene le configurazioni personalizzate che sostituiscono quelle predefinite. Ciò è reso possibile grazie all'override effettuata a monte in _chadrc.lua_. + +Passiamo ora alla cartella `plugins`. Questa cartella contiene tutti i file di configurazione dei vari plugin installati. Contiene anche il file `init.lua` per le personalizzazioni. Il file `init.lua` deve contenere i plugin che vogliamo installare sul nostro IDE. Una volta inseriti e configurati, saranno installabili tramite il comando `:PackerSync`. + +L'unico plugin richiesto è _neovim/nvim-lspconfig_, che abilita la funzionalità LSP (language server) per l'editing avanzato. diff --git a/docs/books/nvchad/custom/init_lua.it.md b/docs/books/nvchad/custom/init_lua.it.md new file mode 100644 index 0000000000..277b399299 --- /dev/null +++ b/docs/books/nvchad/custom/init_lua.it.md @@ -0,0 +1,37 @@ +--- +title: init.lua +author: Franco Colussi +contributors: Steven Spencer, Franco Colussi +tested with: 8.6, 9.0 +tags: + - nvchad + - coding + - editor +--- + +# `init.lua` + +Il file `nvim/lua/custom/init.lua` è usato per sovrascrivere le opzioni predefinite di NvChad, definite in `lua/core/options.lua`, e impostare le proprie opzioni. Viene utilizzato anche per l'esecuzione di Auto-Comandi. + +Scrivere documenti in Markdown non richiede molte modifiche. Si tratta di impostare alcuni comportamenti come il numero di spazi per la tabulazione, un'impostazione che rende la formattazione dei file Markdown molto agevole. + +Il nostro file avrà il seguente aspetto: + +```lua +vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.formatting_sync()]] +-- on 0.8, you should use vim.lsp.buf.format({ bufnr = bufnr }) instead + +local opt = vim.opt + +opt.tabstop = 4 +opt.softtabstop = 4 +opt.shiftwidth = 4 +opt.shiftround = false +opt.expandtab = true +opt.autoindent = true +opt.smartindent = true +``` + +Nel nostro esempio abbiamo utilizzato un comando automatico per la formattazione sincrona del buffer e alcune opzioni. + +Per riassumere, il file `init.lua` nella nostra cartella `custom` viene usato per sovrascrivere le impostazioni predefinite. Questo funziona perché viene letto dopo il file `core/init.lua` , sostituendo tutte le opzioni precedenti con quelle nuove che abbiamo impostato. diff --git a/docs/books/nvchad/custom/lsp.it.md b/docs/books/nvchad/custom/lsp.it.md new file mode 100644 index 0000000000..b38c93d9b6 --- /dev/null +++ b/docs/books/nvchad/custom/lsp.it.md @@ -0,0 +1,202 @@ +--- +title: Language Server Protocol +author: Franco Colussi +contributors: Steven Spencer, Franco Colussi +tested with: 8.6, 9.0 +tags: + - NvChad + - coding + - LSP +--- + +## LSP + +Che cos'è il Protocollo del Server Linguistico? + +È un servizio server che fornisce il supporto per funzioni di editing avanzate, come il completamento automatico del codice sorgente o il *"Go to Definition"*, per un linguaggio di programmazione in un editor o IDE. + +Il Language Server Protocol (LSP) è il prodotto della standardizzazione dei messaggi scambiati tra uno strumento di sviluppo e un processo di server linguistico. L'obiettivo di LSP è semplificare questo tipo di integrazione e fornire un quadro utile per esporre le caratteristiche del linguaggio a una varietà di strumenti. + +### LSP in NvChad + +NvChad fornisce un meccanismo automatico per l'installazione dei server linguistici attraverso il plugin `williamboman/mason.nvim`, un piccolo gioiello dell'ecosistema dei plugin di Neovim che fornisce un'interfaccia grafica per l'installazione di server linguistici e altro. + +![Mason UI](../images/mason_ui.png) + +Per conoscere tutti i comandi disponibili, è sufficiente premere il tasto g? per avere a disposizione la legenda completa. + +![Guida Mason](../images/mason_help.png) + +### Introduzione a *nvim-lspconfig* + +*nvim-lspconfig* è una raccolta di configurazioni, fornite dalla comunità, per i client e il server linguistico integrato nel nucleo di Nvim. Questo plugin offre quattro funzioni principali: + +- comandi di avvio predefiniti, opzioni di inizializzazione e impostazioni per ogni server. +- un risolutore di directory radice che tenta di individuare la radice del progetto +- una mappatura automatica dei comandi che lancia un nuovo server linguistico o un server linguistico per ogni buffer aperto, se fa parte di un progetto tracciato. +- comandi di utilità come LspInfo, LspStart, LspStop e LspRestart, per la gestione delle istanze del server linguistico. + +L'uso combinato dei due plugin consente di scaricare i server linguistici necessari e di configurarli automaticamente da NvChad. + +#### Scaricare i Server Linguistici + +Per scaricare il server linguistico scelto, apriamo l'interfaccia di *Mason* dal nostro editor con il comando SHIFT + :Mason. Supponiamo di voler installare il server linguistico per il *Markdown*. Per farlo, digitiamo 2 per accedere alla sezione `LSP`. + +Ora scendiamo con il tasto freccia fino a trovare il server linguistico `marksman`. Premendo la barra spaziatrice si possono ottenere alcune informazioni sul server, come si può vedere nella schermata seguente. + +![Mason Marksman](../images/mason_marksman.png) + +Per installare il server, è sufficiente premere il tasto i; al termine dell'installazione Mason lo troverà tra i server installati. + +![Marksman Installato](../images/mason_installed.png) + +I server da installare con questa procedura sono: + +- **marksman**: per il supporto markdown +- **yaml-language-server**: per il supporto al frontmatter +- **lua-language-server**: per il supporto lua +- **html-lsp**: per il supporto HTML + +### Configurare `lspdconfig.lua` + +I server installati non sono ancora configurati in NvChad. Per eseguire la registrazione del server è necessario eseguire una configurazione aggiuntiva. + +Per prima cosa creiamo la cartella `custom/plugins` in `~/.local/nvim/lua`. Nota che se hai già seguito il resto di questa guida, questo percorso potrebbe essere già stato creato: + +```bash +mkdir -p ~/.local/nvim/lua/custom/plugins +``` + +Abbiamo usato la flag `-p` poiché vogliamo creare l'intero percorso se non esiste già. Una volta creata la cartella, dobbiamo creare due file: `init.lua`, che si occuperà di istruire *Packer* per l'installazione del plugin, e `lspconfig.lua`, che definirà i nostri server. + +Cominciamo a creare i due file: + +```bash +touch ~/.config/nvim/lua/custom/plugins/init.lua +touch ~/.config/nvim/lua/custom/plugins/lspconfig.lua +``` + +A questo punto la struttura delle cartelle dovrebbe essere la seguente: + +```text +└── plugins + ├── init.lua + └── lspconfig.lua +``` + +Passiamo ora a modificare i due file per includere il supporto per i *Language Server*. + +#### init.lua + +Inserendo il seguente codice si indica a Packer di installare il plugin `neovim/nvim-lspconfig` utilizzando il codice contenuto rispettivamente in *nvim/lua/plugins/lspconfig.lua* e *nvim/lua/custom/plugins/lspconfig.lua*. Per la configurazione, invece, abbiamo bisogno di chiamate di tipo `require`. + +È necessario prestare particolare attenzione alla sequenza delle chiamate, poiché queste utilizzano la tecnica dell'override e l'inversione dell'ordine potrebbe causare incongruenze nella configurazione. + +```lua +return { + ["neovim/nvim-lspconfig"] = { + config = function() + require "plugins.configs.lspconfig" + require "custom.plugins.lspconfig" + end, + }, +} +``` + +Si passa quindi a modificare il file con NvChad: + +```text +nvim ~/.config/nvim/lua/custom/plugins/init.lua +``` + +![NvChad init.lua](../images/init_custom_plugins.png) + +Una volta terminate le modifiche, salviamo il file con il comando SHIFT + :wq. + +Ora possiamo modificare il file di configurazione dei nostri server locali. + +#### lspconfig.lua + +Questo è il nostro file di configurazione `lspconfig.lua`, inserito dopo che la configurazione *lspconfig* di NvChad ha finito di configurare l'ambiente. + +```lua +-- custom.plugins.lspconfig +local on_attach = require("plugins.configs.lspconfig").on_attach +local capabilities = require("plugins.configs.lspconfig").capabilities + +local lspconfig = require "lspconfig" +local servers = { "html", "marksman", "yamlls"} + +for _, lsp in ipairs(servers) do + lspconfig[lsp].setup { + on_attach = on_attach, + capabilities = capabilities, + } +end +``` + +Apriamo nuovamente il nostro editor e modifichiamo il file: + +```textile +nvim ~/.config/nvim/lua/custom/plugins/lspconfig.lua +``` + +![Custom lspconfig.lua](../images/lspconfig_custom.png) + +Dopo aver terminato le modifiche, salviamo e chiudiamo l'editor come prima con SHIFT + :wq. + +Come possiamo vedere, abbiamo aggiunto alla tabella dei `server locali` i server che abbiamo installato con *Mason*: + +```lua +local servers = { "html", "marksman", "yamlls"} +``` + +Questo dà a *nvim-lspconfig* un modo per recuperare le configurazioni necessarie per il loro funzionamento nell'IDE. + +Una volta terminate le modifiche, per renderle effettive è necessario dire a *Packer* di sincronizzarle. Questo si fa con un semplice SHIFT + :PackerSync al termine del quale la nuova installazione di *neovim/nvim-lspconfig* sarà evidenziata nel log. Ora, aprendo un file Markdown dovrebbe apparire un'icona a forma di ingranaggio nell'angolo in basso a destra, con la scritta `LSP - marksman`. + +![Marksman Enable](../images/marksman_enable.png) + +![Server Marksman](../images/marksman_server_info.png) + +### Introduzione all'LSP usato + +#### SumnekoLua + +Un componente molto importante è il `lua-language-server`, che cambia completamente l'esperienza di scrittura del codice Lua e di conseguenza anche la modifica dei file di configurazione di NvChad scritti in questo linguaggio. Questo è anche il LSP predefinito per *lua* + +L'eseguibile è fornito dal plugin [SumnekoLua](https://github.com/sumneko/lua-language-server). + +![Lua Language Server](../images/lua-language-server.png) + +Si noti che il server lua non deve essere configurato nel file di configurazione `lspconfig.lua`. Poiché è il server predefinito di NvChad, funziona senza bisogno di ulteriori configurazioni. + +![Lua Diagnostic](../images/lua_diagnostic.png) + +#### Marksman + +Marksman è un server linguistico per Markdown che fornisce autocompletamento, definizioni go-to, ricerca di riferimenti, diagnostica, ecc. Tutti i tipi di link supportano il completamento, l'hover e la definizione di goto/reference. Inoltre, Marksman fornisce una diagnostica per i collegamenti wiki per individuare i riferimenti interrotti e i titoli duplicati/ambigui. + +![Marksman Server](../images/marksman_assistant.png) + +E se proviamo a creare degli errori (nel nostro esempio creeremo alcune righe vuote, che in markdown non sono un errore ma sono considerate una cattiva formattazione), otterremo un avviso visivo (i quadratini rosa a sinistra del numero della riga) che ci avviserà del problema. + +![Marksman Diagnostic](../images/marksman_diagnostic.png) + +#### yamlls + +`yamlls` fornisce funzioni per convalidare l'intero file yaml, controllare gli errori e gli avvertimenti relativi al codice, autocompletare i comandi e, inoltre, passando il mouse su un nodo se ne visualizza la descrizione, se disponibile. + +Il server delle lingue è fornito dal pacchetto [yaml-language-server](https://github.com/redhat-developer/yaml-language-server). + +![Yaml Server](../images/yamlls_server.png) + +Una volta installato, entrerà in azione ogni volta che apriremo un file `.yaml`, dando un contributo prezioso alla scrittura e al debug del codice. + +### Considerazioni Finali + +L'uso degli LSP facilita notevolmente il processo di editing, arricchendolo di funzionalità avanzate. Ci permette inoltre di tenere traccia della sua consistenza in tempo reale. È sicuramente uno strumento da avere nel nostro IDE. + +L'introduzione di *Mason*, sebbene sia ancora necessario un certo intervento manuale per configurare l'ambiente, ha reso disponibile una procedura automatizzata per l'installazione dei server linguistici. Inoltre, ci permette di evitare i controlli periodici degli aggiornamenti che sarebbero stati necessari in caso di installazione manuale. + +Una volta installati e configurati, tutti i nostri server potranno essere aggiornati dalla *GUI di Mason* con la semplice pressione del tasto U. diff --git a/docs/books/nvchad/custom/mappings_lua.it.md b/docs/books/nvchad/custom/mappings_lua.it.md new file mode 100644 index 0000000000..84ffcb1c4f --- /dev/null +++ b/docs/books/nvchad/custom/mappings_lua.it.md @@ -0,0 +1,71 @@ +--- +title: mappings.lua +author: Franco Colussi +contributors: Steven Spencer, Franco Colussi +tested with: 8.6, 9.0 +tags: + - nvchad + - coding + - editor +--- + +Il file `custom/mappings.lua` consente di impostare comandi personalizzati. Questi comandi ci permettono di eseguire operazioni non legate all'editor e di abbreviare notevolmente la digitazione di comandi completi. + +Questo è probabilmente il file più "personale" tra quelli contenuti nella cartella `custom`. Ognuno di noi ha una propria serie di comandi e utilità associate a cui è abituato. Cercheremo di esporre questo argomento in modo generale per darvi le basi su cui costruire la vostra mappatura. + +La cosa interessante delle mappature è che possono essere inserite nei vari stati di lavoro dell'editor (INSERT, NORMAL...), consentendo una personalizzazione ancora più granulare dei comandi. + +Gli stati sono indicati dalle lettere `n`, `v`, `i`, `t`. Questi corrispondono ai vari comandi dell'editor NORMAL, VISUAL, ecc. Prendiamo il seguente esempio per introdurre la configurazione: + +```lua +local M = {} + +M.general = { + i = { + -- navigate within insert mode + [""] = { "", "move left" }, + [""] = { "", "move right" }, + [""] = { "", "move down" }, + [""] = { "", "move up" }, + }, +} + +M.packer = { + n = { + ["ps"] = { "PackerSync", "Packer Sync" }, + ["pS"] = { "PackerStatus", "Packer Status" }, + ["pu"] = { "PackerUpdate", "Packer Update" }, + }, +} + +M.telescope = { + n = { + [""] = { " Telescope", "open telescope" }, + ["\\\\"] = { " Telescope find_files", "file finder" }, + ["\\f"] = { " Telescope live_grep", "telescope live grep" }, + }, +} + +M.git = { + n = { + ["lg"] = { "LazyGit", "open lazygit" }, + ["gc"] = { " Telescope git_commits", "git commits" }, + ["gs"] = { " Telescope git_status", "git status" }, + }, +} + +return M +``` + +In questo file, la variabile `M` inizializzata nella prima riga passa e raccoglie tutte le mappature prima di essere restituita alla configurazione dall'ultima riga. In questo modo, tutto ciò che abbiamo impostato in questo file sarà disponibile nell'editor sotto forma di scorciatoie da tastiera. + +La prima parte `M.general` è un esempio di sovrascrittura delle impostazioni predefinite. La nuova mappatura sostituisce quella predefinita per lo spostamento tra le righe in modalità INSERT `i = {` con una più facile da ricordare e anche più logica. La scorciatoia originale CTRL + l per spostarsi a destra ne è un esempio. + +Nella seconda parte abbiamo la mappatura dei comandi per la gestione dei plugin con `:Packer`, questa volta impostata per lo stato NORMAL `n = {`. + + +Nella parte finale del nostro esempio abbiamo due serie di scorciatoie, entrambe per lo stato NORMAL `n = {`; una riguarda l'apertura di *Telescope* per la ricerca dei file e alcune scorciatoie per il controllo e la gestione dei *repository Git*. + +Come si può vedere, questo file permette di gestire le scorciatoie da tastiera di tutti i comandi e i plugin di NvChad/Neovim, consentendo un flusso di lavoro molto più veloce. + +Questo esempio vuole essere solo un'introduzione al livello di personalizzazione che si può ottenere. Le personalizzazioni possono essere molto ampie. Per consultare la mappatura standard, si può fare riferimento a [questo file](https://github.com/NvChad/NvChad/blob/main/lua/core/mappings.lua). Per i comandi specifici dei plugin è necessario fare riferimento ai vari progetti. diff --git a/docs/books/nvchad/custom/override_lua.it.md b/docs/books/nvchad/custom/override_lua.it.md new file mode 100644 index 0000000000..c6a405289c --- /dev/null +++ b/docs/books/nvchad/custom/override_lua.it.md @@ -0,0 +1,95 @@ +--- +title: override.lua +author: Franco Colussi +contributors: Steven Spencer, Franco Colussi +tested with: 8.6, 9.0 +tags: + - nvchad + - coding + - editor +--- + +# `override.lua` + +Il file `custom/override.lua` è usato per sovrascrivere le impostazioni dei plugin definiti in `chadrc.lua`, permette di installare vari *parser* all'avvio, estende le funzionalità di *nvimtree* e altre personalizzazioni. + +Il file utilizzato per il nostro esempio è il seguente: + +```lua +local M = {} + +M.treesitter = { + ensure_installed = { + "html", + "markdown", + "yaml", + "lua", + }, +} + +M.nvimtree = { + git = { + enable = true, + }, + renderer = { + highlight_git = true, + icons = { + show = { + git = true, + }, + }, + }, + view = { + side = "right", + }, +} + +M.blankline = { + filetype_exclude = { + "help", + "terminal", + "alpha", + "packer", + "lspinfo", + "TelescopePrompt", + "TelescopeResults", + "nvchad_cheatsheet", + "lsp-installer", + "", + }, +} + +M.mason = { + ensure_installed = { + "lua-language-server", + "marksman", + "html-lsp", + "yaml-language-server", + }, +} + +return M +``` + +Esaminiamo l'intera configurazione. La prima parte controlla i parser *treesitter* definiti nella tabella e installa quelli mancanti. Nel nostro esempio, abbiamo aggiunto solo quelli utili per scrivere documenti in Markdown. Per un elenco completo dei parser disponibili, si può fare riferimento a [questa pagina](https://github.com/nvim-treesitter/nvim-treesitter#supported-languages). + +![Git NvimTree](../images/nvimtree_git.png){ align=right } + +La seconda parte arricchisce il nostro file explorer (*nvimtree*) con decorazioni per lo stato dei file rispetto al repository *Git* , e sposta la vista a destra. + +Poi abbiamo una sezione che si occupa di rimuovere le righe che indicano annidamento nel codice. Infine, una che si occupa di informare *Mason* su quali server linguistici sono necessari nell'IDE, richiamata dalla funzione `ensure_installed`. + +Il controllo e l'eventuale installazione di *parser* e *LSP* è molto utile per gestire le proprie personalizzazioni su più postazioni. Salvando la cartella *custom* in un repository Git, si ha la possibilità di clonare le impostazioni personalizzate su qualsiasi macchina su cui è installato NvChad e le modifiche possono essere sincronizzate tra tutte le macchine su cui si lavora. + +Riassumendo, il file `custom/override.lua` è usato per sovrascrivere parti della configurazione predefinita del plugin. Le personalizzazioni impostate in questo file vengono prese in considerazione *solo* se il plugin è definito in `custom/chadrc.lua` nella sezione *override* del plugin. + +```lua +M.plugins = { + user = require("custom.plugins"), + override = { + ["kyazdani42/nvim-tree.lua"] = override.nvimtree, + ["nvim-treesitter/nvim-treesitter"] = override.treesitter, + ["lukas-reineke/indent-blankline.nvim"] = override.blankline, + ["williamboman/mason.nvim"] = override.mason, +... +``` diff --git a/docs/books/nvchad/index.it.md b/docs/books/nvchad/index.it.md index 9337110896..7d3df05271 100644 --- a/docs/books/nvchad/index.it.md +++ b/docs/books/nvchad/index.it.md @@ -11,13 +11,13 @@ tags: # Introduzione -In questo libro troverete il modo di implementare Neovim, insieme a NvChad, per creare un **ambiente**di **sviluppo** **integrato**(IDE) completamente funzionale. +In questo libro troverete il modo di implementare Neovim, insieme a NvChad, per creare un **A**mbiente di **S**viluppo **I**ntegrato (IDE) completamente funzionale. Dico "modi" perché ci sono molte possibilità. L'autore si concentra sull'uso di questi strumenti per la scrittura di markdown, ma se il markdown non è il vostro obiettivo, non preoccupatevi, continuate a leggere. Se non conoscete nessuno di questi strumenti (NvChad o Neovim), questo libro vi fornirà un'introduzione a entrambi e, se seguirete questi documenti, vi renderete presto conto che potete configurare questo ambiente in modo che sia di grande aiuto per qualsiasi esigenza di programmazione o di scrittura di script. Volete un IDE che vi aiuti a scrivere i playbook di Ansible? Puoi ottenerlo! Volete un IDE per Golang? Anche questo è disponibile. Volete semplicemente una buona interfaccia per scrivere script BASH? È anche disponibile. -Grazie all'uso dei **protocolli**e dei linters **del Language** **Server**, è possibile configurare un ambiente personalizzato per l'utente. La cosa migliore è che una volta configurato l'ambiente, è possibile aggiornarlo rapidamente quando sono disponibili nuove modifiche attraverso l'uso di Packer e Mason, entrambi trattati qui. +Attraverso l'uso dei **L**anguage **S**erver **P**rotocols e dei linters, è possibile configurare un ambiente personalizzato. La cosa migliore è che una volta configurato l'ambiente, è possibile aggiornarlo rapidamente quando sono disponibili nuove modifiche attraverso l'uso di Packer e Mason, entrambi trattati qui. Poiché Neovim è un fork di `vim`, l'interfaccia generale sarà familiare agli utenti di `vim`. Se non siete utenti di `vim`, con questo libro imparerete rapidamente la sintassi dei comandi. Le informazioni trattate sono molte, ma è facile seguirle e, una volta completato il contenuto, si saprà abbastanza per costruire il proprio IDE per le _proprie_ esigenze con questi strumenti. diff --git a/docs/books/nvchad/nvchad_ui/builtin_plugins.it.md b/docs/books/nvchad/nvchad_ui/builtin_plugins.it.md index 8554b67e5e..4bef854f88 100644 --- a/docs/books/nvchad/nvchad_ui/builtin_plugins.it.md +++ b/docs/books/nvchad/nvchad_ui/builtin_plugins.it.md @@ -11,7 +11,7 @@ tags: # Plugins della configurazione di base -!!! nota "Convenzione Nomeclatura Plugin" +!!! note "Convenzione Nomenclatura Plugin" In questo capitolo, il formato `user_github/nome_plugin` sarà usato per identificare il plugin. Questo per evitare possibili errori con plugin dal nome simile e per introdurre il formato usato per l'inserimento dei plugin sia da NvChad che dalla configurazione `custom`. diff --git a/docs/guides/web/apache_hardened_webserver/modsecurity.it.md b/docs/guides/web/apache_hardened_webserver/modsecurity.it.md index 15af7c8e81..b51c67c9ca 100644 --- a/docs/guides/web/apache_hardened_webserver/modsecurity.it.md +++ b/docs/guides/web/apache_hardened_webserver/modsecurity.it.md @@ -55,7 +55,7 @@ Inoltre, dovrete avere il vostro server web in funzione affinché Comodo veda _m `systemctl start httpd` -Dopo esserti iscritto a Comodo, riceverai un'email con le istruzioni su cosa fare dopo. In sostanza, ciò che devi fare è accedere al sito web con le tue nuove credenziali e quindi scaricare lo script di installazione del client. +Dopo esserti iscritto a Comodo, riceverai un'e-mail con le istruzioni su cosa fare dopo. In sostanza, ciò che devi fare è accedere al sito web con le tue nuove credenziali e quindi scaricare lo script di installazione del client. Dalla directory radice del server, utilizzare il comando wget per scaricare l'installatore: diff --git a/docs/index.it.md b/docs/index.it.md index 7bc66e7389..34201055a2 100644 --- a/docs/index.it.md +++ b/docs/index.it.md @@ -6,48 +6,52 @@ title: Home ## Benvenuto! -Ci hai trovato! Benvenuto nell'hub della documentazione Rocky Linux; siamo contenti che tu sia qui. Abbiamo un gran numero di contributori che aggiungono contenuti, e la cache dei contenuti sta crescendo continuamente. Qui troverai documenti su come costruire Rocky Linux da solo, così come documenti su vari argomenti che sono importanti per la comunità Rocky Linux. Ti chiederai, da chi è composta questa comunità? +Ci hai trovati! Benvenuti nell'hub di documentazione di Rocky Linux; siamo lieti che siate qui. Numerosi collaboratori aggiungono contenuti e la cache di contenuti è in continua crescita. Qui troverete documenti su come costruire Rocky Linux stesso, oltre a documenti su vari argomenti importanti per la comunità Rocky Linux. Chi compone questa comunità, vi chiederete? -Bene, in realtà, anche tu ne fai parte. +In realtà, voi la fate. -Questa home page ti darà un'introduzione al sito web della documentazione e su come trovare i contenuti cercati - siamo fiduciosi che ti sentirai a casa. +Questa pagina iniziale vi fornirà un'introduzione al sito web della documentazione e a come orientarvi — siamo certi che vi sentirete come a casa vostra. -## Navigando nel sito +## Navigazione del Sito -### Muoversi +### Come Muoversi -In questo momento sei nella pagina iniziale della documentazione. Se guardi al menu principale (che è sempre disponibile, anche sui dispositivi mobili) puoi vedere la struttura principale che mostra le sezioni di primo livello del sito della documentazione. Se fai clic su una voce del menu in alto (prova "Guide" per esempio) vedrai sul lato sinistro l'elenco delle *sottosezioni* per ogni sezione principale. Le Guide hanno molti argomenti interessanti. +In questo momento vi trovate nella pagina iniziale della documentazione. Se si dà un'occhiata al menu in alto (sempre disponibile, anche sui dispositivi mobili) si può vedere la struttura principale che mostra le sezioni di primo livello del sito della documentazione. Se si fa clic su ciascuna voce del menu superiore (ad esempio, "Guide"), sul lato sinistro viene visualizzato l'elenco delle *sottosezioni* di ciascuna sezione principale. Le guide hanno molti argomenti di interesse. -Quando apri un documento, sul lato destro vedrai un 'Sommario' con collegamenti di navigazione cliccabili per quel documento (per i dispositivi mobili prova l'orientamento orizzontale). Per documenti lunghi, come le [Note di rilascio](release_notes/8.5.md), il sommario rende facile la navigazione del documento. Se stai leggendo un documento lungo e vuoi tornare all'inizio del documento premi pg up e vedrai un bottone `Back to top` apparire nella parte superiore dello schermo. +Quando si apre un documento, sulla destra viene visualizzato un "indice" con collegamenti di navigazione cliccabili per quel documento (per i dispositivi mobili provare l'orientamento orizzontale). Per i documenti lunghi, come le [Note di rilascio](release_notes/8.5.md), l'indice facilita il salto all'interno del documento. Se si sta leggendo un documento lungo e si desidera tornare all'inizio, premere il tasto pg su e si vedrà apparire il pulsante `Torna all'inizio` nella parte superiore dello schermo. Le sezioni principali del sito di documentazione sono: -* **Guide**: che coprono modi specifici per configurare e utilizzare Rocky Linux. +* **Guide**: che illustrano le modalità specifiche di configurazione e utilizzo di Rocky Linux. * **Libri**: sono informazioni più dettagliate basate su un'area specifica -* **Labs**: è un "ritorno a scuola", ma questi tutorial ti piaceranno! +* **Labs**: è il "ritorno a scuola", ma questi tutorial vi divertiranno! +* **Gemstones**: Alcuni suggerimenti sull'uso di script o comandi comuni possono essere condivisi qui +* **Note di rilascio**: Copre le note di rilascio di Rocky Linux e le informazioni sugli aggiornamenti di versione +* **Rocky Linux**: Link home page Sito ufficiale -### Multilingua +### Lingue Multiple -Certo che non tutti hanno l'inglese come prima lingua! Noi di Rocky Linux vogliamo rendere il sito di documentazione il più possibile accessibile a tutti — *le traduzioni in lingue diverse è una parte importante di ciò*. Se fai clic sul selettore della lingua (simbolo comune) nel menu in alto, vedrai le lingue in cui il sito web è disponibile, ci sono due parti disponibili: +Naturalmente non tutti hanno l'inglese come prima lingua! In Rocky Linux vogliamo rendere il sito di documentazione il più accessibile possibile a tutti — e la *traduzione in diverse lingue è una parte importante di questo obiettivo*. Se si fa clic sul selettore di lingua (simbolo comune) nel menu in alto, si vedranno le lingue in cui il sito è disponibile: -1. Localizzazione dell'interfaccia del sito Web: se scegli un'altra lingua, ad esempio Italiano, si noterà che l'interfaccia, ad esempio i link di navigazione 'Prossimo' e 'Precedente', saranno localizzati. -2. Contenuto: La traduzione dei contenuti è, ovviamente, un compito in corso (significativo). Non tutti i contenuti sono ancora tradotti in tutte le lingue. Tutte le pagine che sono state tradotte (nella lingua selezionata) saranno viste nella lingua prescelta, quelle non tradotte saranno disponibili in Inglese (lingua predefinita). Se vuoi contribuire alla comunità attraverso le traduzioni, il team di documentazione vorrebbe sentirti - vedi sotto per i dettagli. +1. Localizzazione dell'interfaccia del sito web: se si sceglie un'altra lingua, ad esempio il francese, si noterà che l'interfaccia, ad esempio i navigatori "Avanti" e "Precedente", saranno localizzati. +1. Contenuti: la traduzione dei contenuti è, ovviamente, un compito continuo (e significativo). Non tutti i contenuti sono ancora tradotti in tutte le lingue. Tutte le pagine che sono state tradotte (nella lingua selezionata) saranno visualizzate nella lingua scelta, mentre quelle che non sono state tradotte torneranno alla lingua predefinita, l'inglese. Se desiderate contribuire alla comunità attraverso le traduzioni, il team della documentazione sarà lieto di sentirvi — vedi sotto per i dettagli. -!!! note -Non tutte le funzionalità sono disponibili in tutte le lingue, questa è una limitazione dei moduli MKDocs disponibili. +!!! note "Nota" -### Usare la ricerca + Non tutte le funzionalità possono essere disponibili in tutte le lingue, questo è un limite dei moduli MkDocs sottostanti disponibili. -Se si desidera trovare rapidamente informazioni specifiche/documento, il sito della documentazione ha una capacità di ricerca full-text. Basta iniziare a digitare nel campo di immissione "Ricerca" nella barra dei menu in alto e il sito restituirà i risultati della ricerca in Drill Down. +### Utilizzo della Ricerca -Per aprire una pagina dei risultati della ricerca semplicemente fai clic sul link (o toccare su mobile) della pagina desiderata nell'elenco visualizzato. +Se si desidera trovare rapidamente informazioni/documenti specifici, il sito della documentazione dispone di una funzionalità di ricerca full-text. È sufficiente iniziare a digitare nel campo "Ricerca" nella barra del menu in alto e il sito restituirà i risultati della ricerca. -## Prima volta +Per aprire una pagina nei risultati della ricerca è sufficiente fare clic (o toccare sul cellulare) sulla pagina desiderata nell'elenco visualizzato. -Se questa è la prima volta che visiti il sito di documentazione Rocky Linux, probabilmente sei nuovo di Rocky Linux e stai pensando di installarlo! Nessun problema, salta alla pagina [Installazione di Rocky Linux.](guides/installation.md) per istruzioni dettagliate. +## Prima Volta -Se rimani bloccato e hai una domanda, la comunità Rocky Linux è lì per aiutarti. Visita il [community forum](https://forums.rockylinux.org) dove puoi cercare la soluzione e pubblicare le tue domande alla comunità. +Se è la prima volta che visitate il sito della documentazione di Rocky Linux, probabilmente siete nuovi con Rocky Linux e non vedete l'ora di installarlo! Nessun problema, visitate la pagina [Installazione di Rocky Linux](guides/installation.md) per istruzioni dettagliate. -## Contributo +Se siete bloccati e avete delle domande, la comunità Rocky Linux è pronta ad aiutarvi. Visitando il [forum della comunità](https://forums.rockylinux.org) è possibile cercare soluzioni e porre le proprie domande alla comunità. -Hai trovato qualcosa mancante? Hai trovato un errore? Ti stai chiedendo come creare un documento da solo, o come aggiustare le cose qui? Ricordi che lo abbiamo detto che *tu* sei la comunity Rocky? Bene, questo significa che *tu* sei importante per noi e vogliamo che ti unisca a noi, se lo desideri, per aiutarci a rendere questa documentazione migliore. Se sei interessato a questo, vai al nostro [Guida al contributo](https://github.com/rocky-linux/documentation/blob/main/README.md) per scoprire come farlo! +## Contribuire + +Avete trovato qualcosa che manca? Avete trovato un errore? Vi state chiedendo come creare un vostro documento o come sistemare le cose qui? Ricordate che abbiamo detto che *voi siete* la comunità Rocky? Ciò significa che *siete* importanti per noi e che vogliamo che vi uniate a noi, se vi va, per contribuire a migliorare questa documentazione. Se siete interessati, visitate la nostra [Guida al contributo](https://github.com/rocky-linux/documentation/blob/main/README.md) per scoprire come fare! diff --git a/docs/release_notes/8-changelog.it.md b/docs/release_notes/8-changelog.it.md index 7d04ca8e10..1f3b69bb34 100644 --- a/docs/release_notes/8-changelog.it.md +++ b/docs/release_notes/8-changelog.it.md @@ -9,867 +9,9 @@ tags: # Rocky Linux 8 Change Log -Rocky Linux 8 riceverà aggiornamenti incrementali e aggiornamenti di versione minori nel corso del tempo, man mano che l'upstream svilupperà le proprie versioni. Questa pagina fornirà dettagli e informazioni sui cambiamenti che si verificheranno. Un sistema che esegue Rocky Linux può aggiornare il proprio sistema alla versione completa in qualsiasi momento eseguendo `dnf update`. L'aggiornamento di questo documento può talvolta subire ritardi. Per verificare la presenza di nuovi aggiornamenti, è possibile consultare l'archivio della mailing list [Rocky Announce](https://lists.resf.org/archives/list/rocky-announce@lists.resf.org/). - -### Aggiornamenti +I dati del changelog per le versioni di Rocky Linux sono attualmente un lavoro in corso. Questo documento spiega dove si possono trovare le informazioni sul changelog della versione 8. È in arrivo un approccio più formalizzato che includerà anche la versione 9. Se volete dire la vostra sul modo in cui queste informazioni appariranno in futuro, date un'occhiata [a questo problema](https://github.com/rocky-linux/peridot/issues/9) e aggiungete i vostri commenti. Inoltre, [qui](https://errata.build.resf.org/) potete trovare le modifiche attuali e storiche della versione 8. Gli aggiornamenti rilasciati dall'upstream sono pubblicati su tutte le nostre architetture attuali. Raccomandiamo vivamente a tutti gli utenti di applicare *tutti gli* aggiornamenti, compresi i contenuti rilasciati oggi, sulle macchine Rocky Linux esistenti. Questo può essere fatto eseguendo `dnf update`. Tutti i componenti di Rocky Linux sono costruiti a partire dai sorgenti ospitati su [git.rockylinux.org](https://git.rockylinux.org). Inoltre, gli SRPM vengono pubblicati insieme ai repository in una corrispondente directory "source". È possibile trovarli su uno qualsiasi dei nostri mirrors. Questi pacchetti sorgente corrispondono a tutti gli RPM binari che rilasciamo. -## 8.5 - 2022-03-15 - -I seguenti pacchetti sono stati aggiornati dal 15 marzo 2022: - -* expat-2.2.5-4.el8_5.3 -* tzdata-2022a-1.el8 -* httpd-2.4.37-43.module+el8.5.0+747+83fae388.3 -* openssl-1.1.1k-6.el8_5 - -Sono stati aggiornati i seguenti moduli: - -* httpd - -CVE associati: - -* CVE-2022-25236 -* CVE-2022-25235 -* CVE-2022-25315 -* CVE-2022-23852 -* CVE-2021-45960 -* CVE-2021-46143 -* CVE-2022-22827 -* CVE-2022-22826 -* CVE-2022-22825 -* CVE-2022-22824 -* CVE-2022-22823 -* CVE-2022-22822 -* CVE-2022-0778 -* CVE-2022-22720 - -### Informazioni aggiuntive - -Ci scusiamo per la mancanza di annunci nelle ultime due settimane. Attualmente questi annunci sono manuali e sono in corso piani per renderli più automatizzati con una minore interazione umana. - -Con il rilascio della beta di RHEL 8.6, analizzeremo cosa sta cambiando e cosa e come dovremo fare le nostre build nelle prossime settimane prima del suo potenziale GA a fine aprile o maggio. Durante questo periodo, abbiamo anche lavorato al bootstrapping dei pacchetti beta di RHEL 9, che saranno poi importati, ricostruiti e testati nel nostro nuovo sistema di compilazione. - -## 8.5 - 2022-03-14 - -I seguenti pacchetti sono stati aggiornati dal 14 marzo 2022: - -* 389-ds-base: 389-ds-base-1.4.3.23-12.module+el8.5.0+722+e2a0b219 -> 389-ds-base-1.4.3.23-14.module+el8.5.0+745+c5be6847 -* cloud-init: cloud-init-21.1-7.el8_5.3 -> cloud-init-21.1-7.el8_5.4 -* fence-agents: fence-agents-4.2.1-75.el8 -> fence-agents-4.2.1-75.el8_5.2 -* firewalld: firewalld-0.9.3-7.el8 -> firewalld-0.9.3-7.el8_5.1 -* gdm: gdm-1:40.0-15.el8 -> gdm-1:40.0-15.el8_5.1 -* glibc: glibc-2.28-164.el8 -> glibc-2.28-164.el8_5.3 -* httpd: httpd-2.4.37-43.module+el8.5.0+727+743c5577.1 -> httpd-2.4.37-43.module+el8.5.0+746+b6ce3176.2 -* java-11-openjdk: java-11-openjdk-1:11.0.14.0.9-2.el8_5 -> java-11-openjdk-1:11.0.14.1.1-2.el8_5 -* libarchive: libarchive-3.3.3-1.el8_5 -> libarchive-3.3.3-3.el8_5 -* libxml2: libxml2-2.9.7-11.el8 -> libxml2-2.9.7-12.el8_5 -* linux-firmware: linux-firmware-20210702-103.gitd79c2677.el8 -> linux-firmware-20210702-104.gitd79c2677.el8_5 -* lvm2: lvm2-8:2.03.12-10.el8 -> lvm2-8:2.03.12-11.el8_5 -* nmstate: nmstate-1.1.0-5.el8_5 -> nmstate-1.1.0-6.el8_5 -* pcs: pcs-0.10.10-4.el8.rocky.0 -> pcs-0.10.10-4.el8_5.1.rocky.0 -* plymouth: plymouth-0.9.4-10.20200615git1e36e30.el8 -> plymouth-0.9.4-10.20200615git1e36e30.el8_5.1 -* qemu-kvm: qemu-kvm-15:4.2.0-59.module+el8.5.0+726+ce09ee88.1 -> qemu-kvm-15:4.2.0-59.module+el8.5.0+744+67293bef.2 -* redhat-support-lib-python: redhat-support-lib-python-0.11.3-1.el8 -> redhat-support-lib-python-0.13.0-0.el8_5 -* redhat-support-tool: redhat-support-tool-0.11.3-2.el8 -> redhat-support-tool-0.13.0-0.el8_5 -* samba: samba-4.14.5-9.el8_5 -> samba-4.14.5-10.el8_5 -* subscription-manager: subscription-manager-1.28.21-3.el8 -> subscription-manager-1.28.21-5.el8_5 -* systemd: systemd-239-51.el8_5.3 -> systemd-239-51.el8_5.5 -* vim: vim-2:8.0.1763-16.el8_5.4 -> vim-2:8.0.1763-16.el8_5.12 - -Sono stati aggiornati i seguenti moduli: - -* 389-ds -* httpd -* virt -* virt-devel - -## 8.5 - 2022-03-10 - -I seguenti pacchetti sono stati aggiornati dal 10 marzo 2022: - -* thunderbird: thunderbird-91.6.0-1.el8_5 -> thunderbird-91.7.0-2.el8_5 -* thunderbird: thunderbird-91.6.0-1.el8_5.plus -> thunderbird-91.7.0-2.el8_5.plus - -CVE associati: - -* CVE-2022-25315 -* CVE-2022-25235 -* CVE-2022-25236 - -## 8.5 - 2022-02-24 - -I seguenti pacchetti sono stati aggiornati dal 24 febbraio 2022: - -* dotnet3.1: dotnet3.1-3.1.416-3.el8_5 -> dotnet3.1-3.1.417-1.el8_5 -* dotnet5.0: dotnet5.0-5.0.211-1.el8_5 -> dotnet5.0-5.0.212-1.el8_5 -* dotnet6.0: dotnet6.0-6.0.102-1.el8_5 -> dotnet6.0-6.0.103-4.el8_5 -* firefox: firefox-91.6.0-1.el8_5 -> firefox-91.7.0-3.el8_5 -* kernel: kernel-4.18.0-348.12.2.el8_5 -> kernel-4.18.0-348.20.1.el8_5 -* kernel-rt: kernel-rt-4.18.0-348.12.2.rt7.143.el8_5 -> kernel-rt-4.18.0-348.20.1.rt7.150.el8_5 - -CVE associati: - -* CVE-2022-0435 -* CVE-2022-0847 - -## 8.5 - 2022-02-22 - -I seguenti pacchetti sono stati aggiornati dal 22 febbraio 2022: - -* cyrus-sasl: cyrus-sasl-2.1.27-5.el8 -> cyrus-sasl-2.1.27-6.el8_5 - -CVE associati: - -* CVE-2022-24407 - -## 8.5 - 2022-02-16 - -I seguenti pacchetti sono stati aggiornati dal 16 febbraio 2022: - -* python-pillow: python-pillow-5.1.1-16.el8 -> python-pillow-5.1.1-18.el8_5 - -CVE associati: - -* CVE-2022-22815 -* CVE-2022-22816 -* CVE-2022-22817 - -## 8.5 - 2022-02-15 - -I seguenti moduli sono stati aggiornati dal 15 febbraio 2022: - -* ruby-2.5-8050020220216182135.b4937e53 -* ruby-2.6-8050020220216165459.b4937e53 - -## 8.5 - 2022-02-14 - -I seguenti pacchetti sono stati aggiornati dal 14 febbraio 2022: - -* thunderbird: thunderbird-91.5.0-1.el8_5 -> thunderbird-91.6.0-1.el8_5 -* thunderbird: thunderbird-91.5.0-1.el8.plus -> thunderbird-91.6.0-1.el8_5.plus - -## 8.5 - 2022-02-09 - -I seguenti pacchetti sono stati aggiornati dal 09 febbraio 2022: - -* dotnet3.1: dotnet3.1-3.1.120-2.el8_5 -> dotnet3.1-3.1.416-3.el8_5 -* dotnet5.0: dotnet5.0-5.0.210-1.el8_5 -> dotnet5.0-5.0.211-1.el8_5 -* dotnet6.0: dotnet6.0-6.0.101-2.el8_5 -> dotnet6.0-6.0.102-1.el8_5 -* firefox: firefox-91.5.0-1.el8_5 -> firefox-91.6.0-1.el8_5 - -## 8.5 - 2022-02-04 - -I seguenti pacchetti sono stati aggiornati dal 04 febbraio 2022: - -* aide: aide-0.16-14.el8 -> aide-0.16-14.el8_5.1 - -CVE associati: - -* CVE-2021-45417 - -## 8.5 - 2022-02-02 - -I seguenti moduli/pacchetti sono stati aggiornati dal 02 febbraio 2022: - -* varnish: varnish-6.0.8-1.module+el8.5.0+677+2a78a869 -> varnish-6.0.8-1.module+el8.5.0+736+fec10e21.1 - -CVE associati: - -* CVE-2022-23959 - -## 8.5 - 2022-02-01 - -I seguenti pacchetti sono stati aggiornati dal 01 febbraio 2022: - -* clevis: clevis-15-1.el8 -> clevis-15-1.el8_5.1 -* cockpit: cockpit-251.1-1.el8 -> cockpit-251.3-1.el8_5 -* cryptsetup: cryptsetup-2.3.3-4.el8 -> cryptsetup-2.3.3-4.el8_5.1 -* dnf-plugins-core: dnf-plugins-core-4.0.21-3.el8 -> dnf-plugins-core-4.0.21-4.el8_5 -* frr: frr-7.5-4.el8 -> frr-7.5-4.el8_5.2 -* gnome-control-center: gnome-control-center-3.28.2-28.el8 -> gnome-control-center-3.28.2-29.el8_5 -* nispor: nispor-1.1.1-1.el8 -> nispor-1.1.1-2.el8_5 -* nmstate: nmstate-1.1.0-3.el8 -> nmstate-1.1.0-5.el8_5 -* ostree: ostree-2021.3-1.el8 -> ostree-2021.3-2.el8_5 -* resource-agents: resource-agents-4.1.1-98.el8 -> resource-agents-4.1.1-98.el8_5.2 -* rpm: rpm-4.14.3-19.el8 -> rpm-4.14.3-19.el8_5.2 -* sos: sos-4.1-5.el8.rocky.3 -> sos-4.1-9.el8_5.rocky.3 -* spirv-tools: spirv-tools-2021.3-1.20210825.git1fbed83.el8 -> spirv-tools-2021.4-3.20211110.git21e3f68.el8_5 -* sssd: sssd-2.5.2-2.el8_5.3 -> sssd-2.5.2-2.el8_5.4 -* tcpdump: tcpdump-14:4.9.3-2.el8 -> tcpdump-14:4.9.3-2.el8_5.1 -* tigervnc: tigervnc-1.11.0-9.el8 -> tigervnc-1.11.0-10.el8_5 -* vim: vim-2:8.0.1763-16.el8 -> vim-2:8.0.1763-16.el8_5.4 -* virtio-win: virtio-win-1.9.19-1.el8 -> virtio-win-1.9.24-2.el8_5 -* vulkan-headers: vulkan-headers-1.2.189.0-1.el8 -> vulkan-headers-1.2.198.0-1.el8_5 -* vulkan-loader: vulkan-loader-1.2.189.0-1.el8 -> vulkan-loader-1.2.198.0-2.el8_5 -* vulkan-tools: vulkan-tools-1.2.189.0-1.el8 ->vulkan-tools-1.2.198.0-1.el8_5 -* vulkan-validation-layers: vulkan-validation-layers-1.2.189.0-2.el8 ->vulkan-validation-layers-1.2.198.0-4.el8_5 - -Sono stati aggiornati i seguenti moduli: - -* containertools -* freeradius -* nodejs -* pki-core -* virt -* virt-devel - -## 8.5 - 2022-01-27 - -I seguenti pacchetti sono stati aggiornati dal 27 gennaio 2022: - -* dotnet-build-reference-packages: dotnet-build-reference-packages-0-10.20200608gitcd5a8c6.el8 ->dotnet-build-reference-packages-0-11.20211215git045b288.el8_5 -* nginx: nginx-1:1.20.0-2.module+el8.5.0+669+b11495b0 -> nginx-1:1.20.1-1.module+el8.5.0+729+3f70613e -* samba: samba-4.14.5-7.el8_5 -> samba-4.14.5-9.el8_5 - -Sono stati aggiornati i seguenti moduli: - -* nginx - -CVE associati: - -* CVE-2021-44142 -* CVE-2021-23017 - -## 8.5 - 2022-01-26 - -I seguenti pacchetti sono stati aggiornati dal 26 gennaio 2022: - -* java-1.8.0-openjdk: java-1.8.0-openjdk-1:1.8.0.312.b07-2.el8_5 -> java-1.8.0-openjdk-1:1.8.0.322.b06-2.el8_5 - -## 8.5 - 2022-01-25 - -I seguenti pacchetti sono stati aggiornati dal 25 gennaio 2022: - -* parfait: parfait-0.5.4-2.module+el8.3.0+214+edf13b3f -> parfait-0.5.4-4.module+el8.5.0+728+553fbdb8 - -I seguenti pacchetti sono stati eliminati: - -* log4j12: log4j12-1.2.17-22.module+el8.3.0+214+edf13b3f - -Sono stati aggiornati i seguenti moduli: - -* parfait - -## 8.5 - 2022-01-24 - -I seguenti pacchetti sono stati aggiornati dal 24 gennaio 2022: - -* httpd: httpd-2.4.37-43.module+el8.5.0+714+5ec56ee8 -> httpd-2.4.37-43.module+el8.5.0+727+743c5577.1 -* polkit: polkit-0.115-12.el8 -> polkit-0.115-13.el8_5.1 - -Sono stati aggiornati i seguenti moduli: - -* httpd - -CVE associati: - -* CVE-2021-44790 -* CVE-2021-4034 - -## 8.5 - 2022-01-19 - -I seguenti pacchetti sono stati aggiornati dal 19 gennaio 2022: - -* java-11-openjdk: java-11-openjdk-1:11.0.13.0.8-4.el8_5 -> java-11-openjdk-1:11.0.14.0.9-2.el8_5 - -## 8.5 - 2022-01-12 - -I seguenti pacchetti sono stati aggiornati dal 12 gennaio 2022: - -* gegl04: gegl04-0.4.4-6.el8 -> gegl04-0.4.4-6.el8_5.2 -* java-17-openjdk: java-17-openjdk-1:17.0.1.0.12-2.el8_5 -> java-17-openjdk-1:17.0.2.0.8-4.el8_5 -* kernel: kernel-4.18.0-348.7.1.el8_5 -> kernel-4.18.0-348.12.2.el8_5 -* kernel-rt: kernel-rt-4.18.0-348.7.1.rt7.137.el8_5 -> kernel-rt-4.18.0-348.12.2.rt7.143.el8_5 -* libarchive: libarchive-3.3.3-1.el8 -> libarchive-3.3.3-1.el8_5 -* libreswan: libreswan-4.4-1.el8 -> libreswan-4.4-4.el8_5 - -CVE associati: - -* CVE-2022-0185 -* CVE-2021-45463 -* CVE-2021-4155 - -## 8.5 - 2022-01-11 - -I seguenti pacchetti sono stati aggiornati dal 11 gennaio 2022: - -* firefox: firefox-91.4.0-1.el8_5 -> firefox-91.5.0-1.el8_5 -* thunderbird: thunderbird-91.4.0-2.el8_5 -> thunderbird-91.5.0-1.el8_5 -* thunderbird: thunderbird-91.4.0-2.el8.plus -> thunderbird-91.5.0-1.el8.plus - -## 8.5 - 2022-01-03 - -I seguenti pacchetti sono stati aggiornati dal 03 gennaio 2022: - -* dotnet6.0: dotnet6.0-6.0.100-0.10.el8_5 -> dotnet6.0-6.0.101-2.el8_5 -* rpaste: rpaste-0.1-3.el8.2 -> rpaste-0.2.0-1.el8 - -## 8.5 - 2021-12-22 - -I seguenti pacchetti sono stati aggiornati dal 22 dicembre 2021: - -* grafana: grafana-7.5.9-4.el8 -> grafana-7.5.9-5.el8_5 - -CVE associati: - -* CVE-2021-44716 - -## 8.5 - 2021-12-17 - -I seguenti pacchetti sono stati aggiornati dal 17 dicembre 2021: - -* 389-ds-base: 389-ds-base-1.4.3.23-10.module+el8.5.0+700+370e33d5 -> 389-ds-base-1.4.3.23-12.module+el8.5.0+722+e2a0b219 -* accountsservice: accountsservice-0.6.55-2.el8 -> accountsservice-0.6.55-2.el8_5.2 -* cloud-init: cloud-init-21.1-7.el8 -> cloud-init-21.1-7.el8_5.3 -* freeradius: freeradius-3.0.20-9.module+el8.5.0+704+21fb769d -> freeradius-3.0.20-10.module+el8.5.0+723+cc9aee6c -* gnome-shell-extensions: gnome-shell-extensions-3.32.1-20.el8_5.1 -> gnome-shell-extensions-3.32.1-22.el8_5 -* java-11-openjdk: java-11-openjdk-1:11.0.13.0.8-3.el8_5 -> java-11-openjdk-1:11.0.13.0.8-4.el8_5 -* kernel: kernel-4.18.0-348.2.1.el8_5 -> kernel-4.18.0-348.7.1.el8_5 -* kernel-rt: kernel-rt-4.18.0-348.2.1.rt7.132.el8_5 -> kernel-rt-4.18.0-348.7.1.rt7.137.el8_5 -* kexec-tools: kexec-tools-2.0.20-57.el8 -> kexec-tools-2.0.20-57.el8_5.1 -* opencryptoki: opencryptoki-3.16.0-5.el8 -> opencryptoki-3.16.0-7.el8_5 -* openssl: openssl-1:1.1.1k-4.el8 -> openssl-1:1.1.1k-5.el8_5 -* poppler: poppler-20.11.0-3.el8 -> poppler-20.11.0-3.el8_5.1 -* postgresql: postgresql-12.7-2.module+el8.5.0+686+20453ecc -> postgresql-12.9-1.module+el8.5.0+724+9de6e501 -* qemu-kvm: qemu-kvm-15:4.2.0-59.module+el8.5.0+670+c4aa478c -> qemu-kvm-15:4.2.0-59.module+el8.5.0+726+ce09ee88.1 -* rocky-release: rocky-release-8.5-2.el8 -> rocky-release-8.5-3.el8 -* sssd: sssd-2.5.2-2.el8_5.1 -> sssd-2.5.2-2.el8_5.3 - -CVE associati: - -* CVE-2021-20321 -* CVE-2021-3930 -* CVE-2021-20257 -* CVE-2021-3712 - -I seguenti moduli sono stati aggiornati: - -* virt-rhel-8050020211221163306.b4937e53 -* virt-devel-rhel-8050020211221163306.b4937e53 -* postgresql-13-8050020211221161313.b4937e53 -* postgresql-12-8050020211221161311.b4937e53 -* freeradius-3.0-8050020211221161359.ab0f257b -* 389-ds-1.4-8050020211221162652.1a75f91c - -### Note tecniche di rilascio - -il pacchetto rocky-release è stato aggiornato per aggiungere countme=1 ai repository di base per Rocky Linux, in modo simile a come epel ha nei suoi repository. Se avete modificato i file del repo, verranno generati dei file .rpmnew, per non sovrascrivere le modifiche. - -## 8.5 - 2021-12-16 - -I seguenti pacchetti sono stati aggiornati dal 16 dicembre 2021: - -* selinux-policy: selinux-policy-3.14.3-80.el8 -> selinux-policy-3.14.3-80.el8_5.2 -* systemd: systemd-239-51.el8 -> systemd-239-51.el8_5.3 - -## 8.5 - 2021-12-13 - -I seguenti pacchetti sono stati aggiornati dal 13 dicembre 2021: - -* dotnet5.0: dotnet5.0-5.0.209-1.el8_5 -> dotnet5.0-5.0.210-1.el8_5 -* go-toolset: go-toolset-1.16.7-1.module+el8.5.0+694+f77f0bfd -> go-toolset-1.16.12-1.module+el8.5.0+720+c057d5cf -* golang: golang-1.16.7-1.module+el8.5.0+694+f77f0bfd -> golang-1.16.12-1.module+el8.5.0+720+c057d5cf -* ipa: ipa-4.9.6-6.module+el8.5.0+675+61f67439 -> ipa-4.9.6-10.module+el8.5.0+719+4f06efb6 -* nodejs: nodejs-1:16.8.0-1.module+el8.5.0+702+221f14e6 -> nodejs-1:16.13.1-3.module+el8.5.0+721+4c107270 -* nodejs-nodemon: nodejs-nodemon-2.0.7-1.module+el8.5.0+702+221f14e6 -> nodejs-nodemon-2.0.15-1.module+el8.5.0+721+4c107270 - -* kernel-rt: kernel-rt-kvm aggiunto a RT - -CVE associati: - -* CVE-2020-25717 - -I seguenti moduli sono stati aggiornati: - -* go-toolset-rhel8-8050020211215173118-8aa62369 -* idm-DL1-8050020211215093947-3d2c466f -* nodejs-16-8050020211215195043-b4937e53 - - -### Note tecniche di rilascio - -In base a una richiesta, il pacchetto kernel-rt-kvm è stato aggiunto al repo di RT. - -## 8.5 - 2021-12-12 - -I seguenti pacchetti sono stati aggiornati dal 12 dicembre 2021: - -* samba: samba-4.14.5-2.el8 -> samba-4.14.5-7.el8_5 - -CVE associati: - -* CVE-2016-2124 -* CVE-2020-25717 -* CVE-2021-23192 - -## 8.5 - 2021-12-10 - -I seguenti pacchetti sono stati aggiornati dal 10 dicembre 2021: - -* WALinuxAgent: WALinuxAgent-2.3.0.2-2.el8 -> WALinuxAgent-2.3.0.2-2.el8.rocky.0 -* libreoffice: libreoffice-1:6.4.7.2-5.el8.1 -> libreoffice-1:6.4.7.2-5.el8.2.rocky -* openscap: openscap-1.3.5-6.el8 -> openscap-1.3.5-6.el8.rocky.0.1 -* pcs: pcs-0.10.10-4.el8 -> pcs-0.10.10-4.el8.rocky.0 -* python2: python2-2.7.18-7.module+el8.5.0+706+735ec4b3.rocky.0.1 -> python2-2.7.18-7.module+el8.5.0+718+67e45b5f.rocky.0.2 -* rocky-release: rocky-release-8.5-1.el8 -> rocky-release-8.5-2.el8 - -I seguenti moduli sono stati aggiornati: - -* python27 - -### Note tecniche di rilascio - -Questi aggiornamenti sono per lo più di natura estetica e non influiscono sulla funzionalità. - -* WALinuxAgent -> Abbiamo aggiunto il supporto diretto a Rocky qui e in una PR upstream a Microsoft -* libreoffice -> È stato trovato il marchio Red Hat. Questo aggiornamento riguarda il branding. -* openscap -> Mancano informazioni per Rocky Linux. -* pcs -> Il logo aveva un marchio che non è stato rimosso -* rocky-release -> semplificato CPE_NAME -* python2 -> aggiunge rocky alle dist supportate - -## 8.5 - 2021-12-09 - -I seguenti pacchetti sono stati aggiornati dal 09 dicembre 2021: - -* thunderbird: thunderbird-91.3.0-2.el8_4 -> -* thunderbird-91.4.0-2.el8_5 -* thunderbird: thunderbird-91.3.0-2.el8.plus -> -* thunderbird-91.4.0-2.el8.plus - -### Note tecniche di rilascio - -Thunderbird: Si tratta di un aggiornamento regolare della build ESR di thunderbird. Questo aggiornamento riguarda sia i repository di base che Plus. Il repository Plus contiene una versione di thunderbird con supporto PGP. - -## 8.5 - 2021-12-03 - -I seguenti pacchetti sono stati aggiornati dal 03 dicembre 2021: - -* abrt: abrt-2.10.9-21.el8 -> abrt-2.10.9-21.el8.rocky.0 -* firefox: firefox-91.3.0-1.el8_4 -> firefox-91.4.0-1.el8_5 -* sos: sos-4.1-5.el8 -> sos-4.1-5.el8.rocky.2 - -### Note tecniche di rilascio - -Firefox: Si tratta di una build ESR aggiornata per Firefox. - -abrt: Si tratta di una modifica per lo più estetica. Elimina la dipendenza dai plugin libreport-rhel* e rhtsupport. Questi pacchetti possono essere tranquillamente rimossi dopo l'aggiornamento al nuovo pacchetto abrt. - -sos: Si tratta di una modifica per lo più estetica. Abbatte la politica Rocky a monte. Consultare [questo PR per maggiori dettagli](https://github.com/sosreport/sos/pull/2784) - -## 8.5 - 2021-12-02 - -I seguenti pacchetti sono stati aggiornati dal 02 dicembre 2021: - -* 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 associati: - -* mailman: CVE-2021-44227 - -I seguenti moduli sono stati aggiornati dal 02 dicembre 2021: - -* mailman-2.1-8050020211202160117.fd901a62 - - -## 8.5 - Supplemento - 2021-11-30 - -I seguenti pacchetti sono stati aggiunti al repository devel: - -* ncurses-static - -I seguenti pacchetti sono stati aggiunti al repository plus: - -* open-vm-tools (solo build specifiche per aarch64) - -### Note aggiuntive - -Il repository plus contiene elementi che non sono presenti nei repository di base, o perché non sono disponibili a causa della configurazione di comps e pungi (basata sui repository RHEL) o perché sono richiesti come build alternative con patch/caratteristiche aggiuntive non presenti nella base. Il repository plus dovrebbe essere sicuro da tenerlo abilitato. - -I pacchetti attuali in più (al 2021-11-30) sono: - -* openldap-server (tutte le architetture) -* thunderbird con supporto PGP (tutte le architetture) -* ncurses-static (tutte le architetture) -* open-vm-tools (solo build specifiche per aarch64) - -### Note di sviluppo - -Il repository devel deve essere usato con attenzione. È pensato per scopi di koji o buildroot e non dovrebbe essere abilitato al 100% del tempo. Se trovate un pacchetto che desiderate vedere nel repo di sviluppo, inviate una mail su rocky-devel e/o aprite una segnalazione di bug su https://bugs.rockylinux.org - -## 8.5 - 2021-11-29 - -I seguenti pacchetti sono stati aggiornati dal 29 novembre 2021: - -* 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 associati: - -* nss-3.67.0-7.el8_5: CVE-2021-43527 - -## 8.5 - 2021-11-24 - -I seguenti pacchetti sono stati aggiornati dal 24 novembre 2021: - -* 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 - -I seguenti pacchetti sono stati aggiornati dal 22 novembre 2021 (compresi i pacchetti modulo aggiornati): - -* mailman: mailman-3:2.1.29-12.module+el8.5.0+703+19300c10 -> mailman-3:2.1.29-12.module+el8.5.0+716+66d1ab43.1 - -I seguenti moduli sono stati aggiornati dal 23 novembre 2021: - -* mailman-2.1-8050020211123230959.fd901a62 - -CVE associati: - -* CVE-2021-42096 -* CVE-2021-42097 - -## 8.5 - 2021-11-16 - -I seguenti pacchetti sono stati aggiornati dal 16 novembre 2021 (compresi i pacchetti modulo aggiornati): - -* clang: clang-12.0.1-2.module+el8.5.0+692+8756646f -> clang-12.0.1-4.module+el8.5.0+715+58f51d49 -* llvm-toolset: llvm-toolset-12.0.1-1.module+el8.5.0+692+8756646f -> llvm-toolset-12.0.1-1.module+el8.5.0+715+58f51d49 - -I seguenti moduli sono stati aggiornati dal 16 novembre 2021: - -* llvm-toolset-rhel8-8050020211122023437.b4937e53 - -## 8.5 - 2021-11-14 - -I seguenti pacchetti sono stati aggiornati dal rilascio 8.5 del 14 novembre 2021 (compresi i pacchetti modulo aggiornati): - -* annobin: annobin-9.65-1.el8 -> annobin-9.72-1.el8_5.2 -* binutils: binutils-2.30-108.el8 -> binutils-2.30-108.el8_5.1 -* dotnet-build-reference-packages: dotnet-build-reference-packages-0-9.20200608gitcd5a8c6.el8 -> dotnet-build-reference-packages-0-10.20200608gitcd5a8c6.el8 -* dotnet3.1: dotnet3.1-3.1.119-2.el8.0.1 -> dotnet3.1-3.1.120-2.el8_5 -* dotnet5.0: dotnet5.0-5.0.207-3.el8.0.1 -> dotnet5.0-5.0.208-2.el8_5 -* dotnet6.0: dotnet6.0-6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718.el8.0.1 -> dotnet6.0-6.0.100-0.10.el8_5 -* firefox: firefox-78.13.0-2.el8 -> firefox-91.3.0-1.el8 -* flatpak: flatpak-1.8.5-4.el8 -> flatpak-1.8.5-5.el8_5 -* freerdp: freerdp-2:2.2.0-2.el8 -> freerdp-2:2.2.0-7.el8_5 -* gcc: gcc-8.5.0-3.el8 -> gcc-8.5.0-4.el8_5 -* gcc-toolset-10-annobin: gcc-toolset-10-annobin-9.29-1.el8 -> gcc-toolset-10-annobin-9.29-1.el8_5.2 -* gcc-toolset-10-binutils: gcc-toolset-10-binutils-2.35-8.el8_4.4 -> gcc-toolset-10-binutils-2.35-8.el8_5.6 -* gcc-toolset-10-gcc: gcc-toolset-10-gcc-10.2.1-8.2.el8 -> gcc-toolset-10-gcc-10.3.1-1.2.el8_5 -* gcc-toolset-11-annobin: gcc-toolset-11-annobin-9.73-1.el8 -> gcc-toolset-11-annobin-9.85-1.el8_5.1 -* gcc-toolset-11-binutils: gcc-toolset-11-binutils-2.36.1-1.el8 -> gcc-toolset-11-binutils-2.36.1-1.el8_5.1 -* gcc-toolset-11-dyninst: gcc-toolset-11-dyninst-11.0.0-1.el8 -> gcc-toolset-11-dyninst-11.0.0-2.el8 -* gcc-toolset-11-gcc: gcc-toolset-11-gcc-11.1.1-3.el8 -> gcc-toolset-11-gcc-11.2.1-1.2.el8_5 -* gcc-toolset-11-systemtap: gcc-toolset-11-systemtap-4.5-3.el8 -> gcc-toolset-11-systemtap-4.5-4.el8 -* gcc-toolset-11-valgrind: gcc-toolset-11-valgrind-1:3.17.0-4.el8 -> gcc-toolset-11-valgrind-1:3.17.0-6.el8 -* gnome-settings-daemon: gnome-settings-daemon-3.32.0-14.el8 -> gnome-settings-daemon-3.32.0-16.el8 -* gnome-shell-extensions: gnome-shell-extensions-3.32.1-20.el8 -> gnome-shell-extensions-3.32.1-20.el8_5.1 -* httpd: httpd-2.4.37-41.module+el8.5.0+695+1fa8055e -> httpd-2.4.37-43.module+el8.5.0+714+5ec56ee8 -* ibus: ibus-1.5.19-13.el8 -> ibus-1.5.19-14.el8_5 -* java-1.8.0-openjdk: java-1.8.0-openjdk-1:1.8.0.302.b08-3.el8 -> java-1.8.0-openjdk-1:1.8.0.312.b07-2.el8_5 -* java-11-openjdk: java-11-openjdk-1:11.0.12.0.7-4.el8 -> java-11-openjdk-1:11.0.13.0.8-3.el8_5 -* java-17-openjdk: java-17-openjdk-1:17.0.0.0.35-4.el8 -> java-17-openjdk-1:17.0.1.0.12-2.el8_5 -* kernel: kernel-4.18.0-348.el8.0.2 -> kernel-4.18.0-348.2.1.el8_5 -* kernel-rt: kernel-rt-4.18.0-348.rt7.130.el8.0.2 -> kernel-rt-4.18.0-348.2.1.rt7.132.el8_5 -* kronosnet: kronosnet-1.18-1.el8 -> kronosnet-1.18-2.el8 -* rust: rust-1.54.0-2.module+el8.5.0+678+cf7bc64b -> rust-1.54.0-3.module+el8.5.0+712+d335422a -* rust-toolset: rust-toolset-1.54.0-1.module+el8.5.0+678+cf7bc64b -> rust-toolset-1.54.0-1.module+el8.5.0+712+d335422a -* sssd: sssd-2.5.2-2.el8 -> sssd-2.5.2-2.el8_5.1 -* thunderbird: thunderbird-78.13.0-1.el8 -> thunderbird-91.3.0-2.el8 -* udftools: udftools-2.2-5.el8 -> udftools-2.3-2.el8 - -I seguenti pacchetti sono stati eliminati e rimossi anche dai gruppi dnf: - -* insights-client: insights-client-3.1.5-1.el8 (Gruppo Standard) - -Per i pacchetti che sono stati abbandonati, è sicuro rimuoverli usando `dnf remove` - -I seguenti moduli sono stati aggiornati dalla versione 8.5 del 14 novembre 2021: - -* rust-toolset-rhel8-8050020211112021616.f73640c0 -* httpd-2.4-8050020211115030420.b4937e53 - -### Problemi noti - -Siamo anche consapevoli del fatto che il nostro sistema mirror riporta la directory sbagliata per effettuare gli aggiornamenti. Avrebbe preso il `kickstart` piuttosto che l'`os`. Il problema dovrebbe essere risolto e gli aggiornamenti dovrebbero funzionare normalmente. - -## 8.4 - 2021-09-21 - -Sono stati aggiornati i seguenti pacchetti: - -* kernel: kernel-4.18.0-305.19.1 (9-15) -* scap-security-guide: scap-security-guide-0.1.54-5.el8.rocky.2 -* golang: 1.15.14-2 -* nss: 3.67.0-6 -* ca-certificates: 2021.2.50-80.0 -* opencryptoki: 3.15.1-7 -* krb5: 1.18.2-8.3 -* platform-python: 3.6.8-38 -* libdb: 5.3.28-42 -* rng-tools: 6.8-4 -* sos: 4.0-12 -* python-ldap: 3.3.1-1.1 -* subscription-manager: 1.28.13-4 -* pcp: 5.2.5-6 -* strace: 5.7-2.1 -* nspr: 4.32.0-1 -* gcc-toolset-10-elfutils: 0.182-6 -* gcc-toolset-10-binutils: 2.35-8.el8_4.4 -* maven: maven-3.6.2-6 -* mysql: 8.0.26 -* selinux-policy: 3.14.3-67.el8_4.2 -* grub2: 2.02-99.el8_4.1.1 -* resource-agents: 4.1.1-90.el8_4.7 -* poppler: 20.11.0-2.el8_4.1 -* pacemaker: 2.0.5-9.el8_4.3 - -## 8.4 - 2021-09-13 - -Sono stati aggiornati i seguenti pacchetti: - -* thunderbird: aggiornato a 78.14.0 -* firefox: aggiornato a 78.14.0 -* cyrus-imapd: aggiornato a 3.0.7-20.el8_4.1 (risolve CVE-2021-33582) -* systemtap ricostruito con dyninst 10.2 per risolvere una segnalazione di bug -* rocky-release -> Aggiornato per consentire "centos" come ID - -I seguenti repo sono stati aggiornati: - -* extras -> Sono stati aggiunti i pacchetti della release CentOS sig - -## 8.4 - 2021-08-24 - -Sono stati aggiornati i seguenti pacchetti: - -* dotnet: dotnet-2.1.525.el8_4 -> dotnet-2.1.526.el8_4 -* libsndfile: libsndfile-1.0.28-10.el8_4 -> libsndfile-1.0.28-10.el8_4.1 -- Addresses - - * Risolve un overflow del buffer heap che consentiva l'esecuzione di codice arbitrario da un file wav - -* scap-security-guide: scap-security-guide-0.1.54-5.el8.rocky.1 - - * Addresses RLBZ#108 - -Sono stati aggiunti i seguenti repos/pacchetti: - -* RT (realtime) - Abilitato eseguendo `dnf config-manager --set-enabled rt` - - * kernel-rt (kernel in tempo reale) - -## 8.4 - 2021-08-11 - -Sono stati aggiornati i seguenti pacchetti: - -* 389-ds-base: 389-ds-base-1.4.3.16-16.module+el8.4.0+596+159889e5 -> 389-ds-base-1.4.3.16-19.module+el8.4.0+636+837ee950 -* NetworkManager: NetworkManager-1:1.30.0-9.el8_4 -> NetworkManager-1:1.30.0-10.el8_4 -* autofs: autofs-1:5.1.4-48.el8 -> autofs-1:5.1.4-48.el8_4.1 -* buildah: buildah-1.19.7-2.module+el8.4.0+556+40122d08 -> buildah-1.21.4-1.module+el8.4.0+643+525e162a -* cloud-init: cloud-init-20.3-10.el8_4.3 -> cloud-init-20.3-10.el8_4.5 -* cockpit-podman: cockpit-podman-29-2.module+el8.4.0+556+40122d08 -> cockpit-podman-32-2.module+el8.4.0+643+525e162a -* conmon: conmon-2:2.0.26-3.module+el8.4.0+556+40122d08 -> conmon-2:2.0.29-1.module+el8.4.0+643+525e162a -* container-selinux: container-selinux-2:2.162.0-1.module+el8.4.0+556+40122d08 -> container-selinux-2:2.164.1-1.module+el8.4.0+643+525e162a -* crun: crun-0.18-2.module+el8.4.0+556+40122d08 -> crun-0.20.1-1.module+el8.4.0+643+525e162a -* dotnet3.1 dotnet3.1-3.1.117-1.el8_4 -> dotnet3.1-3.1.118-1.el8_4 -* edk2: edk2-20200602gitca407c7246bf-4.el8_4.1 -> edk2-20200602gitca407c7246bf-4.el8_4.2 -* elfutils: elfutils-0.182-3.el8 -> elfutils-0.182-3.el8_4 -* esc: esc-1.1.2-18.el8 -> esc-1.1.2-22.el8_4 -* fence-agents: fence-agents-4.2.1-65.el8 -> fence-agents-4.2.1-65.el8_4.1 -* fuse-overlayfs: fuse-overlayfs-1.4.0-3.module+el8.4.0+556+40122d08 -> fuse-overlayfs-1.6-1.module+el8.4.0+643+525e162a -* gcc-toolset-10-elfutils: gcc-toolset-10-elfutils-0.182-3.el8 -> gcc-toolset-10-elfutils-0.182-5.el8_4 -* gcc-toolset-10-valgrind: gcc-toolset-10-valgrind-1:3.16.0-4.el8 -> gcc-toolset-10-valgrind-1:3.16.0-6.el8_4 -* glib2: glib2-2.56.4-10.el8_4 -> glib2-2.56.4-10.el8_4.1 -* gnome-shell-extensions: gnome-shell-extensions-3.32.1-14.el8.1 -> gnome-shell-extensions-3.32.1-15.el8_4.1 -* go-toolset: go-toolset-1.15.13-1.module+el8.4.0+591+0da41cc3 -> go-toolset-1.15.14-1.module+el8.4.0+632+4dba2916 -* golang: golang-1.15.13-3.module+el8.4.0+591+0da41cc3 -> golang-1.15.14-1.module+el8.4.0+632+4dba2916 -* hivex: hivex-1.3.18-20.module+el8.4.0+534+4680a14e -> hivex-1.3.18-21.module+el8.4.0+642+7e26f5e1 -* kernel: kernel-4.18.0-305.10.2.el8_4 -> kernel-4.18.0-305.12.1.el8_4 -* kexec-tools: kexec-tools-2.0.20-46.el8_4.1 -> kexec-tools-2.0.20-46.el8_4.2 -* libuv: libuv-1:1.40.0-1.el8 -> libuv-1:1.41.1-1.el8_4 -* libvirt: libvirt-6.0.0-35.module+el8.4.0+534+4680a14e -> libvirt-6.0.0-35.1.module+el8.4.0+642+7e26f5e1 -* libwacom: libwacom-1.6-2.el8 -> libwacom-1.6-2.1.el8_4 -* mdadm: mdadm-4.1-15.el8 -> mdadm-4.1-16.el8_4 -* nfs-utils: nfs-utils-1:2.3.3-41.el8 -> nfs-utils-1:2.3.3-41.el8_4.2 -* nmstate: nmstate-1.0.2-11.el8_4 -> nmstate-1.0.2-14.el8_4 -* nodejs: nodejs-1:12.21.0-1.module+el8.3.0+99+3663d81c -> nodejs-1:12.22.3-2.module+el8.4.0+638+5344c6f7 -* nodejs-nodemon: nodejs-nodemon-2.0.3-1.module+el8.3.0+100+234774f7 -> nodejs-nodemon-2.0.3-1.module+el8.4.0+638+5344c6f7 -* oci-seccomp-bpf-hook: oci-seccomp-bpf-hook-1.2.0-2.module+el8.4.0+556+40122d08 -> oci-seccomp-bpf-hook-1.2.3-2.module+el8.4.0+643+525e162a -* opencryptoki: opencryptoki-3.15.1-5.el8 -> opencryptoki-3.15.1-6.el8_4 -* ostree: ostree-2020.7-4.el8 -> ostree-2020.7-5.el8_4 -* pcp: pcp-5.2.5-4.el8 -> pcp-5.2.5-5.el8_4 -* pcsc-lite: pcsc-lite-1.8.23-3.el8 -> pcsc-lite-1.8.23-4.1.el8_4 -* pcsc-lite-ccid: pcsc-lite-ccid-1.4.29-4.el8 -> pcsc-lite-ccid-1.4.29-5.1.el8_4 -* perl: perl-4:5.26.3-419.el8 -> perl-4:5.26.3-419.el8_4.1 -* perl-IO-String: perl-IO-String-1.08-31.el8 -> perl-IO-String-1.08-32.el8 -* podman: podman-3.0.1-7.module+el8.4.0+556+40122d08 -> podman-3.2.3-0.10.module+el8.4.0+643+525e162a -* qemu-kvm: qemu-kvm-15:4.2.0-48.module+el8.4.0+534+4680a14e -> qemu-kvm-15:4.2.0-48.module+el8.4.0+642+7e26f5e1.3 -* resource-agents: resource-agents-4.1.1-90.el8_4.5 -> resource-agents-4.1.1-90.el8_4.6 -* runc: runc-1.0.0-73.rc93.module+el8.4.0+556+40122d08 -> runc-1.0.0-74.rc95.module+el8.4.0+643+525e162a -* rust: rust-1.49.0-1.module+el8.4.0+416+259a129a -> rust-1.52.1-1.module+el8.4.0+641+ca238f88 -* rust-toolset: rust-toolset-1.49.0-1.module+el8.4.0+416+259a129a -> rust-toolset-1.52.1-1.module+el8.4.0+641+ca238f88 -* samba: samba-4.13.3-3.el8 -> samba-4.13.3-4.el8_4 -* selinux-policy: selinux-policy-3.14.3-67.el8 -> selinux-policy-3.14.3-67.el8_4.1 -* skopeo: skopeo-1:1.2.2-10.module+el8.4.0+556+40122d08 -> skopeo-1:1.3.1-5.module+el8.4.0+643+525e162a -* spirv-tools: spirv-tools-2020.5-3.20201208.gitb27b1af.el8 -> spirv-tools-2021.2-1.20210619.git5dd2f76.el8_4 -* stalld: stalld-1.9-2.el8 -> stalld-1.10-1.el8_4 -* systemd: systemd-239-45.el8_4.2 -> systemd-239-45.el8_4.3 -* systemtap: systemtap-4.4-10.el8 -> systemtap-4.4-11.el8_4 -* udica: udica-0.2.4-1.module+el8.4.0+556+40122d08 -> udica-0.2.4-2.module+el8.4.0+643+525e162a -* valgrind: valgrind-1:3.16.0-4.el8 -> valgrind-1:3.16.0-4.el8_4 -* virt-what: virt-what-1.18-6.el8 -> virt-what-1.18-9.el8_4 -* virt-who: virt-who-1.30.5-1.el8 -> virt-who-1.30.5-2.el8_4 -* virtio-win: virtio-win-1.9.16-2.el8 -> virtio-win-1.9.17-4.el8_4 -* vulkan-headers: vulkan-headers-1.2.162.0-1.el8 -> vulkan-headers-1.2.182.0-1.el8_4 -* vulkan-loader: vulkan-loader-1.2.162.0-1.el8 -> vulkan-loader-1.2.182.0-1.el8_4 -* vulkan-tools: vulkan-tools-1.2.162.0-1.el8 -> vulkan-tools-1.2.182.0-1.el8_4 -* vulkan-validation-layers: vulkan-validation-layers-1.2.162.0-1.el8 -> vulkan-validation-layers-1.2.182.0-1.el8_4 - -## 8.4 - 2021-08-02 - -Sono stati aggiornati i seguenti pacchetti: - -* varnish -> varnish-0:6.0.6-2.module+el8.4.0+628+e1687553.1 -> Addresses CVE-2021-36740 - -Aggiunti kickstart repos per i seguenti repository: - -* BaseOS -* AppStream -* PowerTools -* High Availability -* Resilient Storage - -## 8.4 - 2021-07-27 - -Sono stati aggiornati i seguenti pacchetti: - -* thunderbird -> thunderbird-78.12.0-3.el8_4 - -## 8.4 - 2021-07-21 - -Sono stati aggiornati i seguenti pacchetti: - -* kernel -> kernel-4.18.0-305.10.2.el8_4 -> Addresses CVE-2021-33909 -* systemd -> systemd-239-45.el8_4.2 -> Addresses CVE-2021-33910 -* firefox -* java-1.8.0-openjdk -* java-11-openjdk - -## 8.4 - 2021-07-12 - -Sono stati aggiornati i seguenti pacchetti: - -* rocky-release -* linuxptp -* rpaste -* ovn2.13 (NFV) - -Sono stati aggiornati i seguenti moduli: - -* python36 - -### Modifiche aggiuntive - -È stata implementata la firma sperimentale dei metadati del repository. Se si vuole provare, impostare la seguente opzione nei file Rocky-X.repo: - -``` -repo_gpgcheck=1 -``` - -### Pagina Coming Soon - -* Archiviazione dei repository dei componenti aggiuntivi: - - * Supporto per Glusterfs 9 - -## 8.4 - 2021-06-30 - -### Aggiornamenti del pacchetto - -Sono stati aggiornati i seguenti pacchetti: - -* NetworkManager -> NetworkManager-11.30.0-9.el8_4 -* cloud-init -> cloud-init-20.3-10.el8_4.3 -* cmake -> cmake-3.18.2-11.el8_4 -* edk2 -> edk2-20200602gitca407c7246bf-4.el8_4.1 -* exiv2 -> exiv2-0.27.3-2.el8 -* firewalld -> firewalld-0.8.2-7.el8_4 -* fwupd -> fwupd-1.5.9-1.el8_4 -* gnome-session -> gnome-session-3.28.1-10.el8_4.1 -* kernel -> kernel-4.18.0-305.7.1.el8_4 -* kexec-tools -> kexec-tools-2.0.20-46.el8_4.1 -* libpq -> libpq-13.3-1.el8_4 -* libreport -> libreport-2.9.5-15.el8.rocky.2 -* libxml2 -> libxml2-2.9.7-9.el8_4.2 -* lz4 -> lz4-1.8.3-3.el8_4 -* nmstate -> nmstate-1.0.2-11.el8_4 -* nvme-cli -> nvme-cli-1.12-4.el8_4 -* openldap -> openldap-2.4.46-17.el8_4 -* osbuild-composer -> osbuild-composer-28.6-1.el8_4 -* resource-agents -> resource-agents-4.1.1-90.el8_4.5 -* rocky-logos -> rocky-logos-84.5-8.el8 -* rocky-release -> rocky-release-8.4-29.el8 -* rpm -> rpm-4.14.3-14.el8_4 -* rsyslog -> rsyslog-8.1911.0-7.el8_4.2 -* sanlock -> sanlock-3.8.3-3.el8_4 -* sssd -> sssd-2.4.0-9.el8_4.1 -* subscription-manager -> subscription-manager-1.28.13-3.el8_4 -* systemd -> systemd-239-45.el8_4.1 -* tuned -> tuned-2.15.0-2.el8_4.1 -* unzip -> unzip-6.0-45.el8_4 - -Sono stati aggiornati i seguenti moduli: - -* PyYAML -> PyYAML-5.4.1-1.module+el8.4.0+595+c96abaa2 -* 389-ds -> 1.4.3.16-16 -* go-toolset -> go-toolset-1.15.13-1.module+el8.4.0+591+0da41cc3 -* golang -> golang-1.15.13-3.module+el8.4.0+591+0da41cc3 -* idm:DL1 -> ipa-4.9.2-4 -* idm:client -> (ricostruito con ipaplatform=rhel per sincronizzarsi con il modulo DL1) -* pgaudit -> pgaudit-1.4.0-6.module+el8.4.0+587+d46efd10 -* postgres-decoderbufs -> postgres-decoderbufs-0.10.0-2.module+el8.4.0+587+d46efd10 -* postgresql -> postgresql-12.7-1.module+el8.4.0+587+d46efd10 -* python38 -> python38-3.8.6-3.module+el8.4.0+595+c96abaa2 -* ruby -> ruby-2.5.9-107.module+el8.4.0+592+03ff458a -* ruby:2.5 -> 2.5.9-107 -* ruby:2.6 -> 2.6.7-107 -* ruby:2.7 -> 2.7.3-136 -* rubygem-abrt -> rubygem-abrt-0.3.0-4 / rubygem-abrt-0.4.0-1 -* rubygem-bson -> rubygem-bson-4.3.0-2 / rubygem-bson-4.5.0-1 / rubygem-bson-4.8.1-1 -* rubygem-bundler -> rubygem-bundler-1.16.1-3.module+el8.4.0+592+03ff458a -* rubygem-mongo -> rubygem-mongo-2.5.1-2 / rubygem-mongo-2.8.0-1 / rubygem-mongo-2.11.3-1 -* rubygem-pg -> rubygem-pg-1.0.0-2 / rubygem-pg-1.1.4-1 / rubygem-pg-1.2.3-1 - - -### Contesto - -Alcuni moduli e pacchetti sono stati aggiornati di routine dall'upstream. - -I pacchetti regolari di Rocky sono stati aggiornati per affrontare i seguenti aspetti: - -* rocky-release - - * Aggiungere i repository devel e debuginfo per uno stato futuro - * Viene fornito per scopi di mock/buildroot - -* rocky-logos - - * Migliorate le icone per le future immagini live ufficiali - - -### Modifiche aggiuntive - -Il repository extras per aarch64 è stato aggiornato per includere vari pacchetti non inclusi da upstream. Esempi di questo tipo sono libreoffice e altre applicazioni di Gnome. Poiché non sono presenti in BaseOS o AppStream, il repository extras è il luogo appropriato per questi pacchetti. - -* Viene ora fornito un repository "devel" a scopo di mock/buildroot -* Il repository Extras per aarch64 è stato aggiornato per includere i pacchetti mancanti non forniti da upstream per l'uso desktop -* rpaste è stato aggiornato per accettare input da stdin -* I pacchetti più vecchi saranno forniti nei repo durante la vita di un rilascio puntuale. - - * Ciò consente di declassare i pacchetti in caso di regressioni a monte o di risoluzione dei problemi. diff --git a/docs/release_notes/8-changelog.zh.md b/docs/release_notes/8-changelog.zh.md index 87449560bf..c8a7e1b6ef 100644 --- a/docs/release_notes/8-changelog.zh.md +++ b/docs/release_notes/8-changelog.zh.md @@ -9,867 +9,9 @@ tags: # Rocky Linux 8 变更日志 -随着上游的构建和推送自己的版本,Rocky Linux 8 将随着时间的推移逐步接收到增量更新以及次要版本升级。 此页面将提供发生更改时的详细信息。 对于运行着Rocky Linux的系统,可以通过运行`dnf update`命令随时更新他们的系统。 本文档的更新有时可能会延迟, 要检查是否有新的更新,您可以访问邮件列表归档——[Rocky Announce](https://lists.resf.org/archives/list/rocky-announce@lists.resf.org/)。 +Rocky Linux版本的更改日志数据目前正在进行中。 此文档将介绍如何找到版本8的更改日志信息。 将会有一种更正式的方法即将到来,它也将包括版本9。 如果您想对这个信息在未来将如何出现发表意见,请查看 [这个 issue ](https://github.com/rocky-linux/peridot/issues/9) 并添加您的评论。 此外,您还可以在 [此处](https://errata.build.resf.org/) 找到版本8的当前和历史更改。 -### 更新说明 - -因为上游发布的更新是在我们当前的架构中发布的, 所以强烈建议所有用户在您当前的Rocky Linux计算机中应用 *全部* 更新(包括今天发布的内容), 您可以通过运行`dnf update`来完成更新动作。 +因为上游发布的更新是在我们当前的架构中发布的, 所以强烈建议所有用户在您当前的Rocky Linux计算机中应用 *全部* 更新(包括今天发布的内容), 您可以通过运行 `dnf update` 来完成更新动作。 所有Rocky Linux组件都是由托管在[git.rockylinux.org](https://git.rockylinux.org) 上的源代码进行构建的。 此外,SRPM与存储库将一起发布在对应的"source"目录中, 您可以在我们的任意镜像网站上找到它们, 镜像网站的源码包与我们发布的每个二进制RPM相同。 -## 8.5 - 2022-03-15 - -以下软件包自2022年03月15日起进行了更新: - -* expat-2.2.5-4.el8_5.3 -* tzdata-2022a-1.el8 -* httpd-2.4.37-43.module+el8.5.0+747+83fae388.3 -* openssl-1.1.1k-6.el8_5 - -以下模块已更新: - -* httpd - -关联的CVE: - -* CVE-2022-25236 -* CVE-2022-25235 -* CVE-2022-25315 -* CVE-2022-23852 -* CVE-2021-45960 -* CVE-2021-46143 -* CVE-2022-22827 -* CVE-2022-22826 -* CVE-2022-22825 -* CVE-2022-22824 -* CVE-2022-22823 -* CVE-2022-22822 -* CVE-2022-0778 -* CVE-2022-22720 - -### 附加信息 - -我们为过去两周没有发布公告而道歉。 目前,这些公告都是人工手动发布的,目前正在制定计划,减少人工交互,使这些公告更加自动化。 - -随着 RHEL 8.6 测试版的发布,我们将在4月底或5月正式版本(GA)发布之前的几周内,研究哪些方面发生了变化以及需要如何构建我们的版本。 在此期间,我们还一直在努力引导 RHEL 9测试包,最终将在我们的新构建系统中导入、重建和测试。 - -## 8.5 - 2022-03-14 - -以下软件包自2022年03月14日起进行了更新: - -* 389-ds-base: 389-ds-base-1.4.3.23-12.module+el8.5.0+722+e2a0b219 -> 389-ds-base-1.4.3.23-14.module+el8.5.0+745+c5be6847 -* cloud-init: cloud-init-21.1-7.el8_5.3 -> cloud-init-21.1-7.el8_5.4 -* fence-agents: fence-agents-4.2.1-75.el8 -> fence-agents-4.2.1-75.el8_5.2 -* firewalld: firewalld-0.9.3-7.el8 -> firewalld-0.9.3-7.el8_5.1 -* gdm: gdm-1:40.0-15.el8 -> gdm-1:40.0-15.el8_5.1 -* glibc: glibc-2.28-164.el8 -> glibc-2.28-164.el8_5.3 -* httpd: httpd-2.4.37-43.module+el8.5.0+727+743c5577.1 -> httpd-2.4.37-43.module+el8.5.0+746+b6ce3176.2 -* java-11-openjdk: java-11-openjdk-1:11.0.14.0.9-2.el8_5 -> java-11-openjdk-1:11.0.14.1.1-2.el8_5 -* libarchive: libarchive-3.3.3-1.el8_5 -> libarchive-3.3.3-3.el8_5 -* libxml2: libxml2-2.9.7-11.el8 -> libxml2-2.9.7-12.el8_5 -* linux-firmware: linux-firmware-20210702-103.gitd79c2677.el8 -> linux-firmware-20210702-104.gitd79c2677.el8_5 -* lvm2: lvm2-8:2.03.12-10.el8 -> lvm2-8:2.03.12-11.el8_5 -* nmstate: nmstate-1.1.0-5.el8_5 -> nmstate-1.1.0-6.el8_5 -* pcs: pcs-0.10.10-4.el8.rocky.0 -> pcs-0.10.10-4.el8_5.1.rocky.0 -* plymouth: plymouth-0.9.4-10.20200615git1e36e30.el8 -> plymouth-0.9.4-10.20200615git1e36e30.el8_5.1 -* qemu-kvm: qemu-kvm-15:4.2.0-59.module+el8.5.0+726+ce09ee88.1 -> qemu-kvm-15:4.2.0-59.module+el8.5.0+744+67293bef.2 -* redhat-support-lib-python: redhat-support-lib-python-0.11.3-1.el8 -> redhat-support-lib-python-0.13.0-0.el8_5 -* redhat-support-tool: redhat-support-tool-0.11.3-2.el8 -> redhat-support-tool-0.13.0-0.el8_5 -* samba: samba-4.14.5-9.el8_5 -> samba-4.14.5-10.el8_5 -* subscription-manager: subscription-manager-1.28.21-3.el8 -> subscription-manager-1.28.21-5.el8_5 -* systemd: systemd-239-51.el8_5.3 -> systemd-239-51.el8_5.5 -* vim: vim-2:8.0.1763-16.el8_5.4 -> vim-2:8.0.1763-16.el8_5.12 - -以下模块已更新: - -* 389-ds -* httpd -* virt -* virt-devel - -## 8.5 - 2022-03-10 - -以下软件包自2022年03月10日起进行了更新: - -* thunderbird: thunderbird-91.6.0-1.el8_5 -> thunderbird-91.7.0-2.el8_5 -* thunderbird: thunderbird-91.6.0-1.el8_5.plus -> thunderbird-91.7.0-2.el8_5.plus - -关联的 CVE: - -* CVE-2022-25315 -* CVE-2022-25235 -* CVE-2022-25236 - -## 8.5 - 2022-02-24 - -以下软件包自2022年02月24日起进行了更新: - -* dotnet3.1: dotnet3.1-3.1.416-3.el8_5 -> dotnet3.1-3.1.417-1.el8_5 -* dotnet5.0: dotnet5.0-5.0.211-1.el8_5 -> dotnet5.0-5.0.212-1.el8_5 -* dotnet6.0: dotnet6.0-6.0.102-1.el8_5 -> dotnet6.0-6.0.103-4.el8_5 -* firefox: firefox-91.6.0-1.el8_5 -> firefox-91.7.0-3.el8_5 -* kernel: kernel-4.18.0-348.12.2.el8_5 -> kernel-4.18.0-348.20.1.el8_5 -* kernel-rt: kernel-rt-4.18.0-348.12.2.rt7.143.el8_5 -> kernel-rt-4.18.0-348.20.1.rt7.150.el8_5 - -关联的CVE: - -* CVE-2022-0435 -* CVE-2022-0847 - -## 8.5 - 2022-02-22 - -以下软件包自2022年02月22日起进行了更新: - -* cyrus-sasl: cyrus-sasl-2.1.27-5.el8 -> cyrus-sasl-2.1.27-6.el8_5 - -关联的CVE: - -* CVE-2022-24407 - -## 8.5 - 2022-02-16 - -以下软件包自2022年02月16日起进行了更新: - -* python-pillow: python-pillow-5.1.1-16.el8 -> python-pillow-5.1.1-18.el8_5 - -关联的CVE: - -* CVE-2022-22815 -* CVE-2022-22816 -* CVE-2022-22817 - -## 8.5 - 2022-02-15 - -以下模块自2022年02月15日起进行了更新: - -* ruby-2.5-8050020220216182135.b4937e53 -* ruby-2.6-8050020220216165459.b4937e53 - -## 8.5 - 2022-02-14 - -以下软件包自2022年02月14日起进行了更新: - -* thunderbird: thunderbird-91.5.0-1.el8_5 -> thunderbird-91.6.0-1.el8_5 -* thunderbird: thunderbird-91.5.0-1.el8.plus -> thunderbird-91.6.0-1.el8_5.plus - -## 8.5 - 2022-02-09 - -以下软件包自2022年02月09日起进行了更新: - -* dotnet3.1: dotnet3.1-3.1.120-2.el8_5 -> dotnet3.1-3.1.416-3.el8_5 -* dotnet5.0: dotnet5.0-5.0.210-1.el8_5 -> dotnet5.0-5.0.211-1.el8_5 -* dotnet6.0: dotnet6.0-6.0.101-2.el8_5 -> dotnet6.0-6.0.102-1.el8_5 -* firefox: firefox-91.5.0-1.el8_5 -> firefox-91.6.0-1.el8_5 - -## 8.5 - 2022-02-04 - -以下软件包自2022年02月04日起进行了更新: - -* aide: aide-0.16-14.el8 -> aide-0.16-14.el8_5.1 - -关联的CVE: - -* CVE-2021-45417 - -## 8.5 - 2022-02-02 - -以下模块/软件包自2022年02月02日起进行了更新: - -* varnish: varnish-6.0.8-1.module+el8.5.0+677+2a78a869 -> varnish-6.0.8-1.module+el8.5.0+736+fec10e21.1 - -关联的CVE: - -* CVE-2022-23959 - -## 8.5 - 2022-02-01 - -以下软件包自2022年02月01日起进行了更新: - -* clevis: clevis-15-1.el8 -> clevis-15-1.el8_5.1 -* cockpit: cockpit-251.1-1.el8 -> cockpit-251.3-1.el8_5 -* cryptsetup: cryptsetup-2.3.3-4.el8 -> cryptsetup-2.3.3-4.el8_5.1 -* dnf-plugins-core: dnf-plugins-core-4.0.21-3.el8 -> dnf-plugins-core-4.0.21-4.el8_5 -* frr: frr-7.5-4.el8 -> frr-7.5-4.el8_5.2 -* gnome-control-center: gnome-control-center-3.28.2-28.el8 -> gnome-control-center-3.28.2-29.el8_5 -* nispor: nispor-1.1.1-1.el8 -> nispor-1.1.1-2.el8_5 -* nmstate: nmstate-1.1.0-3.el8 -> nmstate-1.1.0-5.el8_5 -* ostree: ostree-2021.3-1.el8 -> ostree-2021.3-2.el8_5 -* resource-agents: resource-agents-4.1.1-98.el8 -> resource-agents-4.1.1-98.el8_5.2 -* rpm: rpm-4.14.3-19.el8 -> rpm-4.14.3-19.el8_5.2 -* sos: sos-4.1-5.el8.rocky.3 -> sos-4.1-9.el8_5.rocky.3 -* spirv-tools: spirv-tools-2021.3-1.20210825.git1fbed83.el8 -> spirv-tools-2021.4-3.20211110.git21e3f68.el8_5 -* sssd: sssd-2.5.2-2.el8_5.3 -> sssd-2.5.2-2.el8_5.4 -* tcpdump: tcpdump-14:4.9.3-2.el8 -> tcpdump-14:4.9.3-2.el8_5.1 -* tigervnc: tigervnc-1.11.0-9.el8 -> tigervnc-1.11.0-10.el8_5 -* vim: vim-2:8.0.1763-16.el8 -> vim-2:8.0.1763-16.el8_5.4 -* virtio-win: virtio-win-1.9.19-1.el8 -> virtio-win-1.9.24-2.el8_5 -* vulkan-headers: vulkan-headers-1.2.189.0-1.el8 -> vulkan-headers-1.2.198.0-1.el8_5 -* vulkan-loader: vulkan-loader-1.2.189.0-1.el8 -> vulkan-loader-1.2.198.0-2.el8_5 -* vulkan-tools: vulkan-tools-1.2.189.0-1.el8 ->vulkan-tools-1.2.198.0-1.el8_5 -* vulkan-validation-layers: vulkan-validation-layers-1.2.189.0-2.el8 ->vulkan-validation-layers-1.2.198.0-4.el8_5 - -以下模块已更新: - -* containertools -* freeradius -* nodejs -* pki-core -* virt -* virt-devel - -## 8.5 - 2022-01-27 - -以下软件包自2022年01月27日起进行了更新: - -* dotnet-build-reference-packages: dotnet-build-reference-packages-0-10.20200608gitcd5a8c6.el8 ->dotnet-build-reference-packages-0-11.20211215git045b288.el8_5 -* nginx: nginx-1:1.20.0-2.module+el8.5.0+669+b11495b0 -> nginx-1:1.20.1-1.module+el8.5.0+729+3f70613e -* samba: samba-4.14.5-7.el8_5 -> samba-4.14.5-9.el8_5 - -以下模块已更新: - -* nginx - -关联的CVE: - -* CVE-2021-44142 -* CVE-2021-23017 - -## 8.5 - 2022-01-26 - -以下软件包自2022年01月26日起进行了更新: - -* java-1.8.0-openjdk: java-1.8.0-openjdk-1:1.8.0.312.b07-2.el8_5 -> java-1.8.0-openjdk-1:1.8.0.322.b06-2.el8_5 - -## 8.5 - 2022-01-25 - -以下软件包自2022年01月25日起进行了更新: - -* parfait: parfait-0.5.4-2.module+el8.3.0+214+edf13b3f -> parfait-0.5.4-4.module+el8.5.0+728+553fbdb8 - -以下软件包已被丢弃: - -* log4j12: log4j12-1.2.17-22.module+el8.3.0+214+edf13b3f - -以下模块已更新: - -* parfait - -## 8.5 - 2022-01-24 - -以下软件包自2022年01月24日起进行了更新: - -* httpd: httpd-2.4.37-43.module+el8.5.0+714+5ec56ee8 -> httpd-2.4.37-43.module+el8.5.0+727+743c5577.1 -* polkit: polkit-0.115-12.el8 -> polkit-0.115-13.el8_5.1 - -以下模块已更新: - -* httpd - -关联的CVE: - -* CVE-2021-44790 -* CVE-2021-4034 - -## 8.5 - 2022-01-19 - -以下软件包自2022年1月19日起进行了更新: - -* java-11-openjdk: java-11-openjdk-1:11.0.13.0.8-4.el8_5 -> java-11-openjdk-1:11.0.14.0.9-2.el8_5 - -## 8.5 - 2022-01-12 - -以下软件包自2022年01月12日起进行了更新: - -* gegl04: gegl04-0.4.4-6.el8 -> gegl04-0.4.4-6.el8_5.2 -* java-17-openjdk: java-17-openjdk-1:17.0.1.0.12-2.el8_5 -> java-17-openjdk-1:17.0.2.0.8-4.el8_5 -* kernel: kernel-4.18.0-348.7.1.el8_5 -> kernel-4.18.0-348.12.2.el8_5 -* kernel-rt: kernel-rt-4.18.0-348.7.1.rt7.137.el8_5 -> kernel-rt-4.18.0-348.12.2.rt7.143.el8_5 -* libarchive: libarchive-3.3.3-1.el8 -> libarchive-3.3.3-1.el8_5 -* libreswan: libreswan-4.4-1.el8 -> libreswan-4.4-4.el8_5 - -关联的CVE: - -* CVE-2022-0185 -* CVE-2021-45463 -* CVE-2021-4155 - -## 8.5 - 2022-01-11 - -以下软件包自2022年01月11日起进行了更新: - -* firefox: firefox-91.4.0-1.el8_5 -> firefox-91.5.0-1.el8_5 -* thunderbird: thunderbird-91.4.0-2.el8_5 -> thunderbird-91.5.0-1.el8_5 -* thunderbird: thunderbird-91.4.0-2.el8.plus -> thunderbird-91.5.0-1.el8.plus - -## 8.5 - 2022-01-03 - -以下软件包自2022年01月03日起进行了更新: - -* dotnet6.0: dotnet6.0-6.0.100-0.10.el8_5 -> dotnet6.0-6.0.101-2.el8_5 -* rpaste: rpaste-0.1-3.el8.2 -> rpaste-0.2.0-1.el8 - -## 8.5 - 2021-12-22 - -以下软件包自2021年12月22日起进行了更新: - -* grafana: grafana-7.5.9-4.el8 -> grafana-7.5.9-5.el8_5 - -关联的CVE: - -* CVE-2021-44716 - -## 8.5 - 2021-12-17 - -以下软件包自2021年12月17日起进行了更新: - -* 389-ds-base: 389-ds-base-1.4.3.23-10.module+el8.5.0+700+370e33d5 -> 389-ds-base-1.4.3.23-12.module+el8.5.0+722+e2a0b219 -* accountsservice: accountsservice-0.6.55-2.el8 -> accountsservice-0.6.55-2.el8_5.2 -* cloud-init: cloud-init-21.1-7.el8 -> cloud-init-21.1-7.el8_5.3 -* freeradius: freeradius-3.0.20-9.module+el8.5.0+704+21fb769d -> freeradius-3.0.20-10.module+el8.5.0+723+cc9aee6c -* gnome-shell-extensions: gnome-shell-extensions-3.32.1-20.el8_5.1 -> gnome-shell-extensions-3.32.1-22.el8_5 -* java-11-openjdk: java-11-openjdk-1:11.0.13.0.8-3.el8_5 -> java-11-openjdk-1:11.0.13.0.8-4.el8_5 -* kernel: kernel-4.18.0-348.2.1.el8_5 -> kernel-4.18.0-348.7.1.el8_5 -* kernel-rt: kernel-rt-4.18.0-348.2.1.rt7.132.el8_5 -> kernel-rt-4.18.0-348.7.1.rt7.137.el8_5 -* kexec-tools: kexec-tools-2.0.20-57.el8 -> kexec-tools-2.0.20-57.el8_5.1 -* opencryptoki: opencryptoki-3.16.0-5.el8 -> opencryptoki-3.16.0-7.el8_5 -* openssl: openssl-1:1.1.1k-4.el8 -> openssl-1:1.1.1k-5.el8_5 -* poppler: poppler-20.11.0-3.el8 -> poppler-20.11.0-3.el8_5.1 -* postgresql: postgresql-12.7-2.module+el8.5.0+686+20453ecc -> postgresql-12.9-1.module+el8.5.0+724+9de6e501 -* qemu-kvm: qemu-kvm-15:4.2.0-59.module+el8.5.0+670+c4aa478c -> qemu-kvm-15:4.2.0-59.module+el8.5.0+726+ce09ee88.1 -* rocky-release: rocky-release-8.5-2.el8 -> rocky-release-8.5-3.el8 -* sssd: sssd-2.5.2-2.el8_5.1 -> sssd-2.5.2-2.el8_5.3 - -关联的CVE: - -* CVE-2021-20321 -* CVE-2021-3930 -* CVE-2021-20257 -* CVE-2021-3712 - -以下模块已更新: - -* virt-rhel-8050020211221163306.b4937e53 -* virt-devel-rhel-8050020211221163306.b4937e53 -* postgresql-13-8050020211221161313.b4937e53 -* postgresql-12-8050020211221161311.b4937e53 -* freeradius-3.0-8050020211221161359.ab0f257b -* 389-ds-1.4-8050020211221162652.1a75f91c - -### 发布工程说明 - -rocky-release 软件包已经更新,您可以将 countme=1 添加到 Rocky Linux 的 base 存储库中,类似于 epel 的存储库。 如果您已经修改了 repo 文件,将会生成 .rpmnew 文件,这样就不会覆盖您的更改。 - -## 8.5 - 2021-12-16 - -以下软件包自2021年12月16日起进行了更新: - -* selinux-policy: selinux-policy-3.14.3-80.el8 -> selinux-policy-3.14.3-80.el8_5.2 -* systemd: systemd-239-51.el8 -> systemd-239-51.el8_5.3 - -## 8.5 - 2021-12-13 - -以下软件包自2021年12月13日起进行了更新: - -* dotnet5.0: dotnet5.0-5.0.209-1.el8_5 -> dotnet5.0-5.0.210-1.el8_5 -* go-toolset: go-toolset-1.16.7-1.module+el8.5.0+694+f77f0bfd -> go-toolset-1.16.12-1.module+el8.5.0+720+c057d5cf -* golang: golang-1.16.7-1.module+el8.5.0+694+f77f0bfd -> golang-1.16.12-1.module+el8.5.0+720+c057d5cf -* ipa: ipa-4.9.6-6.module+el8.5.0+675+61f67439 -> ipa-4.9.6-10.module+el8.5.0+719+4f06efb6 -* nodejs: nodejs-1:16.8.0-1.module+el8.5.0+702+221f14e6 -> nodejs-1:16.13.1-3.module+el8.5.0+721+4c107270 -* nodejs-nodemon: nodejs-nodemon-2.0.7-1.module+el8.5.0+702+221f14e6 -> nodejs-nodemon-2.0.15-1.module+el8.5.0+721+4c107270 - -* kernel-rt: kernel-rt-kvm added to RT - -关联的CVE: - -* CVE-2020-25717 - -以下模块已更新: - -* go-toolset-rhel8-8050020211215173118-8aa62369 -* idm-DL1-8050020211215093947-3d2c466f -* nodejs-16-8050020211215195043-b4937e53 - - -### 发布工程说明 - -以请求为基础,将 kernel-rt-kvm 软件包添加到 RT 存储库中。 - -## 8.5 - 2021-12-12 - -以下软件包自2021年12月12日起进行了更新: - -* samba: samba-4.14.5-2.el8 -> samba-4.14.5-7.el8_5 - -关联的CVE: - -* CVE-2016-2124 -* CVE-2020-25717 -* CVE-2021-23192 - -## 8.5 - 2021-12-10 - -以下软件包自2021年12月10日起进行了更新: - -* WALinuxAgent: WALinuxAgent-2.3.0.2-2.el8 -> WALinuxAgent-2.3.0.2-2.el8.rocky.0 -* libreoffice: libreoffice-1:6.4.7.2-5.el8.1 -> libreoffice-1:6.4.7.2-5.el8.2.rocky -* openscap: openscap-1.3.5-6.el8 -> openscap-1.3.5-6.el8.rocky.0.1 -* pcs: pcs-0.10.10-4.el8 -> pcs-0.10.10-4.el8.rocky.0 -* python2: python2-2.7.18-7.module+el8.5.0+706+735ec4b3.rocky.0.1 -> python2-2.7.18-7.module+el8.5.0+718+67e45b5f.rocky.0.2 -* rocky-release: rocky-release-8.5-1.el8 -> rocky-release-8.5-2.el8 - -以下模块已更新: - -* python27 - -### 发布工程说明 - -这些更新主要是外观上的,并不影响功能。 - -* WALinuxAgent -> 我们在这里以及微软的PR上游中添加了对 Rocky 的直接支持 -* libreoffice -> 发现有红帽的品牌, 这次更新解决了这个品牌问题。 -* openscap -> 缺少有关 Rocky Linux 的信息。 -* pcs -> 该logo有一个未被删除的商标 -* rocky-release -> 简化了 CPE_NAME -* python2 -> 将 Rocky 添加到支持的 dists 中 - -## 8.5 - 2021-12-09 - -以下软件包自2021年12月09日起进行了更新: - -* thunderbird: thunderbird-91.3.0-2.el8_4 -> -* thunderbird-91.4.0-2.el8_5 -* thunderbird: thunderbird-91.3.0-2.el8.plus -> -* thunderbird-91.4.0-2.el8.plus - -### 发布工程说明 - -Thunderbird:这是一个针对 Thunderbird 常规的 ESR 构建更新, 此次更新适用于 base 存储库与 Plus 存储库。 Plus 存储库包含一个支持 PGP 的 Thunderbird 版本。 - -## 8.5 - 2021-12-03 - -以下软件包自2021年12月03日起进行了更新: - -* abrt: abrt-2.10.9-21.el8 -> abrt-2.10.9-21.el8.rocky.0 -* firefox: firefox-91.3.0-1.el8_4 -> firefox-91.4.0-1.el8_5 -* sos: sos-4.1-5.el8 -> sos-4.1-5.el8.rocky.2 - -### 发布工程说明 - -Firefox: 这是一个针对 Firefox 的 ESR 构建更新。 - -abrt:主要是外观上的变化。 移除了对 libreport-rhel* 和 rhtsupport 这些插件的依赖, 您可以在更新到新的 abrt 软件包之后,将这些软件包安全的删除。 - -sos:主要是外观上的变化。 它带来了 Rocky 的策略, 查阅 [this PR for more details](https://github.com/sosreport/sos/pull/2784) - -## 8.5 - 2021-12-02 - -以下软件包自2021年12月02日起进行了更新: - -* 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月02日起已更新: - -* mailman-2.1-8050020211202160117.fd901a62 - - -## 8.5 - 补充部分 - 2021-11-30 - -以下软件包已添加到 devel 存储库中: - -* ncurses-static - -以下软件包已添加到 plus 存储库中: - -* open-vm-tools (仅适用于aarch64的构建) - -### 附加注释 - -plus 存储库包含了 base 存储库中没有提供的项目,原因可能是由于 comps 和 pungi 的配置 (基于 RHEL 存储库) 而无法使用这些项目,或者是在 base 存储库中找不到其他补丁/功能,被要求作为替代构建。 但 plus 存储库应该可以安全地保持启用状态。 - -在 plus 存储库中的当前软件包是(截至2021-11-30): - -* openldap-servers (所有架构) -* thunderbird with PGP support (所有架构) -* ncurses-static (所有架构) -* open-vm-tools (仅适用于aarch64的构建) - -### devel 笔记 - -应谨慎使用 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日起进行了更新(包含更新后的模块软件包): - -* mailman: mailman-3:2.1.29-12.module+el8.5.0+703+19300c10 -> mailman-3:2.1.29-12.module+el8.5.0+716+66d1ab43.1 - -以下模块自2021年11月23日起已更新: - -* mailman-2.1-8050020211123230959.fd901a62 - -关联的CVE: - -* CVE-2021-42096 -* CVE-2021-42097 - -## 8.5 - 2021-11-16 - -以下软件包自2021年11月16日起进行了更新(包含更新后的模块软件包): - -* clang: clang-12.0.1-2.module+el8.5.0+692+8756646f -> clang-12.0.1-4.module+el8.5.0+715+58f51d49 -* llvm-toolset: llvm-toolset-12.0.1-1.module+el8.5.0+692+8756646f -> llvm-toolset-12.0.1-1.module+el8.5.0+715+58f51d49 - -以下模块自2021年11月16日起已更新: - -* llvm-toolset-rhel8-8050020211122023437.b4937e53 - -## 8.5 - 2021-11-14 - -从2021年11月14日发布 8.5 版本以来,以下软件包已更新(包含更新后的模块软件包): - -* annobin: annobin-9.65-1.el8 -> annobin-9.72-1.el8_5.2 -* binutils: binutils-2.30-108.el8 -> binutils-2.30-108.el8_5.1 -* dotnet-build-reference-packages: dotnet-build-reference-packages-0-9.20200608gitcd5a8c6.el8 -> dotnet-build-reference-packages-0-10.20200608gitcd5a8c6.el8 -* dotnet3.1: dotnet3.1-3.1.119-2.el8.0.1 -> dotnet3.1-3.1.120-2.el8_5 -* dotnet5.0: dotnet5.0-5.0.207-3.el8.0.1 -> dotnet5.0-5.0.208-2.el8_5 -* dotnet6.0: dotnet6.0-6.0.0-0.6.28be3e9a006d90d8c6e87d4353b77882829df718.el8.0.1 -> dotnet6.0-6.0.100-0.10.el8_5 -* firefox: firefox-78.13.0-2.el8 -> firefox-91.3.0-1.el8 -* flatpak: flatpak-1.8.5-4.el8 -> flatpak-1.8.5-5.el8_5 -* freerdp: freerdp-2:2.2.0-2.el8 -> freerdp-2:2.2.0-7.el8_5 -* gcc: gcc-8.5.0-3.el8 -> gcc-8.5.0-4.el8_5 -* gcc-toolset-10-annobin: gcc-toolset-10-annobin-9.29-1.el8 -> gcc-toolset-10-annobin-9.29-1.el8_5.2 -* gcc-toolset-10-binutils: gcc-toolset-10-binutils-2.35-8.el8_4.4 -> gcc-toolset-10-binutils-2.35-8.el8_5.6 -* gcc-toolset-10-gcc: gcc-toolset-10-gcc-10.2.1-8.2.el8 -> gcc-toolset-10-gcc-10.3.1-1.2.el8_5 -* gcc-toolset-11-annobin: gcc-toolset-11-annobin-9.73-1.el8 -> gcc-toolset-11-annobin-9.85-1.el8_5.1 -* gcc-toolset-11-binutils: gcc-toolset-11-binutils-2.36.1-1.el8 -> gcc-toolset-11-binutils-2.36.1-1.el8_5.1 -* gcc-toolset-11-dyninst: gcc-toolset-11-dyninst-11.0.0-1.el8 -> gcc-toolset-11-dyninst-11.0.0-2.el8 -* gcc-toolset-11-gcc: gcc-toolset-11-gcc-11.1.1-3.el8 -> gcc-toolset-11-gcc-11.2.1-1.2.el8_5 -* gcc-toolset-11-systemtap: gcc-toolset-11-systemtap-4.5-3.el8 -> gcc-toolset-11-systemtap-4.5-4.el8 -* gcc-toolset-11-valgrind: gcc-toolset-11-valgrind-1:3.17.0-4.el8 -> gcc-toolset-11-valgrind-1:3.17.0-6.el8 -* gnome-settings-daemon: gnome-settings-daemon-3.32.0-14.el8 -> gnome-settings-daemon-3.32.0-16.el8 -* gnome-shell-extensions: gnome-shell-extensions-3.32.1-20.el8 -> gnome-shell-extensions-3.32.1-20.el8_5.1 -* httpd: httpd-2.4.37-41.module+el8.5.0+695+1fa8055e -> httpd-2.4.37-43.module+el8.5.0+714+5ec56ee8 -* ibus: ibus-1.5.19-13.el8 -> ibus-1.5.19-14.el8_5 -* java-1.8.0-openjdk: java-1.8.0-openjdk-1:1.8.0.302.b08-3.el8 -> java-1.8.0-openjdk-1:1.8.0.312.b07-2.el8_5 -* java-11-openjdk: java-11-openjdk-1:11.0.12.0.7-4.el8 -> java-11-openjdk-1:11.0.13.0.8-3.el8_5 -* java-17-openjdk: java-17-openjdk-1:17.0.0.0.35-4.el8 -> java-17-openjdk-1:17.0.1.0.12-2.el8_5 -* kernel: kernel-4.18.0-348.el8.0.2 -> kernel-4.18.0-348.2.1.el8_5 -* kernel-rt: kernel-rt-4.18.0-348.rt7.130.el8.0.2 -> kernel-rt-4.18.0-348.2.1.rt7.132.el8_5 -* kronosnet: kronosnet-1.18-1.el8 -> kronosnet-1.18-2.el8 -* rust: rust-1.54.0-2.module+el8.5.0+678+cf7bc64b -> rust-1.54.0-3.module+el8.5.0+712+d335422a -* rust-toolset: rust-toolset-1.54.0-1.module+el8.5.0+678+cf7bc64b -> rust-toolset-1.54.0-1.module+el8.5.0+712+d335422a -* sssd: sssd-2.5.2-2.el8 -> sssd-2.5.2-2.el8_5.1 -* thunderbird: thunderbird-78.13.0-1.el8 -> thunderbird-91.3.0-2.el8 -* udftools: udftools-2.2-5.el8 -> udftools-2.3-2.el8 - -以下软件包已被丢弃,同时也从 dnf 软件包组中删除: - -* insights-client: insights-client-3.1.5-1.el8 (标准软件包组) - -对于被丢弃的软件包,可以使用 `dnf remove`安全地将其删除。 - -从2021年11月14日发布 8.5 版本以来,以下模块已经更新: - -* rust-toolset-rhel8-8050020211112021616.f73640c0 -* httpd-2.4-8050020211115030420.b4937e53 - -### 已知问题 - -我们还了解到镜像系统做更新时报告了有错误的目录, 它应该去到`kickstart` 请求应答文件而不是 `OS`(操作系统)。 这个问题应该可以通过更新来解决,使其正常工作。 - -## 8.4 - 2021-09-21 - -以下软件包已更新: - -* kernel: kernel-4.18.0-305.19.1 (9-15) -* scap-security-guide: scap-security-guide-0.1.54-5.el8.rocky.2 -* golang: 1.15.14-2 -* nss: 3.67.0-6 -* ca-certificates: 2021.2.50-80.0 -* opencryptoki: 3.15.1-7 -* krb5: 1.18.2-8.3 -* platform-python: 3.6.8-38 -* libdb: 5.3.28-42 -* rng-tools: 6.8-4 -* sos: 4.0-12 -* python-ldap: 3.3.1-1.1 -* subscription-manager: 1.28.13-4 -* pcp: 5.2.5-6 -* strace: 5.7-2.1 -* nspr: 4.32.0-1 -* gcc-toolset-10-elfutils: 0.182-6 -* gcc-toolset-10-binutils: 2.35-8.el8_4.4 -* maven: maven-3.6.2-6 -* mysql: 8.0.26 -* selinux-policy: 3.14.3-67.el8_4.2 -* grub2: 2.02-99.el8_4.1.1 -* resource-agents: 4.1.1-90.el8_4.7 -* poppler: 20.11.0-2.el8_4.1 -* pacemaker: 2.0.5-9.el8_4.3 - -## 8.4 - 2021-09-13 - -以下软件包已更新: - -* thunderbird: 更新至78.14.0 -* firefox: 更新至78.14.0 -* cyrus-imapd: 更新至3.0.7-20.el8_4.1(地址 CVE-2021-33582) -* systemtap将根据 dyinest 10.2 进行重新构建,以解决漏洞 bug -* rocky-release -> 更新为允许"centos"作为ID - -以下软件包已更新: - -* extras -> CentOS SIG(Special Interest Group,特别兴趣小组) 发布包已被添加 - -## 8.4 - 2021-08-24 - -以下软件包已更新: - -* dotnet: dotnet-2.1.525.el8_4 -> dotnet-2.1.526.el8_4 -* libsndfile: libsndfile-1.0.28-10.el8_4 -> libsndfile-1.0.28-10.el8_4.1 -- Addresses - - * 解决了允许从 wav 文件执行任意代码的堆缓冲区溢出问题。 - -* scap-security-guide: scap-security-guide-0.1.54-5.el8.rocky.1 - - * Addresses RLBZ#108 - -添加了以下存储库/软件包: - -* RT (realtime) - 通过运行 `dnf config-manager --set-enabled rt` 来启用 - - * kernel-rt (实时内核) - -## 8.4 - 2021-08-11 - -以下软件包已更新: - -* 389-ds-base: 389-ds-base-1.4.3.16-16.module+el8.4.0+596+159889e5 -> 389-ds-base-1.4.3.16-19.module+el8.4.0+636+837ee950 -* NetworkManager: NetworkManager-1:1.30.0-9.el8_4 -> NetworkManager-1:1.30.0-10.el8_4 -* autofs: autofs-1:5.1.4-48.el8 -> autofs-1:5.1.4-48.el8_4.1 -* buildah: buildah-1.19.7-2.module+el8.4.0+556+40122d08 -> buildah-1.21.4-1.module+el8.4.0+643+525e162a -* cloud-init: cloud-init-20.3-10.el8_4.3 -> cloud-init-20.3-10.el8_4.5 -* cockpit-podman: cockpit-podman-29-2.module+el8.4.0+556+40122d08 -> cockpit-podman-32-2.module+el8.4.0+643+525e162a -* conmon: conmon-2:2.0.26-3.module+el8.4.0+556+40122d08 -> conmon-2:2.0.29-1.module+el8.4.0+643+525e162a -* container-selinux: container-selinux-2:2.162.0-1.module+el8.4.0+556+40122d08 -> container-selinux-2:2.164.1-1.module+el8.4.0+643+525e162a -* crun: crun-0.18-2.module+el8.4.0+556+40122d08 -> crun-0.20.1-1.module+el8.4.0+643+525e162a -* dotnet3.1 dotnet3.1-3.1.117-1.el8_4 -> dotnet3.1-3.1.118-1.el8_4 -* edk2: edk2-20200602gitca407c7246bf-4.el8_4.1 -> edk2-20200602gitca407c7246bf-4.el8_4.2 -* elfutils: elfutils-0.182-3.el8 -> elfutils-0.182-3.el8_4 -* esc: esc-1.1.2-18.el8 -> esc-1.1.2-22.el8_4 -* fence-agents: fence-agents-4.2.1-65.el8 -> fence-agents-4.2.1-65.el8_4.1 -* fuse-overlayfs: fuse-overlayfs-1.4.0-3.module+el8.4.0+556+40122d08 -> fuse-overlayfs-1.6-1.module+el8.4.0+643+525e162a -* gcc-toolset-10-elfutils: gcc-toolset-10-elfutils-0.182-3.el8 -> gcc-toolset-10-elfutils-0.182-5.el8_4 -* gcc-toolset-10-valgrind: gcc-toolset-10-valgrind-1:3.16.0-4.el8 -> gcc-toolset-10-valgrind-1:3.16.0-6.el8_4 -* glib2: glib2-2.56.4-10.el8_4 -> glib2-2.56.4-10.el8_4.1 -* gnome-shell-extensions: gnome-shell-extensions-3.32.1-14.el8.1 -> gnome-shell-extensions-3.32.1-15.el8_4.1 -* go-toolset: go-toolset-1.15.13-1.module+el8.4.0+591+0da41cc3 -> go-toolset-1.15.14-1.module+el8.4.0+632+4dba2916 -* golang: golang-1.15.13-3.module+el8.4.0+591+0da41cc3 -> golang-1.15.14-1.module+el8.4.0+632+4dba2916 -* hivex: hivex-1.3.18-20.module+el8.4.0+534+4680a14e -> hivex-1.3.18-21.module+el8.4.0+642+7e26f5e1 -* kernel: kernel-4.18.0-305.10.2.el8_4 -> kernel-4.18.0-305.12.1.el8_4 -* kexec-tools: kexec-tools-2.0.20-46.el8_4.1 -> kexec-tools-2.0.20-46.el8_4.2 -* libuv: libuv-1:1.40.0-1.el8 -> libuv-1:1.41.1-1.el8_4 -* libvirt: libvirt-6.0.0-35.module+el8.4.0+534+4680a14e -> libvirt-6.0.0-35.1.module+el8.4.0+642+7e26f5e1 -* libwacom: libwacom-1.6-2.el8 -> libwacom-1.6-2.1.el8_4 -* mdadm: mdadm-4.1-15.el8 -> mdadm-4.1-16.el8_4 -* nfs-utils: nfs-utils-1:2.3.3-41.el8 -> nfs-utils-1:2.3.3-41.el8_4.2 -* nmstate: nmstate-1.0.2-11.el8_4 -> nmstate-1.0.2-14.el8_4 -* nodejs: nodejs-1:12.21.0-1.module+el8.3.0+99+3663d81c -> nodejs-1:12.22.3-2.module+el8.4.0+638+5344c6f7 -* nodejs-nodemon: nodejs-nodemon-2.0.3-1.module+el8.3.0+100+234774f7 -> nodejs-nodemon-2.0.3-1.module+el8.4.0+638+5344c6f7 -* oci-seccomp-bpf-hook: oci-seccomp-bpf-hook-1.2.0-2.module+el8.4.0+556+40122d08 -> oci-seccomp-bpf-hook-1.2.3-2.module+el8.4.0+643+525e162a -* opencryptoki: opencryptoki-3.15.1-5.el8 -> opencryptoki-3.15.1-6.el8_4 -* ostree: ostree-2020.7-4.el8 -> ostree-2020.7-5.el8_4 -* pcp: pcp-5.2.5-4.el8 -> pcp-5.2.5-5.el8_4 -* pcsc-lite: pcsc-lite-1.8.23-3.el8 -> pcsc-lite-1.8.23-4.1.el8_4 -* pcsc-lite-ccid: pcsc-lite-ccid-1.4.29-4.el8 -> pcsc-lite-ccid-1.4.29-5.1.el8_4 -* perl: perl-4:5.26.3-419.el8 -> perl-4:5.26.3-419.el8_4.1 -* perl-IO-String: perl-IO-String-1.08-31.el8 -> perl-IO-String-1.08-32.el8 -* podman: podman-3.0.1-7.module+el8.4.0+556+40122d08 -> podman-3.2.3-0.10.module+el8.4.0+643+525e162a -* qemu-kvm: qemu-kvm-15:4.2.0-48.module+el8.4.0+534+4680a14e -> qemu-kvm-15:4.2.0-48.module+el8.4.0+642+7e26f5e1.3 -* resource-agents: resource-agents-4.1.1-90.el8_4.5 -> resource-agents-4.1.1-90.el8_4.6 -* runc: runc-1.0.0-73.rc93.module+el8.4.0+556+40122d08 -> runc-1.0.0-74.rc95.module+el8.4.0+643+525e162a -* rust: rust-1.49.0-1.module+el8.4.0+416+259a129a -> rust-1.52.1-1.module+el8.4.0+641+ca238f88 -* rust-toolset: rust-toolset-1.49.0-1.module+el8.4.0+416+259a129a -> rust-toolset-1.52.1-1.module+el8.4.0+641+ca238f88 -* samba: samba-4.13.3-3.el8 -> samba-4.13.3-4.el8_4 -* selinux-policy: selinux-policy-3.14.3-67.el8 -> selinux-policy-3.14.3-67.el8_4.1 -* skopeo: skopeo-1:1.2.2-10.module+el8.4.0+556+40122d08 -> skopeo-1:1.3.1-5.module+el8.4.0+643+525e162a -* spirv-tools: spirv-tools-2020.5-3.20201208.gitb27b1af.el8 -> spirv-tools-2021.2-1.20210619.git5dd2f76.el8_4 -* stalld: stalld-1.9-2.el8 -> stalld-1.10-1.el8_4 -* systemd: systemd-239-45.el8_4.2 -> systemd-239-45.el8_4.3 -* systemtap: systemtap-4.4-10.el8 -> systemtap-4.4-11.el8_4 -* udica: udica-0.2.4-1.module+el8.4.0+556+40122d08 -> udica-0.2.4-2.module+el8.4.0+643+525e162a -* valgrind: valgrind-1:3.16.0-4.el8 -> valgrind-1:3.16.0-4.el8_4 -* virt-what: virt-what-1.18-6.el8 -> virt-what-1.18-9.el8_4 -* virt-who: virt-who-1.30.5-1.el8 -> virt-who-1.30.5-2.el8_4 -* virtio-win: virtio-win-1.9.16-2.el8 -> virtio-win-1.9.17-4.el8_4 -* vulkan-headers: vulkan-headers-1.2.162.0-1.el8 -> vulkan-headers-1.2.182.0-1.el8_4 -* vulkan-loader: vulkan-loader-1.2.162.0-1.el8 -> vulkan-loader-1.2.182.0-1.el8_4 -* vulkan-tools: vulkan-tools-1.2.162.0-1.el8 -> vulkan-tools-1.2.182.0-1.el8_4 -* vulkan-validation-layers: vulkan-validation-layers-1.2.162.0-1.el8 -> vulkan-validation-layers-1.2.182.0-1.el8_4 - -## 8.4 - 2021-08-02 - -以下软件包已更新: - -* varnish -> varnish-0:6.0.6-2.module+el8.4.0+628+e1687553.1 -> Addresses CVE-2021-36740 - -为以下存储库添加了kickstart repos: - -* BaseOS -* AppStream -* PowerTools -* High Availability -* Resilient Storage - -## 8.4 - 2021-07-27 - -以下软件包已更新: - -* thunderbird -> thunderbird-78.12.0-3.el8_4 - -## 8.4 - 2021-07-21 - -以下软件包已更新: - -* kernel -> kernel-4.18.0-305.10.2.el8_4 -> Addresses CVE-2021-33909 -* systemd -> systemd-239-45.el8_4.2 -> Addresses CVE-2021-33910 -* firefox -* java-1.8.0-openjdk -* java-11-openjdk - -## 8.4 - 2021-07-12 - -以下软件包已更新: - -* rocky-release -* linuxptp -* rpaste -* ovn2.13 (NFV) - -以下模块已更新: - -* python36 - -### 附加更改 - -已经实现了实验性的存储库元数据签名。 如果要尝试此操作,请在 Rocky-X.repo 文件中设置以下选项: - -``` -repo_gpgcheck=1 -``` - -### 即将到来 - -* 存储插件库 - - * 对 Glusterfs 9 文件系统的支持 - -## 8.4 - 2021-06-30 - -### 软件包更新 - -以下软件包已更新: - -* NetworkManager -> NetworkManager-11.30.0-9.el8_4 -* cloud-init -> cloud-init-20.3-10.el8_4.3 -* cmake -> cmake-3.18.2-11.el8_4 -* edk2 -> edk2-20200602gitca407c7246bf-4.el8_4.1 -* exiv2 -> exiv2-0.27.3-2.el8 -* firewalld -> firewalld-0.8.2-7.el8_4 -* fwupd -> fwupd-1.5.9-1.el8_4 -* gnome-session -> gnome-session-3.28.1-10.el8_4.1 -* kernel -> kernel-4.18.0-305.7.1.el8_4 -* kexec-tools -> kexec-tools-2.0.20-46.el8_4.1 -* libpq -> libpq-13.3-1.el8_4 -* libreport -> libreport-2.9.5-15.el8.rocky.2 -* libxml2 -> libxml2-2.9.7-9.el8_4.2 -* lz4 -> lz4-1.8.3-3.el8_4 -* nmstate -> nmstate-1.0.2-11.el8_4 -* nvme-cli -> nvme-cli-1.12-4.el8_4 -* openldap -> openldap-2.4.46-17.el8_4 -* osbuild-composer -> osbuild-composer-28.6-1.el8_4 -* resource-agents -> resource-agents-4.1.1-90.el8_4.5 -* rocky-logos -> rocky-logos-84.5-8.el8 -* rocky-release -> rocky-release-8.4-29.el8 -* rpm -> rpm-4.14.3-14.el8_4 -* rsyslog -> rsyslog-8.1911.0-7.el8_4.2 -* sanlock -> sanlock-3.8.3-3.el8_4 -* sssd -> sssd-2.4.0-9.el8_4.1 -* subscription-manager -> subscription-manager-1.28.13-3.el8_4 -* systemd -> systemd-239-45.el8_4.1 -* tuned -> tuned-2.15.0-2.el8_4.1 -* unzip -> unzip-6.0-45.el8_4 - -以下模块已更新: - -* PyYAML -> PyYAML-5.4.1-1.module+el8.4.0+595+c96abaa2 -* 389-ds -> 1.4.3.16-16 -* go-toolset -> go-toolset-1.15.13-1.module+el8.4.0+591+0da41cc3 -* golang -> golang-1.15.13-3.module+el8.4.0+591+0da41cc3 -* idm:DL1 -> ipa-4.9.2-4 -* idm:client -> (rebuilt with ipaplatform=rhel to sync with DL1 module) -* pgaudit -> pgaudit-1.4.0-6.module+el8.4.0+587+d46efd10 -* postgres-decoderbufs -> postgres-decoderbufs-0.10.0-2.module+el8.4.0+587+d46efd10 -* postgresql -> postgresql-12.7-1.module+el8.4.0+587+d46efd10 -* python38 -> python38-3.8.6-3.module+el8.4.0+595+c96abaa2 -* ruby -> ruby-2.5.9-107.module+el8.4.0+592+03ff458a -* ruby:2.5 -> 2.5.9-107 -* ruby:2.6 -> 2.6.7-107 -* ruby:2.7 -> 2.7.3-136 -* rubygem-abrt -> rubygem-abrt-0.3.0-4 / rubygem-abrt-0.4.0-1 -* rubygem-bson -> rubygem-bson-4.3.0-2 / rubygem-bson-4.5.0-1 / rubygem-bson-4.8.1-1 -* rubygem-bundler -> rubygem-bundler-1.16.1-3.module+el8.4.0+592+03ff458a -* rubygem-mongo -> rubygem-mongo-2.5.1-2 / rubygem-mongo-2.8.0-1 / rubygem-mongo-2.11.3-1 -* rubygem-pg -> rubygem-pg-1.0.0-2 / rubygem-pg-1.1.4-1 / rubygem-pg-1.2.3-1 - - -### 背景 - -一些模块和软件包已经被上游以常规方式更新。 - -常规的 Rocky 软件包已进行更新,以解决以下问题: - -* rocky-release - - * 为未来的情况添加 devel 和 debuginfo 存储库 - * 这是为了 模拟/构建根 目的而提供的 - -* rocky-logos - - * 改进未来官方的 live 镜像图标 - - -### 附加更改 - -aarch64 的 extras 存储库已更新,以包含上游未包含的各种软件包。 例如 libreoffice 和其他 gnome 应用程序。 因为它们不在 BaseOS 或 AppStream 中,所以 extras 存储库是存放这些软件包的合适地方。 - -* 现在提供了一个用于 模拟/构建根 目的的 "devel" 存储库 -* aarch64 的 extras 存储库已更新,以包含上游未提供给桌面使用的缺失软件包 -* rpaste 已经更新,可以接受标准输入。 -* 在点发布(point release)的生命周期内,将在 repos 中提供较旧的包。 - - * 这将允许在上游软件包回归(regressions)或者需要排查问题的情况下,将其降级到已知的良好版本。