Re: odd db4 error with 2.5.69-mm4 [was Re: Huraaa for 2.5]

Andrew Morton
2003-05-14T01:52:50Z

Shawn <core@enodev.com> wrote:
>
> Not to get away from the praise too much, but I have a rpm/db4 problem
> that seems to be related to the kernel. before I started backing out
> parts of 69-mm4, I just wanted to figure out /which/ parts to try
> backing out.
>
> As root, I basically can't use rpm at all. I think it's select() related
> as strace shows it timing out. The odd thing is that it works great as a
> non-privileged user.

rpm seems generally flakey sometimes.

remove /var/lib/rpm/__*

Use

LD_ASSUME_KERNEL=2.2.5 rpm

to get around rpm's O_DIRECT bug.