From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 18 Feb 2003 13:08:27 +0300 From: "Dmitry V. Levin" To: ALT Linux Sisyphus mailing list Subject: Re: [sisyphus] MySQL =?koi8-r?Q?=C9_logrot?= =?koi8-r?Q?ate?= Message-ID: <20030218100827.GB31313@basalt.office.altlinux.org> Mail-Followup-To: ALT Linux Sisyphus mailing list References: <765443767.20030218104707@amfitel.ru> <3E51EA29.8050808@strat.chtts.ru> <20030218084821.GC29794@basalt.office.altlinux.org> <2010714066.20030218121457@amfitel.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <2010714066.20030218121457@amfitel.ru> X-fingerprint: 9658 398D 181B 1200 8FC5 26B8 F6F8 846B C1E2 3429 Sender: sisyphus-admin@altlinux.ru Errors-To: sisyphus-admin@altlinux.ru X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.0.9 Precedence: bulk Reply-To: sisyphus@altlinux.ru List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Archived-At: List-Archive: --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit On Tue, Feb 18, 2003 at 12:14:57PM +0300, Nicholas Tretyachenko wrote: > DVL> $ mysqladmin --help > DVL> [...] > DVL> Default options are read from the following files in the given order: > DVL> /etc/my.cnf /var/lib/mysql/my.cnf ~/.my.cnf > DVL> В /etc/logrotate.d/mysql опечатка, и "/root/.my.cnf" следует > DVL> читать как "/etc/my.cnf". > > Возможно и опечатка, хотя мне кажется, что нет. > /root/.my.cnf - это указанный в процитированной Вами документации ~/.my.cnf > Скорее всего, дело в том, что logrotate не устанавливает значение переменной > $HOME и ~/.my.cnf развертывается в /.my.cnf А разве logrotate должен устанавливать переменную HOME? -- ldv --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+UgYb9viEa8HiNCkRAps/AJ4pQgimnf5WecoMfcfWkm6nvZ2MrgCffPVm DH9XMfJDJDW0ewWLzs4XPLs= =Bvjl -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--