Bug 5555 - logrotate doesn't work for tlwebadm and webaccess
Summary: logrotate doesn't work for tlwebadm and webaccess
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.4.0
Assignee: Pierre Ossman
Keywords: samuel_tester
Depends on:
Reported: 2015-05-26 15:25 CEST by Samuel Mannehed
Modified: 2015-05-27 11:23 CEST (History)
1 user (show)

See Also:
Acceptance Criteria:


Description Samuel Mannehed cendio 2015-05-26 15:25:47 CEST
# /usr/sbin/logrotate -d /etc/logrotate.conf 
Ignoring thinlinc-tlwebadm because of bad file mode.
reading config file thinlinc-vsm-agent
reading config file thinlinc-vsm-server
Ignoring thinlinc-webaccess because of bad file mode.

# ls -la /etc/logrotate.d/thinlinc-*

-rwxr-xr-x 1 root root  145 May 21 04:23 thinlinc-tlwebadm
-rw-r--r-- 1 root root  145 May 21 04:23 thinlinc-vsm-agent
-rw-r--r-- 1 root root  147 May 21 04:23 thinlinc-vsm-server
-rwxr-xr-x 1 root root  151 May 21 04:42 thinlinc-webaccess

The problem is probably that these two config files are executable.
Comment 1 Pierre Ossman cendio 2015-05-26 15:49:41 CEST
Fixed in r30336.
Comment 2 Samuel Mannehed cendio 2015-05-27 10:09:46 CEST
Verified to work with tl-4.4.0rc3.
Comment 3 Samuel Mannehed cendio 2015-05-27 11:23:11 CEST
I have verified with the old version (before the fix) that this issue existed on at least Ubuntu 14.04 as well.

It is however fixed now.

Note You need to log in before you can comment on or make changes to this bug.