ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: Linux-Mandrake RE Mailing List <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Mysql + security
Date: Thu Apr 26 10:53:12 2001
Message-ID: <20010426105825.A8129@ldv.office.alt-linux.org> (raw)
In-Reply-To: <3AE7B29D.E90804A9@oberon.novocybersk.ru>; from Maxim.Savrilov@oberon.novocybersk.ru on Thu, Apr 26, 2001 at 12:31:09PM +0700

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

On Thu, Apr 26, 2001 at 12:31:09PM +0700, Maxim Savrilov wrote:
> Насчет непонятного поведения mysql
> SECURE_LEVEL 4, kernel 2.2.19-up-secure, MySQL 3.23.33 ipl5
> пересобранный мной на предмет safe-thread-client и raid (на всякий
> случай)
> База статистики трафика по дням по машинам. Идет запрос для определенной
> машины. Несколько запросов для одной машины, каждый запрос для одного
> дня. И на определенной паре дней (3,4 апреля) происходит вываливание
> mysqld. Причем повторяется постоянно! Выбираешь за четвертое после того
> как выбрал за третье и все... Выбираешь за третье, потом за пятое - все
> нормально. Запрос с несколько другими параметрами (другое имя машины)
> дает подобный эффект, но на другой паре дней. Пока из 18 машин такое
> наблюдается только для двух.
> Попробовал ядро поставить не secure - то же самое. Потом сменил
> secure_level на 3, и все нормально. Подозрение у меня на libsafe,
> которая в ld.so.preload (так как эта библиотека отвечает за stack
> overflow)
> Это у mysql, выходит, проблемы с памятью?

Нет, это проблема не у mysql.

Дело в том, что libsafe не работает с программами, скомпилированными с
указанием опции -fomit-frame-pointer. Это было решающим доводом при
принятии мной решения не включать по умолчанию libsafe при установке
пакета libsafe.

У вас есть выбор:
- отключить libsafe;
- пересобрать mysql без -fomit-frame-pointer.


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.ru/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

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

      parent reply	other threads:[~2001-04-26 10:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-26  9:27 Maxim Savrilov
2001-04-26 10:41 ` Anton Farygin
2001-04-26 10:47   ` Alexander Bokovoy
2001-04-26 10:53 ` Dmitry V. Levin [this message]

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=20010426105825.A8129@ldv.office.alt-linux.org \
    --to=ldv@alt-linux.org \
    --cc=mandrake-russian@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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