is there any bug anyone noticed on this version or did you come across anything as earlier on this version ?
There is no single file rotated from the logs in /var/log directory from the syslog files..
can you please help me, i am clueless over here ..
Code: Select all
[root@centos logrotate.d]# cat /etc/redhat-release
Linux release 7.4.1708 (Core)
[root@centos logrotate.d]#
[root@centos logrotate.d]# cat /etc/logrotate.d/syslog
/var/log/cron
/var/log/maillog
/var/log/messages
/var/log/secure
/var/log/spooler
{
daily
rotate 3
missingok
notifempty
compress
copytruncate
sharedscripts
postrotate
/bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
/bin/kill -HUP `cat /var/run/rsyslogd.pid 2> /dev/null` 2> /dev/null || true
endscript
}
[root@centos logrotate.d]#
[root@centos logrotate.d]# rpm -qa | grep -i rsyslog
rsyslog-8.32.0-3.el7..x86_64
[root@centos logrotate.d]#
[root@centos ~]# grep -i logrotate /var/log/messages
[root@centos ~]# grep -i logrotate /var/log/audit/audit.log
[root@centos ~]#
[root@centos ~]# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Max kernel policy version: 31
[root@centos ~]#
[root@centos ~]# ls -l /var/log/*.gz
ls: cannot access /var/log/*.gz: No such file or directory
[root@centos ~]#