On Sat, 8 Feb 2003, Ivan F. Martinez wrote:
>I have installed the rpm and the paths are not standard :

Which standard are you referring to? ;)

I follow the File System Hierarchy Standard. Read about it here:

http://www.pathname.com/fhs/

>/opt/bincimap
>/opt/bincimap/bin
>/opt/bincimap/bin/bincimap-auth-checkpassword
>/opt/bincimap/bin/bincimap-uidpwd
>/opt/bincimap/bin/bincimapd
>/opt/bincimap/etc
>/opt/bincimap/etc/bincimap.conf
>/opt/bincimap/etc/service
>/opt/bincimap/etc/service-ssl
>/opt/bincimap/etc/service-ssl/log
>/opt/bincimap/etc/service-ssl/log/run
>/opt/bincimap/etc/service-ssl/run
>/opt/bincimap/etc/service/log
>/opt/bincimap/etc/service/log/run
>/opt/bincimap/etc/service/run
>/opt/bincimap/etc/xinetd
>/opt/bincimap/etc/xinetd/bincimap
>/opt/bincimap/etc/xinetd/bincimaps
>/var/opt/log
>/var/opt/log/bincimap
>/var/opt/log/bincimap-ssl
>----------------------------------------------------------------------
>xinetd files must be in /etc/xinetd.d to be directly used by xinetd

No, they can be symlinked.

>bincimap.conf probably can be /etc/bincimap.conf or /etc/bincimap/bincimap.conf

No, since the main tree Binc IMAP is not part of your distro, it has
nothing to do int /etc/ or /etc/bincimap. It's an add-on package, and 
should according to FHS go in /opt/bincimap.

>log files must be at /var/log/bincimap and /var/log/bincimap-ssl

No, those areas are reserved for distribution packages. /var/opt is the
only /var folder I can use.

>I don't know about the /opt/bincimap/etc/servce* but if they are
>configuration it can be in /etc/bincimap also.

They are service files, and should be symlinked to wherever you want them.

>Executables can be on /usr/local/sbin

The /usr/local hierarchy is for use by the system administrator when
installing software locally. Binc IMAP will go there if you do not specify
any prefix when building from source.

>This changes make easier to backup bincimap data with other applications.

I both agree and disagree. The logic behind /opt is all the problems that
arise when a system administrator installs packages that do not belong to
the distro. Each distro typically has its own rules for where things
should go.

If each add-on package is installed onto /opt and /var/opt, the
administrator will have quite an easy backup job. Removing a package is
also very easy, as everything that belongs to an add-on is bundled in
/opt/<packagename>. Note that the conf files are symlinked from the same 
base dir.

The only exception is the logs, which are located under /var/opt.

Andy

-- 
Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg
Author of Binc IMAP    | Nil desperandum

Reply via email to