Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add user #1

Open
redflag237 opened this issue Mar 28, 2019 · 2 comments
Open

Cannot add user #1

redflag237 opened this issue Mar 28, 2019 · 2 comments

Comments

@redflag237
Copy link

redflag237 commented Mar 28, 2019

I cannot get your dockerfile running with an user added as environment variable. Without user it is running, but cannot login to molten UI (no user). Any idea?

version: '2'
services:
saltstack-master:
image: mgolly/docker-saltstack-master
network_mode: bridge
restart: always
environment:
LOG_LEVEL: 'error'
ACCOUNTS: 'root'

Log:

Salt Version:
Salt: 2017.7.5

Dependency Versions:
cffi: 1.10.0

   cherrypy: unknown
   dateutil: 2.6.1

  docker-py: Not Installed

      gitdb: 2.0.3

  gitpython: Not Installed

      ioflo: Not Installed

     Jinja2: 2.9.6

    libgit2: 0.25.1

    libnacl: Not Installed

   M2Crypto: Not Installed

       Mako: Not Installed

msgpack-pure: Not Installed

msgpack-python: 0.4.8

mysql-python: Not Installed

  pycparser: 2.18

   pycrypto: 2.6.1

pycryptodome: Not Installed

     pygit2: 0.25.0

     Python: 2.7.14 (default, Dec 14 2017, 15:51:29)

python-gnupg: Not Installed

     PyYAML: 3.12

      PyZMQ: 16.0.2

       RAET: Not Installed

      smmap: 2.0.3

    timelib: Not Installed

    Tornado: 4.5.2

        ZMQ: 4.2.2

System Versions:
dist:

     locale: UTF-8

    machine: x86_64

    release: 4.4.0-143-generic

     system: Linux

    version: Not Installed

=> No master keys supplied, master will create keys on first run.
=> No master key set, no minions will be pre-accepted.
/usr/local/bin/run.sh: line 139: syntax error: bad substitution

@mgolly
Copy link
Owner

mgolly commented Mar 28, 2019

No idea at the moment. Obviously there's something wrong with the user parsing code in run.sh between lines 105 and 139, but the "bad substitution" error lands on the "fi" at the end (so is no help). I'll lint it and see if I can find the error.

@mgolly
Copy link
Owner

mgolly commented Mar 28, 2019

Hurmph, I was using some bashisms in a script file that was supposed to run in dash/sh. I've corrected the bashisms and rebuilt. Please try now and report back. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants