Skip to content

client_acl users no longer able to run commands after upgrading to v0.17 #7706

Closed

Description

@corywright

I use client_acl on the salt-master to give my normal user account access to run all salt commands:

client_acl:
  cwright:
    - .*

However, after upgrading from 0.16.4 to 0.17.0 (via Ubuntu packages) I am now unable to run commands as the cwright user, and I receive this error:

$ salt '*' test.ping
Failed to open log file, do you have permission to write to /var/log/salt/master

Users listed in client_acl should be able to run salt commands without requiring filesystem level permission to write to /var/log/salt/master.

Activity

  1. basepi commented on Oct 9, 2013

    @basepi
    Contributor

    Thanks for the report. We will look into this asap and get it fixed.

  2. basepi commented on Oct 9, 2013

    @basepi
    Contributor
  3. dangarthwaite commented on Oct 11, 2013

    @dangarthwaite
    Contributor

    This issue hosed my overnight deployments.

  4. perdurabo93 commented on Oct 11, 2013

    @perdurabo93
    Contributor

    Yeah, serious issue for my Jenkins deployments. I'm using an insecure workaround for now but this needs resolved ASAP.

  5. s0undt3ch commented on Oct 11, 2013

    @s0undt3ch
    Contributor

    Users listed in client_acl should be able to run salt commands without requiring filesystem level permission to write to /var/log/salt/master.

    And what do you suggest happens to logging?

    • No logging at all besides console
    • Continue even if unable to write to log file
    • No logging at all besides console
  6. corywright commented on Oct 11, 2013

    @corywright
    ContributorAuthor

    @s0undt3ch How did it work before 0.17?

  7. basepi commented on Oct 11, 2013

    @basepi
    Contributor

    Yes, we're on this. One of our top priorities right now.

  8. thatch45 commented on Oct 15, 2013

    @thatch45
    Contributor

    @s0undt3ch, logging is your domain, please lake a look and see if you can make this any better

  9. added 3 commits that reference this issue on Oct 16, 2013
    3788060
    8974ad4
    328486e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Regressionbugseverity-medium

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions