Ken Moffat wrote: > On Mon, Jan 09, 2012 at 05:49:20PM -0600, Bruce Dubbs wrote: >> No, I don't edit /etc files daily, but I certainly do when I'm setting >> it up. Occasionally, I want to change things in /etc/dircolors, >> /etc/profile.d/, /etc/vimrc, etc :) >> >> Actually libnl-3 has several executables to manage things. For instance >> nl-class-add, nl-class-delete, nl-class-list, and so forth. These >> manage what is in the classid file. The entries in pktloc are the >> definitions of the IP and TCP headers. Why those are in an editable >> file, I have no idea. >> >> From the contents of these files, they should be in the same category >> of /var/lib/alsa/asound.state. >> >> -- Bruce > First, thanks for taking the time to do the analysis. > > Second, I'm still not convinced, but for nl3 in blfs (when I get > to it - I'm finding so many issues of detail along the way that I'm > still not close to starting the commits) I'll go with whatever lfs > has decided on. Libnl2 only has the pktloc file (a subset of the > version in libnl3), 3 also has classid. > > Third, dare I mention /etc/iproute2/ ? (/me runs !)
I hadn't noticed that before, but yeah, those are in the same category. Perhaps my opinion is a little narrow. The FHS defines /etc as: The /etc hierarchy contains configuration files. A "configuration file" is a local file used to control the operation of a program; it must be static and cannot be an executable binary. While /var/lib: This hierarchy holds state information pertaining to an application or the system. State information is data that programs modify while they run, and that pertains to one specific host. Users must never need to modify files in /var/lib to configure a package's operation. ----- The idea that 'users' (including admins) may need to modify /etc files is what I key upon. The FHS says that "/var contains variable data files". To me it looks like the devs have placed data files in /etc when they really are not user configuration files. You could also make a case that the files could also be in /usr/share (like pci.ids), but I think /var is the better choice. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page