Skip to content

[bug] VPN_NAME cannot contain whitespace due to supervisord limitations #572

@pandafy

Description

@pandafy

Describe the bug
If the VPN_NAME environment variable contains any whitespace characters, supervisord fails to start the associated process. This is because VPN_NAME is used internally by supervisord in a manner that does not handle whitespace correctly.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Set VPN_NAME to a value containing a space (e.g. export VPN_NAME="my vpn").
  2. Build and run the docker-openwisp container.
  3. Supervisord will fail to start as expected.

Expected behavior
VPN_NAME should either reject values with whitespace or documentation should clearly call out this limitation. Supervisord should not fail silently if VPN_NAME contains whitespace.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    To do (ansible/docker)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions