Page MenuHomeVyOS Platform

salt-minion: Throws KeyError on commit
Closed, ResolvedPublicBUG


set service salt-minion master
set service salt-minion id foo
[ service salt-minion ]
Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 131, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 84, in generate
    uid = getpwnam(salt['user']).pw_uid
KeyError: "getpwnam(): name not found: 'minion'"

[[service salt-minion]] failed
Commit failed


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.Apr 26 2020, 8:27 AM
c-po claimed this task.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 6:33 AM
erkin removed a subscriber: Active contributors.