Skip to content
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

How to deal with Ubuntu option 'su root rsyslog' #7

Open
dvandok opened this issue Aug 9, 2019 · 0 comments
Open

How to deal with Ubuntu option 'su root rsyslog' #7

dvandok opened this issue Aug 9, 2019 · 0 comments

Comments

@dvandok
Copy link

dvandok commented Aug 9, 2019

Ubuntu systems run logrotate slightly differently; the log directories are group writable and have group ownership 'syslog', with the global directive

su root syslog

in logrotate.conf. This is overwritten by the formula and without the directive, logrotate refuses to rotate at all.
The default configuration file also rotates /var/log/btmp and /var/log/wtmp as no package owns these log files, but the salt formula overwrites these defaults.

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

No branches or pull requests

1 participant