Bug 923122 - mariadb errata permissions on /var/log/mysql
Summary: mariadb errata permissions on /var/log/mysql
Status: RESOLVED DUPLICATE of bug 840079
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Other (show other bugs)
Version: 13.2
Hardware: x86-64 openSUSE 13.2
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: Christos Gourdoupis
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-19 09:05 UTC by Diego Ercolani
Modified: 2015-03-19 18:28 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 Diego Ercolani 2015-03-19 09:05:25 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0
Build Identifier: 

mariadb-10.0.13-2.6.1.x86_64
logrotate-3.8.7-6.1.2.x86_64
Enabling logrotate (systemctl enable logrotate.timer) and running it manually to debug it complain for that:
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.

I think it's a simple to correct this issue using root group as requested by logrotate. (I think it's to be modified /usr/lib/mysql/rcmysql ah it's the utility that create the /var/log/mysql/mysqld.log)

Reproducible: Always
Comment 1 Christos Gourdoupis 2015-03-19 18:28:33 UTC
Another dupe.

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