Bug#405782: [xserver-xorg] "dpkg-reconfigure xserver-xorg" stuck
reassign 405782 x11-common
tag 405782 + patch
> Then, in the resulting file, we can see at some point a
> /tmp/dexconf-tmp-27788/.nfs0001403c00000317, which disappears immediately.
> If I'm not mistaken, it happens on a NFS share when we delete a file
> which is still open, doesn't it ? That seems to be a lead (at least I
Ok great, thanks. I have reproduced the problem with a chroot and a
locally-nfs-mounted /tmp. The problem is caused by /usr/bin/dexconf not
closing a redirection before exiting. File descriptor 4 was kept open,
pointing to /tmp/dexconf-tmp-xxxx/DRI. Adding exec 4<&- solves the
problem. Patch attached.
debian/local/dexconf | 3 +++
1 file changed, 3 insertions(+)
--- xorg-7.1.0.orig/debian/local/dexconf 2007-01-06 17:50:41.000000000 +0100
+++ xorg-7.1.0/debian/local/dexconf 2007-01-06 17:53:11.000000000 +0100
@@ -414,6 +414,9 @@
+# Close file descriptor 4 before we delete temporary files
# Tell debconf to stop listening to us.