ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] strace problem
@ 2003-05-05 14:40 Dmitry Lebkov
  2003-05-05 14:50 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Lebkov @ 2003-05-05 14:40 UTC (permalink / raw)
  To: devel

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

Имеем: последний Сизиф, ядро 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] strace problem
  2003-05-05 14:40 [devel] strace problem Dmitry Lebkov
@ 2003-05-05 14:50 ` Dmitry V. Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2003-05-05 14:50 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Tue, May 06, 2003 at 01:40:33AM +1100, Dmitry Lebkov wrote:
> Доброго времени суток,
> 
> Имеем: последний Сизиф, ядро 2.4.20-alt7-smp.

#0002519


--
ldv

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-05 14:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-05 14:40 [devel] strace problem Dmitry Lebkov
2003-05-05 14:50 ` Dmitry V. Levin

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