From: Anton Farygin <rider@altlinux.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Помогите, пожалуйста, отстроить audit для трассировки запуска pppd
Date: Sat, 08 Nov 2014 08:36:32 +0300
Message-ID: <545DABE0.9070201@altlinux.com> (raw)
In-Reply-To: <CAB_XSX0qFj1nRm2Niwv_VKdUF6RTe4HV4wMHiE1oXcx6LYfvKw@mail.gmail.com>
On 06.11.2014 16:55, Eugine Kosenko wrote:
> Прошу прощения, но сам я в audit не силен, и сейчас нет ни времени ни
> желания с ним разбираться. Желательно быстрое решение в конкретной
> ситуации.
>
> Вот, возникла такая проблема:
>
> https://bugzilla.altlinux.org/show_bug.cgi?id=30449
>
> У других не повторяется, посоветовали протрассировать запуск pppd
> через audit. Идея в том, чтобы поймать, какой процесс посылает сигнал
> `SIGHUP' сразу после запуска pppd (хотя я подозреваю, что проблема
> скорее в самом pppd, а не во "вражеских агентах").
>
> После установки audit и быстрого вникания в README я понял, что нужно
> сделать что-то вроде
>
> # ./auditd
> # ./auditctl -s
> # ./auditctl -a always,exit -S <имя вызова>
> # ifup ppp0
> # ./auditctl -d always,exit -S <имя вызова>
>
> после чего просмотреть результаты через ausearch.
>
> Непонятно, какое имя вызова тут использовать? Как правильно вызвать
> ausearch после этого?
я б поправил запуск pppd в etcnet для отладки, что б он работал через
autrace
Ну а дальше поиск по pid - man ausearch
auditd не забудьте запустить.
prev parent reply other threads:[~2014-11-08 5:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-06 13:55 Eugine Kosenko
2014-11-08 5:36 ` Anton Farygin [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=545DABE0.9070201@altlinux.com \
--to=rider@altlinux.com \
--cc=devel@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 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