Re: [opensuse] Logrotate fails for mysql
- From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
- Date: Fri, 18 May 2012 03:01:04 +0200
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2012-05-18 02:05, Paolo Pantò wrote:
maybe wrong permissions on /var/log/mysql/ directory.
try to change this to # chmod 750 /var/log/mysql/ and optional #
chown mysql /var/log/mysql/
I do that, then I get another error:
Telcontar:~ # logrotate /etc/logrotate.d/mysql
error: "/var/log/mysql" has insecure permissions. It must be owned and be
writable by root only to avoid security problems. Set the "su" directive
in the config file to tell logrotate which user/group should be used for
rotation.
Telcontar:~ #
WHAT!?
Telcontar:~ # l /var/log | grep mysql
drwxr-x--- 2 mysql root 4096 May 17 22:19 mysql/
lrwxrwxrwx 1 root root 23 Jan 31 2010 mysqld.log ->
../lib/mysql/mysqld.log
Telcontar:~ #
- --
Cheers / Saludos,
Carlos E. R.
(from 11.4 x86_64 "Celadon" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk+1n08ACgkQIvFNjefEBxpmmwCgywRf2p1qzGgZ5BynR2Ptt94w
CpwAn3qY9GSBYUj1fpYHpo29Gi9Xz7Ql
=s90j
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Logrotate fails for mysql
- From: Paolo Pantò
- Re: [opensuse] Logrotate fails for mysql
- References:
- [opensuse] Logrotate fails for mysql
- From: Carlos E. R.
- Re: [opensuse] Logrotate fails for mysql
- From: Paolo Pantò
- [opensuse] Logrotate fails for mysql
- Prev by Date: [opensuse] KMail in mailing list subscriptions
- Next by Date: Re: [opensuse] how to protect from govt monitoring and anti p2p with opensuse?
- Previous by thread: Re: [opensuse] Logrotate fails for mysql
- Next by thread: Re: [opensuse] Logrotate fails for mysql
- Index(es):