-
Notifications
You must be signed in to change notification settings - Fork 237
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
Ubuntu uses group syslog for /var/log #50
Comments
+1 - as reported here https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1278193 |
I've worked around it for my own rules by adding this: Logrotate::Rule {
su => true,
su_owner => root,
su_group => syslog
} But the system rules part of the daily cron run are not happy:
Would be good if there was some way for this module to fix this. |
+1 How about a Ubuntu-specific logrotate.conf file which just includes the "su" directive? |
my workaround, it can be put anywhere, also outside the module:
|
sudo chmod 755 -R /var/log |
just check the permission of your parent directory and if you have different permission, run this command: |
the default logrotate.conf on ubuntu needs the line
The text was updated successfully, but these errors were encountered: