[katello-devel] Why do we install into /var/katello
Ohad Levy
ohadlevy at redhat.com
Sun Jun 5 09:07:05 UTC 2011
On Wed, 2011-06-01 at 08:42 -0700, Mike McCune wrote:
> On 06/01/2011 08:06 AM, Lukas Zapletal wrote:
> > On 06/01/2011 05:02 PM, Lukas Zapletal wrote:
> >> Hello,
> >>
> >> I am in doubt why do we install in /var/katello. I would expect
> >> /usr/share/katello or /usr/lib/katello more.
> >>
> >> I am working on some spec changes and I am just curious.
> >>
> >> LZ
> >>
> >
> > Should be /var/lib/katello. But anyway...
> >
> > Still expect /usr more.
> >
>
> Because we don't have the app broken out into read-only areas vs areas
> that change. Typically /usr is read only and /var has things that
> change on an ongoing basis. Since we are a mix under our rails app:
>
> ** read only:
>
> ./extras
> ./spec
> ./public
> ./app
> ./lib
> ./script
>
>
> ** contents change during runtime or post-install:
>
> ./config
> ./db
> ./log
> ./vendor
> ./tmp
>
> it kinda makes sense to go into /var. that said, we should *properly*
> package our app so everything is put into the proper spots in /var,
> /etc, /usr instead of just dumping it all into /var. In summary: it is
> all in /var/ because we haven't spent the time to properly layout the
> package installation...
>
> Mike
can i recommend using foreman spec [1] file a reference? we already
covered most of these stuff
Ohad
[1] -
https://github.com/ohadlevy/foreman/blob/develop/extras/spec/foreman.spec
More information about the katello-devel
mailing list