azurelinux icon indicating copy to clipboard operation
azurelinux copied to clipboard

Upgrade nginx to latest stable version 1.28.0

Open sandeepkarambelkar opened this issue 2 months ago • 2 comments

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

  • [x] The toolchain has been rebuilt successfully (or no changes were made to it)
  • [x] The toolchain/worker package manifests are up-to-date
  • [x] Any updated packages successfully build (or no packages were changed)
  • [x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • [x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • [x] All package sources are available
  • [x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • [x] LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • [x] All source files have up-to-date hashes in the *.signatures.json files
  • [x] sudo make go-tidy-all and sudo make go-test-coverage pass
  • [x] Documentation has been updated to match any changes to the build system
  • [ ] Ready to merge

Summary

Upgrade nginx to latest stable version 1.28.0

Change Log
  • nginx is upgraded to latest stable version
  • Removed old CVE patches which are available in the latest release
Does this affect the toolchain?

NO

Test Methodology

sandeepkarambelkar avatar Oct 24 '25 11:10 sandeepkarambelkar

The build failures mentioned in PR checks are existing failures -

INFO[3230][scheduler] Failed SRPMs tests:
INFO[3230][scheduler] --> libguestfs-1.52.0-17.azl3.src.rpm , for details see: /mnt/vss/_work/1/s/build/logs/pkggen/rpmbuilding/libguestfs-1.52.0-17.azl3.src.rpm.test.log INFO[3230][scheduler] --> nbdkit-1.35.3-7.azl3.src.rpm , for details see: /mnt/vss/_work/1/s/build/logs/pkggen/rpmbuilding/nbdkit-1.35.3-7.azl3.src.rpm.test.log INFO[3230][scheduler] --> systemd-255-24.azl3.src.rpm , for details see: /mnt/vss/_work/1/s/build/logs/pkggen/rpmbuilding/systemd-255-24.azl3.src.rpm.test.log

sandeepkarambelkar avatar Oct 31 '25 07:10 sandeepkarambelkar

RPM install tests and local run tests -

sandeep@marinerDevVM [ ~ ]$ sudo nginx nginx: [warn] could not build optimal types_hash, you should increase either types_hash_max_size: 1024 or types_hash_bucket_size: 64; ignoring types_hash_bucket_size sandeep@marinerDevVM [ ~ ]$ sandeep@marinerDevVM [ ~ ]$ sandeep@marinerDevVM [ ~ ]$ sudo netstat -nlp | grep :80 tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1311/nginx: master sandeep@marinerDevVM [ ~ ]$ sandeep@marinerDevVM [ ~ ]$ vim /var/log/nginx/error.log sandeep@marinerDevVM [ ~ ]$ vim /var/log/nginx/error.log sandeep@marinerDevVM [ ~ ]$ vim /var/log/nginx/ access.log error.log log/ sandeep@marinerDevVM [ ~ ]$ vim /var/log/nginx/ access.log error.log log/ sandeep@marinerDevVM [ ~ ]$ sandeep@marinerDevVM [ ~ ]$ sandeep@marinerDevVM [ ~ ]$ sudo nginx -v nginx version: nginx/1.28.0

sandeepkarambelkar avatar Nov 10 '25 08:11 sandeepkarambelkar

Buddy Build - https://dev.azure.com/mariner-org/mariner/_build/results?buildId=1018739&view=results

sandeepkarambelkar avatar Jan 05 '26 03:01 sandeepkarambelkar