[ircd-ratbox] [PATCH] ratbox-services: DESTDIR & .db location

Ralf S. Engelschall rse at engelschall.com
Tue May 17 12:07:01 EDT 2005


On Tue, May 17, 2005, Lee H wrote:

> On Tue, May 17, 2005 at 03:51:18PM +0200, Ralf S. Engelschall wrote:
> > Well, ok, it's everyone's own decision what to enforce on the world ;-)
> > OTOH I'm sure you will not find any reasonable Unix software packager
> > who will agree with you in placing such a database file under etc/.
>
> The problem is, I dont think services (and ircd) are particularly suited to
> being installed machine-wide.  When its installed into a local directory, or
> its own complete subdirectory, the structure becomes largely irrelevant.
>
> The config file is hardcoded which means its one installation per person who
> wants to use it, and the fact it shouldnt be started as root, yet needs to
> be tied to a non-root username makes doing it with a package manager an odd
> decision to say the least.

A machine-wide installation doesn't mean a machine-wide (= multi-user)
usage (= run-time). A webserver is usually also installed machine-wide,
but just running under its own (non-root) uid/gid pair. So, I see no
difference between ircd-ratbox/ratbox-services and any similar network
daemons like Apache, Postfix, INN, etc. And all those services are
usually packaged so their installation can be easily reproduced and
upgraded.

But all this is actually off-topic here and belongs more
into the area of "Why packaging at all?". For those
who want to see a few arguments on this have a look at
http://www.openpkg.org/doc/slideset/openpkg/slide-005-m.html and
http://www.openpkg.org/doc/slideset/openpkg/slide-006-m.html
No offence!

                                       Ralf S. Engelschall
                                       rse at engelschall.com
                                       www.engelschall.com



More information about the ircd-ratbox mailing list