[Fedora-directory-users] FHS packaging - combine old and new with symlinks

Mike Jackson mj at sci.fi
Mon Jul 17 19:16:35 UTC 2006


Richard Megginson wrote:
> As an attempt to compromise between the users who want the old layout 
> and those who want an FHS style layout, I propose having the package do 
> both.  That is, the files would be put on disk under /opt/fedora-ds, 
> then symlinks would be created to those files and directories to 
> correspond to the FHS layout.
> 
> For example, /var/log/fedora-ds/slapd-instance/access would just be a 
> symlink to /opt/fedora-ds/slapd-instance/logs/access
> or
> /etc/fedora-ds/slapd-instance/dse.ldif would just be a symlink to 
> /opt/fedora-ds/slapd-instance/config/dse.ldif
> 
> Rationale:
> 1) allows admins already familiar with fedora ds layout to continue to 
> use current tools/processes (e.g. tar up contents/restore contents, 
> which is much more difficult with FHS layout)
> 2) allows admins familiar with FHS to find files in familiar places


Hi,
  Sounds fine to me, just as long as nothing depends on those symlinks 
being present, e.g. start/stop scripts, backup/restore scripts, etc. For 
example, if one of my tools creates a new instance, but doesn't symlink 
it to the FHS place, that shouldn't cause any lack of functionality.


BR,
Mike




More information about the Fedora-directory-users mailing list