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:
- Set
VPN_NAME to a value containing a space (e.g. export VPN_NAME="my vpn").
- Build and run the docker-openwisp container.
- 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.
Describe the bug
If the
VPN_NAMEenvironment variable contains any whitespace characters, supervisord fails to start the associated process. This is becauseVPN_NAMEis used internally by supervisord in a manner that does not handle whitespace correctly.Steps To Reproduce
Steps to reproduce the behavior:
VPN_NAMEto a value containing a space (e.g.export VPN_NAME="my vpn").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.