Skip to content

[ubuntu-noble] Move bosh-enable-monit-access helper to /usr/local/sbin#483

Closed
abg wants to merge 1 commit intocloudfoundry:ubuntu-noblefrom
abg:compat-bosh-enable-monit-access-for-noble
Closed

[ubuntu-noble] Move bosh-enable-monit-access helper to /usr/local/sbin#483
abg wants to merge 1 commit intocloudfoundry:ubuntu-noblefrom
abg:compat-bosh-enable-monit-access-for-noble

Conversation

@abg
Copy link
Member

@abg abg commented Mar 2, 2026

Enables access for legacy bosh-releases that setup monit access via the monit-access-helper.sh script and may not have executable access to binaries under /var/vcap/bosh/

Also, adds the "monit-access-helper.sh" pattern from the ubuntu-jammy branch.

Enables access for legacy bosh-releases that setup monit access via the
monit-access-helper.sh script and may not have executable access to
binaries under /var/vcap/bosh/

Also, adds the "monit-access-helper.sh" pattern from the ubuntu-jammy
branch.
Copy link
Member

@aramprice aramprice left a comment

Choose a reason for hiding this comment

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

This seems like a reasonable change.

One thought it that if we end up with more bosh-y things maybe it would be worth the hassle (PATH complexities mostly) putting these things into a subdirectory like:
/usr/local/sbin/bosh/

... I'm very much on the fence about whether this would be more hassle than its worth.

@github-project-automation github-project-automation bot moved this from Inbox to Pending Merge | Prioritized in Foundational Infrastructure Working Group Mar 2, 2026
@abg
Copy link
Member Author

abg commented Mar 2, 2026

Yeah, agreed. I am not a big fan of dropping things in /usr/local/sbin, but it was following the change to preserve compatibility with older releases on the ubuntu-jammy stemcells.

Based on discussion in cloudfoundry bosh slack it seems like we want to move towards releases directly calling the bosh-enable-monit-access command rather than relying on the monit-access-helper.sh.

That command will remain in /var/vcap/bosh/etc so this PR is no longer useful.

@abg abg closed this Mar 2, 2026
@github-project-automation github-project-automation bot moved this from Pending Merge | Prioritized to Done in Foundational Infrastructure Working Group Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants