https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236612 Resolves: bug 236612 Bug Description: The current default filesystem layout of a Fedora Directory Server build is to lump everything FHS style underneath a prefix of /opt/fedora-ds. We should change this to follow the FHS standards for an optional software package, namely using /etc/opt and /var/opt.
We will leave the "--with-fhs" configure option for using the /usr, /etc/, and /var layout that are used when packaging Fedora Directory Server for inclusion in Fedora Extras. Reviewed by: ??? Files: see diff Branch: HEAD Fix Description: The attached diffs implement this new default layout. In addition to using /var/opt and /etc/opt, I merged all of the component and server libraries into a single /opt/fedora-ds/lib directory. I also made the instance directories live in /opt/fedora-ds/slapd-<instance> instead of using the lib directory. Platforms tested: HP-UX 11.23 Flag Day: no Doc impact: no https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=152711
On Mon, 2007-04-16 at 13:23 -0700, Nathan Kinder wrote:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236612 Resolves: bug 236612 Bug Description: The current default filesystem layout of a Fedora Directory Server build is to lump everything FHS style underneath a prefix of /opt/fedora-ds. We should change this to follow the FHS standards for an optional software package, namely using /etc/opt and /var/opt.
Will you retain an option to install fedora DS under one single prefix, or will it now always scatter itself around the filesystem?
Keeping a single prefix (samba uses /usr/local/samba as the default) is very useful for testing and development...
Andrew Bartlett
Andrew Bartlett wrote:
On Mon, 2007-04-16 at 13:23 -0700, Nathan Kinder wrote:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236612 Resolves: bug 236612 Bug Description: The current default filesystem layout of a Fedora Directory Server build is to lump everything FHS style underneath a prefix of /opt/fedora-ds. We should change this to follow the FHS standards for an optional software package, namely using /etc/opt and /var/opt.
Will you retain an option to install fedora DS under one single prefix, or will it now always scatter itself around the filesystem?
Keeping a single prefix (samba uses /usr/local/samba as the default) is very useful for testing and development...
I spoke with Rich about this earlier. I'm going to make the above possible if a prefix is explicitly set during configure time.
-NGK
Andrew Bartlett
-- Fedora-directory-devel mailing list Fedora-directory-devel@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-devel
Nathan Kinder wrote:
Andrew Bartlett wrote:
On Mon, 2007-04-16 at 13:23 -0700, Nathan Kinder wrote:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236612 Resolves: bug 236612 Bug Description: The current default filesystem layout of a Fedora Directory Server build is to lump everything FHS style underneath a prefix of /opt/fedora-ds. We should change this to follow the FHS standards for an optional software package, namely using /etc/opt and /var/opt.
Will you retain an option to install fedora DS under one single prefix, or will it now always scatter itself around the filesystem?
Keeping a single prefix (samba uses /usr/local/samba as the default) is very useful for testing and development...
I spoke with Rich about this earlier. I'm going to make the above possible if a prefix is explicitly set during configure time.
I was about to check "review.comment#1+nhosoi". Are we having another review? ;) --noriko
-NGK
Andrew Bartlett
-- Fedora-directory-devel mailing list Fedora-directory-devel@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-devel
-- Fedora-directory-devel mailing list Fedora-directory-devel@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-devel
After some feedback from Rich and Andrew, I've modified my fix.
I've made the default build store everything under the prefix, including the sysconfdir and localstatedir. The --with-fhs option retains it's old behavior of using /usr, /etc, and /var. A new --with-fhs-opt configure option will use the prefix (default is /opt/fedora-ds) for everything other that the sysconfdir and localstatedir. These two paths will be /etc/opt and /var/opt.
New diffs are available at https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=152861&action=dif...
-NGK
Nathan Kinder wrote:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=236612 Resolves: bug 236612 Bug Description: The current default filesystem layout of a Fedora Directory Server build is to lump everything FHS style underneath a prefix of /opt/fedora-ds. We should change this to follow the FHS standards for an optional software package, namely using /etc/opt and /var/opt.
We will leave the "--with-fhs" configure option for using the /usr, /etc/, and /var layout that are used when packaging Fedora Directory Server for inclusion in Fedora Extras. Reviewed by: ??? Files: see diff Branch: HEAD Fix Description: The attached diffs implement this new default layout. In addition to using /var/opt and /etc/opt, I merged all of the component and server libraries into a single /opt/fedora-ds/lib directory. I also made the instance directories live in /opt/fedora-ds/slapd-<instance> instead of using the lib directory. Platforms tested: HP-UX 11.23 Flag Day: no Doc impact: no https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=152711
-- Fedora-directory-devel mailing list Fedora-directory-devel@redhat.com https://www.redhat.com/mailman/listinfo/fedora-directory-devel
389-devel@lists.fedoraproject.org