On Saturday 06 August 2005 11:41, Lior Kaplan wrote:
> Since I have access to more than one machine, it easier to have all of
> them using FHS pathnames. So all services that the machine provides go
> to /srv.
>

Isn't /srv comes from "served" instead of "services". In any case, I'm not 
going to change the configuration of IGLU (which has very old roots) because 
some of its administrators also administer other machines with slightly 
different configuration.

I don't think it would be feasible to apply configuration changes on Eskimo 
along with other machines. While Eskimo is a more-or-less standard Debian 
Sarge installation, it still need to be done with care. Eskimo is not a node 
in a cluster or something that is humogenous to all of its other nodes.

> Why you edit config file, please start to make sure the pathnames aren't
> hard coded. That will be useful in the future.
>

That's much more easier said than done. The Apache configuration files by 
default accept only full paths to the system tree. crontab lines also require 
the script full path to be specified (unless it's in the path). Everythig 
that doesn't live under /iglu, need to be told to get to "/iglu" the first 
thing it does.

I believe many of the things that reside under /iglu access their resources 
using relative paths, but not all. I could work on generating all the 
configuration using a monolith of scripts, but this would complicate the 
configuration and maintenance, and may make things very error-prone. If 
someone edits the resultant configuration files instead of the source, we 
will need to then incorporate the changes into the scripts.

Sorry, but I'd rather assume that everything under /iglu will remain there, 
than start going this way.

> What about moving all the stuff to /srv and making /iglu a symlink? that
> should give us enough time to make the changes.

Hmmppff... This has the problem of now having two paths for the same file or 
directory. So `pwd` or its equivalent system call may return either of those 
two paths.

To sum up, there isn't a good reason, and there are many good reasons against, 
to make /iglu into /srv/web. As far as the Sys-Admin (to be distinguished 
than the webmaster) is concerned, /iglu is just /dev/sdb1 which is mounted 
there. It shouldn't be too hard to maintain that. As far as the webmaster 
(I+possibly other people), /iglu should remain where it is, or else all hell 
will break lose.

Can you give any advantages for putting /iglu's /dev/sdb1-mounted volume 
under /srv/web? How will it facilitate the maintenance of Eskimo?

>
> Another thing I'd like to do, is using LVM, instead of the software
> raid. The result will be similar, but easier to admin.
>

OK. I don't know exactly what LVM does (even though I've heard about it a few 
times). Just make sure to copy all the contents of the RAID array 
to /srv/mirror before you do the upgrade.

Regards,

        Shlomi Fish

> Shlomi Fish wrote:
> > Hi Lior and everybody!
> >
> > On Saturday 06 August 2005 03:16, Lior Kaplan wrote:
> >>I'd like to move all sites to /srv/http or /srv/web to be FHS compliant.
> >
> > That would be too big a change. The paths under /iglu are hard-coded in a
> > zillion different places: Apache configuration, cron jobs, utility
> > scripts, etc. etc. Moving it to somewhere else under the /-directory,
> > will require many different modifications and you'll still find places
> > you did not modify after iglu.org.il is hosted on a state-of-the-art
> > 256-bit Optical computer running Linux kernerl 4.2.12.
> >
> > And for what good reason? The FHS is primarily meant for distributions so
> > they'll know how to organize their tree, so there will be compatibility
> > between them, and their users will know where to find anything in a new
> > distribution. Administrators are free to add more paths at various places
> > (that are good enough for that) for their own use.
> >
> > If we have a new top-level directory, then Debian (or any other Linux
> > distribution) won't be confused. /iglu is a good enough place to put all
> > the files that we host as part of the sites. It's more convenient to type
> > "/ig-[Tab]" to get there than some /srv/ thingaling. And I mean it
> > because the admins and users of Eskimo go to /iglu _a-lot_.
> >
> > So please _don't do that_.
> >
> > I don't mind moving /storage to under /srv (but be warned that it will
> > require several modifications in different places), though.
> >
> > Regards,
> >
> >     Shlomi Fish
> >
> > ---------------------------------------------------------------------
> > Shlomi Fish      [EMAIL PROTECTED]
> > Homepage:        http://www.shlomifish.org/
> >
> > Tcl is LISP on drugs. Using strings instead of S-expressions for closures
> > is Evil with one of those gigantic E's you can find at the beginning of
> > paragraphs.

-- 

---------------------------------------------------------------------
Shlomi Fish      [EMAIL PROTECTED]
Homepage:        http://www.shlomifish.org/

Tcl is LISP on drugs. Using strings instead of S-expressions for closures
is Evil with one of those gigantic E's you can find at the beginning of 
paragraphs.

Reply via email to