ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Stanislav Yadykin <tosick@altlinux.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Re: MySQL 5.0 :(
Date: Fri, 10 Feb 2006 13:56:18 +0200
Message-ID: <200602101356.19512.tosick@altlinux.ru> (raw)
In-Reply-To: <63146.127.0.0.1.1139571717.squirrel@mojo.myroom.ru>

[-- Attachment #1: Type: text/plain, Size: 1380 bytes --]

В сообщении от 10 февраля 2006 13:41 Konstantin A. Lepikhov написал(a):
> у вас эти данные получены из >=1 my.cnf
> strace -Ff вам в руки и смотрите, что откуда читается.

Блин, ну это симлинк в /etc стоял на /var/lib/mysq/my.cnf !
Сейчас во всей системе ОДИН my.cnf
Запущеный из-по рута my_print_defaults:
=== strace ===
open("/var/lib/mysql/my.cnf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=294, ...}) = 0
getuid32()                              = 0
close(3)                                = 0
stat64("/root/.my.cnf", 0xafd5b610)     = -1 ENOENT (No such file or 
directory)
exit_group(0)                           = ?
==============

В то время как под пользователем:
==============
open("/var/lib/mysql/my.cnf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=294, ...}) = 0
getuid32()                              = 500
fstat64(3, {st_mode=S_IFREG|0644, st_size=294, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x3aac1000
read(3, "[mysqld]\nold_passwords=1\nchroot="..., 4096) = 294
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x3aac1000, 4096)                = 0
stat64("/home/tosick/.my.cnf", 0xafdb1bb0) = -1 ENOENT (No such file or 
directory)
=============
Это нормально? Так и должно быть?

-- 
Stanislav Yadykin
ALT Linux Team

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-02-10 11:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-09 13:37 [sisyphus] " Stanislav Yadykin
2006-02-09 17:29 ` [sisyphus] " Konstantin A. Lepikhov
2006-02-10  7:52   ` Stanislav Yadykin
2006-02-10 11:41     ` Konstantin A. Lepikhov
2006-02-10 11:56       ` Stanislav Yadykin [this message]
2006-02-10 12:05         ` Konstantin A. Lepikhov
2006-02-10 12:26           ` Stanislav Yadykin
2006-02-10 12:29             ` Konstantin A. Lepikhov
2006-02-10 12:35               ` Stanislav Yadykin
2006-02-10 12:41                 ` Konstantin A. Lepikhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200602101356.19512.tosick@altlinux.ru \
    --to=tosick@altlinux.ru \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git