Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

run-vault option --skip-vault-config breaks systemd conditionfilenot empty #172

Open
TechnicalMercenary opened this issue Dec 12, 2019 · 1 comment

Comments

@TechnicalMercenary
Copy link

TechnicalMercenary commented Dec 12, 2019

/opt/vault/bin/run-vault --skip-vault-config --tls-cert-file /opt/vault/tls/vault.crt.pem --tls-key-file /opt/vault/tls/vault.key.pem

[ec2-user@ip-10-241-170-168 ~]$ service vault status Redirecting to /bin/systemctl status vault.service ● vault.service - \"HashiCorp Vault - A tool for managing secrets\" Loaded: loaded (/etc/systemd/system/vault.service; enabled; vendor preset: disabled) Active: inactive (dead) Condition: start condition failed at Thu 2019-12-12 19:10:09 UTC; 2min 53s ago ConditionFileNotEmpty=/opt/vault/config/default.hcl was not met Docs: https://www.vaultproject.io/docs/

@brikis98
Copy link
Collaborator

Ah, good catch. PR to fix this is welcome. You'd probably need to update this part of the code to not be included if --skip-vault-config is set.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants