-
Notifications
You must be signed in to change notification settings - Fork 741
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
Preserve default ownership and dir mode for /var/log on Ubuntu #615
Conversation
Signed-off-by: stdtom <[email protected]>
Signed-off-by: stdtom <[email protected]>
I see the ansible check failing but not due to the change in this PR. |
I'll try to check this PR this week. |
I don't like the variable inside the variable in the defaults:
We already had this but decided against it and changed it in this PR: #353 Can you please define the variables separately for the OS in the |
Signed-off-by: stdtom <[email protected]>
I hope I understood it correctly and this commit meets your request. |
Yes, that looks correct, thank you! One thing I wonder: Does this problem only happen on Ubuntu or on Debian, too? Do you know this? If not, I'll have to test. |
There are some errors in the CI. Seems that RHEL/Centos/etc. do not have the syslog-group. I guess the default in most cased should be root. |
Signed-off-by: stdtom <[email protected]>
OMG. Of course thats what I did in my first commit. I guess I copy/pasted the Ubuntu values instead of the Debian values. Suppose it was too late last night... 🙈 🙊 |
I tested on Debian before I submitted the PR and could not reproduce the issue. AFAIR syslog on Debian runs as root. |
Thanks! |
* Preserve default ownership and dir mode for /var/log on Ubuntu Signed-off-by: stdtom <[email protected]> * linting Signed-off-by: stdtom <[email protected]> * Define vars for each OS instead of using defaults. Signed-off-by: stdtom <[email protected]> * Fix values for os_mnt_var_log_dir_mode and os_mnt_var_log_group Signed-off-by: stdtom <[email protected]> Signed-off-by: stdtom <[email protected]>
Closes #614.