-
Notifications
You must be signed in to change notification settings - Fork 687
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
Rotating ossec key fails due to directory permissions on /var/ossec on mon server #3928
Comments
I have tried re-produce this issue, but I am not able to re-produce. I have replicated the steps mentioned by @zenmonkeykstop here. Below are description of tasks I performed as part of re-producing this issue:
Full log of Note: I have tried to obfuscate sensitive details from the log file. Please guide me if I am still exposing critical information. |
I took a look at reproducing this today - @zenmonkeykstop can you confirm that this was the error:
I reproduced this via:
|
In defect #3928, problems with the permissions on the OSSEC gpg keyring resulted in an error when attempting to import the OSSEC public key. This commit adds Ansible tasks to set the proper permissions on the gpg homedir and its contents prior to attempting to import the key
In defect #3928, problems with the permissions on the OSSEC gpg keyring resulted in an error when attempting to import the OSSEC public key. This commit adds Ansible tasks to set the proper permissions on the gpg homedir and its contents prior to attempting to import the key
@redshiftzero @zenmonkeykstop I could not reproduce it on prod vagrant vms, I changed the keys a few times. No errors at all. |
In defect #3928, problems with the permissions on the OSSEC gpg keyring resulted in an error when attempting to import the OSSEC public key. This commit adds Ansible tasks to set the proper permissions on the gpg homedir and its contents prior to attempting to import the key
Description
If the ossec alert public key is changed on the admin workstation after an initial install, and
./securedrop-admin install
is run again, the install/update will fail with an Ansible error related to directory permissions on/var/ossec/.gnupg
Steps to Reproduce
with SD release 0.10.0:
~/Persistent/securedrop/install-files/ansible_base/ossec.pub
to a new pubkey./securedrop-admin install
againExpected Behavior
Installation completes without error
Actual Behavior
Installation fails, as ossec user on the mon server doesn't have permission to write to
/var/ossec/.gnupg
The text was updated successfully, but these errors were encountered: