ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Dmitry Lebkov <dima@sakhalin.ru>
To: devel@altlinux.ru
Subject: [devel] strace problem
Date: Tue, 6 May 2003 01:40:33 +1100
Message-ID: <20030506014033.3186f74c.dima@sakhalin.ru> (raw)

Доброго времени суток,

Имеем: последний Сизиф, ядро 2.4.20-alt7-smp.

Пытаюсь натравить strace на процесс smtpd-sasl:

#ps axu|grep sasl
postfix 14135 0.2 0.2 7964 2144 ? S 01:31 0:00 [smtpd-sasl]

#starce -p 14135
trace: ptrace(PTRACE_SYSCALL, ...): Operation not permitted

#ps aux|grep sasl
postfix 14135 0.0 0.2 7964 2148 ? T 01:31 0:00 [smtpd-sasl]

процесс smtpd-sasl останавливается и висит до отправки ему
сигнала SIGCONT:

#kill -CONT 14135
#ps aux|grep sasl
postfix 14135 0.0 0.2 7964 2148 ? S 01:31 0:00 [smtpd-sasl]

после этого - все нормально, но strace сделать так и не удается.
Ситуация воспроизводится на любых процессах, сменивших UID
во время исполнения.

Как с этим бороться, т.е. как же все-таки добиться от strace того,
чего хочется? %)


--
WBR, Dmitry Lebkov


             reply	other threads:[~2003-05-05 14:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-05 14:40 Dmitry Lebkov [this message]
2003-05-05 14:50 ` Dmitry V. Levin

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=20030506014033.3186f74c.dima@sakhalin.ru \
    --to=dima@sakhalin.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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