Skip to content

[FEATURE REQUEST] Document and test issues with grains on salt-master run as non-root user #61768

Closed as not planned

Description

@barneysowood

Opened as a task for the Security WG

Is your feature request related to a problem? Please describe.

As part of the work to implement SEP19 we need to be able to run the salt-master process as a non-root user. When the salt-master starts up it attempts to collect some grains (for the MasterMinion?) that require root privileges and throw errors if called as a non-root user.

Describe the solution you'd like

Test and document what grains modules fail when run as a non-root user.

Investigate options for disabling those when the salt-master is not running as root.

Additional context

SEP19

Activity

  1. added
    Feature
    on Mar 9, 2022
  2. added
    documentation
    and removed
    Feature
    on Mar 14, 2022
  3. added this to the Approved milestone on Mar 14, 2022
  4. added
    severity-medium
    on May 2, 2022
  5. dwoz commented on Oct 15, 2026

    @dwoz
    Contributor

    Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.

    Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.

    If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.

  6. dwoz commented on Oct 17, 2026

    @dwoz
    Contributor

    Reopening — there is an open PR tracking a fix for this: #69554.

  7. reopened this on Oct 17, 2026
  8. dwoz commented on Oct 28, 2026

    @dwoz
    Contributor

    Closing — consolidated into #70585. The checkbox for this item is in the appropriate theme section of that tracker. Please pick up the sub-item there.

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

    GrainsTestsdocumentationseverity-mediumtime-estimate-sprint

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions