FHS defaults for samba4
mike at easysw.com
Thu Jan 5 19:29:47 GMT 2006
Andrew Bartlett wrote:
> As we move towards the tech preview, I have been thinking about old
> Samba habits that should not die hard.
> One of these is FHS. The use of lib for the smb.conf file in the
> default prefix and the like has been with us for many long years, and we
> need to fix that up. In Samba3, debian and the like have patches that
> change Samba's core to fix this up (even in addition to the --with-fhs
> configure option), but we should avoid having to do that.
> Can I have some advise/confirmation, on where we should have:
> - include files
> /usr/include PREFIX/include
Unless you only have 1 include file, please us a subdir, e.g.:
> - plugins
> /usr/lib PREFIX/lib
/usr/lib/samba, unless they will be used outside samba...
> - printing (persistent cache, but you loose print job tracking if you
> scrub it)
> /var/lib/samba PREFIX/var/
> (or should this be /var/cache/samba or /var/spool/samba?)
I'd say /var/spool/samba.
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the samba-technical