Граф коммитов

6206 Коммитов

Автор SHA1 Сообщение Дата
Bala 73c7e5f308
Fix CVE-2024-6104 in influxdb by patching vendor gomodule (#9995) 2024-08-07 11:26:56 +05:30
Bala ca6f8d2512
Fix CVE-2024-6104 in keda by patching vendor gomodule (#9996) 2024-08-07 11:26:18 +05:30
Bala 108f3dd90f
Fix CVE-2024-6104 in libcontainers-common by patching gomodule (#10007) 2024-08-07 11:25:08 +05:30
sindhu-karri 918922b2c3
Fix CVE-2024-41671 and CVE-2024-41810 in 3.0 python-twisted (#9989) 2024-08-07 11:24:42 +05:30
Bala 8a26ac3cab
Fix CVE-2024-6104 in prometheus by patching vendor gomodule (#10008) 2024-08-07 11:23:03 +05:30
Christopher Co a2afb1f159
fix: upgrade walinuxagent to 2.11.1.4 and add azurelinux patch (#10016)
Upgrade WALinuxAgent to the most recent release - 2.11.1.4.

Add patch to include azurelinux support into the agent. The patch should
be removed in the next 2.12 update.

Also because WALinuxAgent will automatically update at runtime, thus
removing the patched-in support for azurelinux, add another patch to
bump the version to 2.11.8.8 so further 2.11 hotfixes are not taken.
Since 2.12 will have azurelinux support, the agent will be able to
automatically upgrade to 2.12 at runtime.

fix: correct changelog date warning

fix: use /usr/bin and /usr/lib/systemd paths

In the upstream code's setup.py, the bin path and systemd path are set
through calls into the distro's osutil class. In our case, since we pass
--lnx-distro='mariner', the code will use the MarinerOsUtil derived
class for these paths, which are /usr/bin and /usr/lib/systemd
respectively.

In addition, now that the paths are set correctly again, remove the sed
operation to the waagent.service so the waagent path points to the
correct location again.

Also fix the ephemeral-disk-warning.service to use the proper path as
well.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-06 20:11:58 -07:00
Trung c6b19b5030
dracut: add fix for initrd not showing prompt when root device is locked (#10039)
Signed-off-by: Thien Trung Vuong <tvuong@microsoft.com>
2024-08-06 19:23:45 -07:00
Daniel McIlvaney 96f02d4719
Add priorities to local repos (#10025) 2024-08-06 18:36:19 -07:00
Pawel Winogrodzki deec9d68f2
Upgraded `valgrind` to version 3.22.0. (#10036) 2024-08-06 17:27:13 -07:00
Christopher Co ac95dc5df3
feat: enable USB_TMC as module (#10027)
Enable USB Test and Measurement Class driver as a loadable kernel
module. This module is used for many USB devices that meet the USB Test
and Measurement device specification, like HW and Power Analyzers.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-06 14:55:01 -07:00
Sumynwa 77fdaa1eaa
Bump frr to 9.1.1 to fix CVE-224-31950 & CVE-2024-31951 (#10031) 2024-08-06 21:10:05 +05:30
Andrew Phelps f9d78e2e80
Pull individual 3.0 changes into 3.0-dev (#10024)
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-08-05 23:37:35 -07:00
sindhu-karri e708646362
Fix CVE-2024-6104 in skopeo with a patch - 3.0 (#10010) 2024-08-06 10:38:12 +05:30
Chris Gunn edb72b19f3
Image Customizer: Bump release version to v0.6. (#10012) 2024-08-05 15:39:07 -07:00
Andrew Phelps 0dadd7bc5a
Fix duplicate file issues in harfbuzz, cyrus-sasl and rrdtool (#9985)
The circular dependency check failure is unrelated to this change
2024-08-05 13:09:41 -07:00
Christopher Co a928ed0b6b
feat: Enable MPTCP (#10014)
Enable Multipath TCP (MPTCP) to allow using multiple interface paths to send and receive TCP packets for improving throughput and redundancy.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-05 11:09:19 -07:00
Rachel Menge c311b35d87
Enable EVM (#10004)
Enable the Extended Verification Module (EVM) support to allow the verification of security-related extended attributes like SELinux file labels or IMA hash

Signed-off-by: Chris Co <chrco@microsoft.com>
Co-authored-by: Chris Co <chrco@microsoft.com>
2024-08-02 19:54:17 -07:00
Aditya Dubey 1b37ef84a8
yasm: patch CVE-2021-33454 (3.0) (#10001) 2024-08-02 14:09:21 -07:00
Andrew Phelps ca199000c6
msopenjdk: update to latest prod version and add hash verification (#10005) 2024-08-01 21:29:24 -07:00
Daniel McIlvaney e42bf48e7a
Remove old -j flag from check-circular-deps.yml (#10000) 2024-08-01 15:56:39 -07:00
Chris Gunn 496538ffce
Image Customizer: Fix merge in 'TestCustomizeImagePartitionsLegacy'. (#10002) 2024-08-01 15:20:51 -07:00
Chris Gunn 4b1db90cdb
Fix call to `parted mkpart`. (#9983)
In PR #9932, a bug fix was made to ensure that GPT partitions don't receive a default label of "primary". Unfortunately, that change relies on a bug fix to `parted` that was made in v3.5, which is relatively recent.

For reference:

- Ubuntu 22.04: 3.4
- Ubuntu 24.04: 3.6
- Azure Linux 2.0: 3.4
- Azure Linux 3.0: 3.6

This change provides a workaround by giving partitions a default name of "primary", if the build host has an older version of parted.
2024-08-01 14:23:52 -07:00
Chris Gunn d4c16113c5
Image Customizer: Add tests for services enable/disable. (#9944)
Add tests for enabling and disabling services, both for services that exist and ones that don't exist.

Also, fix a bug in the `IsServiceEnabled` function where the disabled state isn't being properly distinguished from other types of errors.
2024-08-01 13:47:35 -07:00
Chris Gunn d80ba54c18
Image Customizer: Fixes for grub2-install. (#9978)
1. Use either the `grub-install` or `grub2-install` command, whichever is available on the build host.

2. Add `grub2-install` to the image customizer prerequisites list in the README.

3. Add `grub2-install` to the image customizer container.

4. Remove the `grub2` package from the legacy boot config, since it isn't needed.

5. Allow the `USER` environment variable to be empty, which is the case in docker containers.
2024-08-01 13:20:58 -07:00
Riken Maharjan 4f545f6cdb
Remove unnecessary Requires:libselinux from coreutils to fix Circular dependency (#9999) 2024-08-01 12:47:46 -07:00
Christopher Co 747a3268ab
feat: Enable FS_VERITY and SECURITY_IPE LSM (#9979)
Enable FS-verity and Integrity Policy Enforcement LSM. These are useful security features that users/services can leverage to better secure their system.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-08-01 11:11:12 -07:00
KavyaSree2610 4f04a77894
Add systemd service to postgresql (#9906) 2024-08-01 10:43:41 +05:30
Riken Maharjan 8bd64e7f9d
Add missing runtime dependencies for automake. (#9977) 2024-07-31 10:02:49 -07:00
Muhammad Falak R Wani 87f82d2af2
toolkit/pkgbld.sh: add a helper script to build packages locally (#9960)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-07-31 11:08:16 +05:30
CBL-Mariner-Bot e1fbaab983
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.43.1 - branch 3.0-dev (#9976) 2024-07-30 20:49:24 -07:00
Muhammad Falak R Wani d0b4c65ce1
coreutils: introduce patch to address CVE-2024-0684 (#9910)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-07-31 08:18:22 +05:30
Chris Gunn 123e72b3c8
Image Customizer: Improve copy directory error message. (#9933)
1. When calling `cp`, include the last line of `stderr` in the error message.

2. Ensure that the `file.CopyDir` function adds useful information to the error message.

3. Add path information to error message for `.os.additionalDirs` errors.
2024-07-30 17:48:07 -07:00
Aditya Dubey b21bfd500c
Onboarding cpufrequtils, mtr, and sysfsutils packages to 3.0 (#9913) 2024-07-30 14:44:01 -07:00
Chris Gunn 6ba5269748
Image Customizer: Add checks for missing/duplicate partition labels. (#9935) 2024-07-30 11:43:12 -07:00
Christopher Co 3e0884c6f1
feat: Add drivers for DMI and EROFS, dm-verity verification (#9971)
Add DMI sysfs and EROFS module support. Additionally hooks for Secure Boot with dm-verity verification.
These kconfigs will also be necessary to onboard Azure Linux into upstream systemd's CI testing.

Signed-off-by: Chris Co <chrco@microsoft.com>
2024-07-30 11:27:07 -07:00
Sumynwa fcd059b5bf
Upgrade httpd to 2.4.62 to address CVE-2024-40725 (#9926)
Co-authored-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-07-30 10:48:17 +05:30
Muhammad Falak R Wani dd75c98e24
cf-cli: address CVE-2023-39325 (#9949)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-07-30 07:48:33 +05:30
CBL-Mariner-Bot cacdec2d12
[AUTOPATCHER-kernel] Kernel upgrade to version 6.6.39.1 - branch 3.0-dev (#9945)
Co-authored-by: Cameron Baird <cameronbaird@microsoft.com>
2024-07-29 14:18:08 -07:00
Harshit Gupta dbf0de7771
Enable CONFIG_RT_GROUP_SCHED in kernel-rt (#9869)
Co-authored-by: Harshit Gupta <guptaharshit@microsoft.com>
2024-07-29 16:25:15 -04:00
Daniel McIlvaney 150888f716
Better toolchain downloader (#9941) 2024-07-29 13:19:27 -07:00
Daniel McIlvaney d96751d59c
Integrate new license checker package into image and package builds. (#9885) 2024-07-29 13:11:26 -07:00
Daniel McIlvaney 806d57df36
Make check-circular-deps.yml faster with -j, use lkg (#9962) 2024-07-29 13:10:57 -07:00
Sam Meluch c60100ab77
update go link commands for go-1.21 in ubuntu prereq (#9943) 2024-07-26 16:32:02 -05:00
Chris Gunn 47b47bb971
Toolkit: Do not give GPT partitions a default label of "primary". (#9932)
When creating partitions using `parted`, the API is:

- MBR: `parted mkpart <partition-type> <fs-type> ...`
- GPT: `parted mkpart <partition-label> <fs-type> ...`

But currently we are treating the first param as always being the `<partition-type>`, when for GPT it is `<partition-label>`. This has the effect that GPT partitions are given a default label of "primary", which is a tad silly. (If an explicit label is provided by the user, then the label is overridden in a subsequent step.)

This change fixes this behavior so that GPT partitions have a default label of nothing ("").
2024-07-26 11:58:56 -07:00
Kelsey Steele 1e36b3d4e0
kernel: config_aarch64: convert selected configs to modules (#9471)
Moving batch of configs that were built-in to be modules to maintain flexibility, though reduce kernel size and boot speed.

These modules are already set as modules on x86 and only targeted to change on arm64.

Signed-off-by: Kelsey Steele <kelseysteele@microsoft.com>
2024-07-26 10:09:16 -07:00
Andrew Phelps 26fe98357f
compiler-rt: fix path issue (#9937) 2024-07-26 09:50:41 -07:00
CBL-Mariner-Bot 8dbb6f0a43
Prepare August 2024 Release (#9936)
Co-authored-by: jslobodzian <joslobo@microsoft.com>
2024-07-26 12:21:00 -04:00
Muhammad Falak R Wani 586698f74c
bind: upgrade 9.19.21 -> 9.20.0 to address CVE-CVE-2024-0760, CVE-2024-1737, CVE-2024-1975 & CVE-2024-4076 (#9918)
Changelog: https://gitlab.isc.org/isc-projects/bind9/-/blob/v9.20.0/CHANGES
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-07-26 10:12:14 +05:30
Daniel McIlvaney 39dc854346
Add automatic mode for DAILY_BUILD_ID (#9899)
Co-authored-by: Jon Slobodzian <joslobo@microsoft.com>
2024-07-25 17:18:58 -07:00
Daniel McIlvaney 5d9747d71c
Use structs to pass data to scheduler prints (#9883) 2024-07-25 17:05:39 -07:00