Public bug reported:
In focal, /etc/logrotate.conf contains:
su root adm
logrotate does not rotate files in /var/log:
error: skipping "/var/log/syslog" 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.
Parent directory permissions:
drwxrwxr-x 9 root syslog 4096 Apr 29 17:17 log
** Affects: logrotate (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to logrotate in Ubuntu.
https://bugs.launchpad.net/bugs/1875950
Title:
rsyslog log files failing to rotate
Status in logrotate package in Ubuntu:
New
Bug description:
In focal, /etc/logrotate.conf contains:
su root adm
logrotate does not rotate files in /var/log:
error: skipping "/var/log/syslog" 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.
Parent directory permissions:
drwxrwxr-x 9 root syslog 4096 Apr 29 17:17 log
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1875950/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp