public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Max Kalika <max@gentoo.org>
To: stuart@gentoo.org, Max Kalika <max@gentoo.org>,
	Troy Dack <tad@gentoo.org>,
	gentoo-dev@gentoo.org
Subject: Re: [gentoo-dev] [GLEP] Web Application Installation
Date: Sun, 03 Aug 2003 12:03:04 -0700	[thread overview]
Message-ID: <2147483647.1059912184@[192.168.26.4]> (raw)
In-Reply-To: <200308031843.10426.stuart@gentoo.org>

Chugga chugga chugga! :-)

Quoting Stuart Herbert <stuart@gentoo.org>:

> On Sunday 03 August 2003 4:20 pm, Max Kalika wrote:
>> Correct.  I also create an apache config block as
>> 
>>   /etc/webapps/<application>.conf
> 
> If it's apache-specific, can't we at least call it
> <application>-apache.conf?

You're absolutely right, and in fact this is what the eclass does right now
(as shown by the example I posted earlier).

> Thanks for the example - it helps a great deal.  Now, how would you deal
> with  a site needing to run two copies of horde under the one web server?

Hmm.  This depends on the app.  Some apps have virtual hosting built-in
others do not.  Those that do not, may need some sysadmin intervention,
doing some parallel installs, symlinking, what-have-you.  I think we need
to have a limit to how much we can do at install time and how much we can
configure for the user out-of-the-box.  For example, we don't have any way
of having two postfix instances installed and running on the same box with
the ebuild, but the sysadmin can go ahead and configure the installed
product to achieve the needed functionality. 

> Yeah - but how do you handle sites (like ISPs) that need to run multiple 
> installations of the same app on the same box?  You can't have a single 
> globla configuration file for that.  Makes sense for the home user, but
> not  for ISPs.

Continuing from above, it seems best left to the systems admin in designing
how to implement virtual hosting.  For example, horde has built-in virtual
hosting where you specify multiple servers and the specific one gets chosen
based on the server hostname.  Of course this isn't foolproof as things
like SSL will break it, but in any case, this decision has to be left to
the person installing it. It seems like the gentoo philosophy is to install
the necessary minimum to have a running product and leave the major
tinkering to the admin.  Going back to the postfix example, although the
package has support for delivering mail to LMTP through a content filter
that will scan for spam and viruses, it doesn't do it out of the box and
takes a bit of tinkering to get right.  I'm of the opinion that if someone
wants to set up an ISP, they better know what they're doing and will be
able to figure out how to virtualize the necessary packages they want to
offer to their clients.

> Well, PHP apps'll need to check for which PHP extensions are active from
> time  to time.

Ok.  If there's a lot of language-specific work that needs to be done, then
breaking it up into separate eclasses makes sense, otherwise, I'm worried
about clutter. :)

>> Certainly.  Perhaps if we don't find anything that is language specific
>> (which I have yet to see), we can take a different approach and do
>> webapp-<webservertype>
> 
> See previous emails.  I *really* don't support making any of this stuff 
> webserver-specific in the ebuilds or eclasses ;-)  A two-stage install - 
> ebuilds to get apps onto the machine, user-space tools to install an app
> for  a specific web server - are the way to go, imho.

Fair enough.  So something like "webapp-config <application> <webserver>" ?

> How do you make an app install on (say) Zeus or (say) iPlanet or (say) 
> n.e.other web server if the ebuild itself is server-specific?  We're
> boxing  ourselves in, for no good reason.

No idea.  :-)

> Gentoo's supposed to be about configurability.  It even says so right at
> the  top of www.gentoo.org.  Let's not throw that out of the window just
> yet ;-)

I wouldn't consider it! :-)

--mk

--
gentoo-dev@gentoo.org mailing list


  reply	other threads:[~2003-08-03 19:03 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-02 16:50 [gentoo-dev] [GLEP] Web Application Installation Troy Dack
2003-08-02 20:39 ` Robin H.Johnson
2003-08-02 23:11 ` [gentoo-dev] Re: [gentoo-core] " Max Kalika
2003-08-02 23:51   ` Stuart Herbert
2003-08-03  2:26     ` [gentoo-dev] " Max Kalika
2003-08-03 14:46       ` Stuart Herbert
2003-08-03 15:20         ` Max Kalika
2003-08-03 17:43           ` Stuart Herbert
2003-08-03 19:03             ` Max Kalika [this message]
2003-08-03 19:43               ` Stuart Herbert
2003-08-04  4:29                 ` Max Kalika
2003-08-04 10:43                   ` Stuart Herbert
2003-08-03  0:30 ` Austin Frank
2003-08-03  7:50   ` Tal Peer
2003-08-03 14:45   ` Don Seiler
2003-08-03 14:49     ` [gentoo-dev] Re: [gentoo-core] " Stuart Herbert
2003-08-05  3:46       ` Robin H.Johnson
2003-08-05 10:21         ` Stuart Herbert
2003-08-05  8:12 ` Troy Dack
  -- strict thread matches above, loose matches on Subject: below --
2003-08-04 17:11 Max Kalika
2003-08-04 22:16 ` Stuart Herbert
2003-08-05  9:49   ` Michael Cummings
2003-08-04 23:16 Max Kalika
2003-08-05  0:14 ` Stuart Herbert
2003-08-05  2:30   ` Donny Davies
2003-08-05 10:12     ` Stuart Herbert
2003-08-06  4:01       ` Donny Davies
2003-08-05  3:04   ` Max Kalika
2003-08-05 10:39     ` Stuart Herbert
2003-08-05  9:34   ` Paul de Vrieze
2003-08-05 11:19     ` Stuart Herbert
2003-08-05 11:37       ` Paul de Vrieze
2003-08-05 21:00       ` Max Kalika
2003-08-05 23:43         ` Cal Evans
2003-08-06  1:54           ` Stuart Herbert
2003-08-06  2:16             ` Robin H.Johnson
2003-08-06  2:44               ` Stuart Herbert
2003-08-07  1:08 Troy Dack

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='2147483647.1059912184@[192.168.26.4]' \
    --to=max@gentoo.org \
    --cc=gentoo-dev@gentoo.org \
    --cc=stuart@gentoo.org \
    --cc=tad@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox