Skip to content

DLPX-94873 [Backport of DLPX-94862] CRA not working on engines upgraded to 2025.4.0.0 #361

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

sebroy
Copy link
Contributor

@sebroy sebroy commented Jul 24, 2025

The pam-challenge-response package, in its entire history, has always had version
1.0.1, as the package's version was set in a debian changelog file that has
never been updated. As such, it has never been upgraded through any engine
upgrade process, as the apt upgrade process will not upgrade a package whose
new version is identical to its current version (regardless of package
contents). This is the reason why the changes made to this package for the
24.04 Ubuntu update are not applied on upgrade, and why CRA doesn't work once a
system is upgraded to 2025.4.0.0 (because it will still have the previous
pam-challenge-response package that doesn't work on Ubuntu 24.04).

The solution is to ensure that the package version gets updated with each build
by leveraging the linux-pkg functionality that is designed to do just that.

Testing

ab-pre-push: https://selfservice-jenkins.eng-tools-prd.aws.delphixcloud.com/job/appliance-build-orchestrator-pre-push/11748/

Installed an external 2025.3.0.1 engine (which has CRA enabled), and upgraded to the upgrade image generated by the above ab-pre-push job. The upgrade was successful and CRA was functional post upgrade:

~ ❯ ssh delphix@seb-upgrade.dcol2.delphix.com                                                                                                                  х 255 8m 25s
(delphix@seb-upgrade.dcol2.delphix.com) Engine|Challenge: 09914d56-e9b0-6510-abaa-bf687490be64|71011662
Response:
delphix@localhost:~$ get-appliance-version
2025.4.0.1delphix@localhost:~$ uptime
 00:54:24 up 4 min,  1 user,  load average: 0.12, 0.49, 0.27
delphix@localhost:~$ apt list pam-challenge-response
Listing... Done
pam-challenge-response/now 2025.07.23.22-1delphix.2025.07.23.22.23 amd64 [installed,local]

@sebroy sebroy force-pushed the dlpx/pr/sebroy/15930fcf-4c23-4806-879d-7a75fe8cfbbd branch from bf30446 to 00104ff Compare July 24, 2025 00:58
@sebroy sebroy marked this pull request as ready for review July 24, 2025 01:02
Copy link

@mszak-perforce mszak-perforce left a comment

Choose a reason for hiding this comment

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

looks good.

@david-mendez1 david-mendez1 merged commit 835e11b into patch Jul 24, 2025
13 checks passed
@david-mendez1 david-mendez1 deleted the dlpx/pr/sebroy/15930fcf-4c23-4806-879d-7a75fe8cfbbd branch July 24, 2025 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants