From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-111741-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1ONiCx-0000Aa-JM
	for garchives@archives.gentoo.org; Sun, 13 Jun 2010 08:06:19 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B0516E0684
	for <garchives@archives.gentoo.org>; Sun, 13 Jun 2010 08:06:18 +0000 (UTC)
Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id CE19EE0B0C
	for <gentoo-user@lists.gentoo.org>; Sun, 13 Jun 2010 07:25:25 +0000 (UTC)
Received: by wwb39 with SMTP id 39so2639184wwb.40
        for <gentoo-user@lists.gentoo.org>; Sun, 13 Jun 2010 00:25:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:reply-to:to:subject:date
         :user-agent:references:in-reply-to:mime-version:content-type
         :content-transfer-encoding:message-id;
        bh=Jeg/OHdHuOpDqBNgtNHW6H7M5+8jerdXYPzAfKMyw6A=;
        b=KcM2dywxJq5xv2GY9MDv4n88ZR5z0CzxFKWoeqS0S5IkZFWRwDftpeYKQNuPs69FVT
         vEylNHc2+oCtLnV8s5dHROXAtKBheM2aHv1OBLTrszcWFoCC7e6YB0cd0CPCqVLSjCL1
         qQ/pj8j8tcQPEbzxNwG1nURWbmruKi9HQZe38=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:reply-to:to:subject:date:user-agent:references:in-reply-to
         :mime-version:content-type:content-transfer-encoding:message-id;
        b=eKTYcpoKWtateimRzaRq/3bVB8emnUbNaiq5K1x/tSJnlcaofcHvD7JttSYomEtunK
         j9Ccm/lqip+GzgcPpXUVTKN5iSNbFheZZsLntjjEoDoLp3mF2oR0hagM+fiEbjmCP/Q/
         qd5A+eZ7HptYTQcWpUJ9OnntznHbR8ESOCLTk=
Received: by 10.227.155.141 with SMTP id s13mr4033452wbw.78.1276413925041;
        Sun, 13 Jun 2010 00:25:25 -0700 (PDT)
Received: from  (230.3.169.217.in-addr.arpa [217.169.3.230])
        by mx.google.com with ESMTPS id t15sm25460233wbc.5.2010.06.13.00.25.24
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sun, 13 Jun 2010 00:25:24 -0700 (PDT)
From: Mick <michaelkintzios@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: /var/tmp/portage not empty?
Date: Sun, 13 Jun 2010 08:25:12 +0100
User-Agent: KMail/1.12.4 (Linux/2.6.33-gentoo-r2; KDE/4.3.5; x86_64; ; )
References: <201006072054.45620.michaelkintzios@gmail.com> <AANLkTinHGWHn7qDr6J7qwMzJFJHhzQOE_NJ4CQUkOk30@mail.gmail.com> <20100609093240.5d71af64@digimed.co.uk>
In-Reply-To: <20100609093240.5d71af64@digimed.co.uk>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: multipart/signed;
  boundary="nextPart5354603.IF043NcSvG";
  protocol="application/pgp-signature";
  micalg=pgp-sha1
Content-Transfer-Encoding: 7bit
Message-Id: <201006130825.23333.michaelkintzios@gmail.com>
X-Archives-Salt: 788f1750-23eb-42a8-987e-cd37f231cc01
X-Archives-Hash: 7534071b33f223891a09517c59270de5

--nextPart5354603.IF043NcSvG
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

On Wednesday 09 June 2010 09:32:40 Neil Bothwick wrote:
> On Wed, 9 Jun 2010 06:03:51 +0000, Mick wrote:
> > Thanks I used reiser4progs to check and repair the fs.  The weird
> > thing is that I had to repeat this on the /var partition, after I
> > zero'ed it, reformatted it and reinstalled gentoo on it.   O_O
> >
> > How is it possible that the same directory/file gets corrupted again
> > after a reinstall?
>=20
> The first thing I'd do it set PORTAGE_TMPDIR to somewhere less important
> than /var. You don't want to risk corrupting system files while sorting
> this out. It would also show whether the problem was with an ebuild or
> the filesystem. Use a tmpfs filesystem if you have the memory.

I had to reinstall because I didn't catch this early enough the first time =
and=20
it corrupted my other system partitions.  This corruption happened when I=20
installed gcc-4.4.3-r2.

After I reinstalled and while still running the LiveCD I updated gcc to the=
=20
same gcc-4.4.3-r2 version.  As I said, again I ended up with a corrupted =20
'/var/tmp/portage/sys-devel/gcc-4.4.3-
r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale' directory.

Running fsck.reiser4 --check and then --fix corrected the corruption and th=
at=20
was that.  Before I reinstalled, the corruption must have been more pervasi=
ve=20
because fsck.reiser4 could not fix it - a simple reboot would bring it back.

So, my conclusion from this sad story is that on my system reiser4 was=20
attacked by gcc!  O_O

I'd be interested to know if any other gentoo systems running a separate /v=
ar=20
partition on reiser4 noticed this, in which case I'd file a bug for it.  If=
=20
I'm alone in having this problem then I'll wait until it happens again befo=
re=20
I open a bug report.
=2D-=20
Regards,
Mick

--nextPart5354603.IF043NcSvG
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)

iEYEABECAAYFAkwUh+MACgkQVTDTR3kpaLagGwCggA7+ZJtrNYhXbqAm9lz1r0VP
bkgAn0Yf+qr+rLUJBYXBk8TXtTH5pwv8
=iAip
-----END PGP SIGNATURE-----

--nextPart5354603.IF043NcSvG--