This is really annoying... the obvious fix is to revert the permissions
and ownership of /var/log/ if possible.
But... why was the group changed? Anyone know?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to logrotate in
#8 is a good analysis... this change breaks manually running logrotate
with a specific file as argument. It doesn't seem to affect automatic
rotation due to the su line in /etc/logrotate.conf.
Seems that making root:syslog the default for all logrotate scripts
would fix this behavior, as would
I've went through this problem just now. The changes described in #5
solved the problem for me as well.
The fix released in LP: #1258202 (logrotate version 3.8.6-1ubuntu2) adds
those lines to the default logrotate.conf file, but I got some custom
configs in mine and so I had to manually change
@Vinny: I have /etc/logrotate.conf as of 2014-01-22 containing:
# use the syslog group by default, since this is the owning group
# of /var/log/syslog.
su root syslog
Yet according to `find / -user syslog' and `find / -group syslog', I
have no files with owning group syslog, I have log files
Same problem here. Since I upgraded to Trusty Tahr syslog stopped rotating.
$ /var/log# ls -la syslog*
-rw-r- 1 syslog adm 35897990 Sep 24 14:10 syslog
-rw-r- 1 syslog adm 3083621 Aug 19 06:36 syslog.1
-rw-r- 1 syslog adm37647 Aug 18 06:43 syslog.2.gz
-rw-r- 1 syslog adm
Yesterday I upgraded rsyslog from 7.4.4-1ubuntu2 to 7.4.4-1ubuntu2.1 on
two machines (logrotate was already at 3.8.7-1ubuntu1), both of them
gave me loads of insecure permissions in this morning's anacron
output. What is the workaround --- fixing the su lines in the
logrotate.conf files, or
I had the same experience when upgrading rsyslog [rsyslog:amd64
(7.4.4-1ubuntu2, 7.4.4-1ubuntu2.1)]. I manually added:
# use the syslog group by default, since this is the owning group
# of /var/log/syslog.
su root syslog
To top of the /etc/logrotate.conf, which resolved the problem.
--
You
7 matches
Mail list logo