-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PKI files should live in /var/lib #3396
Comments
On the minion, the |
I am sorry @madduck, I don't think we should change the default here. In freebsd for instance this is a violation, and in Red Hat they often put certs in /etc/pki |
Sure, every distro does their own thing, which is why I was |
But distro and especially unixes do not follow this standard, this is a dead end debate and I would prefer to not get drawn into it, if our package maintainers all agree that we should create a new sub-directory and recreate all keys so that they can foll the FHS that is their thing. |
For future reference: http://bugs.debian.org/698898 |
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a VARIABLE_STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a VARIABLE_STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#46277
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#46277 Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#46277 Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#46277 Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#46277 Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#46277 Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
The files in /etc/salt/pki are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to /var/lib/salt/pki (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a STATE_DIR syspaths variable which defaults to CONFIG_DIR, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#46277 Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
The files in `/etc/salt/pki` are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to `/var/lib/salt/pki` (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a `STATE_DIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#61453 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
The files in `/etc/salt/pki` are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to `/var/lib/salt/pki` (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a `STATE_DIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#61453 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
The files in `/etc/salt/pki` are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to `/var/lib/salt/pki` (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a `STATE_DIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Forwarded: saltstack#61453 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
The files in `/etc/salt/pki` are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to `/var/lib/salt/pki` (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a `LIB_STATE_DIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized. fixes saltstack#3396 Bug-Debian: https://bugs.debian.org/698898 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
The files in `/etc/salt/pki` are not configuration files in the sense of the FHS ("local file used to control the operation of a program"). Debian wants to change the default location to `/var/lib/salt/pki` (to properly follow FHS and to allow setting StateDirectory in the salt master systemd configuration). Therefore introduce a `LIB_STATE_DIR` syspaths variable which defaults to `CONFIG_DIR`, but can be individually customized. fixes #3396 Bug-Debian: https://bugs.debian.org/698898 Signed-off-by: Benjamin Drung <benjamin.drung@ionos.com>
The files in
/etc/salt/pki
are not configuration files in the sense of the FHS ("local file used to control the operation of a program") and hence do not belong in/etc
.The FHS-proper location for these auto-generated but static files is
/var/lib
. I suggest that the defaults be changed to `/var/lib/salt/{master,minion}/pki.To assist users with the migration,
/etc/salt/pki
could be used as a fallback, in combination with an appropriate warning and reference to a README file or so.The text was updated successfully, but these errors were encountered: