From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Steudten Subject: Re: RPM issue on 2.6.5 Date: Tue, 27 Apr 2004 14:36:52 +0200 Sender: linux-admin-owner@vger.kernel.org Message-ID: <408E53E4.8020808@steudten.com> References: <1083057225.1925.21.camel@ProfiLinux.bucharest-mof.ro.ibm.ro> <408E3D0B.8090005@steudten.com> <1083068904.1925.26.camel@ProfiLinux.bucharest-mof.ro.ibm.ro> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1083068904.1925.26.camel@ProfiLinux.bucharest-mof.ro.ibm.ro> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Calin Cosma Cc: linux-admin@vger.kernel.org Reason? It seems to be problem with the O_SYNC flag in the open() call from libc and of rpm and of db4, don't know exact. Google the web for more information. O_SYNC The file is opened for synchronous I/O. Any writes on the resulting file descriptor will block the calling process until the data has been physically written to the underlying hardware. The LD_ASSUME_KERNEL is queried in the libc, so it should be better to set it only if you run rpm. Version varies from 2.2.5 to 2.4.1. If you look in the glic sources, you will see more. Calin Cosma wrote: > On Tue, 2004-04-27 at 13:59, Thomas Steudten wrote: > >>Update your rpm version to RH 4.2-2, your db4 to 4.0.14-20 >>OR set the environment variable as a workaround to >>export LD_ASSUME_KERNEL=2.2.5 >> > It worked with the environment setting. Still I don't want to ask dumb > question, but could explain me which is the reason for this? -- Tom LINUX user since kernel 0.99.x 1994. RPM Alpha packages at http://alpha.steudten.com/packages Want to know what S.u.S.E 1995 cdrom-set contains?