From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] hasher /dev/log
Date: Mon, 24 Mar 2008 04:00:36 +0300
Message-ID: <20080324010036.GB11912@wo.int.altlinux.org> (raw)
In-Reply-To: <20080323023037.GE15872@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1856 bytes --]
On Sun, Mar 23, 2008 at 05:30:37AM +0300, Dmitry V. Levin wrote:
> On Thu, Mar 06, 2008 at 05:36:13PM +0300, Dmitry V. Levin wrote:
> > On Thu, Mar 06, 2008 at 04:51:18PM +0300, Alexey Tourbin wrote:
> > > On Thu, Mar 06, 2008 at 02:25:11AM +0300, Dmitry V. Levin wrote:
> > > > On Sat, Mar 01, 2008 at 11:17:32AM +0300, Alexey Tourbin wrote:
> > [...]
> > > > > "Что-то делать" или "перехватывать" здесь скорее всего означает просто
> > > > > "выводить на stderr" пользователя builder (или rooter), на практике --
> > > > > в лог сборки.
> > > >
> > > > Выводить в stderr builder'у не стоит, лучше в stderr caller'у.
> > >
> > > Я тут не совсем понял. Оно в лог сборки попадёт или нет?
> >
> > Конечно.
> >
> > > Что-то я немножко забыл, как все эти дескрипторы устроены.
> >
> > builder/rooter может сам перенаправить свои дескрипторы куда угодно.
>
> Запушил hasher-priv 1.2.11-alt1-5-g4d30, можешь попробовать и рассказать,
> хватит ли этого или нужен более полноценный парсер сообщений.
Пожалуй, ненужной информации в stderr стало теперь попадать больше чем нужно:
$ hsh --ini
<86>Mar 24 01:23:45 userdel[7773]: delete user `rooter'
<86>Mar 24 01:23:45 userdel[7773]: remove group `rooter'
<86>Mar 24 01:23:45 groupadd[7774]: new group: name=rooter, gid=501
<86>Mar 24 01:23:45 useradd[7775]: new user: name=rooter, uid=501, gid=501, home=/root, shell=/bin/bash
<86>Mar 24 01:23:45 userdel[7777]: delete user `builder'
<86>Mar 24 01:23:45 userdel[7777]: remove group `builder'
<86>Mar 24 01:23:45 groupadd[7778]: new group: name=builder, gid=502
<86>Mar 24 01:23:45 useradd[7779]: new user: name=builder, uid=502, gid=502, home=/usr/src, shell=/bin/bash
$ hsh-install strace
Preparing packages for installation...
strace-4.5.16-alt4
<13>Mar 24 01:23:45 rpmi: strace-0:4.5.16-alt4 installed
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-03-24 1:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-01 8:17 Alexey Tourbin
2008-03-05 23:25 ` Dmitry V. Levin
2008-03-06 13:51 ` Alexey Tourbin
2008-03-06 13:54 ` Alexey Tourbin
2008-03-06 14:36 ` Dmitry V. Levin
2008-03-23 2:30 ` Dmitry V. Levin
2008-03-24 1:00 ` Dmitry V. Levin [this message]
2008-03-24 20:43 ` Michael Shigorin
2008-03-24 20:55 ` Dmitry V. Levin
2008-03-24 21:13 ` Alexey Gladkov
2008-03-24 21:16 ` Dmitry V. Levin
2008-03-24 21:18 ` Alexey Gladkov
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=20080324010036.GB11912@wo.int.altlinux.org \
--to=ldv@altlinux.org \
--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