Skip to content

Fix JAVA_OPTS formatting in .env to support RHEL compatibility #2576

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
merged 1 commit into from
Jun 17, 2025

Conversation

aprilrieger
Copy link
Collaborator

Quote JAVA_OPTS in .env to avoid RHEL parsing errors

  • Wrapped JAVA_OPTS value in double quotes to ensure proper parsing on RHEL-based systems
  • Prevents failures due to improper handling of space-separated JVM options
  • Applies to local and container environments using the .env file

Without quotes, some shells or platforms misinterpret -Xmx4g -Xms1g as two separate values, causing runtime issues.

Quote JAVA_OPTS in .env to avoid RHEL parsing errors

- Wrapped JAVA_OPTS value in double quotes to ensure proper parsing on RHEL-based systems
- Prevents failures due to improper handling of space-separated JVM options
- Applies to local and container environments using the .env file

Without quotes, some shells or platforms misinterpret `-Xmx4g -Xms1g` as two separate values, causing runtime issues.
Copy link

Test Results

    3 files  ±0      3 suites  ±0   15m 59s ⏱️ +12s
2 096 tests ±0  2 040 ✅ ±0  56 💤 ±0  0 ❌ ±0 
2 123 runs  ±0  2 065 ✅ ±0  58 💤 ±0  0 ❌ ±0 

Results for commit bf8e112. ± Comparison against base commit df5ff40.

This pull request removes 42 and adds 42 tests. Note that renamed tests count towards both.
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to destroy c6a4978f-ad09-4605-8e99-ee6c73b771f2
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to edit 6ce6a387-3728-46c9-94d8-04ad2fd494c4
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to read 667c7d92-12ad-4385-a1c0-cf52cfe5c050
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to update 318a260f-268c-4b08-a52e-0d1326a5f167
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to destroy c0636eae-8a28-4c52-9156-5688d2de4c09
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to edit 8539c8e1-70c6-498f-829e-6c6da9d82d00
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to read 536bc94f-771a-4a45-be8e-955791cdf1e7
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to update 4f13a502-a821-4c85-b34a-2d6dbfa9143b
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to destroy bc23f5b2-7a4f-4c37-b0e3-6f63325d95a1
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to edit 6d70221e-d117-4962-a498-9e03ad38205d
…
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to destroy dacfd06d-a328-4568-bd9d-17da57a44da5
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to edit b609e4c4-5720-403f-916a-c3ae641a4dcc
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to read dc1dfb8b-0dbb-463b-8600-b3bfb6fbc10b
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor Etd permissions is expected not to be able to update 016491ba-7967-45e6-9e74-6d6c4b5f16d4
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to destroy f3fa1626-ad69-4f2d-b9c2-2045f4b28118
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to edit f79563ac-b87e-4b54-bdd3-71be7976bd45
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to read 9b70b0c6-04cc-4d0d-a429-3299d1257856
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor FileSet permissions is expected not to be able to update a2bfad0f-5de6-4245-85aa-f81727febc10
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to destroy 8125dd25-9684-4baa-8ab8-67ab2e290797
spec.abilities.work_ability_spec ‑ Hyrax::Ability::WorkAbility when work depositor GenericWork permissions is expected not to be able to edit 701412ac-f32a-434a-aa70-de37d1316d5d
…

@aprilrieger aprilrieger added the ignore-for-release ignore this for release notes label Jun 17, 2025
@aprilrieger aprilrieger merged commit 07ec592 into main Jun 17, 2025
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ignore-for-release ignore this for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants