Bug#26512: Fixes to make dpkg-gencontrol and dpkg-shlibdeps work over NFS
On Mon, Sep 07, 1998 at 12:07:58AM +0200, Anders Hammarquist wrote:
> Package: dpkg-dev
> Version: 1.4.0.27
>
> The Linux NFS client (at least in 2.1) does not allow renaming of a file to a
> file which is open. Since dpkg-gencontrol and dpkg-shlibdeps first open files
> and substvars, respectively, and they try to move the newly created version
> into the same spot, they need to be careful about closing the old file before
> attempting the rename. They are not. Patches follow.
Just FYI, patches for the rename bug (which IIRC was a kernel NFSD feature),
have just been submitted to the kernel list.
Adrian
email: adrian.bridgett@zetnet.co.uk, http://www.poboxes.com/adrian.bridgett
Windows NT - Unix in beta-testing. PGP key available on public key servers
Debian Linux http://www.debian.org The superior Linux distribution
Reply to: