[NTLUG:Discuss] what is /var/lib ??

Richard Geoffrion ntlug at rain4us.net
Mon Dec 4 10:38:57 CST 2006


Stuart Johnston wrote:
> Richard Geoffrion wrote:
>   
>> /lib is for library files...so what is /var/lib for???
>>     
> Users must never need to modify files in /var/lib to configure a package's operation.
>
>   
Well..then /var/lib/openldap is the wrong directory for the LDAP 
database files -- because I have to edit the DB_CONFIG file in that 
directory!

I can't say that I'm thrilled having the LDAP database ANYWHERE on /var 
!!  So many things can eat up the disk space on var.   A run away print 
job (/var/spool), excess mail (/var/mail ) or some network event 
(/var/log) could serve to bring a crashing halt to all things /var.   OH 
sure any partition can get filled up... but it would seem that /var is 
the most likely candidate.  One almost wants to put the ldap database on 
the root partition...somewhere under /etc!   Maybe symlink 
/var/lib/openldap to /etc/openldap/data or something...

Any thoughts?

-- 
Richard



More information about the Discuss mailing list