mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@mindspring.com>
To: Robert Love <rml@tech9.net>
Cc: Andrew Morton <akpm@digeo.com>, <linux-kernel@vger.kernel.org>
Subject: Re: 2.5.66-bk12 causes "rpm" errors
Date: Mon, 7 Apr 2003 08:07:26 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0304070800170.1241-100000@localhost.localdomain> (raw)
In-Reply-To: <1049679689.753.170.camel@localhost>

On 6 Apr 2003, Robert Love wrote:

> On Sun, 2003-04-06 at 21:32, Andrew Morton wrote:
> 
> > Does it work OK with earlier 2.5 kernels?
> > 
> > The only change which comes to mind is the below one.  Could you do a
> > patch -R of this and retest?
> 
> This has been happening since 2.5.60-ish.
> 
> It is NPTL-related.  Mr. Day, doing this:
> 
> 	LD_ASSUME_KERNEL=2.2.5 rpm <...>
> 
> should "fix" the problem.

ok, based on messing around this morning with this, here's what
i've found.

(first, apologies to andrew morton; when i said his patch applied
on top of bk12, i was just confused.  it's a "battle tactic". :-)

all of this is based on my RH 9 (shrike) box, running on a dell
inspiron 8100.

first, the rpm flaw exists using all three variations of the
kernel i tested:

  2.5.66
  2.5.66-bk12
  2.5.66-bk12-mm (bk12 minus andrew's filemap patch)

the interesting part is that doing something simple like "rpm -q rpm"
works for a non-root user; it fails only when root tries it, even
though the operation is only a query.  go figure.

next, backing out from rpm-4.2-0.69 to rpm-4.2-0.66 didn't seem to
fix the problem (at least, not for me -- a previous poster claimed
that it fixed it for him, but it didn't solve the problem here).

finally, using:

  LD_ASSUME_KERNEL=2.2.5 rpm -q rpm

solves the problem (at least under the 2.5.66-bk12-mm kernel i'm
running at the moment -- i'll assume it does the same under the
others).

take whatever you can get from this.

rday

p.s.  more 2.5.66-bk12 oddities coming up shortly



  parent reply	other threads:[~2003-04-07 12:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-07  1:18 Robert P. J. Day
2003-04-07  1:32 ` Andrew Morton
2003-04-07  1:41   ` Robert Love
2003-04-07  1:47     ` Robert Love
2003-04-07 11:45       ` Alan Cox
2003-04-07 14:53         ` Robert Love
2003-04-07 14:17           ` Alan Cox
2003-04-07  1:49     ` Robert Love
2003-04-07  2:59       ` J Sloan
2003-04-07 12:07     ` Robert P. J. Day [this message]
2003-04-07  2:04   ` Robert P. J. Day
2003-04-07  1:28     ` Andrew Morton
2003-04-07  3:15       ` Robert Love
2003-04-07  3:19         ` Robert Love
2003-04-07  3:29         ` Andrew Morton
2003-04-07  3:35           ` Robert Love
2003-04-07  9:05 ` Felipe Alfaro Solana
2004-04-20  8:10 Fred Shaul

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=Pine.LNX.4.44.0304070800170.1241-100000@localhost.localdomain \
    --to=rpjday@mindspring.com \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rml@tech9.net \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®