[Bug 847050] New: mysql logs are not rotated by logrotate
https://bugzilla.novell.com/show_bug.cgi?id=847050 https://bugzilla.novell.com/show_bug.cgi?id=847050#c0 Summary: mysql logs are not rotated by logrotate Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: Mathias.Homann@opensuse.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 on every logrotate run I get the following errors about the mysql logs: 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. Reproducible: Always Steps to Reproduce: 1. install mysql server 2. install logrotate 3. observe errors Actual Results: mysql logrotate job produces errors Expected Results: mysql logfiles should be properly rotated -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847050 https://bugzilla.novell.com/show_bug.cgi?id=847050#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |vcizek@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847050 https://bugzilla.novell.com/show_bug.cgi?id=847050#c1 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |vcizek@suse.com InfoProvider| |mhrusecky@suse.com --- Comment #1 from Vitezslav Cizek <vcizek@suse.com> 2013-10-24 13:06:14 CEST --- Mariadb isn't adapted to changes introduced to logrotate in bug 677335. The error message suggests the solution: Add "su mysql mysql" to its logrotate file Michal, are you still the maintainer? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847050 https://bugzilla.novell.com/show_bug.cgi?id=847050#c Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|mhrusecky@suse.com | AssignedTo|vcizek@suse.com |mhrusecky@suse.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=847050 https://bugzilla.novell.com/show_bug.cgi?id=847050#c3 Roman Drahtmueller <draht@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |draht@suse.com Resolution| |DUPLICATE --- Comment #3 from Roman Drahtmueller <draht@suse.com> 2014-09-05 05:26:25 UTC --- Duplicate. Fix in progress for SLES12. We could think of adding a .cnf file in one of the upcoming updates, if any, for those packages that are affected. As a note, /var/log/mysql/mysqld.log does not even exist as expected in some versions. *** This bug has been marked as a duplicate of bug 892714 *** http://bugzilla.novell.com/show_bug.cgi?id=892714 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com