On Mon, 12 Feb 2001, Lenz Grimmer wrote: > "Installation and removal of init.d files" at > http://www.linuxbase.org/spec/spec/initsrcinstrm.html > refers to /usr/lib/lsb/install_initd, while "Init script Functions" > at http://www.linuxbase.org/spec/spec/iniscrptfunc.html refers to a file > /lib/lsb/init-functions. > > Which is the preferred directory? Right now /lib/lsb and /usr/lib/lsb are > being used. I remember some dicussion about this, but I was not able to > find it in the archives.
Both directories are valid. The functions file must be available to init scripts while booting (i.e. /usr may not be available yet) so it must reside on the root filesystem (/lib). The /usr/lib/lsb directory hold files that aren't needed to boot the machine. -- Flávio
