pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/28510



The following reply was made to PR pkg/28510; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/28510 
Date: Mon, 28 Mar 2005 10:33:26 +0700

 This is really not needed.   The easy, trivial, transparent,
 and clean, way to handle this is to union mount the two
 app-defaults directories together, so that both appear under X11BASE
 where the X libraries expect to find them, but so pkgsrc installed
 applications can put the things under LOCALBASE
 where they're supposed to.
 
 In my /etc/fstab I have ...
 
 /usr/pkg/lib/X11/app-defaults /usr/X11R6/lib/X11/app-defaults union rw,hidden
 
 and it all just works like a dream.   The "hidden" prevents (normal) df
 from showing this mount as if it were a filesystem.
 
 It may also work using a -o union mount, I never bothered to try that
 one, the mount_union variant is just fine for me.
 
 Adding more baroque env vars into X is just what it doesn't need (and in
 any case, any of that requires every user to go set the thing).   Doing
 it as suggested in the original PR, and simply having the X build know
 where LOCALBASE simply always lives, is way against the normal pkgsrc & NetBSD
 philosophy.
 
 kre
 



Home | Main Index | Thread Index | Old Index