Skip to content

[Bug] Directories requireing write access need to be configurable. #69402

@dwoz

Description

@dwoz

Directories requiring write access by the minion process need to be configurable. Specifically the salt user's home directory and the extras-3.10 (extras-3.14) directory.

We might need to expand on this for the implementation:

  • RPM: /etc/sysconfig/salt-minion-setup — sourced by pkg/rpm/salt.spec (lines 477, 629, 810). Pre-create this file with SALT_USER=... etc. and rpm will pick it up at install time.
  • DEB: there's no equivalent file. pkg/debian/salt-master.preinst:17 (and the other preinst scripts) only honor environment variables — SALT_USER, SALT_GROUP, SALT_HOME, SALT_NAME. So you have to export SALT_USER=foo before apt install, or pre-set them in the shell

Version: 3006.24

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbroken, incorrect, or confusing behavior

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions