Skip to content

[BRE-2009] fix(marketplace): run setup wizard on demand#523

Open
fntyler wants to merge 1 commit into
mainfrom
bre-2009/motd-setup
Open

[BRE-2009] fix(marketplace): run setup wizard on demand#523
fntyler wants to merge 1 commit into
mainfrom
bre-2009/motd-setup

Conversation

@fntyler

@fntyler fntyler commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

🎟️ Tracking

BRE-2009

📔 Objective

The edition-selection wizard auto-launched on every login via /etc/profile.d, blocking any login-shell session — including the Azure Marketplace certification harness — on its read prompt. This change stops auto-launching it upon login but instead advertises it through the MOTD. The user will instead run setup on demand. Beneficial for every session type (PTY or non-PTY, login or command exec) and fixes the latent hang for non-interactive SSH (scp/automation) against VMs/hosts/instances.

  • Delete the /etc/profile.d/bitwarden-first-login.sh auto-launch trigger and its references in the Azure/AWS/DO packer builds
  • MOTD now instructs the user to run sudo bitwarden-setup when no edition has been selected
  • Symlink setup-wizard.sh to /usr/local/bin/bitwarden-setup; drop the wizard's self-removal of the trigger
  • Update the 001_onboot comment to reference the on-demand wizard

📸 Screenshots

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

[BRE-2009](https://bitwarden.atlassian.net/browse/BRE-2009)

The edition-selection wizard auto-launched on every login via
/etc/profile.d, blocking any login-shell session — including the Azure
Marketplace certification harness — on its `read` prompt. Stop
auto-launching it; advertise it through the MOTD and let the user run it
on demand. Robust for every session type (PTY or non-PTY, login or
command exec) and fixes the latent hang for non-interactive SSH
(scp/automation) against customer VMs.

* Delete the /etc/profile.d/bitwarden-first-login.sh auto-launch trigger
  and its references in the Azure/AWS/DO packer builds
* MOTD now instructs the user to run `sudo bitwarden-setup` when no
  edition has been selected
* Symlink setup-wizard.sh to /usr/local/bin/bitwarden-setup; drop the
  wizard's self-removal of the trigger
* Update the 001_onboot comment to reference the on-demand wizard
@sonarqubecloud

Copy link
Copy Markdown

@fntyler fntyler changed the title [BRE-2009] fix(marketplace): run setup wizard on demand, not on login [BRE-2009] fix(marketplace): run setup wizard on demand Jun 11, 2026
@fntyler fntyler marked this pull request as ready for review June 11, 2026 21:15
@fntyler fntyler requested a review from a team as a code owner June 11, 2026 21:15
@fntyler fntyler requested a review from pixman20 June 11, 2026 21:15
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