Bug 894785 - daily cronjob complains about /var/lib/mysql/ permissions
Summary: daily cronjob complains about /var/lib/mysql/ permissions
Status: RESOLVED DUPLICATE of bug 840079
Alias: None
Product: openSUSE 13.1
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Final
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Christos Gourdoupis
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-03 08:21 UTC by Stephan Barth
Modified: 2014-09-04 17:41 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Barth 2014-09-03 08:21:02 UTC
I just found out today, that since I installed MariaDB in May I get a daily mail that looks like this:

Subject: cronjob@lovelace - daily - FAILURE
User-Agent: Heirloom mailx 12.5 7/5/10

running daily cronjob scripts

SCRIPT: output (stdout && stderr) follows

error: skipping "/var/log/mysql/mysqld.log" 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.
compress_ext is /usr/bin/xz
compress_ext was changed to .xz
SCRIPT: logrotate
------- END OF OUTPUT


SCRIPT: mlocate.cron exited with RETURNCODE = 1.
SCRIPT: output (stdout && stderr) follows

/usr/bin/updatedb: unexpected operand on command line
SCRIPT: mlocate.cron
------- END OF OUTPUT
Comment 1 Christos Gourdoupis 2014-09-04 17:41:00 UTC
Actually it is logrotate that complains and it is for /var/log/mysql/.
It has been reported before.

*** This bug has been marked as a duplicate of bug 840079 ***