Sorry about the duplicate! I pressed ctrl+enter, instead of ctrl+k, and sent it by mistake. On May 6, 2005 9:10, Matt Housh wrote:
So here's what I'm getting at: Why do we use /usr/etc? Is it simply because that's the default when --prefix=/usr is used? If so, does anyone object to setting --sysconfdir=/etc for those apps which honor it? This isn't really a lot of apps, it seems mostly gnome stuff. However, pango and gtk2 at least are included:
IMHO, this is SysV-esque clutter. CRUX's BSD-like filesystem layout seems cleaner to me, and it would be a shame to muddle it. Also, /etc is usually protected because that is /etc/pkgadd.conf's default. /usr/etc is usually overwritten with each release, which insures that the upgrade works out of the box. Isn't the latter preferable to the support nightmare of persistent configuration files which might be incompatible in some way with the upgraded API? Will rejmerge after every upgrade become a necessity which springs from this? Why not adopt portage and etc-update while we're at it...
I can understand not wanting to put things in /etc that aren't vital to the running of the system but on the other hand, things are starting to fail in weird ways the more apps I install (graveman today was what really brought this to my attention, though). While it seems we can force some things to use /usr/etc/xdg instead of /etc/xdg, others just flat-out don't support a non-default location correctly, from what I'm seeing.
Thoughts?
Attached is the gnome-menus Makefile from FreeBSD. Are those two sed lines enough to make gnome-menus do /usr/etc? Quite often I head over to freshports.org, in order to derive solutions/inspiration for a port I'm working on. Interestingly, graveman looks like a relatively normal port. I have a feeling the secret is in the "gnomehack" and "gnomeprefix". (http://www.freebsd.org/gnome/docs/gnome_porting.html) Maybe it's not worth the bother though... If I liked SysV clutter, I'd use a Debian variant, or at least ROCKLinux. ;-) My favourite thing about CRUX, is that it's so BSD-like. Cheers, Nick