--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: xfree86-common: X packages should not use /usr/X11R6 or at least deal with it being a symlink
- From: Steven Barker <scbarker@uiuc.edu>
- Date: Fri, 5 Oct 2001 21:37:02 -0500
- Message-id: <20011005213702.A671@uiuc.edu>
Package: xfree86-common
Version: 4.1.0-6
Severity: wishlist
The Debian X packages should not use /usr/X11R6. That directory should be
make into a symlink to /usr to allow backwards compatibility and a smooth
transition.
The reason for this (beyond simple goals of consistancy in file locations)
is that on the Hurd libraries are not loaded from /usr/X11R6/lib
automatically (as it does not use ldconfig). A workaround, setting
LD_LIBRARY_PATH does not work for suid or sgid binaries, such as xterm and
rxvt (both setgid utmp). A better workaround is getting rid of the whole
/usr/X11R6 hierarchy and moving the files there into the normal directories
in /usr.
Ok, I'll admit that there's a lot of tradition to keeping /usr/X11R6, and
the reasons for getting rid of it are not *that* strong. What I'd like
as a minimal solution is for the X packages (xfree86-common especially)
to handle the situtation properly if the admin of a Hurd (or any arch)
box makes /usr/X11R6 a symlink to /usr. Curently xfree86-common fails to
install when /usr/lib/X11 is not a symlink (it may also stop on
/usr/include/X11, but it doesn't get that far). I've looked through the
preinst script but I'm not exactly sure how to properly change it to handle
this condition correctly.
The steps to change a normal XFree86 install to one without /usr/X11R6 are:
move the contents of /usr/X11R6/bin/ to /usr/bin
move the contents of /usr/X11R6/man/* to directories under /usr/man
(should be /usr/share/man I supose, but that modifies the hierarchy)
remove /usr/include/X11 symlink
move the contents of /usr/X11R6/include to /usr/include
remove /usr/lib/X11 symlink
move the contents of /usr/X11R6/lib to /usr/lib
symlink /usr/X11R6 to /usr
Ideally X should install properly on a machine that alreay has /usr/X11R6
as a symlink to /usr and should be upgradable on that machine.
-- System Information
Debian Release: testing/unstable
Kernel Version: GNU isr5624 0.2 GNUmach-1.2/Hurd-0.2 i386-AT386 unknown
Versions of the packages xfree86-common depends on:
ii debianutils 1.15 Miscellaneous utilities specific to Debian.
--
Steven Barker scbarker@uiuc.edu
A city is a large community where people are lonesome together
-- Herbert Prochnow
GnuPG public key: http://www.students.uiuc.edu/~scbarker/pubkey.asc
Fingerprint: 272A 3EC8 52CE F22B F745 775E 5292 F743 EBD5 936B
--- End Message ---