Skip to content

Fix RStudio, Oozie, and Hue on Debian 11 and update RStudio CRAN GPG key - #1404

Open
IshaAg wants to merge 3 commits into
GoogleCloudDataproc:mainfrom
IshaAg:fix-debian11-bullseye-security
Open

IshaAg wants to merge 3 commits into
GoogleCloudDataproc:mainfrom
IshaAg:fix-debian11-bullseye-security

Conversation

@IshaAg

@IshaAg IshaAg commented Oct 3, 2026 •

Copy link
Copy Markdown

Summary

  • Debian 11 (bullseye) security/backports archive handling (hue/hue.sh, oozie/oozie.sh, rstudio/rstudio.sh): Redirect bullseye-security (and bullseye-backports in hue.sh) across /etc/apt/sources.list* to archive.debian.org when available, falling back to snapshot.debian.org/archive/debian-security/20260830T000000Z, and set Acquire::Check-Valid-Until "false" so older pinned Dataproc 2.1 Debian 11 images continue working.
  • Oozie GPG key install (oozie/oozie.sh): Run apt-get update --allow-releaseinfo-change || true before installing gnupg2.
  • RStudio CRAN Debian GPG key rotation (rstudio/rstudio.sh): Update REPOSITORY_KEY from 95C0FAF38DB3CCAD0C080A7BDC78B2DDEABC47B7 to Johannes Ranke's new key BA4EE5DE858FFFA7CFD8563908FC7B745769E9E4 (signing subkey 477F307CC975B1C48F58030F0E75B7BDD6FED4D6 / 0E75B7BDD6FED4D6), fixing RStudioTest across Debian 11, 12, and 13.

Testing

Verified RStudioTest passes end-to-end across all Debian image tracks:

  • 2.1-debian11: PASSED
  • 2.2-debian12: PASSED
  • 2.3-debian12: PASSED
  • 3.0-debian13: PASSED
  • 4.0-debian13: PASSED

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates the initialization scripts for Hue, Oozie, and RStudio to support Debian 11 (bullseye) by adding logic to repair and update bullseye-backports and bullseye-security repositories. The feedback suggests improving robustness by searching for repository configurations across all files in /etc/apt/sources.list* in hue/hue.sh (matching the other scripts) and adding connection and execution timeouts to the curl commands across all three scripts to prevent them from hanging indefinitely.

Comment thread hue/hue.sh Resolved
Comment thread oozie/oozie.sh Resolved
Comment thread rstudio/rstudio.sh Resolved
@IshaAg
IshaAg marked this pull request as ready for review October 3, 2026 16:33
@IshaAg

IshaAg commented Oct 3, 2026

Copy link
Copy Markdown
Author

/gemini review

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request adds support for Debian 11 (Bullseye) backports and security repositories across hue/hue.sh, oozie/oozie.sh, and rstudio/rstudio.sh by replacing standard mirrors with archive or snapshot mirrors and disabling the valid-until check. Additionally, oozie/oozie.sh is updated to run apt-get update before installing gnupg2. Feedback suggests improving the robustness of the regular expression in hue/hue.sh to handle arbitrary whitespace when replacing the bullseye-backports repository.

Comment thread hue/hue.sh Resolved
@IshaAg IshaAg changed the title Fix RStudio, Oozie, and Hue initialization actions on Debian 11 Fix RStudio, Oozie, and Hue on Debian 11 and update RStudio CRAN GPG key Dec 4, 2026
@IshaAg
IshaAg requested a review from vinayakumarb December 4, 2026 11:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant