salt icon indicating copy to clipboard operation
salt copied to clipboard

Better integration with running salt-master as an unprivileged user

Open SEJeff opened this issue 12 years ago • 5 comments

We run the salt-master as user salt. When someone runs salt-key -d $minion_name, it complains about not being able to write to: /var/cache/salt/master/.dnf.

SEJeff avatar Jul 02 '14 15:07 SEJeff

Interesting. Have you followed the instructions here and set the permissions of the listed directories so that salt has access? This issue only happens when you try to delete a minion key?

basepi avatar Jul 03 '14 01:07 basepi

Also, a salt --versions-report would be useful.

basepi avatar Jul 03 '14 01:07 basepi

Looks like this might be resolved with 2014.1.4. I can't seem to reproduce it.

junster1 avatar Jul 03 '14 21:07 junster1

# salt-call --versions-report
           Salt: 2014.1.4
         Python: 2.7.5 (default, Feb 11 2014, 07:46:25)
         Jinja2: 2.7.2
       M2Crypto: 0.21.1
 msgpack-python: 0.1.13
   msgpack-pure: Not Installed
       pycrypto: 2.6.1
         PyYAML: 3.10
          PyZMQ: 13.0.2
            ZMQ: 3.2.4

SEJeff avatar Jul 07 '14 16:07 SEJeff

I'm going to go ahead and close this for now. The user we have who asked me to report it said that it is no longer happening in 2014.1.4.

SEJeff avatar Jul 07 '14 16:07 SEJeff