Public bug reported:
"dpkg-reconfigure xserver-xorg" fails when / is mounted on NFS. This is
because:
1. xserver-xorg.postinst runs dexconf, which creates a directory like
/tmp/dexconf-xxxx wherein it generates the new xorg.conf.
3. Dexconf deletes the temp file. This is implemented in nfs-kernel-
server by creating a dotfile in the same directory, until the fd is
closed. (See bug #65003 for a similar problem in ltsp)
4. When dexconf runs rm -rf on the /tmp/dexconf-* directory, it fails
producing a "directory not empty" message, because the dotfile cannot be
removed while dexconf is running.
5. xserver-xorg.postinst interprets the non-zero return code as a
dexconf failure and therefore doesn't update /etc/X11/xorg.conf
The workaround I've been using so far is to run:
# dpkg-reconfigure xserver-xorg
# dexconf -o /etc/X11/xorg.conf
# rm -r /tmp/dexconf-*
# md5sum /etc/X11/xorg.conf > /var/lib/x11/xorg.conf.md5sum
But this is not ideal for obvious reasons. IMHO the solution to bug
#65003 should work here.
** Affects: xorg (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
X configuration fails with NFS root (simple fix)
https://launchpad.net/bugs/65763
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs