Skip to content

[BUG] wfb-ng-cluster-manager ssh uses bash #397

@aepkolol

Description

@aepkolol

Describe the bug
When running the wfb-cluster-manager service with the --ssh flag, it successfully connects to the openWRT router over ssh, however it tries to use bash here causing it to fail.

                if ssh_user and ssh_port:
                    dl.append(SSHClientProtocol(node,
                                                ssh_user,
                                                '/bin/bash',
                                                key=ssh_key,
                                                port=ssh_port,
                                                use_agent=ssh_key is None,
                                                stdin=setup_script).start()\
                              .addBoth(_ssh_exited, node))

when busybox's shell uses ash.

To Reproduce
sudo systemctl start wfb-cluster-manager@

Expected behavior
Connect to the shell successfully

Screenshots
If applicable, add screenshots to help explain your problem.

Your setup (please complete the following information):

  • OS [e.g. Ubuntu 18.04, Raspbian]
    OpenWRT 24.10
  • Hardware [e.g. x86, rpi, nanopi neo2 ]
    TP-Link EAP225
  • WiFi cards [e.g. rt28xx, rtl8812au]
    QCA9561
  • WiFi drivers [e.g. stock, patched from http://.. ]

Additional context
Removing a single letter and rebuilding the .deb solves this.
'/bin/ash',

Confirm you read

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions