AWS linux documentation change
Summary
Restructured documentation to focus on AL2, removed end-of-life notice for Amazon Linux AMI, reorganized content about repositories and package management, and added emphasis on software updates for security.
Security assessment
The change adds explicit mention of security exploits in the context of software updates ('protect against security exploits'), which qualifies as adding security documentation. The removed EOL notice does not directly address a security vulnerability but rather removes outdated information, so it does not meet the threshold for security_issue_related.
Diff
diff --git a/linux/al2/ug/managing-software.md index 450bcdcbd..4681131a3 100644 --- a/linux/al2/ug/managing-software.md +++ b/linux/al2/ug/managing-software.md @@ -9 +9 @@ The base distribution of Amazon Linux contains the software packages and utiliti -This information applies to AL2 and Amazon Linux. For information about AL2023, see [Managing packages and operating system updates](https://docs.aws.amazon.com/linux/al2023/ug/managing-repos-os-updates.html) in the _AL2023 User Guide_. +This information applies to AL2. For information about AL2023, see [Manage packages and operating system updates in AL2023](https://docs.aws.amazon.com/linux/al2023/ug/managing-repos-os-updates.html) in the _Amazon Linux 2023 User Guide_. @@ -11,5 +11 @@ This information applies to AL2 and Amazon Linux. For information about AL2023, -###### Note - -The Amazon Linux AMI reached its end-of-life on December 31, 2023 and will not receive any security updates or bug fixes starting January 1, 2024. For more information about the Amazon Linux AMI end-of-life and maintenance support, see the blog post [Update on Amazon Linux AMI end-of-life](https://aws.amazon.com/blogs/aws/update-on-amazon-linux-ami-end-of-life/). We recommend that you upgrade applications to AL2023, which includes long-term support until 2028. - -###### Contents +It is important to keep software up to date. Many packages in a Linux distribution are updated frequently to fix bugs, add features, and protect against security exploits. For more information, see [Update instance software on your AL2 instance](./install-updates.html). @@ -17 +13 @@ The Amazon Linux AMI reached its end-of-life on December 31, 2023 and will not r - * [Update instance software on your AL2 instance](./install-updates.html) +By default, AL2 instances launch with the following repositories enabled: @@ -19 +15 @@ The Amazon Linux AMI reached its end-of-life on December 31, 2023 and will not r - * [Add repositories on an AL2 instance](./add-repositories.html) + * `amzn2-core` @@ -21 +17 @@ The Amazon Linux AMI reached its end-of-life on December 31, 2023 and will not r - * [Find and install software packages on an AL2 instance](./find-install-software.html) + * `amzn2extra-docker` @@ -23 +18,0 @@ The Amazon Linux AMI reached its end-of-life on December 31, 2023 and will not r - * [Prepare to compile software on an AL2 instance](./compile-software.html) @@ -26,0 +22 @@ The Amazon Linux AMI reached its end-of-life on December 31, 2023 and will not r +While there are many packages available in these repositories that are updated by AWS, there might be a package that you want to install that is contained in another repository. For more information, see [Add repositories on an AL2 instance](./add-repositories.html). For help finding and installing packages in enabled repositories, see [Find and install software packages on an AL2 instance](./find-install-software.html). @@ -28 +24 @@ The Amazon Linux AMI reached its end-of-life on December 31, 2023 and will not r -It is important to keep software up to date. Many packages in a Linux distribution are updated frequently to fix bugs, add features, and protect against security exploits. For more information, see [Update instance software on your AL2 instance](./install-updates.html). +Not all software is available in software packages stored in repositories; some software must be compiled on an instance from its source code. For more information, see [Prepare to compile software on an AL2 instance](./compile-software.html). @@ -30 +26 @@ It is important to keep software up to date. Many packages in a Linux distributi -By default, Amazon Linux instances launch with the following repositories enabled: +AL2 instances manage their software using the yum package manager. The yum package manager can install, remove, and update software, as well as manage all of the dependencies for each package. @@ -32 +28 @@ By default, Amazon Linux instances launch with the following repositories enable - * AL2: `amzn2-core` and `amzn2extra-docker` +###### Contents @@ -34 +30 @@ By default, Amazon Linux instances launch with the following repositories enable - * Amazon Linux AMI: `amzn-main` and `amzn-updates` + * [Update instance software on your AL2 instance](./install-updates.html) @@ -35,0 +32 @@ By default, Amazon Linux instances launch with the following repositories enable + * [Add repositories on an AL2 instance](./add-repositories.html) @@ -36,0 +34 @@ By default, Amazon Linux instances launch with the following repositories enable + * [Find and install software packages on an AL2 instance](./find-install-software.html) @@ -37,0 +36 @@ By default, Amazon Linux instances launch with the following repositories enable + * [Prepare to compile software on an AL2 instance](./compile-software.html) @@ -39 +37,0 @@ By default, Amazon Linux instances launch with the following repositories enable -While there are many packages available in these repositories that are updated by Amazon Web Services, there might be a package that you want to install that is contained in another repository. For more information, see [Add repositories on an AL2 instance](./add-repositories.html). For help finding and installing packages in enabled repositories, see [Find and install software packages on an AL2 instance](./find-install-software.html). @@ -41 +38,0 @@ While there are many packages available in these repositories that are updated b -Not all software is available in software packages stored in repositories; some software must be compiled on an instance from its source code. For more information, see [Prepare to compile software on an AL2 instance](./compile-software.html). @@ -43 +39,0 @@ Not all software is available in software packages stored in repositories; some -Amazon Linux instances manage their software using the yum package manager. The yum package manager can install, remove, and update software, as well as manage all of the dependencies for each package. Debian-based Linux distributions, like Ubuntu, use the **apt-get** command and **dpkg** package manager, so the **yum** examples in the following sections do not work for those distributions.