Skip to content

trafficserver: 9.2.5 -> 9.2.6 - #355733

Merged
getchoo merged 3 commits into
NixOS:masterfrom
Scrumplex:pkgs/trafficserver/9.2.6
Dec 8, 2024
Merged

getchoo merged 3 commits into
NixOS:masterfrom
Scrumplex:pkgs/trafficserver/9.2.6

Conversation

@Scrumplex

@Scrumplex Scrumplex commented Nov 13, 2024 •

Copy link
Copy Markdown
Member

Fixes:

See https://www.openwall.com/lists/oss-security/2024/11/13/1

apache/trafficserver@9.2.5-rc0...9.2.6
apache/trafficserver@9.2.6...9.2.7

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@Scrumplex Scrumplex added 1.severity: security Issues which raise a security issue, or PRs that fix one backport release-24.05 labels Nov 13, 2024
@mweinelt
mweinelt requested a review from midchildan November 13, 2024 20:51
@midchildan

midchildan commented Nov 13, 2024 •

Copy link
Copy Markdown
Member

I was working on this on too and the configure script for this release was broken on Darwin, leading to linker errors. Using autoreconfHook fixed it.

Browsing past upstream issues, it appears that this has happened several times in the past. So maybe it's a good idea to always use autoreconfHook.

apache/trafficserver#8556 (comment)

This might eliminate the need to patch the configure script, but I haven't gotten around to confirming that yet.

@Scrumplex

Copy link
Copy Markdown
Member Author

I am (still) running nixpkgs-review on this. I will go to bed soon, so you can take this PR over if you want to get this merged quickly

@Scrumplex

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 355733


x86_64-linux

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

aarch64-linux

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

x86_64-darwin

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

aarch64-darwin

❌ 2 packages failed to build:
  • trafficserver
  • trafficserver.man

@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Nov 14, 2024
@Scrumplex

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 355733


x86_64-linux

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

aarch64-linux

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

x86_64-darwin

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

aarch64-darwin

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

@Scrumplex

Copy link
Copy Markdown
Member Author

I have also removed an unneeded instance of substituteInPlace as well as replacing --replace with --replace-fail to catch these in the future

@ofborg
ofborg Bot requested a review from midchildan November 15, 2024 03:16
@midchildan

midchildan commented Nov 15, 2024 •

Copy link
Copy Markdown
Member

Looking at the NixOS tests, it's crashing right after launch. There may be issues with the 9.2.6 release.

https://logs.ofborg.org/?key=nixos/nixpkgs.355733&attempt_id=4cfb93a5-4b23-4568-a0bd-39f7ff2672b6

Signed-off-by: Sefa Eyeoglu <[email protected]>
This fixes the build on macOS 11

Upstream recommends always running autoreconf:
apache/trafficserver#8556 (comment)

Signed-off-by: Sefa Eyeoglu <[email protected]>
@Scrumplex
Scrumplex force-pushed the pkgs/trafficserver/9.2.6 branch from 1047eea to c3f05c4 Compare December 2, 2024 20:16
@github-actions github-actions Bot removed 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Dec 2, 2024
@Scrumplex

Copy link
Copy Markdown
Member Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 355733


x86_64-linux

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

x86_64-darwin

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

aarch64-darwin

✅ 2 packages built:
  • trafficserver
  • trafficserver.man

@Scrumplex

Copy link
Copy Markdown
Member Author

@ofborg test trafficserver

@ofborg ofborg Bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels Dec 3, 2024
@getchoo getchoo added the 12.approvals: 1 This PR was reviewed and approved by one person. label Dec 8, 2024
@getchoo

getchoo commented Dec 8, 2024

Copy link
Copy Markdown
Member

I'm inclined to merge this soon, as 3 weeks is quite a while for us to have these vulns. Feel free to give another review ofc

@midchildan midchildan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay. 9.2.7 appears to have fixed the crash issue.

@getchoo getchoo added 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Dec 8, 2024
@getchoo
getchoo merged commit a65078f into NixOS:master Dec 8, 2024
@nixpkgs-ci

nixpkgs-ci Bot commented Dec 8, 2024

Copy link
Copy Markdown
Contributor

Backport failed for release-24.05, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release-24.05
git worktree add -d .worktree/backport-355733-to-release-24.05 origin/release-24.05
cd .worktree/backport-355733-to-release-24.05
git switch --create backport-355733-to-release-24.05
git cherry-pick -x a65078f73bca61e78878302c61364061fb16b15f

nixpkgs-ci Bot pushed a commit that referenced this pull request Dec 8, 2024
* trafficserver: 9.2.5 -> 9.2.7

Signed-off-by: Sefa Eyeoglu <[email protected]>

* trafficserver: auto reconfigure broken configure script

This fixes the build on macOS 11

Upstream recommends always running autoreconf:
apache/trafficserver#8556 (comment)

Signed-off-by: Sefa Eyeoglu <[email protected]>

* trafficserver: remove unneeded substitutes

Signed-off-by: Sefa Eyeoglu <[email protected]>

---------

Signed-off-by: Sefa Eyeoglu <[email protected]>
(cherry picked from commit a65078f)
@nixpkgs-ci

nixpkgs-ci Bot commented Dec 8, 2024

Copy link
Copy Markdown
Contributor

Successfully created backport PR for release-24.11:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants