Skip to content

console install checks that the Console actually started #1327

Closed

Description

@JacobStephens2

This was generated by AI during triage.

Part of #1078 (defect 3).

Agent Brief

Category: bug
Summary: thirdshift console install checks that the Console actually started

Current behavior:
The install script writes the systemd unit, starts it and restarts the proxy, then reports success without checking whether thirdshift-console.service is active. On an SELinux-enforcing host, the service fails, and the user finds out only when the site returns 502.

Desired behavior:
After starting the unit, install waits a bounded time for the service to be active and listening on its configured 127.0.0.1:<port>. If it isn't, install prints the last journal lines for the unit and exits nonzero. When getenforce exists and reports Enforcing, install also prints a warning that SELinux can block the Console and links to #1078.

Key interfaces:

  • The Console install script generated by thirdshift and the code that runs it

Acceptance criteria:

  • A test (with the existing fakes) shows install failing nonzero, with journal output, when the service never becomes active
  • A test shows install succeeding when the service is active and the port answers
  • The SELinux warning appears only when getenforce reports Enforcing
  • docs/guide.md describes the new failure output if it covers install

Out of scope:

Activity

  1. added
    bug
    ready-for-agent
    in-progress
    and removed
    ready-for-agent
    on Oct 25, 2026
  2. removed
    in-progress
    on Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions