vdsm-logrotate kept reporting errors like "error: skipping
"/var/log/core/core.3150.1321682189.dump" because parent directory has
insecure permissions (It's world writable or writable by group which is
not "root") Set "su" directive in config file to tell logrotate which
user/group should be used for rotation."
This was caused by setting /var/log/core world-writable in vdsm.spec.in.
After I simply added "su root root" to the /var/log/core/*.dump rotation
configuration, it seems to be solved now.
So is this the way to fix the problem? Or any better else?
vdsm-devel mailing list