From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] coreutils vs hasher-priv
Date: Mon, 24 Mar 2008 03:55:49 +0300
Message-ID: <20080324005549.GA11912@wo.int.altlinux.org> (raw)
In-Reply-To: <20080322173213.GA13602@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]
On Sat, Mar 22, 2008 at 08:32:14PM +0300, Dmitry V. Levin wrote:
> On Sat, Mar 22, 2008 at 08:26:20PM +0300, Денис Смирнов wrote:
> > On Sat, Mar 22, 2008 at 04:41:12AM +0300, Dmitry V. Levin wrote:
> >
> > DVL> Природа этого race такова, что реально этот race проявляется сейчас
> > DVL> только на hsh --save-fakeroot.
> > DVL> Это довольно занимательная история, в ней перемешалось всё, начиная от
> > DVL> одного элемента архитектуры unix, используемого в hasher-priv, недавнего
> > DVL> изменения в coreutils по повышению надёжности, и заканчивая оптимизацией
> > DVL> в hasher.
> > DVL> И непонятно, как это лучше исправить, поскольку каждая сторона вроде бы
> > DVL> в своём праве.
> > DVL> Кто хочет разгадать загадку? :-)
> >
> > Расскажи подробнее -- думаю многим будет как минимум интересно попытаться
> > :)
>
> Это race condition во всей своей красе. :)
> Если бы мне не показалось, что это может быть интересно, то я бы просто
> рассказал, в чём тут дело, и всё.
>
> Проблема в том, что знание отгадки (мне) не даёт готового нормального решения.
> Я придумал уже два workaround'а, но хочется найти решение получше.
Так, решение я принял, осталось понять, мне пушить коммит
16ac6185792c43dee10f984577399d98a263422a
или кто-то ещё хочет разгадать загадку?
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-03-24 0:55 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-21 12:16 [devel] hsh --initroot сломан на Sisyphus ? Anton Farygin
2008-03-22 1:08 ` Dmitry V. Levin
2008-03-22 1:41 ` [devel] coreutils vs hasher-priv Dmitry V. Levin
2008-03-22 7:09 ` Anton Farygin
2008-03-22 13:06 ` Dmitry V. Levin
2008-03-22 17:26 ` Денис Смирнов
2008-03-22 17:32 ` Dmitry V. Levin
2008-03-23 0:48 ` Denis Pynkin
2008-03-23 9:05 ` Denis Medvedev
2008-03-23 12:24 ` Dmitry V. Levin
2008-03-24 0:55 ` Dmitry V. Levin [this message]
2008-03-24 17:07 ` Денис Смирнов
2008-03-25 9:38 ` 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=20080324005549.GA11912@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