Skip to content

bcmsh is blocking bcmcmd, and no timeout either #1762

@zhenggen-xu

Description

@zhenggen-xu

Description

/var/run/sswsyncd/sswsyncd.socket seems to only allow one client, this is problematic especially when we have bcmsh enabled. If some one is using bcmsh, and bcmcmd will hang there. Ever worse, bcmsh does not time-out, so bcmcmd could be blocked there forever until you kill the bcmsh.

Steps to reproduce the issue:

  1. run bcmsh
    a# bcmsh
    Press Enter to show prompt.
    Press Ctrl+C to exit.
    drivshell>

  2. bcmcmd ps
    <== stuck here

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions