ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Denis Pynkin <d.pynkin@sam-solutions.net>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] coreutils vs hasher-priv
Date: Sun, 23 Mar 2008 02:48:28 +0200
Message-ID: <200803230248.28835.d.pynkin@sam-solutions.net> (raw)
In-Reply-To: <20080322173213.GA13602@wo.int.altlinux.org>

On 22 March 2008, 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'а, но хочется найти решение получше.

sync после установки каждого пакета ? ;-))) помниться в separator'е похожую 
багу так и обходили

ЗЫ а я все гадал, почему у меня образ scientific linux собирается 50/50 - как 
у той блондинки из анекдота %-]
Кстати сборка без использования tmpfs валиться 100%, а вот на рамдиске иногда 
и работает.

-- 
WBR, d4s

  reply	other threads:[~2008-03-23  0:48 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 [this message]
2008-03-23  9:05           ` Denis Medvedev
2008-03-23 12:24             ` Dmitry V. Levin
2008-03-24  0:55         ` Dmitry V. Levin
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=200803230248.28835.d.pynkin@sam-solutions.net \
    --to=d.pynkin@sam-solutions.net \
    --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