Tried with Ubuntu 16.04.02 (desktop), and both invoke-rc.d and logrotate seems to work fine
root@ubuntu:~# ll -r /var/log/ | grep syslog -rw-r----- 1 syslog adm 41472 mag 14 18:17 syslog.2.gz -rw-r----- 1 syslog adm 385 mag 14 18:25 syslog.1 -rw-r----- 1 syslog adm 0 mag 14 18:25 syslog -rw-r----- 1 syslog adm 112912 mag 14 17:28 kern.log.1 -rw-r----- 1 syslog adm 0 mag 14 18:18 kern.log -rw-r----- 1 syslog adm 11033 mag 14 18:17 auth.log.1 -rw-r----- 1 syslog adm 0 mag 14 18:18 auth.log drwxrwxr-x 12 root syslog 4096 mag 14 18:25 ./
root@ubuntu:~# date dom 14 mag 2017, 18.24.34, CEST root@ubuntu:~# ll -r /var/log/ | grep syslog -rw-r----- 1 syslog adm 191099 mag 14 18:17 syslog.1 -rw-r----- 1 syslog adm 294 mag 14 18:18 syslog -rw-r----- 1 syslog adm 112912 mag 14 17:28 kern.log.1 -rw-r----- 1 syslog adm 0 mag 14 18:18 kern.log -rw-r----- 1 syslog adm 11033 mag 14 18:17 auth.log.1 -rw-r----- 1 syslog adm 0 mag 14 18:18 auth.log drwxrwxr-x 12 root syslog 4096 mag 14 18:18 ./
root@ubuntu:~# invoke-rc.d rsyslog rotate * Closing open files rsyslogd [ OK ]
root@ubuntu:~# logrotate --force /etc/logrotate.conf root@ubuntu:~# ll -r /var/log/ | grep syslog -rw-r----- 1 syslog adm 41472 mag 14 18:17 syslog.2.gz -rw-r----- 1 syslog adm 385 mag 14 18:25 syslog.1 -rw-r----- 1 syslog adm 0 mag 14 18:25 syslog -rw-r----- 1 syslog adm 112912 mag 14 17:28 kern.log.1 -rw-r----- 1 syslog adm 0 mag 14 18:18 kern.log -rw-r----- 1 syslog adm 11033 mag 14 18:17 auth.log.1 -rw-r----- 1 syslog adm 0 mag 14 18:18 auth.log drwxrwxr-x 12 root syslog 4096 mag 14 18:25 ./
Tried with Ubuntu 16.04.02 (desktop), and both invoke-rc.d and logrotate seems to work fine
root@ubuntu:~# ll -r /var/log/ | grep syslog
-rw-r----- 1 syslog adm 41472 mag 14 18:17 syslog.2.gz
-rw-r----- 1 syslog adm 385 mag 14 18:25 syslog.1
-rw-r----- 1 syslog adm 0 mag 14 18:25 syslog
-rw-r----- 1 syslog adm 112912 mag 14 17:28 kern.log.1
-rw-r----- 1 syslog adm 0 mag 14 18:18 kern.log
-rw-r----- 1 syslog adm 11033 mag 14 18:17 auth.log.1
-rw-r----- 1 syslog adm 0 mag 14 18:18 auth.log
drwxrwxr-x 12 root syslog 4096 mag 14 18:25 ./
root@ubuntu:~# date
dom 14 mag 2017, 18.24.34, CEST
root@ubuntu:~# ll -r /var/log/ | grep syslog
-rw-r----- 1 syslog adm 191099 mag 14 18:17 syslog.1
-rw-r----- 1 syslog adm 294 mag 14 18:18 syslog
-rw-r----- 1 syslog adm 112912 mag 14 17:28 kern.log.1
-rw-r----- 1 syslog adm 0 mag 14 18:18 kern.log
-rw-r----- 1 syslog adm 11033 mag 14 18:17 auth.log.1
-rw-r----- 1 syslog adm 0 mag 14 18:18 auth.log
drwxrwxr-x 12 root syslog 4096 mag 14 18:18 ./
root@ubuntu:~# invoke-rc.d rsyslog rotate
* Closing open files rsyslogd [ OK ]
root@ubuntu:~# logrotate --force /etc/logrotate.conf
root@ubuntu:~# ll -r /var/log/ | grep syslog
-rw-r----- 1 syslog adm 41472 mag 14 18:17 syslog.2.gz
-rw-r----- 1 syslog adm 385 mag 14 18:25 syslog.1
-rw-r----- 1 syslog adm 0 mag 14 18:25 syslog
-rw-r----- 1 syslog adm 112912 mag 14 17:28 kern.log.1
-rw-r----- 1 syslog adm 0 mag 14 18:18 kern.log
-rw-r----- 1 syslog adm 11033 mag 14 18:17 auth.log.1
-rw-r----- 1 syslog adm 0 mag 14 18:18 auth.log
drwxrwxr-x 12 root syslog 4096 mag 14 18:25 ./